1 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5 intermediate but not final result might underflow.
6 * math/s_csqrtf.c (__csqrtf): Likewise.
7 * math/s_csqrtl.c (__csqrtl): Likewise.
8 * math/auto-libm-test-in: Add more tests of csqrt.
9 * math/auto-libm-test-out: Regenerated.
10 * sysdeps/i386/fpu/libm-test-ulps: Update.
13 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14 threshold on absolute value of exponent for which scaling is used.
15 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16 * math/auto-libm-test-in: Add more tests of exp2.
17 * math/auto-libm-test-out: Regenerated.
19 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
22 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
23 when initializing interface list, based on the bug analysis
24 and the patch proposed by Eric Newton.
25 * resolv/tst-res_hconf_reorder.c: New test.
26 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27 tst-res_hconf_reorder.
28 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29 and $(shared-thread-library).
30 (tst-res_hconf_reorder-ENV): New variable.
32 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35 2015-06-22 Joseph Myers <joseph@codesourcery.com>
38 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
39 (__expm1): Force underflow exception for arguments with small
41 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
42 (__expm1f): Force underflow exception for arguments with small
44 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
45 (__expm1): Force underflow exception for arguments with small
47 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
48 (__expm1f): Force underflow exception for arguments with small
50 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
51 Check for small arguments before calling __expm1.
52 * math/auto-libm-test-in: Do not mark underflow exceptions as
53 possibly missing for bug 16353.
54 * math/auto-libm-test-out: Regenerated.
56 2015-06-22 Andreas Schwab <schwab@suse.de>
59 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
62 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
64 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
66 * string/strcoll_l.c: Remove unused struct element idxnow.
68 2015-06-21 Joseph Myers <joseph@codesourcery.com>
71 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
72 underflow and return argument in case of subnormal argument.
73 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
75 * math/auto-libm-test-in: Add more tests of expm1.
76 * math/auto-libm-test-out: Regenerated.
79 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
80 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
82 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
83 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
85 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
86 mark underflow exceptions as possibly missing for bug 16361.
87 * math/auto-libm-test-out: Regenerated.
89 2015-06-19 Joseph Myers <joseph@codesourcery.com>
91 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
92 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
94 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
95 (test-xfail-XOPEN2K8/utmpx.h/conform).
97 * conform/conformtest.pl ($xerrors): New variable.
98 (note_error): New function.
99 (compiletest): New argument $xfail. Use not_error.
101 (top level): Handle xfail- lines. Update calls to compiletest and
102 runtest. Handle xfail- and optional- in headers listed with
104 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
106 (O_SEARCH): Likewise.
107 * conform/data/stropts.h-data (ioctl): Likewise.
108 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
109 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
110 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
111 (msghdr.msg_controllen): Likewise.
112 (cmsghdr.cmsg_len): Likewise.
113 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
114 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
116 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
117 (test-xfail-XPG4/stropts.h/conform): Likewise.
118 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
119 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
120 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
121 (test-xfail-UNIX98/stropts.h/conform): Likewise.
122 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
123 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
124 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
125 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
126 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
127 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
128 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
129 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
130 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
131 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
132 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
133 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
134 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
135 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
136 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
138 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
140 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
141 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
142 definitions for proper unfolding of __MATHDECL_VEC.
144 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
146 * benchtests/bench-strcoll.c:
148 (main): Remove unused variable res.
150 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
152 * timezone/Makefile (%/UTC %/Universal):
153 Generate test-result files for UTC and Universal.
155 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
157 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
159 2015-06-18 Joseph Myers <joseph@codesourcery.com>
162 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
163 for arguments with small absolute value.
164 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
165 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
166 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
167 (__asinh): Force underflow exception for arguments with small
169 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
170 (__asinhf): Force underflow exception for arguments with small
172 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
173 (__asinhl): Force underflow exception for arguments with small
175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
176 (__asinhl): Force underflow exception for arguments with small
178 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
179 (__asinhl): Force underflow exception for arguments with small
181 * math/auto-libm-test-in: Do not mark underflow exceptions as
182 possibly missing for bug 16350.
183 * math/auto-libm-test-out: Regenerated.
185 * include/bits/ipc.h: Remove file.
186 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
188 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
189 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
190 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
191 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
192 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
193 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
194 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
195 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
196 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
198 * math/auto-libm-test-in: Remove spurious underflow allowance for
200 * math/auto-libm-test-out: Regenerated.
203 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
204 unconditional definition.
205 (MCAST_BLOCK_SOURCE): Likewise.
206 (MCAST_UNBLOCK_SOURCE): Likewise.
207 (MCAST_LEAVE_GROUP): Likewise.
208 (MCAST_JOIN_SOURCE_GROUP): Likewise.
209 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
210 (MCAST_MSFILTER): Likewise.
211 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
213 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
214 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
215 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
216 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
217 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
219 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
221 * NEWS: Mention addition of x86_64 vector sincosf.
222 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
223 * math/test-float-vlen4.h: Likewise.
224 * math/test-float-vlen8.h: Likewise.
225 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
226 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
227 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
228 * sysdeps/x86_64/fpu/Versions: New versions added.
229 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
230 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
231 Added build of SSE, AVX2 and AVX512 IFUNC versions.
232 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
233 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
234 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
235 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
236 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
237 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
238 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
239 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
240 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
241 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
242 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
243 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
244 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
245 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
246 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
247 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
248 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
249 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
250 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
251 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
252 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
254 * NEWS: Mention addition of x86_64 vector sincos.
255 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
256 * math/math.h (__MATHDECL_VEC): New macro.
257 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
258 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
259 declaration under condition.
260 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
261 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
262 TEST_VEC_LOOP change.
263 * math/test-double-vlen4.h: Likewise.
264 * math/test-double-vlen8.h: Likewise.
265 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
266 * math/test-float-vlen4.h: Likewise.
267 * math/test-float-vlen8.h: Likewise.
268 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
269 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
270 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
271 * sysdeps/x86_64/fpu/Versions: New versions added.
272 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
273 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
274 Added build of SSE, AVX2 and AVX512 IFUNC versions.
275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
281 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
282 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
283 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
284 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
285 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
286 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
287 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
288 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
289 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
290 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
291 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
292 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
293 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
294 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
295 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
297 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
298 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
299 redirections for powf.
300 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
301 * sysdeps/x86_64/fpu/Versions: New versions added.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
303 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
304 Added build of SSE, AVX2 and AVX512 IFUNC versions.
305 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
306 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
307 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
308 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
309 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
310 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
311 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
312 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
313 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
314 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
315 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
316 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
317 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
318 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
319 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
320 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
321 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
322 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
323 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
324 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
325 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
326 * math/test-float-vlen16.h: Fixed 2 argument macro.
327 * math/test-float-vlen4.h: Likewise.
328 * math/test-float-vlen8.h: Likewise.
329 * NEWS: Mention addition of x86_64 vector powf.
331 2015-06-17 Joseph Myers <joseph@codesourcery.com>
333 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
335 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
337 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
339 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
342 * resource/getpriority.c (getpriority): Rename to __getpriority
343 and define as weak alias of __getpriority.
344 * resource/setpriority.c (setpriority): Rename to __setpriority
345 and define as weak alias of __setpriority.
346 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
347 __getpriority and define as weak alias of __getpriority.
348 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
349 __setpriority and define as weak alias of __setpriority.
350 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
352 (setpriority): Use __setpriority as strong name.
353 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
354 __getpriority and define as weak alias of __getpriority.
355 * include/sys/resource.h (__getpriority): Declare. Use
357 (__setpriority): Likewise.
358 (getpriority): Don't use libc_hidden_proto.
359 (setpriority): Likewise.
360 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
361 getpriority. Call __setpriority instead of setpriority.
362 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
366 * misc/getttyent.c (getttynam): Rename to __getttynam and define
367 as weak alias of __getttynam. Use prototype function definition.
368 Call __setttyent, __getttyent and __endttyent instead of
369 setttyent, getttyent and endttyent.
370 (getttyent): Rename to __getttyent and define as weak alias of
371 __getttyent. Call __setttyent instead of setttyent. Call
372 __fgets_unlocked instead of fgets_unlocked.
373 (setttyent): Rename to __setttyent and define as weak alias of
375 (endttyent): Rename to __endttyent and define as weak alias of
377 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
378 (__setttyent): Likewise.
379 (__endttyent): Likewise.
380 (getttyent): Don't use libc_hidden_proto.
381 (setttyent): Likewise.
382 (endttyent): Likewise.
383 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
384 __endttyent instead of setttyent, getttyent and endttyent.
385 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
389 * socket/recv.c (__recv): Use libc_hidden_def.
390 * socket/socket.c (__socket): Likewise.
391 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
392 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
393 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
394 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
395 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
397 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
399 * include/sys/socket.h (__socket): Do not use attribute_hidden.
400 Use libc_hidden_proto.
402 * socket/Versions (libc): Export __recv and __socket at version
404 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
406 (init_mq_netlink): Call __socket instead of socket.
407 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
411 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
412 __mq_timedreceive and define as alias of __mq_timedreceive. Use
414 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
415 define as alias of __mq_timedsend. Use hidden_weak.
416 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
417 __mq_timedsend as strong name.
418 (mq_timedreceive): Use __mq_timedreceive as strong name.
419 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
420 (__mq_timedreceive): Likewise.
421 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
422 __mq_timedreceive instead of mq_timedreceive.
423 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
424 instead of mq_timedsend.
425 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
428 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
429 hidden_def and hidden_weak instead of libc_hidden_def and
431 (top level): Refer to hidden_def in comment.
432 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
433 macro. Use it instead of libc_hidden_def.
434 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
435 specify __GI_* name explicitly.
436 (mq_timedreceive): Likewise.
437 (mq_setattr): Likewise.
440 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
441 __pthread_barrier_init and define as weak alias of
442 __pthread_barrier_init.
443 * sysdeps/sparc/nptl/pthread_barrier_init.c
444 (pthread_barrier_init): Likewise.
445 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
446 __pthread_barrier_wait and define as weak alias of
447 __pthread_barrier_wait.
448 * sysdeps/sparc/nptl/pthread_barrier_wait.c
449 (pthread_barrier_wait): Likewise.
450 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
451 (pthread_barrier_wait): Likewise.
452 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
453 (pthread_barrier_wait): Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
455 (pthread_barrier_wait): Likewise.
456 * nptl/Versions (libpthread): Export __pthread_barrier_init and
457 __pthread_barrier_wait at version GLIBC_PRIVATE.
458 * include/pthread.h (__pthread_barrier_init): Declare.
459 (__pthread_barrier_wait): Likewise.
460 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
461 Call __pthread_barrier_wait instead of pthread_barrier_wait.
462 (helper_thread): Likewise.
463 (init_mq_netlink): Call __pthread_barrier_init instead of
464 pthread_barrier_init.
467 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
468 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
469 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
470 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
472 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
476 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
477 strong alias of _IO_fflush. Use libc_hidden_def.
478 * libio/iofflush_u.c (fflush_unlocked): Rename to
479 __fflush_unlocked and define as weak alias of __fflush_unlocked.
480 Use libc_hidden_weak.
481 * include/stdio.h (__fflush_unlocked): Declare. Use
483 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
485 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
489 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
490 define as weak alias of __addseverity.
491 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
493 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
494 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
495 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
498 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
500 (__tdelete): Likewise.
502 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
503 __twalk to GLIBC_PRIVATE.
504 * include/search.h (__tsearch): Use libc_hidden_proto.
506 (__tdelete): Likewise.
508 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
509 Call __tdelete instead of tdelete.
510 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
511 tfind. Call __tsearch instead of tsearch.
512 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
513 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
515 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
518 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
519 (dprintf): Define as a weak alias of __dprintf, not a strong
521 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
522 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
524 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
526 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
527 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
530 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
532 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
536 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
537 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
538 (in6addr_loopback): Rename to __in6addr_loopback and define as
539 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
540 * include/netinet/in.h (__in6addr_loopback): Declare. Use
542 (__in6addr_any): Likewise.
543 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
545 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
547 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
549 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
551 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
552 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
553 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
554 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
555 redirections for pow.
556 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
557 * sysdeps/x86_64/fpu/Versions: New versions added.
558 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
559 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
560 build of SSE, AVX2 and AVX512 IFUNC versions.
561 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
562 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
563 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
564 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
565 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
566 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
567 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
568 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
569 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
570 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
571 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
572 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
573 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
574 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
575 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
576 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
577 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
578 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
579 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
580 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
581 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
582 * NEWS: Mention addition of x86_64 vector pow.
584 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
585 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
586 redirections for expf.
587 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
588 * sysdeps/x86_64/fpu/Versions: New versions added.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
590 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
591 build of SSE, AVX2 and AVX512 IFUNC versions.
592 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
593 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
594 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
595 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
596 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
597 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
598 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
599 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
600 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
601 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
602 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
603 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
604 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
605 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
606 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
607 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
608 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
609 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
610 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
611 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
612 * NEWS: Mention addition of x86_64 vector expf.
614 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
615 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
616 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
617 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
618 redirections for exp.
619 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
620 * sysdeps/x86_64/fpu/Versions: New versions added.
621 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
622 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
623 build of SSE, AVX2 and AVX512 IFUNC versions.
624 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
625 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
626 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
627 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
628 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
629 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
630 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
631 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
632 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
633 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
634 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
635 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
636 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
637 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
638 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
639 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
640 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
641 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
642 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
643 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
644 * NEWS: Mention addition of x86_64 vector exp.
646 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
647 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
648 redirections for logf.
649 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
650 * sysdeps/x86_64/fpu/Versions: New versions added.
651 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
652 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
653 build of SSE, AVX2 and AVX512 IFUNC versions.
654 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
655 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
656 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
657 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
658 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
659 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
660 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
661 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
662 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
663 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
664 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
665 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
666 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
667 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
668 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
669 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
670 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
671 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
672 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
673 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
674 * NEWS: Mention addition of x86_64 vector logf.
676 * bits/libm-simd-decl-stubs.h: Added stubs for log.
677 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
678 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
679 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
680 redirections for log.
681 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
682 * sysdeps/x86_64/fpu/Versions: New versions added.
683 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
684 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
685 build of SSE, AVX2 and AVX512 IFUNC versions.
686 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
687 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
688 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
689 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
690 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
691 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
692 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
693 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
694 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
695 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
696 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
697 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
698 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
699 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
700 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
701 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
702 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
703 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
704 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
705 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
706 * NEWS: Mention addition of x86_64 vector log.
708 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
710 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
711 cfi_adjust_cfa_offset argument.
712 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
713 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
716 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
717 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
718 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
720 (_dl_tlsdesc_dynamic): Likewise.
721 (_dl_tlsdesc_return_lazy): Likewise.
722 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
723 relaxed atomics instead of volatile and synchronize with release store.
724 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
726 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
728 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
730 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
731 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
732 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
733 * sysdeps/x86_64/fpu/Versions: New versions added.
734 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
735 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
736 build of SSE, AVX2 and AVX512 IFUNC versions.
737 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
738 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
739 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
740 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
741 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
742 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
743 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
744 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
745 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
746 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
747 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
748 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
749 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
750 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
751 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
752 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
753 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
754 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
755 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
756 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
757 * NEWS: Mention addition of x86_64 vector sinf.
759 2015-06-14 Joseph Myers <joseph@codesourcery.com>
761 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
762 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
763 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
765 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
766 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
768 2015-06-12 Joseph Myers <joseph@codesourcery.com>
771 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
772 strong alias of _IO_fputs. Use libc_hidden_def.
773 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
774 and define as weak alias of __fputs_unlocked. Use
776 * include/stdio.h (__fputs_unlocked): Declare. Use
778 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
782 * resolv/netdb.h [__USE_POSIX]: Change condition to
784 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
786 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
787 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
788 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
789 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
790 [XPG4 || UNIX98] (AI_ALL): Likewise.
791 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
792 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
793 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
794 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
795 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
796 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
797 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
798 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
799 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
800 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
801 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
802 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
803 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
804 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
805 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
806 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
807 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
808 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
809 [XPG4 || UNIX98] (gai_strerror): Likewise.
810 [XPG4 || UNIX98] (getaddrinfo): Likewise.
811 [XPG4 || UNIX98] (getnameinfo): Likewise.
814 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
815 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
817 (getgrent): Likewise.
818 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
820 [XPG3 || POSIX2008] (endgrent): Likewise.
821 [XPG3] (setgrent): Likewise.
822 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
824 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
827 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
828 define as weak alias of __getlogin_r. Use libc_hidden_weak.
829 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
830 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
831 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
832 * include/unistd.h (__getlogin_r): Declare. Use
834 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
835 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
837 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
838 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
839 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
841 2015-06-12 Martin Sebor <msebor@redhat.com>
844 * Makerules (check-install-supported): New target.
845 (install): Add check-install-supported as a dependency.
846 * manual/install.texi (Installing the C Library): Document
847 that overriding prefix and exec_prefix is not supported.
849 * INSTALL: Regenerate from the above.
851 2015-06-12 Joseph Myers <joseph@codesourcery.com>
854 * posix/Versions (libc): Export __libc_pread at version
856 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
858 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
863 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
864 (cvt_symbol): Use weak_alias instead of strong_alias.
865 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
866 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
868 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
869 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
872 * inet/herrno.c (h_errno): Rename to __h_errno.
873 (__libc_h_errno): Define as alias of __h_errno not h_errno.
874 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
875 to __h_errno instead of h_errno.
876 * nptl/herrno.c (h_errno): Rename to __h_errno.
877 (__h_errno_location): Refer to __h_errno not h_errno.
878 * resolv/Versions (h_errno): Rename to __h_errno.
879 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
881 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
883 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
885 * configure.ac: More strict check for AVX512 assembler support.
886 * configure: Regenerated.
888 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
889 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
890 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
891 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
892 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
893 * sysdeps/x86_64/fpu/Versions: New versions added.
894 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
895 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
896 build of SSE, AVX2 and AVX512 IFUNC versions.
897 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
898 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
899 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
900 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
901 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
902 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
903 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
904 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
905 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
906 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
907 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
908 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
909 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
910 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
911 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
912 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
913 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
914 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
915 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
916 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
917 * NEWS: Mention addition of x86_64 vector sin.
919 2015-06-11 Florian Weimer <fweimer@redhat.com>
921 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
924 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
927 * nptl/pt-interp.c: New file.
928 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
930 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
931 $(common-objpfx)runtime-linker.h.
933 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
935 * Makeconfig (+interp): Remove unused variable.
936 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
937 only. Depend on $(common-objpfx)runtime-linker.h instead of
938 $(elf-objpfx)runtime-linker.h.
939 ($(elf-objpfx)runtime-linker.h): Rename to
940 $(common-objpfx)runtime-linker.h and move ...
941 * Makerules [$(build-shared) = yes]: ... here.
942 * elf/interp.c: Include <runtime-linker.h> instead of
943 <elf/runtime-linker.h>.
945 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
947 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
948 (__gettimeofday_syscall): Remove vsyscall fallback.
949 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
950 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
951 Add syscall fallback function.
952 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
953 if vDSO is not present.
954 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
956 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
959 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
961 2015-06-09 Joseph Myers <joseph@codesourcery.com>
964 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
966 (wcscmp): Define as weak alias of WCSCMP.
967 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
969 (USE_HIDDEN_DEF): Define.
970 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
971 __wcscoll. Don't use libc_hidden_weak.
972 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
974 * sysdeps/i386/i686/multiarch/wcscmp-c.c
975 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
977 (weak_alias): Undefine and redefine.
978 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
979 __wcscmp and define as weak alias of __wcscmp.
980 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
981 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
982 (__wcscoll): Likewise.
983 (wcscmp): Don't use libc_hidden_proto.
985 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
987 * posix/regexec.c (check_node_accept_bytes): Likewise.
988 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
990 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
991 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
994 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
995 __fstatvfs and define as weak alias of __fstatvfs. Use
997 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
998 and define as weak alias of __statvfs. Use libc_hidden_weak.
999 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1000 Define as alias of __fstatvfs, not fstatvfs.
1001 (fstatvfs64): Likewise.
1002 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1003 Define as alias of __statvfs, not statvfs.
1004 (statvfs64): Likewise.
1005 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1008 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1011 (HAVE_GETCPU_VSYSCALL): Define.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1013 (HAVE_GETCPU_VSYSCALL): Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1015 * sysdeps/unix/sysv/linux/sched_getcpu.c
1016 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1017 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1018 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1021 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1025 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1026 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1027 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1028 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1030 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1032 * sysdeps/x86_64/fpu/Makefile: New file.
1033 * sysdeps/x86_64/fpu/Versions: New file.
1034 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1035 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1036 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1037 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1038 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1039 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1040 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1042 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1044 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1045 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1046 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1047 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1048 build of SSE, AVX2 and AVX512 IFUNC versions.
1049 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1050 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1051 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1052 * sysdeps/x86_64/configure: Regenerated.
1053 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1054 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1055 * manual/install.texi (Configuring and compiling): Document
1057 * INSTALL: Regenerated.
1058 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1060 * math/Makefile: Added rules for vector tests.
1061 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1062 declaration under condition.
1063 * math/test-double-vlen2.h: New file.
1064 * math/test-double-vlen4.h: New file.
1065 * math/test-double-vlen8.h: New file.
1066 * math/test-vec-loop.h: Added initialization macro.
1067 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1069 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1070 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1071 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1072 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1073 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1074 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1075 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1076 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1077 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1079 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1080 * sysdeps/x86_64/fpu/Versions: New versions added.
1081 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1082 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1083 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1084 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1085 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1086 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1087 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1088 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1089 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1090 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1091 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1092 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1093 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1094 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1095 build of SSE, AVX2 and AVX512 IFUNC versions.
1096 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1097 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1098 * NEWS: Mention addition of x86_64 vector cosf.
1100 * math/Makefile: Added CFLAGS for new tests.
1101 * math/test-float-vlen16.h: New file.
1102 * math/test-float-vlen4.h: New file.
1103 * math/test-float-vlen8.h: New file.
1104 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1105 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1106 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1107 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1108 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1109 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1110 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1111 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1112 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1113 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1114 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1116 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1118 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1119 * locale/programs/ld-ctype.c: Likewise.
1121 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1123 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1124 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1125 bit_ZMM16_31_state): New macro.
1126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1127 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1129 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1131 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1133 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1135 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1137 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1140 * libio/memstream.c (open_memstream): Rename to __open_memstream
1141 and define as weak alias of __open_memstream.
1142 * include/stdio.h (__open_memstream): Declare. Use
1144 (open_memstream): Don't use libc_hidden_proto.
1145 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1147 * posix/getopt.c (_getopt_internal_r): Likewise.
1148 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1150 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1151 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1152 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1155 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1159 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1160 [__USE_XOPEN2K8]. Remove redundant #endif.
1161 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1162 Remove redundant #if.
1163 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1165 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1166 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1169 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1170 (__iswlower): Likewise.
1171 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1172 (__iswlower): Likewise.
1173 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1174 instead of towlower.
1175 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1176 instead of iswlower. Call __towupper instead of towupper.
1177 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1178 instead of iswalnum.
1180 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1182 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1185 2015-06-05 Florian Weimer <fweimer@redhat.com>
1189 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1190 Check for overflow properly. Check for O_APPEND. Ignore large
1191 file system block sizes. Add comments about problems.
1192 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1193 * manual/filesys.texi (Storage Allocation): New node.
1195 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1197 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1198 cancellable syscalls.
1199 (SYS_ify): Add guard to no redefine it.
1200 (INLINE_SYSCALL): Likewise.
1201 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1202 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1203 SYSCALL_CANCEL instead.
1204 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1205 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1206 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1207 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1208 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1209 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1210 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1211 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1212 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1213 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1214 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1215 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1216 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1217 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1218 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1219 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1221 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1222 (__libc_pread64): Likewise.
1223 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1224 (__libc_preadv): Likewise.
1225 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1226 (__libc_readv64): Likewise.
1227 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1228 (__libc_pwrite): Likewise.
1229 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1230 (__libc_pwrite64): Likewise.
1231 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1232 (__libc_pwritev): Likewise.
1233 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1234 (__libc_pwritev64): Likewise.
1235 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1236 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1237 (sync_file_range): Likewise.
1238 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1240 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1242 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1243 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1244 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1245 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1246 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1247 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1248 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1249 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1253 (__libc_read64): Likewise.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1263 (__libc_pread64): Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1267 (__libc_pwrite64): Likewise.
1268 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1269 (sync_file_range): Likewise.
1270 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1271 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1272 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1273 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1274 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1275 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1276 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1277 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1278 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1279 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1280 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1281 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1282 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1283 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1284 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1285 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1286 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1287 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1288 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1290 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1292 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1293 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1295 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1296 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1297 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1298 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1300 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1301 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1302 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1303 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1304 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1306 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1308 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1310 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1311 Use VDSO routines for gettimeofday, clock_gettime if
1313 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1314 Declare VDSO symbols.
1315 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1316 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1317 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1318 * sysdeps/unix/sysv/linux/arm/Versions: Add
1319 __vdso_clock_gettime.
1321 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1323 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1324 be an inline implementation regardless of library is built within.
1325 (open_not_cancel_2): Likewise.
1326 (__read_nocancel): Likewise.
1327 (__write_nocancel): Likewise.
1328 (openat_not_cancel): Likewise.
1329 (openat_not_cancel_3): Likewise.
1330 (openat64_not_cancel): Likewise.
1331 (openat64_not_cancel_3): Likewise.
1332 (__close_nocancel): Likewise.
1333 (pause_not_cancel): Likewise.
1334 (nanosleep_not_cancel): Likewise.
1335 (sigsuspend_not_cancel): Likewise.
1337 2015-06-04 Torvald Riegel <triegel@redhat.com>
1340 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1342 (__pthread_rwlock_rdlock_slow): Likewise.
1343 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1345 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1347 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1348 * nptl/tst-rwlock16.c: New file.
1349 * nptl/Makefile (tests): Add new test.
1351 2015-06-04 Torvald Riegel <triegel@redhat.com>
1354 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1355 missing wake-up of readers.
1356 * nptl/tst-rwlock15.c: New file.
1357 * nptl/Makefile (tests): Add new test.
1359 2015-06-03 Roland McGrath <roland@hack.frob.com>
1361 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1362 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1363 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1364 and __nacl_supply_interface_rtld.
1365 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1366 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1367 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1368 Add __nacl_supply_interface_rtld.
1369 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1371 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1373 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1376 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1378 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1380 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1381 __signbit* with standard C99 macros.
1382 * math/e_exp10l.c: Likewise.
1383 * math/e_exp2l.c: Likewise.
1384 * math/e_scalb.c: Likewise.
1385 * math/e_scalbf.c: Likewise.
1386 * math/e_scalbl.c: Likewise.
1387 * math/s_ldexp.c: Likewise.
1388 * math/s_ldexpf.c: Likewise.
1389 * math/s_ldexpl.c: Likewise.
1390 * math/w_atan2.c: Likewise.
1391 * math/w_atan2f.c: Likewise.
1392 * math/w_atan2l.c: Likewise.
1393 * math/w_cosh.c: Likewise.
1394 * math/w_coshf.c: Likewise.
1395 * math/w_coshl.c: Likewise.
1396 * math/w_exp10.c: Likewise.
1397 * math/w_exp10f.c: Likewise.
1398 * math/w_exp10l.c: Likewise.
1399 * math/w_exp2.c: Likewise.
1400 * math/w_exp2f.c: Likewise.
1401 * math/w_exp2l.c: Likewise.
1402 * math/w_fmod.c: Likewise.
1403 * math/w_fmodf.c: Likewise.
1404 * math/w_fmodl.c: Likewise.
1405 * math/w_hypot.c: Likewise.
1406 * math/w_hypotf.c: Likewise.
1407 * math/w_hypotl.c: Likewise.
1408 * math/w_jnl.c: Likewise.
1409 * math/w_lgamma.c: Likewise.
1410 * math/w_lgamma_r.c: Likewise.
1411 * math/w_lgammaf.c: Likewise.
1412 * math/w_lgammaf_r.c: Likewise.
1413 * math/w_lgammal.c: Likewise.
1414 * math/w_lgammal_r.c: Likewise.
1415 * math/w_pow.c: Likewise.
1416 * math/w_powf.c: Likewise.
1417 * math/w_powl.c: Likewise.
1418 * math/w_remainder.c: Likewise.
1419 * math/w_remainderf.c: Likewise.
1420 * math/w_remainderl.c: Likewise.
1421 * math/w_scalb.c: Likewise.
1422 * math/w_scalbf.c: Likewise.
1423 * math/w_scalbl.c: Likewise.
1424 * math/w_scalbln.c: Likewise.
1425 * math/w_scalblnf.c: Likewise.
1426 * math/w_scalblnl.c: Likewise.
1427 * math/w_sinh.c: Likewise.
1428 * math/w_sinhf.c: Likewise.
1429 * math/w_sinhl.c: Likewise.
1430 * math/w_tgamma.c: Likewise.
1431 * math/w_tgammaf.c: Likewise.
1432 * math/w_tgammal.c: Likewise.
1433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1435 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1437 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1440 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1441 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1442 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1443 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1444 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1445 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1446 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1447 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1448 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1450 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1451 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1456 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1457 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1459 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1460 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1462 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1463 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1464 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1465 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1466 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1467 * stdio-common/printf_fp.c: Likewise.
1468 * stdio-common/printf_fphex.c: Likewise.
1469 * stdio-common/printf_size.c: Likewise.
1471 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1474 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1476 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1478 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1479 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1480 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1481 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1482 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1483 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1484 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1485 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1486 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1487 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1490 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1491 weak alias of __wmemchr. Use libc_hidden_weak.
1492 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1493 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1496 2015-06-02 Roland McGrath <roland@hack.frob.com>
1499 * elf/tst-tlsalign-extern.c: New file.
1500 * elf/tst-tlsalign-extern-static.c: New file.
1501 * elf/tst-tlsalign-vars.c: New file.
1502 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1503 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1504 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1505 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1506 (test-xfail-tst-tlsalign-extern-static): New variable.
1508 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1510 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1511 Use variable name _sc_err instead of err.
1512 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1514 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1515 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1516 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1517 (INLINE_SYSCALL): Likewise.
1519 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1520 * include/string.h (__strnlen): Use libc_hidden_proto.
1521 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1522 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1523 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1524 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1525 (libc_hidden_def): Undefine and redefine.
1526 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1527 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1529 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1531 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1534 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1535 weak alias of __towlower. Use libc_hidden_weak.
1536 (towupper): Rename to __towupper and define as weak alias of
1537 __towupper. Use libc_hidden_weak.
1538 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1539 (__towupper): Likewise.
1540 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1541 __towlower instead of towlower.
1543 2015-06-02 Roland McGrath <roland@hack.frob.com>
1545 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1546 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1548 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1550 * sysdeps/aarch64/libm-test-ulps: Update.
1552 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1554 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1556 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1558 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1559 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1560 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1561 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1562 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1564 2015-06-01 Martin Sebor <msebor@redhat.com>
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1568 (__setcontext): Use extended four-operand version of mtsf whenever
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1571 (__novec_swapcontext): Likewise.
1573 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1575 * benchtests/scripts/compare_bench.py: New file.
1576 * benchtests/scripts/import_bench.py (mean): New function.
1577 (split_list): Likewise.
1578 (do_for_all_timings): Likewise.
1579 (compress_timings): Likewise.
1581 * benchtests/scripts/import_bench.py: New file.
1582 * benchtests/scripts/validate_benchout.py: Import import_bench
1583 instead of jsonschema.
1584 (validate_bench): Remove function.
1585 (main): Use import_bench.
1587 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1589 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1590 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1592 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1596 2015-05-28 Roland McGrath <roland@hack.frob.com>
1598 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1599 set THREAD_SELF->tid to a magic value and futex-wake it.
1600 Pass its address to the thread_exit system call.
1601 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1603 * sysdeps/nacl/lowlevellock.h: New file.
1604 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1606 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1607 Add TIMEOUT to current time, don't subtract it.
1609 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1612 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1613 ($(objpfx)tst-audit2.out): Also depend on
1614 $(objpfx)tst-auditmod9b.so.
1615 * elf/tst-audit2.c: Include <dlfcn.h>.
1616 (calloc_called): New.
1617 (calloc): Allow to be called more than once.
1618 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1620 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1622 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1623 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1625 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1627 * stdlib/monetary.h: Fix comment.
1629 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1631 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1632 Avoid using variables in #defines that might cause shadowing.
1633 (INTERNAL_VSYSCALL_CALL): Likewise.
1635 2015-05-26 Roland McGrath <roland@hack.frob.com>
1637 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1639 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1640 * nptl/lll_timedlock_wait.c: ... to this new file.
1641 * nptl/Makefile (libpthread-routines): Add it.
1642 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1643 * nptl/lll_timedwait_tid.c: ... to this new file.
1644 * nptl/Makefile (libpthread-routines): Add it.
1645 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1646 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1647 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1648 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1649 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1650 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1651 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1652 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1653 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1654 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1656 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1658 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1659 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1660 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1662 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1664 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1665 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1666 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1667 * sysdeps/unix/sysv/linux/tile/sysdep.h
1668 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1669 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1670 using vDSO syscall macro.
1672 2015-05-26 Andriy Rysin <arysin@gmail.com>
1675 * uk_UA: Fix sorting order for Ukrainian locale
1677 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1679 * stdlib/monetary.h: Fix comment.
1681 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1684 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1685 st_mtim and st_ctim members.
1686 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1687 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1688 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1689 (struct stat64): Likewise.
1690 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1691 (struct stat64): Likewise.
1692 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1693 (struct stat64): Likewise.
1695 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1697 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1698 Define and include sysdep-vdso.h.
1699 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1701 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1703 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1704 Define with VDSO_SYMBOL and use PTR_MANGLE.
1705 (__vdso_clock_gettime): Likewise.
1706 (__vdso_clock_getres): Likewise.
1707 (_libc_vdso_platform_setup): Likewise.
1708 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1710 (_libc_vdso_platform_setup): Likewise.
1711 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1713 (__vdso_clock_gettime): Likewise.
1714 (__vdso_clock_getres): Likewise.
1715 (__vdso_get_tbfreq): Likewise.
1716 (__vdso_getcpu): Likewise.
1717 (__vdso_time): Likewise.
1718 (__vdso_sigtramp_rt64): Likewise.
1719 (__vdso_signtramp32): Likewise.
1720 (__vdso_sigtramp_rt32): Likewise.
1721 (_libc_vdso_platform_setup): Likewise.
1722 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1724 (__vdso_clock_gettime): Likewise.
1725 (__vdso_clock_getres): Likewise.
1726 (_libc_vdso_platform_setup): Likewise.
1727 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1729 (__vdso_clock_gettime): Likewise.
1730 (_libc_vdso_platform_setup): Likewise.
1731 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1733 (__vdso_getcpu): Likewise.
1734 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1735 Use VDSO_SYMBOL macro to define.
1736 (__vdso_clock_gettime): Likewise.
1737 (__vdso_clock_getres): Likewise.
1738 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1740 (__vdso_clock_gettime): Likewise.
1741 (__vdso_clock_getres): Likewise.
1742 (__vdso_get_tbfreq): Likewise.
1743 (__vdso_getcpu): Likewise.
1744 (__vdso_time): Likewise.
1745 (__vdso_sigtramp_rt64): Likewise.
1746 (__vdso_signtramp32): Likewise.
1747 (__vdso_sigtramp_rt32): Likewise.
1748 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1750 (__vdso_clock_gettime): Likewise.
1751 (__vdso_clock_getres): Likewise.
1752 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1754 (__vdso_clock_gettime): Likewise.
1755 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1757 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1759 (INTERNAL_VSYSCALL): Likewise.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1762 (INTERNAL_VSYSCALL): Likewise.
1763 (INTERNAL_VSYSCALL_NCS): Likewise.
1764 (INTERNAL_VSYSCALL_CALL): New macro.
1765 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1768 (INTERNAL_VSYSCALL): Likewise.
1769 (INTERNAL_VSYSCALL_NCS): Likewise.
1770 (INTERNAL_VSYSCALL_CALL): New macro.
1771 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1773 (INLINE_VSYSCALL): Remove macro.
1774 (INTERNAL_VSYSCALL): Remove macro.
1775 (INTERNAL_VSYSCALL_NCS): Remove macro.
1776 (INTERNAL_VSYSCALL_CALL): New macro.
1777 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1778 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1779 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1780 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1781 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1783 (INLINE_VSYSCALL): Remove macro.
1784 (INTERNAL_VSYSCALL): Likewise.
1785 (INTERNAL_VSYSCALL_NCS): Likewise.
1786 (INTERNAL_VSYSCALL_CALL): New macro.
1787 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1788 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1789 PTR_DEMANGLE on vDSO pointer.
1790 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1791 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1793 (INTERNAL_SYSCALL): Likewise.
1794 (INTERNAL_VSYSCALL_NCS): Remove macro.
1795 (INTERNAL_VSYSCALL_CALL): New macro.
1796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1798 (INTERNAL_VSYSCALL): Likewise.
1799 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1800 sysdep-vdso.h instead of libc-vdso.h.
1801 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1803 (INLINE_VSYSCALL): Likewise.
1804 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1805 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1807 (INLINE_VSYSCALL): Likewise.
1808 (INTERNAL_VSYSCALL): Likewise.
1809 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1810 * sysdeps/unix/sysv/linux/timespec_get.c
1811 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1812 (timespec_get): Use ANSI prototype.
1813 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1814 and definition for Linux.
1816 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1818 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1819 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1821 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1824 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1825 for missing DT_PLTRELSZ.
1827 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1829 Remove obsolete aliases that broke 'locale -a'
1831 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1832 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1833 breaking some applications that use 'locale -a' output.
1834 Change the encoding of this file from Latin-1 to ASCII to avoid
1835 other potential problems with people grepping this file.
1837 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1839 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1840 -fasynchronous-unwind-tables.
1841 (CFLAGS-sendto.c): Likewise.
1842 (CFLAGS-sendmsg.c): Likewise.
1843 (CFLAGS-connect.c): Likewise.
1844 (CFLAGS-recvmsg.c): Likewise.
1845 (CFLAGS-recvfrom.c): Likewise.
1846 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1847 (SOCKETCALL): New macro: non-cancellable socketcall.
1848 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1849 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1850 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1851 * sysdeps/unix/sysv/linux/accept.c: New file.
1852 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1853 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1854 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1855 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1856 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1857 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1858 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1859 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1860 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1861 * sysdeps/unix/sysv/linux/send.c: Likewise.
1862 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1863 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1864 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1865 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1866 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1867 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1868 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1870 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1871 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1872 instead of __internal_xxx function.
1873 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1875 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1876 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1877 instead of __internal_xxx function.
1878 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1880 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1881 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1882 instead of __internal_xxx function.
1883 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1884 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1885 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1886 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1887 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1888 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1889 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1890 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1891 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1892 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1893 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1894 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1895 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1896 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1898 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1899 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1900 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1901 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1905 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1906 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1907 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1908 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1909 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1910 * sysdeps/unix/sysv/linux/send.S: Likewise.
1911 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1912 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1913 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1914 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1915 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1916 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1917 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1918 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1919 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1920 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1921 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1922 socketcall is implemented in GLIBC.
1924 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1926 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1927 (__fma): Ignore uninitialized warnings around packing.
1928 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1929 (__fmaf): Ignore uninitialized warnings around packing.
1930 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1931 (__fmal): Ignore uninitialized warnings around packing.
1933 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1934 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1936 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1938 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1939 switch statement into default case.
1940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1942 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1943 a conditional in forcing "inexact".
1944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1947 2015-05-22 Roland McGrath <roland@hack.frob.com>
1949 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1950 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1951 for each INTERNAL_SYSCALL use.
1953 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1956 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1957 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1961 * string/basename.c (basename): Rename to __basename and define as
1962 weak alias of __basename. Use libc_hidden_weak.
1963 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1964 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1965 __basename instead of basename.
1966 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1968 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1970 2015-05-18 Florian Weimer <fweimer@redhat.com>
1972 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1973 (_IO_JUMPS_FILE_plus): New.
1974 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1975 _IO_CAST_FIELD_ACCESS.
1976 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1977 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1978 * libio/freopen.c (freopen): Likewise.
1979 * libio/freopen64.c (freopen64): Likewise.
1980 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1981 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1982 * libio/iofwide.c (_IO_fwide): Likewise.
1983 * libio/memstream.c (open_memstream): Likewise.
1984 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1985 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1986 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1988 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1990 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1991 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1993 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1994 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1997 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2000 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2003 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2004 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2006 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2007 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2008 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2010 2015-05-21 Florian Weimer <fweimer@redhat.com>
2012 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2013 Adjust jump table label generation macros.
2015 2015-05-21 Florian Weimer <fweimer@redhat.com>
2017 * stdio-common/vfprintf.c (vfprintf): Move local variables
2018 args_malloced, specs, specs_malloced, and the code after
2019 do_positional to the printf_positional function.
2020 (printf_positional): New function.
2022 2015-05-21 Florian Weimer <fweimer@redhat.com>
2024 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2026 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2027 STEP4_TABLE, process_arg): Move macro definitions
2028 out of the vfprintf function. (Cosmetic change only.)
2030 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2032 * benchtests/Makefile (stdio-common-bench): Define.
2033 (benchset): Add stdio-common-bench.
2034 * sprintf-inputs: New file.
2035 * sprintf-source.c: New file.
2037 2015-05-21 Andreas Schwab <schwab@suse.de>
2041 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2042 of struct __res_state.
2043 * resolv/res_send.c (__libc_res_nsend): Likewise.
2044 (get_nsaddr): New function.
2045 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2048 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2050 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2051 -D_POSIX_C_SOURCE=199506L.
2053 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2055 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2056 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2057 Do not mention otherwise.
2058 [POSIX] (_XOPEN_VERSION): Do not expect.
2059 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2060 [POSIX] (_POSIX2_C_BIND): Likewise.
2061 [POSIX] (_POSIX2_VERSION): Likewise.
2062 [POSIX] (_XOPEN_XPG2): Likewise.
2063 [POSIX] (_XOPEN_XPG3): Likewise.
2064 [POSIX] (_XOPEN_XPG4): Likewise.
2065 [POSIX] (_XOPEN_UNIX): Likewise.
2066 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2067 [POSIX] (_POSIX_BARRIERS): Likewise.
2068 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2069 [POSIX] (_POSIX_CPUTIME): Likewise.
2070 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2071 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2072 [POSIX] (_POSIX_SHELL): Likewise.
2073 [POSIX] (_POSIX_SPAWN): Likewise.
2074 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2075 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2076 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2077 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2078 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2079 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2080 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2081 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2082 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2083 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2084 [POSIX] (_POSIX2_PBS): Likewise.
2085 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2086 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2087 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2088 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2089 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2090 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2091 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2092 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2093 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2094 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2095 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2096 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2097 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2098 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2099 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2100 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2101 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2102 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2103 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2104 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2105 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2106 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2107 [POSIX] (_SC_2_C_BIND): Likewise.
2108 [POSIX] (_SC_2_C_VERSION): Likewise.
2109 [POSIX] (_SC_2_PBS): Likewise.
2110 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2111 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2112 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2113 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2114 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2115 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2116 [POSIX] (_SC_BARRIERS): Likewise.
2117 [POSIX] (_SC_BASE): Likewise.
2118 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2119 [POSIX] (_SC_DEVICE_IO): Likewise.
2120 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2121 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2122 [POSIX] (_SC_FD_MGMT): Likewise.
2123 [POSIX] (_SC_FIFO): Likewise.
2124 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2125 [POSIX] (_SC_FILE_LOCKING): Likewise.
2126 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2127 [POSIX] (_SC_IOV_MAX): Likewise.
2128 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2129 [POSIX] (_SC_NETWORKING): Likewise.
2130 [POSIX] (_SC_PAGE_SIZE): Likewise.
2131 [POSIX] (_SC_PASS_MAX): Likewise.
2132 [POSIX] (_SC_PIPE): Likewise.
2133 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2134 [POSIX] (_SC_REGEXP): Likewise.
2135 [POSIX] (_SC_SHELL): Likewise.
2136 [POSIX] (_SC_SIGNALS): Likewise.
2137 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2138 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2139 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2140 [POSIX] (_SC_USER_GROUPS): Likewise.
2141 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2142 [POSIX] (_SC_STREAMS): Likewise.
2143 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2144 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2145 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2146 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2147 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2148 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2149 [POSIX] (_PC_FILESIZEBITS): Likewise.
2150 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2151 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2152 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2153 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2154 [POSIX] (uid_t): Likewise.
2155 [POSIX] (gid_t): Likewise.
2156 [POSIX] (off_t): Likewise.
2157 [POSIX] (pid_t): Likewise.
2158 [POSIX] (cuserid): Allow.
2159 (_SC_2_CHAR_TERM): Require constant.
2160 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2161 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2164 2015-05-20 Roland McGrath <roland@hack.frob.com>
2166 * sysdeps/nacl/pthread-pids.h: New file.
2167 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2168 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2170 * nptl/pthread-pids.h: New file.
2171 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2172 * nptl/nptl-init.c: Include <pthread-pids.h>.
2173 (__pthread_initialize_minimal_internal):
2174 Call __pthread_initialize_pids instead of set_tid_address syscall.
2176 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2177 * sysdeps/posix/usleep.c: ... here.
2179 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2181 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2182 call_pselect6 object.
2183 [$(subdir) = io]: Remove call_sync_file_range object.
2184 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2185 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2186 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2187 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2189 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2191 * math/s_cproj.c: Add include "math_private.h".
2192 * math/s_cprojf.c: Likewise.
2193 * math/s_cprojl.c: Likewise.
2195 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2198 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2199 high mantissa bit when testing whether P is a NaN.
2200 * math/libm-test.inc (remainder_test_data): Add more tests.
2201 (remquo_test_data): Likewise.
2204 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2205 below -32, return the argument, with underflow if subnormal.
2206 * math/auto-libm-test-in: Add more tests of atanh.
2207 * math/auto-libm-test-out: Regenerated.
2209 2015-05-19 Roland McGrath <roland@hack.frob.com>
2212 * nptl/tst-sem15.c: New file.
2213 * nptl/Makefile (tests): Add it.
2214 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2215 s/<</>>/ to fix typo in EOVERFLOW check.
2216 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2218 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2220 * manual/strings.texi (envz_remove): Fix typo in safety
2223 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2224 Steve Ellcey <sellcey@imgtec.com>
2226 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2227 in order to avoid strict alias warnings.
2228 (iruserok_af): Ditto for ra.
2230 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2234 (magicbyte): Convert to a function and avoid returning 0x01.
2235 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2236 (mem2chunk_check): Fix unsigned comparisons to zero.
2237 Hoist defs of sz and magic.
2239 2015-05-19 Richard Henderson <rth@redhat.com>
2241 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2243 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2245 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2248 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2249 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2250 (reused_arena): Find a non-corrupt arena.
2251 (heap_trim): Pass arena to unlink.
2252 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2254 (top_check): Likewise.
2255 (free_check): Likewise.
2256 (realloc_check): Likewise.
2257 * malloc/malloc.c (malloc_printerr): Add arena argument.
2259 (munmap_chunk): Adjust.
2260 (ARENA_CORRUPTION_BIT): New macro.
2261 (arena_is_corrupt): Likewise.
2262 (set_arena_corrupt): Likewise.
2263 (sysmalloc): Use mmap if there are no usable arenas.
2264 (_int_malloc): Likewise.
2265 (__libc_malloc): Don't fail if arena_get returns NULL.
2266 (_mid_memalign): Likewise.
2267 (__libc_calloc): Likewise.
2268 (__libc_realloc): Adjust for additional argument to
2270 (_int_free): Likewise.
2271 (malloc_consolidate): Likewise.
2272 (_int_realloc): Likewise.
2273 (_int_memalign): Don't touch corrupt arenas.
2274 * malloc/tst-malloc-backtrace.c: New test case.
2276 * Makefile (summarize-tests): Fix return value on success.
2278 * manual/string.texi (Envz Functions): Add envz_remove.
2280 2015-05-18 Roland McGrath <roland@hack.frob.com>
2282 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2283 (invalid_name): New function, broken out of ...
2284 (__opendirat): ... here. Call it.
2285 (need_isdir_precheck): New function, broken out of ...
2286 (__opendirat): ... here. Call it.
2287 Use __fxstatat64, not __xstatat64.
2288 (opendir_oflags): New function, broken out of ...
2289 (__opendirat): ... here. Call it.
2290 (opendir_tail): New function, broken out of ...
2291 (__opendirat): ... here. Call it.
2292 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2293 opendir_tail, rather than punting to __opendirat.
2294 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2296 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2298 * .gitignore: Ignore generated *.pyc.
2300 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2302 * include/stdio.h: Define __need_wint_t.
2303 * test-skeleton.c: Avoid `for' loop initial declaration.
2304 * nptl/tst-initializers1.c: Use test-skeleton.c.
2306 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2309 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2311 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2314 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2315 (__ieee754_atanh): Force underflow exception for results with
2316 small absolute value.
2317 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2318 (__ieee754_atanhf): Force underflow exception for results with
2319 small absolute value.
2320 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2321 (__ieee754_atanh): Force underflow exception for results with
2322 small absolute value.
2323 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2324 (__ieee754_atanhf): Force underflow exception for results with
2325 small absolute value.
2326 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2327 (__ieee754_atanhl): Force underflow exception for results with
2328 small absolute value.
2329 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2330 (__ieee754_atanhl): Force underflow exception for results with
2331 small absolute value.
2332 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2333 (__ieee754_atanhl): Force underflow exception for results with
2334 small absolute value.
2335 * math/auto-libm-test-in: Do not allow missing underflow
2336 exceptions from atanh.
2337 * math/auto-libm-test-out: Regenerated.
2340 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2341 2**-28 as threshold for returning x or +/- 1/x.
2342 * math/auto-libm-test-in: Add more tests of tan.
2343 * math/auto-libm-test-out: Regenerated.
2346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2347 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2348 * math/auto-libm-test-in: Add another test of lgamma.
2349 * math/auto-libm-test-out: Regenerated.
2351 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2353 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2354 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2355 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2356 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2357 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2358 (ADD2A): Use fabs. (SUB2A): Use fabs.
2359 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2360 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2361 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2362 (log1): Use fabs. (my_log2): Use fabs.
2363 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2364 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2366 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2368 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2369 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2370 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2371 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2372 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2373 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2375 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2378 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2379 as threshold for returning 1 - x.
2380 * math/auto-libm-test-in: Add more tests of erfc.
2381 * math/auto-libm-test-out: Regenerated.
2383 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2386 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2387 threshold for large arguments.
2388 * math/auto-libm-test-in: Add another test of atan.
2389 * math/auto-libm-test-out: Regenerated.
2392 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2393 (__log1p): Force underflow exception for results with small
2395 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2396 (__log1pf): Force underflow exception for results with small
2398 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2399 (__log1p): Force underflow exception for results with small
2401 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2402 (__log1pf): Force underflow exception for results with small
2404 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2405 (__log1pl): Force underflow exception for results with small
2407 * math/auto-libm-test-in: Do not allow missing underflow
2408 exceptions from log1p.
2409 * math/auto-libm-test-out: Regenerated.
2411 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2412 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2415 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2417 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2419 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2420 (libmvec): New variable.
2421 * configure.ac: Added option for mathvec build.
2422 * configure: Regenerated.
2423 * mathvec/Depend: New file.
2424 * mathvec/Makefile: New file.
2425 * shlib-versions: Added libmvec.
2426 * math/Makefile: Added rule for libm.so installation.
2428 * bits/math-vector.h: New file.
2429 * bits/libm-simd-decl-stubs.h: New header.
2430 * math/Makefile (headers): Added new header
2431 libm-simd-decl-stubs.h.
2432 * math/math.h (__MATHCALL_VEC): New macro.
2434 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2435 for conditions in testing functions.
2436 * math/Makefile: Added call of libm-have-vector-test.sh.
2437 * math/libm-test.inc (HAVE_VECTOR): New macros.
2439 * math/libm-test.inc: START refactored.
2440 * math/test-double.c (TEST_MATHVEC): Add define.
2441 * math/test-float.c: Likewise.
2442 * math/test-idouble.c: Likewise.
2443 * math/test-ifloat.c: Likewise.
2444 * math/test-ildoubl.c: Likewise.
2445 * math/test-ldouble.c: Likewise.
2446 * sysdeps/generic/math-tests-arch.h
2447 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2450 * math/test-double.c (FUNC_TEST): New macro.
2451 * math/test-float.c: Likewise.
2452 * math/test-idouble.c: Likewise.
2453 * math/test-ifloat.c: Likewise.
2454 * math/test-ildoubl.c: Likewise.
2455 * math/test-ldouble.c: Likewise.
2456 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2458 2015-05-13 Roland McGrath <roland@hack.frob.com>
2460 * sysdeps/nacl/fdopendir.c: New file.
2462 * dirent/scandir-tail.c: New file.
2463 * dirent/scandir64-tail.c: New file.
2464 * dirent/Makefile (routines): Add them.
2465 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2466 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2467 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2468 [!SCANDIR] (SCANDIR_TAIL): New macro.
2469 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2470 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2471 (SCANDIRAT): Macro removed.
2472 (SCANDIR_TAIL): New macro.
2473 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2474 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2475 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2476 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2477 (READDIR): Macro removed.
2478 (SCANDIR_TAIL): New macro.
2479 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2480 (SCANDIR_TAIL): New macro.
2482 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2483 * dirent/scandir-cancel.c: ... to this new file.
2484 * dirent/Makefile (routines): Add it.
2485 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2486 * sysdeps/unix/sysv/linux/i386/scandir64.c
2487 (SKIP_SCANDIR_CANCEL): Macro removed.
2488 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2490 * dirent/tst-scandir.c: New file.
2491 * dirent/tst-scandir64.c: New file.
2492 * dirent/Makefile (tests): Add them.
2494 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2497 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2499 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2501 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2504 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2506 * benchtests/bench-strcoll.c: New benchmark.
2507 * benchtests/Makefile: Generate locales and run benchmark.
2508 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2509 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2510 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2511 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2512 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2513 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2514 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2515 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2516 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2517 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2518 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2519 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2520 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2521 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2522 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2523 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2524 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2525 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2526 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2527 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2528 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2529 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2530 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2531 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2533 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2535 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2536 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2538 2015-05-12 Roland McGrath <roland@hack.frob.com>
2540 * posix/uname-values.h: New file.
2541 * posix/uname.c: Include that instead of <config-name.h>.
2542 * sysdeps/nacl/uname-values.h: New file.
2543 * sysdeps/arm/nacl/uname-values.h: New file.
2545 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2547 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2548 splitting into fields.
2550 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2552 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2553 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2554 * locale/localeinfo.h: Add enum collation_encoding_type.
2555 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2556 * programs/ld-collate.c (collate_output): Add encoding type info.
2557 * string/strcoll_l.c (STRDIFF): New function.
2558 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2559 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2561 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2564 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2565 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2566 <fpu_control.h> instead of <math/fpu_control.c>.
2567 * sysdeps/mips/mips32/fpu/Makefile: New file.
2569 2015-05-11 Andreas Schwab <schwab@suse.de>
2572 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2574 (_nss_compat_endgrent): Call nss_endgrent.
2575 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2577 (_nss_compat_endpwent): Call nss_endpwent.
2578 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2579 needent, call nss_setspent only if non-zero.
2580 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2581 (internal_endspent): Don't call nss_endspent.
2582 (_nss_compat_endspent): Call nss_endspent.
2583 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2584 Remove. All uses removed.
2585 (internal_setent): Remove parameter stayopen, add parameter
2586 stream. Use it instead of global variable.
2587 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2588 (internal_endent, internal_getent): Add parameter stream. Use it
2589 instead of global variable.
2590 (CONCAT(_nss_files_end,ENTNAME))
2591 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2592 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2593 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2595 (internal_setent, internal_endent): Add parameter stream. Use it
2596 instead of global variable.
2597 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2599 (get_next_alias): Add parameter stream.
2600 (_nss_files_getaliasent_r): Pass global stream.
2601 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2602 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2603 (_nss_files_gethostbyname4_r): Pass local stream to
2604 internal_setent, internal_getent and internal_endent. Remove
2607 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2609 * tst-strfmon1.c (tests): Update expected currency symbol.
2611 2015-05-08 Roland McGrath <roland@hack.frob.com>
2613 * sysdeps/nacl/gethostname.c: New file.
2615 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2617 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2619 * math/auto-libm-test-out: Regenerated.
2620 * sysdeps/i386/fpu/libm-test-ulps: Update.
2621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2623 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2626 * stdlib/tst-setcontext3.c: New file.
2627 * stdlib/tst-setcontext3.sh: New file.
2628 * stdlib/Makefile (tests): Add tst-setcontext3.
2629 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2630 to verify test program created output file.
2631 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2632 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2633 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2634 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2636 2015-05-06 Roland McGrath <roland@hack.frob.com>
2639 * elf/tst-tlsalign.c: New file.
2640 * elf/tst-tlsalign-static.c: New file.
2641 * elf/tst-tlsalign-lib.c: New file.
2642 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2643 (tests-static): Add tst-tlsalign-static.
2644 (modules-names): Add tst-tlsalign-lib.
2645 (test-xfail-tst-tlsalign): New variable.
2646 (test-xfail-tst-tlsalign-static): New variable.
2648 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2649 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2651 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2653 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2654 csqrt, erfc, sin and sincos.
2655 * math/auto-libm-test-out: Regenerated.
2656 * sysdeps/i386/fpu/libm-test-ulps: Update.
2657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2659 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2661 * sysdeps/aarch64/libm-test-ulps: Update.
2663 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2665 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2666 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2667 * math/auto-libm-test-out: Regenerated.
2668 * sysdeps/i386/fpu/libm-test-ulps: Update.
2669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2674 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2675 (wcsncpy): Likewise.
2677 2015-05-05 Florian Weimer <fweimer@redhat.com>
2679 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2680 Assume __ASSUME_FALLOCATE is always true.
2681 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2682 (__posix_fallocate64_l64): Likweise.
2683 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2684 (posix_fallocate): Likewise.
2685 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2686 (__posix_fallocate64_l64): Likewise.
2687 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2688 [!__ASSUME_FALLOCATE]: Add comment.
2690 2015-05-05 Florian Weimer <fweimer@redhat.com>
2692 * sysdeps/unix/sysv/linux/i386/Makefile
2693 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2694 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2695 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2696 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2697 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2698 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2699 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2701 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2703 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2704 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2706 * math/auto-libm-test-out: Regenerated.
2707 * sysdeps/i386/fpu/libm-test-ulps: Update.
2708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2710 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2712 * math/auto-libm-test-in: Add more tests of tgamma.
2713 * math/auto-libm-test-out: Regenerated.
2714 * sysdeps/i386/fpu/libm-test-ulps: Update.
2715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2717 * math/auto-libm-test-in: Add more tests of tanh.
2718 * math/auto-libm-test-out: Regenerated.
2719 * sysdeps/i386/fpu/libm-test-ulps: Update.
2720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2722 * math/auto-libm-test-in: Add more tests of tan.
2723 * math/auto-libm-test-out: Regenerated.
2724 * sysdeps/i386/fpu/libm-test-ulps: Update.
2725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2728 * math/auto-libm-test-out: Regenerated.
2729 * sysdeps/i386/fpu/libm-test-ulps: Update.
2730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2732 * math/auto-libm-test-in: Add another test of pow.
2733 * math/auto-libm-test-out: Regenerated.
2734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2736 * math/auto-libm-test-in: Add more tests of lgamma.
2737 * math/auto-libm-test-out: Regenerated.
2738 * sysdeps/i386/fpu/libm-test-ulps: Update.
2739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2741 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2743 * math/auto-libm-test-out: Regenerated.
2744 * sysdeps/i386/fpu/libm-test-ulps: Update.
2745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2747 2015-05-01 Mark Wielaard <mjw@redhat.com>
2749 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2750 Elf64_Chdr structs and ELFCOMPRESS constants.
2752 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2754 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2756 * math/auto-libm-test-out: Regenerated.
2757 * sysdeps/i386/fpu/libm-test-ulps: Update.
2758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2760 * math/auto-libm-test-in: Add more tests of erf and erfc.
2761 * math/auto-libm-test-out: Regenerated.
2762 * sysdeps/i386/fpu/libm-test-ulps: Update.
2763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2765 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2767 * config.h.in (HAVE_AARCH64_BE): Add.
2769 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2771 * math/auto-libm-test-in: Add more tests of csqrt.
2772 * math/auto-libm-test-out: Regenerated.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2776 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2777 * math/auto-libm-test-out: Regenerated.
2778 * sysdeps/i386/fpu/libm-test-ulps: Update.
2779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2781 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2783 2015-04-29 Roland McGrath <roland@hack.frob.com>
2785 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2786 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2788 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2789 (euidaccess, eaccess): Define as weak aliases.
2791 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2792 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2793 but __suseconds_t is often 'long int' so some sources assume that
2794 type is being used (e.g. they use %ld to print tv_usec).
2796 2015-04-29 Florian Weimer <fweimer@redhat.com>
2799 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2801 * nss/tst-nss-getpwent.c: New file.
2802 * nss/Makefile (tests): Add new test.
2804 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2807 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2808 exponents less than 48 as cases where high part of mantissa needs
2809 examining to determine whether argument is integral.
2810 * math/libm-test.inc (round_test_data): Add more tests.
2812 2015-04-28 Mark Wielaard <mjw@redhat.com>
2814 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2816 2015-04-27 David S. Miller <davem@davemloft.net>
2818 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2822 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2825 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2827 2015-04-27 Florian Weimer <fweimer@redhat.com>
2830 * time/tzset.c (parse_tzname): Return error on memory allocation
2832 * test-skeleton.c (struct temp_name_list): Change type of name
2833 member to non-const.
2834 (add_temp_file): Create a copy of the file name.
2835 (delete_temp_files): Deallocate memory.
2836 (create_temp_file): Add comment.
2838 2015-04-24 Florian Weimer <fweimer@redhat.com>
2840 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2841 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2843 2015-04-24 Roland McGrath <roland@hack.frob.com>
2845 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2846 * sysdeps/arm/configure: Regenerated.
2848 2015-04-24 Florian Weimer <fweimer@redhat.com>
2851 * time/tzfile.c (__tzfile_read): Check for large values of
2852 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2853 * time/tzset.c (__tzstring_len): New function, based on the old
2854 __tzstring function.
2855 (__tzstring): Call __tzstring_len.
2856 (parse_tzname): New helper function extracted from
2857 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2859 (parse_offset): New helper function extracted from
2860 __tzset_parse_tz. Replace switch with fallthrough with
2861 initialization before sscanf.
2862 (parse_rule): Likewise.
2863 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2864 new-style function definition.
2865 * timezone/Makefile (tests): Add tst-tzset.
2866 (tst-tzset.out): Dependencies on time zone files.
2867 (tst-tzset-ENV): Set TZDIR.
2868 (testdata/XT%): Copy crafted time zone files.
2869 * timezone/README: Mention crafted time zone files.
2870 * timezone/testdata/XT1, timezone/testdata/XT2,
2871 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2873 * timezone/tst-tzset.c: New test.
2875 2015-04-24 Florian Weimer <fweimer@redhat.com>
2877 * Makeconfig (+gccwarn): Remove -Winline.
2879 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2881 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2883 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2885 * NEWS: Mention sysconf() cache information support for s390.
2886 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2888 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2890 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2892 (__nearbyint): Likewise.
2893 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2894 (copysignl): Likewise.
2896 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2899 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2900 based on padding. (CVE-2015-1781)
2902 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2904 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2906 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2907 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2908 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2909 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2910 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2911 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2912 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2914 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2915 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2916 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2917 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2918 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2919 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2920 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2921 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2922 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2923 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2924 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2925 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2926 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2927 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2928 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2930 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2932 * stdlib/setenv.c (__add_to_environ):
2933 Dump core quickly if setenv (..., NULL, ...) is called.
2934 This time, do it the right way, and pacify GCC with a pragma.
2936 2015-04-17 Roland McGrath <roland@hack.frob.com>
2938 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2939 IMAP->l_prev cannot be null, and #if out the code for the contrary
2940 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2941 believe that NS (&_dl_ns[NSID]) could point outside the array.
2943 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2944 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2945 before using NSID as an index.
2947 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2950 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2951 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2952 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2954 2015-04-17 Roland McGrath <roland@hack.frob.com>
2956 Add preliminary port to Google Native Client on ARM.
2957 * abi-tags (.*-.*-nacl.*): New entry.
2958 * sysdeps/arm/nacl: New directory.
2959 * sysdeps/nacl: New directory.
2961 2015-04-16 David S. Miller <davem@davemloft.net>
2963 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2964 lowlevellock-futex.h
2966 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2968 * sysdeps/tile/configure.ac: New file.
2969 * sysdeps/tile/configure: Regenerated.
2971 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2973 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2974 conditionals for weak_alias and libc_hidden_weak.
2975 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2976 libc_hidden_weak and weak_alias.
2977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2978 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2979 and weak_alias for static one.
2981 2015-04-15 David S. Miller <davem@davemloft.net>
2983 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2985 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2988 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2989 Use signed comparision instead of substraction to avoid
2991 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2992 Take the sign of ret.
2993 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2994 Do not expect precise return values. Only the sign matters.
2995 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2996 * wcsmbs/test-wcsncmp.c: New File.
2997 * string/test-strncmp.c: Add wcsncmp support.
2999 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3002 * math/w_log1p.c: New file.
3003 * math/w_log1pf.c: Likewise.
3004 * math/w_log1pl.c: Likewise.
3005 * math/Makefile (libm-calls): Add w_log1p.
3006 * math/s_log1pl.c (log1pl): Remove weak_alias.
3007 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3008 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3009 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3010 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3011 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3012 [NO_LONG_DOUBLE] (log1pl): Likewise.
3013 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3014 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3015 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3016 (log1p): Remove long_double_symbol.
3017 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3018 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3019 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3020 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3021 remove weak_alias for corresponding log1p function.
3022 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3023 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3024 * sysdeps/ia64/fpu/w_log1p.c: New file.
3025 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3026 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3027 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3029 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3032 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3033 decimal exponent by 1.
3034 * stdlib/tst-strtod-round-data: Add more tests.
3035 * stdlib/tst-strtod-round.c (tests): Regenerated.
3037 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3039 * math/auto-libm-test-in: Add more tests of clog and clog10.
3040 * math/auto-libm-test-out: Regenerated.
3041 * sysdeps/i386/fpu/libm-test-ulps: Update.
3042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3044 2015-04-09 Roland McGrath <roland@hack.frob.com>
3046 * Makeconfig (module-cppflags): Exclude all .v.i files.
3047 (skip-module-cppflags): Variable removed.
3049 * configure.ac (libc_config_ok): Initialize before reading
3050 preconfigure scripts, not after.
3051 * configure: Regenerated.
3053 * test-skeleton.c (TIMEOUT): Move #define to top level.
3054 (main): Grok environment variable TEST_DIRECT. If set, print
3055 test expectation details into that file and then behave as if
3058 2015-04-09 Florian Weimer <fweimer@redhat.com>
3060 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3063 2015-04-08 David S. Miller <davem@davemloft.net>
3065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3067 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3069 * math/auto-libm-test-in: Add more tests of atanh.
3070 * math/auto-libm-test-out: Regenerated.
3071 * sysdeps/i386/fpu/libm-test-ulps: Update.
3072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3074 * math/auto-libm-test-in: Add more tests of atan.
3075 * math/auto-libm-test-out: Regenerated.
3076 * sysdeps/i386/fpu/libm-test-ulps: Update.
3077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3079 2015-04-08 Florian Weimer <fweimer@redhat.com>
3081 * elf/pldd.c (main): Rewrite to use struct
3082 scratch_buffer instead of extend_alloca.
3083 * elf/pldd-xx.c (find_maps): Likewise.
3084 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3086 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3087 scratch_buffer instead of extend_alloca.
3088 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3089 grp/compat-initgroups.c.
3090 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3091 Rewrite to use struct scratch_buffer instead of extend_alloca.
3092 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3093 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3095 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3097 * math/auto-libm-test-in: Add more tests of cbrt.
3098 * math/auto-libm-test-out: Regenerated.
3099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3101 * math/auto-libm-test-in: Add more tests of cabs.
3102 * math/auto-libm-test-out: Regenerated.
3103 * sysdeps/i386/fpu/libm-test-ulps: Update.
3104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3108 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3109 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3111 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3113 * math/auto-libm-test-out: Regenerated.
3114 * sysdeps/i386/fpu/libm-test-ulps: Update.
3115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3118 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3119 (atan): Set FE_TONEAREST mode for internal computations.
3120 * math/auto-libm-test-in: Add more tests of atan.
3121 * math/auto-libm-test-out: Regenerated.
3123 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3126 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3128 2015-04-07 Florian Weimer <fweimer@redhat.com>
3130 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3132 2015-04-07 Florian Weimer <fweimer@redhat.com>
3134 * include/scratch_buffer.h: New file.
3135 * malloc/scratch_buffer_grow.c: Likewise.
3136 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3137 * malloc/scratch_buffer_set_array_size.c: Likewise.
3138 * malloc/tst-scratch_buffer.c: Likewise.
3139 * malloc/Makefile (routines): Add scratch_buffer_grow.
3140 (tests): Add test case.
3141 * malloc/Versions (GLIBC_PRIVATE): Export
3142 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3143 __libc_scratch_buffer_set_array_size.
3145 2015-04-06 Richard Henderson <rth@redhat.com>
3147 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3148 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3150 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3151 unsigned int before printing.
3153 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3156 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3157 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3159 2015-04-02 Florian Weimer <fweimer@redhat.com>
3161 * include/libc-internal.h (libc_max_align_t): Define.
3163 2015-04-02 Andreas Schwab <schwab@suse.de>
3166 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3168 2015-04-02 Mel Gorman <mgorman@suse.de>
3171 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3172 as well as the main arena.
3174 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3177 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3178 sharing L2 cache to 2 for Silvermont/Knights Landing.
3180 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3183 * config.make.in (have-protected-data): New.
3184 * configure.ac: Check linker support for protected data symbol.
3185 * configure: Regenerated.
3186 * elf/Makefile (modules-names): Add tst-protected1moda and
3187 tst-protected1modb if $(have-protected-data) is yes.
3188 (tests): Add tst-protected1a and tst-protected1b if
3189 $(have-protected-data) is yes.
3190 ($(objpfx)tst-protected1a): New.
3191 ($(objpfx)tst-protected1b): Likewise.
3192 (tst-protected1modb.so-no-z-defs): Likewise.
3193 * elf/tst-protected1a.c: New file.
3194 * elf/tst-protected1b.c: Likewise.
3195 * elf/tst-protected1mod.h: Likewise.
3196 * elf/tst-protected1moda.c: Likewise.
3197 * elf/tst-protected1modb.c: Likewise.
3199 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3202 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3203 indicates it is called from do_lookup_x on relocation against
3204 protected data, skip the data definion in the executable from
3206 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3207 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3208 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3209 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3210 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3212 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3213 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3214 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3215 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3216 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3217 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3219 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3221 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3222 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3224 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3226 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3228 * sysdeps/x86_64/nptl/tls.h: Ditto.
3230 2015-03-27 Roland McGrath <roland@hack.frob.com>
3232 * dlfcn/tststatic.c (main): Converted to ...
3233 (do_test): ... this.
3234 (TEST_FUNCTION): New macro.
3235 Include test-skeleton.c.
3237 2015-03-26 Alan Modra <amodra@gmail.com>
3239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3240 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3241 zero for undefined weak.
3242 (elf_machine_plt_conflict): Similarly.
3244 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3246 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3248 * math/auto-libm-test-out: Regenerated.
3249 * sysdeps/i386/fpu/libm-test-ulps: Update.
3250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3252 * math/auto-libm-test-in: Add another test of asin.
3253 * math/auto-libm-test-out: Regenerated.
3254 * sysdeps/i386/fpu/libm-test-ulps: Update.
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3257 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3259 (LLL_EBX_REG): Likewise.
3260 (LLL_ENTER_KERNEL): Likewise.
3262 * math/auto-libm-test-in: Add more tests of asin.
3263 * math/auto-libm-test-out: Regenerated.
3264 * sysdeps/i386/fpu/libm-test-ulps: Update.
3265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3268 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3269 libc_do_syscall_args): New structure.
3270 (INTERNAL_SYSCALL_MAIN_0): New macro.
3271 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3272 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3273 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3274 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3275 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3276 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3277 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3278 Replace conditional definitions by conditional definitions of ....
3279 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3280 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3281 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3282 (libpthread-sysdep_routines): Add libc-do-syscall.
3283 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3284 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3285 to __NR_futex not 240.
3287 2015-03-25 Alan Modra <amodra@gmail.com>
3289 * NEWS: Advertise TLS optimization.
3290 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3291 (DT_PPC_NUM): Increment.
3292 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3293 (CHECK_STATIC_TLS): Use here.
3294 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3297 * sysdeps/powerpc/dl-tls.c: New file.
3298 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3299 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3300 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3301 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3306 2015-03-25 Alan Modra <amodra@gmail.com>
3308 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3309 for overlapping .opd entries" to "support...".
3310 * sysdeps/powerpc/powerpc64/configure: Regenerate
3312 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3314 * math/auto-libm-test-in: Add more tests of acos.
3315 * math/auto-libm-test-out: Regenerated.
3316 * sysdeps/i386/fpu/libm-test-ulps: Update.
3317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3319 * math/auto-libm-test-in: Add more tests of expm1.
3320 * math/auto-libm-test-out: Regenerated.
3321 * sysdeps/i386/fpu/libm-test-ulps: Update.
3322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3324 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3326 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3327 * math/auto-libm-test-out: Regenerated.
3328 * sysdeps/i386/fpu/libm-test-ulps: Update.
3329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3331 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3334 * math/auto-libm-test-in: Add more tests of log2.
3335 * math/auto-libm-test-out: Regenerated.
3336 * sysdeps/i386/fpu/libm-test-ulps: Update.
3337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3339 2015-03-23 Roland McGrath <roland@hack.frob.com>
3341 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3342 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3343 _IO_IS_APPENDING bit in READ_WRITE instead.
3345 2015-03-23 Florian Weimer <fweimer@redhat.com>
3347 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3348 (__determine_cpumask_size): Replace extend_alloca with a
3349 variable-length array. Do not treat res == 0 as an error.
3351 2015-03-23 Florian Weimer <fweimer@redhat.com>
3354 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3355 and integer overflow.
3356 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3357 (main): Add integer overflow tests.
3358 * manual/pattern.texi (Calling Wordexp): Document additional use
3361 2015-03-23 Alan Modra <amodra@gmail.com>
3363 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3364 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3365 and false branch of conditional.
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3369 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3371 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3373 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3374 unused declaration of _hurd_intr_rpc_msg_in_trap.
3375 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3376 defined instead of whether it is non-zero.
3377 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3378 input constraint instead of both input and output constraint. Use ecx
3379 clobber instead of %ecx.
3380 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3381 mutex_unlock): Use a statement expression instead of an expression list.
3382 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3383 type to vm_size_t instead of vm_address_t.
3384 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3385 defined instead of whether it is non-zero.
3386 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3387 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3388 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3389 comparisons with mapaddr.
3390 * nscd/nscd-client.h: Include <time.h>.
3391 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3392 9th parameter to __vm_region instead of int.
3393 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3394 * scripts/check-local-headers.sh (exclude): Add device/,
3395 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3398 2015-03-19 Roland McGrath <roland@hack.frob.com>
3400 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3401 to account for alignment padding.
3402 * sysdeps/arm/memmove.S: Likewise.
3404 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3406 * sysdeps/unix/sysv/linux/generic/README: New file.
3408 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3411 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3412 (futex_abstimed_wait)
3413 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3414 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3415 of lll_futex_timed_wait.
3417 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3420 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3422 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3429 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3430 entries with Static TLS too. Skip entries past the end of the
3431 allocated DTV, from Alan Modra.
3432 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3433 Static TLS DTV entry set up from...
3434 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3435 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3436 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3437 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3439 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3440 that the slot we find is associated with the given map before
3441 using its generation count.
3442 * nptl_db/db_info.c: Include ldsodefs.h.
3443 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3444 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3445 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3446 (link_map::l_tls_offset): New struct field.
3447 (dtv_t::counter): Likewise.
3448 (rtld_global): New struct.
3449 (_rtld_global): New rtld variable.
3450 (dl_tls_dtv_slotinfo_list): New rtld global field.
3451 (dtv_slotinfo_list): New struct.
3452 (dtv_slotinfo): Likewise.
3453 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3454 (td_lookup): Rename to...
3455 (td_mod_lookup): ... this. Use new mod parameter instead of
3457 * nptl_db/td_thr_tlsbase.c: Include link.h.
3458 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3459 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3460 addresses even if the DTV is out of date or missing them.
3461 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3462 index zero-length arrays.
3463 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3464 (td_lookup): Make it a macro implemented in terms of...
3465 (td_mod_lookup): ... this declaration.
3466 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3467 (DB_MAIN_VARIABLE): Likewise.
3469 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3472 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3474 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3476 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3478 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3481 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3482 (atomic_add, atomic_increment_and_test)
3483 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3485 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3487 * stdlib/setenv.c (__add_to_environ):
3488 Dump core quickly if setenv (..., NULL, ...) is called.
3490 2015-03-13 Roland McGrath <roland@hack.frob.com>
3492 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3493 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3494 all the necessary asm magic in one place.
3495 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3498 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3501 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3502 traced file mtime. Use consistent log message.
3503 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3504 (register_traced_file): Call install_watches. Always set mtime.
3505 (invalidate_cache): Iterate over all trace files. Call install_watches.
3506 (inotify_check_files): Don't inline. Handle watching parent
3507 directories and configuration file movement in and out.
3508 (handle_inotify_events): New function.
3509 (main_loop_poll): Call handle_inotify_events.
3510 (main_loop_epoll): Likewise.
3511 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3512 (struct traced_file): Use array of inotify fds. Add parent directory,
3514 (struct database_dyn): Remove unused file_mtime.
3515 (init_traced_file): New inline function.
3516 (define_traced_file): New macro.
3517 * nss/nss_db/db-init.c: Use define_traced_file.
3518 (_nss_db_init): Use init_traced_file.
3519 * nss/nss_files/files-init.c: Use define_traced_file.
3520 (_nss_files_init): Use init_traced_file.
3522 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3524 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3525 [_LIBC]: Do not include <stdlib.h>.
3526 [!_LIBC] (abort): Remove declaration.
3527 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3528 _FP_STATIC_ASSERT instead of conditionally calling abort.
3529 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3530 (_FP_EXTEND_CNAN): Likewise.
3531 (FP_TRUNC): Likewise.
3532 (__FP_CLZ): Likewise.
3533 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3535 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3537 * manual/string.texi (XPG basename): Fix prototype.
3539 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3542 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3543 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3544 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3545 (__setcontext): Likewise.
3546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3547 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3548 Call rt_sigprocmask syscall one time to set new signal mask
3549 and retrieve the current signal mask instead of two calls.
3550 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3551 (__swapcontext): Likewise.
3552 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3553 * stdlib/tst-setcontext2.c: New file.
3555 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3557 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3559 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3562 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3565 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3568 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3570 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3572 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3573 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3575 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3576 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3577 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3578 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3579 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3580 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3582 * nptl_db/td_symbol_list.c (td_lookup): Remove
3583 HAVE_ASM_GLOBAL_DOT_NAME code.
3584 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3585 HAVE_ASM_GLOBAL_DOT_NAME check.
3586 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3587 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3588 (DOT_LABEL): Remove define.
3589 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3590 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3591 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3592 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3593 (__TLS_GET_ADDR): Likewise.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3595 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3597 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3600 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3601 (_FPU_SETCW): Initialize cw from fpsr before storing.
3602 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3603 (fesetexceptflag): Rewrite using fpu_control.h.
3604 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3606 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3609 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3611 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3613 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3615 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3616 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3618 (_FP_FMA): Likewise.
3619 (_FP_DIV): Likewise.
3621 2015-03-10 Roland McGrath <roland@hack.frob.com>
3623 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3624 with 0 in that case.
3625 * Makefile (summarize-tests): New canned sequence, factored out of
3626 commands for targets tests and xtests. Display summary lines that
3627 don't start with PASS: or XFAIL: rather than ones that do start with
3628 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3629 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3630 do start with ERROR: or FAIL:.
3631 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3632 (except for [$(build-shared) = yes]).
3633 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3634 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3635 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3636 * nptl/Makefile: Revert 2015-03-04 changes.
3637 [$(CXX) empty] (tests-unsupported): New variable.
3638 * debug/Makefile: Likewise.
3640 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3641 gnulib file. Replace __attribute with __attribute__ throughout.
3643 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3645 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3647 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3650 * math/auto-libm-test-in: Add another test of pow.
3651 * math/auto-libm-test-out: Regenerated.
3653 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3655 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3656 $(config-cflags-nofma).
3658 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3660 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3661 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3662 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3663 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3664 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3665 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3666 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3667 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3668 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3669 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3670 Add comment on closing #endif.
3672 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3674 * posix/wordexp.c (CHAR_IN_SET): New macro.
3675 (parse_param): Use it.
3677 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3679 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3681 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3684 * posix/wordexp.c (parse_param): Fix buffer overflow.
3685 * posix/wordexp-test.c (test_case): Add test case.
3687 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3690 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3691 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3693 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3696 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3697 (do_bz18043): Delete.
3699 (testit): Refactor to have words at the edge of unreadable page.
3701 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3704 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3705 Cleanup read-only streams as well.
3706 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3708 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3710 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3713 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3715 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3717 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3718 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3719 * soft-fp/op-common.h (_FP_DECL): Likewise.
3721 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3723 * elf/ifuncdep2.c (global): Replace
3724 __attribute__((visibility("protected"))) with
3725 asm (".protected global").
3726 * elf/ifuncmod1.c (global): Likewise.
3727 * elf/ifuncmod5.c (global): Likewise.
3729 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3731 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3732 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3734 2015-03-06 Roland McGrath <roland@hack.frob.com>
3736 * manual/install.texi (Configuring and compiling):
3737 Document test-wrapper-env-only.
3738 * INSTALL: Regenerated.
3740 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3743 * posix/wordexp.c (parse_param): Fix buffer overflow.
3744 * posix/wordexp-test.c (do_bz18043): Add test case.
3746 2015-03-06 Vincent Bernat <vincent@bernat.im>
3748 * time/tst-strptime2.c (do_test): Ensure failing tests are
3750 * time/tst-strptime3.c (do_test): Likewise.
3752 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3754 Fix aio_error thread-safety.
3755 * sysdeps/pthread/aio_error.c: New file
3756 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3759 2015-03-06 Florian Weimer <fweimer@redhat.com>
3761 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3762 (group_number, vfprintf): Use it.
3763 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3764 (JUMP, REF): Use it.
3765 (WORK_BUFFER_SIZE): New enum constant.
3766 (process_arg, vfprintf): Use it.
3768 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3770 * manual/errno.texi (Error Messages): Complete example function
3771 by adding missing #define.
3772 (program_invocation_name): Add statement indicating GNU
3773 extension and reference which header file declares the variable.
3774 (program_invocation_short_name): Likewise.
3776 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3778 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3781 2015-03-05 Roland McGrath <roland@hack.frob.com>
3783 * Makeconfig (test-wrapper-env-only): New variable.
3784 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3785 then use that with $(test-wrapper-env-only) rather than using
3786 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3788 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3791 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3792 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3793 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3794 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3795 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3796 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3797 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3798 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3800 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3801 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3805 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3807 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3809 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3814 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3815 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3817 2015-03-04 Roland McGrath <roland@hack.frob.com>
3819 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3820 (ETH_ALEN): New macro.
3821 (struct ether_addr): Use it for length of ether_addr_octet.
3823 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3824 (setdb): Don't call __nss_configure_lookup for "rpc".
3825 (do_test): Don't call test_rpc.
3826 (output_rpcent, test_rpc): Functions moved ...
3827 * sunrpc/test-rpcent.c: ... to this new file.
3828 * sunrpc/Makefile (tests): Add it.
3830 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3832 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3833 * nptl/tst-signal6.c: Likewise.
3834 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3835 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3837 * configure.ac (libc_cv_cxx_link_ok): New check.
3838 Reset CXX to empty if it fails to link.
3839 * configure: Regenerated.
3840 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3841 bug-atexit3-lib only if $(CXX) is nonempty.
3842 * nptl/Makefile (tests): Likewise for tst-cancel24.
3843 (tests, tests-static): Likewise for tst-cancel24-static.
3844 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3845 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3846 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3847 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3849 2015-03-04 Andreas Schwab <schwab@suse.de>
3852 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3853 for non-GCC compilers.
3854 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3857 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3860 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3861 integer before bitwise and assembly operations.
3862 (feclearexcept): Likewise.
3863 * math/test-fenvinline.c: New file.
3864 * math/Makefile: Add test-fenvinline test.
3866 2015-03-03 Alan Modra <amodra@gmail.com>
3869 * scripts/localplt.awk: Strip off symbol version.
3870 * NEWS: Mention bug fix.
3872 2015-03-02 Roland McGrath <roland@hack.frob.com>
3874 * sysdeps/pthread/timer_routines.c
3875 (timer_free_list, thread_free_list, thread_active_list): Make static.
3877 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3880 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3881 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3884 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3886 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3887 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3890 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3893 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3894 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3896 2015-03-02 Andreas Schwab <schwab@suse.de>
3898 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3901 2015-03-02 Florian Weimer <fweimer@redhat.com>
3903 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3904 Return error status.
3906 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3909 * locale/findlocale.c (_nl_find_locale): Introduce const
3910 version of loc_name and drop unsafe type casts.
3912 2015-02-27 Roland McGrath <roland@hack.frob.com>
3914 * dlfcn/tststatic2.c (main): Converted to ...
3915 (do_test): ... this.
3916 (TEST_FUNCTION): New macro.
3917 Include test-skeleton.c.
3919 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3922 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3923 (tests-pie): Add vismain.
3924 (CFLAGS-vismain.c): New.
3925 * elf/vismain.c: Add comments for PIE requirement.
3927 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3931 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3932 0x1p-56L as threshold for just returning the argument.
3933 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3934 0x1p-32L as threshold for just returning the argument.
3935 * math/auto-libm-test-in: Add more tests of atanh.
3936 * math/auto-libm-test-out: Regenerated.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3940 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3942 * string/bcopy.c (bcopy): Call memmove for performance.
3944 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3946 * string/bzero.c (__bzero): Call memset for performance.
3948 2015-02-27 John David Anglin <dave.anglin@bell.net>
3951 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3954 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3956 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3958 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3960 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3961 (__kernel_standard): Use CSTR macro when setting exc.name.
3962 * sysdeps/ieee754/Makefile [$(subdir) = math]
3963 (CFLAGS-k_standard.c): Remove variable.
3965 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3966 setting p and q from "else if" to "else".
3968 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3970 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3972 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3974 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3976 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3981 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3982 return pi/2 for arguments below 0x1p-113L.
3983 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3984 return pi/2 for arguments below 0x1p-106L.
3985 * math/auto-libm-test-in: Add more tests of acos.
3986 * math/auto-libm-test-out: Regenerated.
3989 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3991 (__ieee754_asin): Force underflow exception for results with small
3993 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3995 (__ieee754_asinf): Force underflow exception for results with
3996 small absolute value.
3997 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3998 (__ieee754_asin): Force underflow exception for results with small
4000 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4001 (__ieee754_asinf): Force underflow exception for results with
4002 small absolute value.
4003 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4004 (__ieee754_asinl): Force underflow exception for results with
4005 small absolute value.
4006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4007 (__ieee754_asinl): Force underflow exception for results with
4008 small absolute value.
4009 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4010 (__ieee754_asinl): Force underflow exception for results with
4011 small absolute value.
4012 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4014 * math/auto-libm-test-in: Do not mark underflow exceptions as
4015 possibly missing for bug 16351.
4016 * math/auto-libm-test-out: Regenerated.
4019 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4020 of power of 2 down when low part has opposite sign.
4021 * math/libm-test.inc (logb_test_data): Add more tests.
4023 2015-02-26 Andreas Schwab <schwab@suse.de>
4026 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4027 over collating symbol inside a bracket expression. Minor cleanup.
4028 * posix/tst-fnmatch3.c (do_test): Add test case.
4030 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4033 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4034 Adjust exponent of power of 2 down when low part has opposite
4036 * math/libm-test.inc (ilogb_test_data): Add more tests.
4038 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4041 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4042 the previous change.
4045 * locale/findlocale.c (_nl_find_locale): Retry archive search
4046 after alias expansion.
4048 2015-02-25 Roland McGrath <roland@hack.frob.com>
4050 * iconv/tst-iconv3.c (main): Converted to ...
4051 (do_test): ... this.
4052 (TEST_FUNCTION): New macro.
4053 Include test-skeleton.c.
4055 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4056 (convert): Make function static.
4057 (test_unalign): Likewise. Add const to argument pointee types.
4058 (main): Replace with static function do_test.
4059 Print "Succeeded." only if RET is zero.
4060 (TEST_FUNCTION): New macro.
4061 Include test-skeleton.c.
4063 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4064 returns a null pointer.
4066 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4069 to __memcpy_ppc only for static builds.
4071 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4074 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4075 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4076 * math/auto-libm-test-in: Add more tests of asinh.
4077 * math/auto-libm-test-out: Regenerated.
4078 * sysdeps/i386/fpu/libm-test-ulps: Update.
4079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4081 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4084 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4085 and ip6_mtuinfo definitions here.
4086 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4087 in this define too. Update comment.
4089 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4091 * elf/sprof.c (load_shobj): Tweak error message to match others.
4093 2015-02-24 Kevin Easton <kevin@guarana.org>
4095 [BZ #16145] (partial fix)
4096 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4097 to reduce lock contention.
4099 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4101 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4102 (struct timex): Update time comment.
4103 (ADJ_SETOFFSET): Define.
4105 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4108 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4109 2**56 not 2**28 as threshold for log (2x) formula.
4110 * math/auto-libm-test-in: Add more tests of acosh.
4111 * math/auto-libm-test-out: Regenerated.
4112 * sysdeps/i386/fpu/libm-test-ulps: Update.
4113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4115 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4117 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4118 parenthesis around the buf assignment.
4119 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4121 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4124 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4125 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4126 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4127 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4128 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4129 * math/libm-test.inc (scalb_test_data): Add more tests.
4131 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4134 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4135 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4137 2015-02-24 Eric Rannaud <e@nanocritical.com>
4140 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4141 * io/bits/fcntl2.h (open): Use it.
4143 * io/open.c (__libc_open): Likewise.
4144 * io/open64.c (__libc_open64): Likewise.
4145 * io/open64_2.c (__open64_2): Likewise.
4146 * io/open_2.c (__open_2): Likewise.
4147 * io/openat.c (__openat): Likewise.
4148 * io/openat64.c (__openat64): Likewise.
4149 * io/openat64_2.c (__openat64_2): Likewise.
4150 * io/openat_2.c (__openat_2): Likewise.
4151 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4152 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4153 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4154 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4155 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4156 (__open_nocancel): Likewise.
4157 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4158 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4159 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4161 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4164 * resolv/gethnamaddr.c (getanswer): Skip logging if
4165 RES_USE_DNSSEC is set.
4166 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4168 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4170 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4172 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4174 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4175 201304L, for Unicode 7.
4177 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4180 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4181 shared library. Add gmon-start.os otherwise.
4182 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4183 $(objpfx)gmon-start.os if builing shared library.
4184 ($(objpfx)g$(static-start-installed-name)): Likewise.
4186 2015-02-23 Andreas Schwab <schwab@suse.de>
4188 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4190 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4193 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4194 (enlarge_userbuf): Likewise.
4196 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4198 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4199 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4200 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4201 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4203 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4205 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4206 expression inside statement expression.
4208 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4210 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4211 <sysdeps/nptl/lowlevellock.h> and remove macros and
4212 functions that are now defined there.
4213 (SYS_futex): Remove.
4214 (lll_compare_and_swap): Remove.
4215 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4217 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4220 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4221 instead of scandirat.
4222 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4223 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4224 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4226 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4227 (__scandirat): Declare. Use libc_hidden_proto.
4228 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4230 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4232 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4235 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4237 (__ieee754_atan2): For results with small absolute value, force
4238 underflow exception and remove excess range and precision from
4240 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4242 (__ieee754_atan2f): For results with small absolute value, force
4243 underflow exception and remove excess range and precision from
4245 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4247 (__atan): For results with small absolute value, force underflow
4248 exception and remove excess range and precision from return value.
4249 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4251 (__atanf): For results with small absolute value, force underflow
4252 exception and remove excess range and precision from return value.
4253 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4255 (__ieee754_atan2): Force underflow exception for results with
4256 small absolute value.
4257 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4259 (atan): Force underflow exception for results with small absolute
4261 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4262 (__atanf): Force underflow exception for results with small
4264 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4266 (__atanl): Force underflow exception for results with small
4268 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4269 (__atanl): Force underflow exception for results with small
4271 * sysdeps/x86/fpu/bits/mathinline.h
4272 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4273 (__ieee754_atan2): Only define inline for long double.
4274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4275 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4276 * math/auto-libm-test-in: Do not mark underflow exceptions as
4277 possibly missing for bug 15319. Add more tests of atan2.
4278 * math/auto-libm-test-out: Regenerated.
4279 * math/libm-test.inc (casin_test_data): Do not mark underflow
4280 exceptions as possibly missing for bug 15319.
4281 (casinh_test_data): Likewise.
4282 * sysdeps/i386/fpu/libm-test-ulps: Update.
4284 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4286 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4287 * sysdeps/mips/bits/endian.h: Fix comments.
4289 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4292 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4293 (hdestroy_r): Likewise.
4294 (hsearch_r): Likewise.
4295 (__hcreate_r): Declare and use libc_hidden_proto.
4296 (__hdestroy_r): Likewise.
4297 (__hsearch_r): Likewise.
4298 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4299 (hcreate): Call __hcreate_r instead of hcreate_r.
4300 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4301 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4302 as weak alias of __hcreate_r.
4303 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4305 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4307 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4309 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4310 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4311 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4312 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4314 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4316 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4317 arena_lock into a single arena_get.
4319 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4321 * dl-reloc.c: Inlucde libc-internal.h.
4322 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4323 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4324 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4325 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4326 (grow_heap): Likewise.
4327 * malloc/malloc.c: Include libc-internal.h.
4328 (do_check_malloc): Call powerof2.
4329 (sysmalloc): Use pagesize. Call ALIGN_UP.
4330 (systrim): Use pagesize.
4331 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4332 (__libc_valloc): Use pagesize.
4333 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4335 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4338 * include/sys/resource.h (__getrlimit64): Declare. Use
4340 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4341 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4342 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4344 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4346 [!getrlimit64] (getrlimit64): Define as weak alias of
4347 __getrlimit64. Use libc_hidden_weak.
4348 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4349 using __getrlimit64 not __new_getrlimit64.
4350 (__GI_getrlimit64): Likewise.
4351 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4353 (__GI_getrlimit64): Likewise.
4354 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4356 (getrlimit): Add __getrlimit64 alias.
4357 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4359 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4361 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4362 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4364 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4366 * libio/fileops.c: Add missing sys/mman.h
4367 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4369 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4371 * manual/math.texi (Errors in Math Functions): Clarify goals
4372 regarding inexact and underflow exceptions.
4374 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4376 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4377 * sysdeps/mips/memset.S: Ditto.
4379 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4381 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4383 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4385 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4386 (__v1longjmp): Remove versioned symbol.
4387 (__v1siglongjmp): Remove alias and versioned symbol.
4388 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4389 (__v2siglongjmp): Likewise.
4391 2015-02-16 Torvald Riegel <triegel@redhat.com>
4393 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4395 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4397 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4399 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4402 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4403 zero result does not depend on the sign resulting from
4405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4407 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4410 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4411 * math/libm-test.inc (remquo_test_data): Add more tests.
4413 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4415 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4416 Problem reported by J William Piggott.
4418 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4421 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4422 products 4 * y and 2 * y where those would overflow.
4423 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4425 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4428 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4429 * math/libm-test.inc (remquo_test_data): Add more tests.
4431 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4433 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4434 [defined _COMPILING_NEWLIB].
4435 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4436 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4438 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4439 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4441 2015-02-16 Torvald Riegel <triegel@redhat.com>
4443 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4446 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4449 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4450 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4451 HOST_STACK_END_ADDR): Likewise.
4453 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4455 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4456 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4457 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4459 2015-02-13 Roland McGrath <roland@hack.frob.com>
4461 * sysdeps/generic/c++-types.data: New file.
4462 * sysdeps/generic/ld.abilist: New file.
4463 * sysdeps/generic/libBrokenLocale.abilist: New file.
4464 * sysdeps/generic/libanl.abilist: New file.
4465 * sysdeps/generic/libc.abilist: New file.
4466 * sysdeps/generic/libcrypt.abilist: New file.
4467 * sysdeps/generic/libdl.abilist: New file.
4468 * sysdeps/generic/libm.abilist: New file.
4469 * sysdeps/generic/libpthread.abilist: New file.
4470 * sysdeps/generic/libresolv.abilist: New file.
4471 * sysdeps/generic/librt.abilist: New file.
4473 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4477 Compute absolute value of x as modified by fmod, not original
4479 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4480 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4481 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4482 RUN_TEST_ffI_f1_mod8.
4483 (remquo_test_data): Add more tests.
4485 2015-02-13 Roland McGrath <roland@hack.frob.com>
4487 * sysdeps/init_array/pt-crti.S: New file.
4489 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4492 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4493 __builtin_fmaf instead of relying on contraction of a * b + c.
4495 2015-02-12 J William Piggott <elseifthen@gmx.com>
4498 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4501 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4504 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4505 __builtin_fma instead of relying on contraction of a * b + c.
4507 2015-02-12 Roland McGrath <roland@hack.frob.com>
4509 * Makeconfig (ASFLAGS): Add -Werror=undef.
4510 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4511 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4512 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4514 * Makeconfig (after-link): New variable.
4515 (+link-pie, +link-pie-tests): Use it.
4516 (+link-static, +link-static-tests): Likewise.
4517 (+link, +link-tests): Likewise.
4518 * Makerules (build-module, build-module-asneeded): Likewise.
4519 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4521 * elf/Makefile ($(objpfx)ld.so): Likewise.
4523 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4526 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4527 both struct timeval and struct timespec.
4529 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4532 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4534 (__ieee754_exp2l): Do not multiply small fractional parts by
4536 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4538 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4539 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4540 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4541 * math/auto-libm-test-in: Add more tests of exp2.
4542 * math/auto-libm-test-out: Regenerated.
4544 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4546 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4549 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4554 2015-02-12 Andreas Schwab <schwab@suse.de>
4557 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4558 Filter out elision flags from value returned in kind.
4559 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4560 * nptl/tst-pthread-mutexattr.c: New file.
4562 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4564 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4565 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4566 into gnu-gnu, and update comment to refer to abi-tags.
4568 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4571 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4572 (__sincos): Set errno to EDOM for infinite argument.
4573 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4574 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4575 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4576 (__sincosl): Set errno to EDOM for infinite argument.
4577 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4578 (__sincosl): Set errno to EDOM for infinite argument.
4579 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4580 (__sincosl): Set errno to EDOM for infinite argument.
4581 * math/libm-test.inc (sincos_test_data): Test errno setting.
4583 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4585 * string/strxfrm_l.c: Remove #define STRCMP.
4586 * string/strcoll_l.c: Remove #define STRLEN.
4587 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4588 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4590 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4592 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4593 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4594 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4595 * sysdeps/mips/mips64/Makefile: ... here.
4596 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4597 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4598 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4599 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4600 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4601 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4602 * sysdeps/mips/mips64/n64/Implies: Likewise.
4604 2015-02-10 Roland McGrath <roland@hack.frob.com>
4606 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4607 <sys/time.h>, <string.h>, and <errno.h>.
4608 (dest_offset, dest_address, value, zero): Remove unused variables.
4609 (ldouble): Remove typedef.
4610 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4611 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4613 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4614 (check): Function removed.
4616 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4617 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4618 Don't call set_sigaction_FP and remove_sigaction_FP here.
4619 (ldouble_test): Just use 'long double' as macro argument, no need for
4620 the 'ldouble' typedef.
4621 (do_test): Set up SIGFPE handler at start, using plain signal rather
4622 than sigaction. Fix code style.
4624 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4630 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4632 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4633 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4635 * sysdeps/powerpc/configure.ac: Remove file.
4636 * sysdeps/powerpc/configure: Likewise.
4638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4639 [sysdep_routines]: Remove wordcopy-power6 object.
4640 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4641 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4642 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4643 (__memmove_ppc32): Likewise.
4644 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4646 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4647 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4648 Remove preprocessor.
4650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4651 [sysdep_routines]: Remove wide chars objects.
4652 [wcsmbs]: New rule for wide char objects.
4654 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4655 Remove wordcopy-power6 obejct.
4656 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4657 Use local call for wordcopy and memcpy symbols.
4658 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4659 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4660 implementation for loader.
4661 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4663 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4664 Remove wordcopy-power7 object.
4665 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4666 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4667 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4668 (_wordcopy_fwd_dest_aligned): Likewise.
4669 (_wordcopy_bwd_aligned): Likewise.
4670 (_wordcopy_bwd_dest_aligned): Likewise.
4672 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4673 Rewrite to call __memmove_ppc instead of include default
4676 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4677 Remove wide chars objects.
4678 [wcsmbs]: New rule for wide char objects.
4680 2015-02-09 Andreas Schwab <schwab@suse.de>
4683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4684 in terms of __O_DIRECTORY.
4686 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4688 * time/getdate.c: Include <stdbool.h>.
4689 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4691 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4694 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4696 Add ersatz _Static_assert on older C hosts
4697 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4698 pre-C11 C platform that is not known to support _Static_assert.
4700 2015-02-07 Richard Braun <rbraun@sceen.net>
4702 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4704 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4706 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4708 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4709 priority against unexistent AIO_PRIO_DELTA_MAX.
4710 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4712 * misc/fchflags.c (fchflags): Likewise.
4713 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4714 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4715 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4716 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4717 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4719 [__USE_MISC] (chflags, fchflags): Declare functions.
4720 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4721 EINVAL when nfds is greater than FD_SETSIZE.
4722 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4723 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4725 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4726 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4727 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4729 * hurd/hurd/signal.h (_hurd_self_sigstate,
4730 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4731 Explicit casts from void *.
4732 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4733 * abi-tags: Rename gnu-gnu os into gnu.
4736 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4737 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4738 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4739 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4740 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4741 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4744 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4745 duplicates ADDR->sun_path with sockaddr LEN limitation.
4746 * sysdeps/mach/hurd/connect.c: Include <string.h>
4747 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4748 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4749 * sysdeps/mach/hurd/sendto.c: Likewise.
4750 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4751 implementing it by hand.
4753 2015-02-06 Roland McGrath <roland@hack.frob.com>
4755 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4756 Use sfi_breg on ldr.
4757 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4760 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4762 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4763 Test SIGSETXID only if it's defined.
4765 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4767 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4768 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4770 * nptl/tst-align2.c: Moved ...
4771 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4772 * nptl/Makefile (tests): Remove tst-align2.
4773 * sysdeps/unix/sysv/linux/Makefile
4774 [$(subdir) = nptl] (tests): Add tst-align-clone.
4775 * nptl/tst-getpid1.c: Moved ...
4776 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4777 * nptl/tst-getpid2.c: Moved ...
4778 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4779 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4780 * sysdeps/unix/sysv/linux/Makefile
4781 [$(subdir) = nptl] (tests): ... here.
4782 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4783 * sysdeps/unix/sysv/linux/Makefile
4784 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4786 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4787 Drop trailing \n from perror argument. Use return rather than exit.
4789 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4791 * nptl/tst-cancel21.c (do_test): Likewise.
4792 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4793 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4794 [!SA_SIGINFO]: Make it a stub test.
4796 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4797 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4799 * posix/tst-getlogin.c: Move to ...
4800 * login/tst-getlogin.c: ... here.
4801 * posix/Makefile (tests): Move tst-getlogin to ...
4802 * login/Makefile (tests): ... here.
4804 * libio/tst-atime.c (do_test): Move local variables SV and E
4805 inside [ST_NOATIME] conditional.
4807 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4809 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4811 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4812 (wait_code): New function replaces macro.
4813 Call nanosleep rather than syscall.
4815 * nptl/pt-system.c: Rewritten. Put everything under
4816 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4817 Use IFUNC to redirect when possible.
4819 * nptl/pt-longjmp.c: Rewritten. Put everything under
4820 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4821 Use IFUNC to redirect when possible.
4823 * nptl/pt-fork.c: Rewritten. Put everything under
4824 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4825 Use IFUNC to redirect when possible.
4826 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4828 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4829 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4830 unconditionally nowadays. This included the only reference to
4831 __vdso_clock_gettime that appears outside libc proper.
4832 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4833 Remove version set (containing only __vdso_clock_gettime).
4834 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4835 Add attribute_hidden.
4836 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4837 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4838 libc_hidden_data_def.
4839 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4840 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4842 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4843 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4844 setrpcent, and getrpcport to ...
4845 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4846 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4847 getrpcbynumber_r, and getrpcent_r to ...
4848 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4849 * inet/getrpcbyname.c: Moved ...
4850 * sunrpc/getrpcbyname.c: ... here.
4851 * inet/getrpcbyname_r.c: Moved ...
4852 * sunrpc/getrpcbyname_r.c: ... here.
4853 * inet/getrpcbynumber.c: Moved ...
4854 * sunrpc/getrpcbynumber.c: ... here.
4855 * inet/getrpcbynumber_r.c: Moved ...
4856 * sunrpc/getrpcbynumber_r.c: ... here.
4857 * inet/getrpcent.c: Moved ...
4858 * sunrpc/getrpcent.c: ... here.
4859 * inet/getrpcent_r.c: Moved ...
4860 * sunrpc/getrpcent_r.c: ... here.
4861 * inet/Makefile (routines): Move those to ...
4862 * sunrpc/Makefile (routines): ... here.
4863 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4864 the $(subdirs) list.
4865 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4866 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4867 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4868 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4870 * elf/Makefile (routines): Include $(all-dl-routines), not just
4872 (rtld-routines): Likewise. Use = rather than :=.
4873 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4874 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4875 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4876 * sysdeps/arm/Makefile: Likewise.
4877 * sysdeps/i386/Makefile: Likewise.
4878 * sysdeps/x86_64/Makefile: Likewise.
4879 * sysdeps/hppa/Makefile [$(subdir) = elf]
4880 (sysdep_routines, sysdep-rtld-routines): Don't add
4881 $(sysdep-dl-routines) to these.
4882 * sysdeps/ia64/Makefile: Likewise.
4883 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4884 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4885 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4886 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4887 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4888 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4889 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4890 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4891 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4892 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4893 these; sysdep-dl-routines alone is enough.
4895 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4898 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4899 where multiplication results in zero and third argument is finite
4901 * math/auto-libm-test-in: Add more tests of fma.
4902 * math/auto-libm-test-out: Regenerated.
4904 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4905 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4906 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4907 (_FP_CMP_EQ): Likewise.
4908 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4910 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4911 extra argument CHECK_NAN. Redefine as wrapper around
4914 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4916 * version.h (RELEASE): Set to "stable".
4917 (VERSION): Set to "2.21"
4918 * include/features.h (__GLIBC_MINOR__): Set to 21.
4920 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4922 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4923 Paul Eggert <eggert@cs.ucla.edu>
4926 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4927 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4928 size in bytes. Store needed elements in wpmax. Use needed size
4929 in bytes for extend_alloca.
4931 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4933 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4934 binutls 2.25, and texinfo 5.2.
4935 * INSTALL: Regenerate.
4936 * sysdeps/nios2/configure: Regenerate.
4937 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4938 * manual/contrib.texi: Update.
4962 * po/pt_BR.po: Update.
4971 * po/zh_CN.po: Update.
4972 * po/zh_TW.po: Update.
4974 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4975 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4976 * sysdeps/hppa/dl-irel.h: Remove #warning.
4977 * sysdeps/hppa/entry.h: Provide prototype for
4978 __canonicalize_funcptr_for_compare and cast argument.
4979 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4980 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4981 * sysdeps/hppa/sotruss-lib.c: New file.
4982 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4983 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4984 (atomic_compare_and_exchange_bool_acq): Likewise.
4985 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4986 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4988 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4989 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4990 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4992 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4994 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4995 called function in non-PIC case.
4997 2015-01-31 David S. Miller <davem@davemloft.net>
4999 * sysdeps/sparc/sparc32/bits/atomic.h
5000 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5001 unlock not after it.
5002 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5003 volatile register usage warnings from the compiler.
5005 * sysdeps/sparc/nptl/sem_init.c: Delete.
5006 * sysdeps/sparc/nptl/sem_post.c: Delete.
5007 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5008 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5009 * sysdeps/sparc/sparc32/sem_init.c: New file.
5010 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5011 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5012 padding explicitly initialized.
5013 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5014 padding for in-semaphore spinlock.
5015 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5016 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5017 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5018 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5019 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5020 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5021 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5022 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5024 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5025 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5027 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5031 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5032 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5034 (index_AVX_Fast_Unaligned_Load): Likewise.
5035 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5036 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5037 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5038 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5039 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5040 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5041 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5042 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5043 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5045 2015-01-29 Andreas Schwab <schwab@suse.de>
5047 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5049 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5052 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5054 2015-01-28 Martin Sebor <msebor@redhat.com>
5056 * math/README.libm-test: Clarify. Add "How to read the test output."
5058 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5060 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5063 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5065 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5066 (__HAVE_64B_ATOMICS): Define to 0.
5068 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5071 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5072 value to set as new flag.
5075 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5076 and use _ARCH_PPCSQ instead.
5077 (__ieee754_sqrt): Likewise.
5078 (__ieee754_sqrtf): Likewise.
5079 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5080 _ARCH_PPCSQ is defined.
5081 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5083 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5084 _ARCH_PPCSQ is defined.
5085 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5087 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5089 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5091 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5092 bug (GCC BZ #64739).
5094 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5096 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5097 Mark _retval as used.
5098 (lll_futex_wake_unlock): Likewise.
5099 (lll_futex_timed_wait_requeue_pi): Likewise.
5101 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5102 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5105 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5108 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5109 (__bswap_64): Mark as __always_inline.
5111 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5114 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5115 when none of the search directories exist.
5117 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5120 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5121 power8 in .machine directive.
5124 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5125 set dependency from opd value.
5127 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5130 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5133 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5136 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5138 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5140 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5141 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5142 Replace 1UL with (uint64_t) 1.
5143 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5146 2015-01-23 Roland McGrath <roland@hack.frob.com>
5148 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5149 (if_freenameindex): Likewise.
5151 * resource/getrlimit64.c: Add missing libc_hidden_def.
5153 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5155 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5157 (_FP_FMA): Likewise.
5158 (_FP_TO_INT_ROUND): Likewise.
5159 (_FP_FROM_INT): Likewise.
5161 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5164 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5165 Make code racy and cancel safe.
5167 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5169 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5170 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5173 * pwd/tst-getpw.c: Rewrite.
5176 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5177 (modules-names): Add moddummy1 and moddummy2.
5178 ($(objpfx)tst-rec-dlopen): Define.
5179 * dlfcn/moddummy1.c: New file.
5180 * dlfcn/moddummy2.c: New file.
5181 * dlfcn/tst-rec-dlopen.c: New file.
5182 * elf/dl-cache.c (_dl_load_cache_lookup):
5183 Return char*. Copy result with alloca/strcpy/strdup.
5184 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5185 returns char*. Free cached. If not saving realname
5187 * elf/dl-open.c (dl_open_worker): Do not assert that
5188 _r_debug->r_state is RT_CONSISTENT.
5189 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5192 2015-01-21 Torvald Riegel <triegel@redhat.com>
5193 Carlos O'Donell <carlos@redhat.com>
5196 * nptl/sem_waitcommon.c: New file.
5197 * nptl/sem_wait.c: Include sem_waitcommon.c.
5198 (__sem_wait_cleanup, do_futex_wait): Remove.
5199 (__new_sem_wait): Adapt.
5200 (__new_sem_trywait): New function.
5201 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5202 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5203 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5204 (sem_timedwait): Adapt.
5205 * nptl/sem_post.c (__new_sem_post): Adapt.
5206 (futex_wake): New function.
5207 (__old_sem_post): Add release MO fence.
5208 * nptl/sem_open.c (sem_open): Adapt.
5209 * nptl/sem_init.c (__new_sem_init): Adapt.
5210 (futex_private_if_supported): New function.
5211 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5212 (__old_sem_getvalue): Add using previous code.
5213 * sysdeps/nptl/internaltypes.h: Adapt.
5214 * nptl/tst-sem13.c (do_test): Adapt.
5215 * nptl/tst-sem11.c (main): Adapt.
5216 * nptl/sem_trywait.c: Remove.
5217 * nptl/DESIGN-sem.txt: Remove.
5218 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5219 (gen-as-const-headers): Remove structsem.sym.
5220 * nptl/structsem.sym: Remove.
5221 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5222 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5223 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5224 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5225 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5226 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5227 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5228 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5229 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5230 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5231 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5232 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5233 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5234 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5235 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5236 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5237 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5238 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5239 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5240 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5241 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5242 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5244 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5246 * INSTALL: Regenerated.
5248 * po/libc.pot: Regenerated.
5250 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5251 Sandra Loosemore <sandra@codesourcery.com>
5252 Andrew Jenner <andrew@codesourcery.com>
5253 Joseph Myers <joseph@codesourcery.com>
5254 Nathan Sidwell <nathan@codesourcery.com>
5256 * NEWS: Mention new Nios II port.
5257 * sysdeps/nios2/Implies: New file.
5258 * sysdeps/nios2/Makefile: New file.
5259 * sysdeps/nios2/Subdirs: New file.
5260 * sysdeps/nios2/Versions: New file.
5261 * sysdeps/nios2/__longjmp.S: New file.
5262 * sysdeps/nios2/abort-instr.h: New file.
5263 * sysdeps/nios2/backtrace.c: New file.
5264 * sysdeps/nios2/bits/endian.h: New file.
5265 * sysdeps/nios2/bits/fenv.h: New file.
5266 * sysdeps/nios2/bits/link.h: New file.
5267 * sysdeps/nios2/bits/setjmp.h: New file.
5268 * sysdeps/nios2/bsd-_setjmp.S: New file.
5269 * sysdeps/nios2/bsd-setjmp.S: New file.
5270 * sysdeps/nios2/configure: New generated file.
5271 * sysdeps/nios2/configure.ac: New file.
5272 * sysdeps/nios2/crti.S: New file.
5273 * sysdeps/nios2/crtn.S: New file.
5274 * sysdeps/nios2/dl-init.c: New file.
5275 * sysdeps/nios2/dl-machine.h: New file.
5276 * sysdeps/nios2/dl-sysdep.h: New file.
5277 * sysdeps/nios2/dl-tls.h: New file.
5278 * sysdeps/nios2/dl-trampoline.S: New file.
5279 * sysdeps/nios2/gccframe.h: New file.
5280 * sysdeps/nios2/gmp-mparam.h: New file.
5281 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5282 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5283 * sysdeps/nios2/ldsodefs.h: New file.
5284 * sysdeps/nios2/libc-tls.c: New file.
5285 * sysdeps/nios2/libm-test-ulps: New file.
5286 * sysdeps/nios2/machine-gmon.h: New file.
5287 * sysdeps/nios2/math-tests.h: New file.
5288 * sysdeps/nios2/math_private.h: New file.
5289 * sysdeps/nios2/memusage.h: New file.
5290 * sysdeps/nios2/nptl/Makefile: New file.
5291 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5292 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5293 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5294 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5295 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5296 * sysdeps/nios2/nptl/tls.h: New file.
5297 * sysdeps/nios2/preconfigure: New file.
5298 * sysdeps/nios2/s_fma.c: New file.
5299 * sysdeps/nios2/s_fmaf.c: New file.
5300 * sysdeps/nios2/setjmp.S: New file.
5301 * sysdeps/nios2/sfp-machine.h: New file.
5302 * sysdeps/nios2/sotruss-lib.c: New file.
5303 * sysdeps/nios2/stackguard-macros.h: New file.
5304 * sysdeps/nios2/stackinfo.h: New file.
5305 * sysdeps/nios2/start.S: New file.
5306 * sysdeps/nios2/sysdep.h: New file.
5307 * sysdeps/nios2/tls-macros.h: New file.
5308 * sysdeps/nios2/tst-audit.h: New file.
5309 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5310 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5311 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5312 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5313 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5314 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5315 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5316 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5317 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5318 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5319 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5320 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5321 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5322 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5323 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5324 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5325 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5326 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5327 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5328 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5329 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5330 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5331 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5332 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5333 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5334 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5335 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5336 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5337 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5338 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5339 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5340 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5341 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5342 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5343 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5344 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5345 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5346 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5347 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5348 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5349 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5350 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5351 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5352 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5354 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5357 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5358 (getutent): Use weak_alias in non SHARED case
5359 and default_symbol_version in SHARED case.
5360 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5361 (getutent_r, pututline): Likewise.
5362 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5363 (getutid): Likewise.
5364 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5365 (getutid_r): Likewise.
5366 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5367 (getutline): Likewise.
5368 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5369 (getutline_r): Likewise.
5370 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5371 (updwtmp): Likewise.
5373 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5376 * sysdeps/s390/s390-32/memcmp.S
5377 (memcmp_g5): Rename to __memcmp_g5.
5378 * sysdeps/s390/s390-32/memcpy.S
5379 (memcpy_g5): Rename to __memcpy_g5.
5380 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5381 (memcpy_mvcle) Rename to __memcpy_mvcle.
5382 * sysdeps/s390/s390-32/memset.S
5383 (memset_g5): Rename to __memset_g5.
5384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5385 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5386 and use prefixed functions.
5387 * sysdeps/s390/s390-32/multiarch/memcmp.S
5388 (memcmp_z196): Rename to __memcmp_z196.
5389 (memcmp_z10): Rename to __memcmp_z10.
5390 (memcmp): Set alias to __memcmp_g5.
5391 (bcmp): Set alias to __memcmp_g5.
5392 * sysdeps/s390/s390-32/multiarch/memcpy.S
5393 (memcpy_z196): Rename to __memcpy_z196.
5394 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5395 (memcpy_z10): Rename to __memcpy_z10.
5396 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5397 (memcpy): Set alias to __memcpy_g5.
5398 * sysdeps/s390/s390-32/multiarch/memset.S
5399 (memset_z196): Rename to __memset_z196.
5400 Jump to __memset_mvcle instead of memset_mvcle.
5401 (memset_z10): Rename to __memset_z10.
5402 Jump to __memset_mvcle instead of memset_mvcle.
5403 (memset_mvcle) Rename to __memset_mvcle.
5404 (memset): Set alias to __memset_g5.
5405 * sysdeps/s390/s390-64/memcmp.S
5406 (memcmp_z900): Rename to __memcmp_z900.
5407 * sysdeps/s390/s390-64/memcpy.S
5408 (memcpy_z900): Rename to __memcpy_z900.
5409 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5410 (memcpy_mvcle) Rename to __memcpy_mvcle.
5411 * sysdeps/s390/s390-64/memset.S
5412 (memset_z900): Rename to __memset_z900.
5413 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5414 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5415 and use prefixed functions.
5416 * sysdeps/s390/s390-64/multiarch/memcmp.S
5417 (memcmp_z196): Rename to __memcmp_z196.
5418 (memcmp_z10): Rename to __memcmp_z10.
5419 (memcmp): Set alias to __memcmp_z900.
5420 (bcmp): Set alias to __memcmp_z900.
5421 * sysdeps/s390/s390-64/multiarch/memcpy.S
5422 (memcpy_z196): Rename to __memcpy_z196.
5423 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5424 (memcpy_z10): Rename to __memcpy_z10.
5425 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5426 (memcpy): Set alias to __memcpy_z900.
5427 * sysdeps/s390/s390-64/multiarch/memset.S
5428 (memset_z196): Rename to __memset_z196.
5429 Jump to __memset_mvcle instead of memset_mvcle.
5430 (memset_z10): Rename to __memset_z10.
5431 Jump to __memset_mvcle instead of memset_mvcle.
5432 (memset_mvcle) Rename to __memset_mvcle.
5433 (memset): Set alias to __memset_z900.
5435 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5438 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5439 __fesetenv instead of fesetenv.
5441 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5443 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5446 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5448 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5451 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5452 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5453 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5454 strncmp-power8 object.
5455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5456 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5457 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5460 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5461 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5463 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5464 trailing byte check.
5466 2015-01-13 David S. Miller <davem@davemloft.net>
5468 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5470 2015-01-13 Roland McGrath <roland@hack.frob.com>
5472 * login/logout.c (logout): Use memset rather than bzero.
5473 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5474 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5475 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5476 (_gethtbyaddr): Likewise.
5477 * locale/programs/simple-hash.c (bcopy): Macro removed.
5479 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5482 Add strcmp-power8 object.
5483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5484 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5485 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5486 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5487 __strcmp_power8 implementation.
5488 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5491 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5492 Add strncpy-power8 and stpncpy-power8 objects.
5493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5494 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5496 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5497 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5498 __stpncpy_power8 implementation.
5499 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5500 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5501 __strncpy_power8 implementation.
5502 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5503 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5506 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5507 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5508 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5510 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5511 strncat-power8 object.
5512 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5513 __strcat_power8 implementation.
5514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5515 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5516 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5517 optimized strcat for power8.
5519 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5520 strcpy-power8 and stpcpy-power8 objects.
5521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5522 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5525 multiarch stpcpy implementation for POWER8.
5526 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5527 multiarch strcpy implementation for POWER8.
5528 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5529 __strcpy_power8 function.
5530 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5532 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5536 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5539 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5540 weights and rules. Use do_xfrm_cached if data fits in cache,
5541 do_xfrm otherwise. Moved former main loop to...
5542 * (do_xfrm_cached): New function.
5543 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5544 find_idx, find_position and stack_push.
5545 * (find_idx): New function.
5546 * (find_position): Likewise.
5547 * localedata/sort-test.sh: Added test run for do_xfrm.
5548 * localedata/xfrm-test.c (main): Added command line option
5549 -nocache to run the test with strings that are too large for
5552 2015-01-13 Torvald Riegel <triegel@redhat.com>
5554 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5555 variable to lll_futex_wake call, not the value itself.
5557 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5560 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5561 twom64. Adjust value to 0x1p-64L.
5562 (__scalblnl): Only return standard underflowing result for K <=
5563 -64 not K <= -63; adjust exponent for underflowing result by 64
5565 * math/libm-test.inc (scalbn_test_data): Add more tests.
5566 (scalbln_test_data): Likewise.
5569 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5571 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5573 * math/libm-test.inc (scalbn_test_data): Add more tests.
5574 (scalbln_test_data): Likewise.
5576 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577 Stefani Seibold <stefani@seibold.net>
5579 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5580 (sysdep_routines): Add dl-vdso here, ...
5581 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5582 (sysdep_routines): ... not here.
5583 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5584 fallback when vDSO is not presented.
5585 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5586 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5587 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5588 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5589 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5590 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5591 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5593 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5595 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5596 fallback configurable symbol when vDSO is not available.
5597 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5598 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5599 be able to redefine fallback symbol when vDSO is not available.
5600 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5601 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5603 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5605 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5606 (TLS_INIT_TP): Add tm_capable initialization.
5607 (TLS_DEFINE_INIT_TP): Likewise.
5608 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5610 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5611 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5613 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5614 transactoion is lock elision is built and TCB tm_capable is set.
5615 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5617 (INTERNAL_SYSCALL_NCS): Likewise.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5619 (INTERNAL_SYSCALL_NCS): Likewise.
5620 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5622 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5624 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5625 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5626 and remove it for 32 bits case.
5627 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5628 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5630 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5631 Disable lock elision with rdlocks if elision is not available.
5633 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5634 (sysdep_routines): Add lock elision objects.
5635 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5636 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5637 [pthread_mutex_t] (__elision): Add field.
5638 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5639 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5640 elision definitions for powerpc.
5641 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5642 implementation of lock elision for powerpc.
5643 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5644 implementation of timed lock elision for powerpc.
5645 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5646 implementation of trylock with lock elision for powerpc.
5647 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5648 implementaion of unlock for lock elision for powerpc.
5649 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5650 automatic enable lock elision for mutexes.
5651 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5652 transaction execution definitions for powerpc.
5653 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5655 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5656 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5657 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5658 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5661 2015-01-09 Roland McGrath <roland@hack.frob.com>
5663 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5664 for #include of <shm-directory.h>.
5666 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5669 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5671 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5674 * NEWS: Mention bug fix.
5675 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5676 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5677 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5679 2015-01-09 Torvald Riegel <triegel@redhat.com>
5681 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5683 2015-01-09 Torvald Riegel <triegel@redhat.com>
5685 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5687 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5689 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5690 pointer and cast to uintptr_t.
5692 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5694 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5696 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5698 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5700 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5703 2015-01-08 Roland McGrath <roland@hack.frob.com>
5705 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5706 <nptl/pthreadP.h> instead.
5707 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5709 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5711 [__SIGRTMIN] (init): Function removed.
5712 [__SIGRTMIN] (initialized): Variable removed.
5713 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5714 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5715 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5716 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5717 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5718 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5719 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5720 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5721 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5722 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5723 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5724 * sysdeps/nptl/allocrtsig.c: New file.
5725 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5726 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5727 * sysdeps/generic/testrtsig.h: File removed.
5729 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5730 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5732 * nptl/nptl-init.c (pthread_functions): Conditionalize
5733 .ptr__nptl_setxid initialization on [SIGSETXID].
5735 * sysdeps/nptl/sys/procfs.h: New file.
5736 * nptl_db/Makefile (headers): Add it.
5737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5739 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5740 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5741 * nptl/pthread_attr_setaffinity.c: Include it.
5742 * nptl/pthread_setattr_default_np.c: Likewise.
5743 * nptl/check-cpuset.h: New file.
5745 2015-01-08 Richard Henderson <rth@redhat.com>
5747 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5748 (CFLAGS-tst-execstack-prog.c): Likewise.
5749 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5751 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5752 Sandra Loosemore <sandra@codesourcery.com>
5753 Andrew Jenner <andrew@codesourcery.com>
5754 Joseph Myers <joseph@codesourcery.com>
5755 Nathan Sidwell <nathan@codesourcery.com>
5757 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5758 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5759 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5760 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5761 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5762 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5763 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5764 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5765 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5766 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5767 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5768 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5769 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5770 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5771 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5772 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5773 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5775 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5778 timespec struct member in syscall macro.
5779 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5780 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5781 first timeval struct member in syscall macro.
5782 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5784 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5787 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5788 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5789 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5790 __feupdateenv and define as weak alias of __feupdateenv. Use
5792 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5794 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5795 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5796 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5797 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5799 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5800 __feupdateenv and define as weak alias of __feupdateenv. Use
5802 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5804 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5805 __feupdateenv and define as weak alias of __feupdateenv. Use
5807 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5809 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5810 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5811 (__feupdateenv): Likewise.
5812 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5813 __feupdateenv and define as weak alias of __feupdateenv. Use
5815 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5816 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5818 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5820 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5822 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5823 __feupdateenv instead of feupdateenv.
5824 (default_libc_feupdateenv_test): Likewise.
5825 (libc_feresetround_ctx): Likewise.
5827 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5832 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5834 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5835 COLL_SYM in a couple of places to avoid uninitialized variable
5836 wanings on tilegx gcc 4.8.2.
5838 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5840 * sysdeps/aarch64/strcpy.S: New file.
5841 * sysdeps/aarch64/stpcpy.S: New file.
5844 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5846 * sysdeps/aarch64/strrchr.S: New file.
5849 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5852 * stdlib/setenv.c: Fix memory leak when setting large,
5855 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5858 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5859 and tabs from buffer before parsing fstab entry.
5860 * misc/tst-mntent.c (main): Add test for mount entry with
5861 trailing spaces and tabs.
5863 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5866 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5867 * math/fesetround.c (fesetround): Rename to __fesetround and
5868 define as weak alias of __fesetround. Use libm_hidden_weak.
5869 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5870 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5871 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5872 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5873 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5874 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5875 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5876 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5877 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5878 __fesetround_inline.
5879 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5880 __fesetround_inline instead of __fesetround.
5881 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5882 __fesetround and define as weak alias of __fesetround. Use
5883 libm_hidden_weak. Call __fesetround_inline instead of
5885 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5886 __fesetround and define as weak alias of __fesetround. Use
5888 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5890 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5891 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5892 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5893 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5894 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5895 __fesetround and define as weak alias of __fesetround. Use
5897 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5898 __fesetround instead of fesetround.
5899 (default_libc_feholdexcept_setround): Likewise.
5900 (libc_feholdsetround_ctx): Likewise.
5901 (libc_feholdsetround_noex_ctx): Likewise.
5904 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5905 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5906 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5907 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5908 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5909 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5910 define as weak alias of __fesetenv. Use libm_hidden_weak.
5911 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5912 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5913 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5914 define as weak alias of __fesetenv. Use libm_hidden_weak.
5915 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5916 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5917 define as weak alias of __fesetenv. Use libm_hidden_weak.
5918 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5920 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5921 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5923 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5924 define as weak alias of __fesetenv. Use libm_hidden_weak.
5925 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5926 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5927 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5928 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5929 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5930 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5931 __fesetenv instead of fesetenv.
5932 (libc_feresetround_noex_ctx): Likewise.
5933 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5934 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5935 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5936 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5937 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5938 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5939 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5940 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5941 (__feupdateenv): Likewise.
5942 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5943 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5944 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5945 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5947 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5950 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5951 addresses have been freed.
5953 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5955 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5958 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5960 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5961 Clean up check_pf allocation pattern. addresses
5963 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5965 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5966 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5967 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5968 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5969 * nptl/pthread_join.c (pthread_join): Likewise.
5970 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5971 * sysdeps/posix/waitid.c (__waitid): Likewise.
5972 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5973 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5974 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5975 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5976 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5978 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5979 (__libc_pread64): Likewise.
5980 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5981 (__libc_pwrite): Likewise.
5982 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5983 (__libc_pwrite64): Likewsie.
5984 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5985 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5986 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5987 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5988 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5989 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5990 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5994 (__libc_pread64): Likewise.
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5998 (__libc_pwrite64): Likewise.
5999 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6000 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6001 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6002 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6003 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6004 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6005 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6006 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6007 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6008 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6009 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6010 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6011 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6012 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6013 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6017 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6019 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6020 (CFLAGS-test-double.c): Likewise.
6021 (CFLAGS-test-ldouble.c): Likewise.
6022 (CPPFLAGS-test-ifloat.c): Likewise.
6023 (CPPFLAGS-test-idouble.c): Likewise.
6024 (CPPFLAGS-test-ildoubl.c): Likewise.
6025 (CFLAGS-test-test-fenv.c): Remove variable.
6026 (CFLAGS-test-misc.c): Likewise.
6028 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6031 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6032 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6033 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6034 CLOCKS_PER_SEC == 1000000.
6035 * time/clocktest.c (main): Replace %ld with %jd and cast to
6038 2015-01-05 Roland McGrath <roland@hack.frob.com>
6040 * sysdeps/generic/unwind-resume.h: New file.
6041 * sysdeps/gnu/unwind-resume.c: Include it.
6042 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6043 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6045 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6046 global rather than static.
6047 (_Unwind_Resume): Update user.
6048 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6049 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6050 rather than static. Add __attribute__ ((cold)).
6051 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6052 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6053 * sysdeps/arm/arm-unwind-resume.S: New file.
6054 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6055 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6056 * sysdeps/arm/Makefile [$(subdir) = csu]
6057 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6058 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6059 Add rt-arm-unwind-resume.
6061 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6062 Add pt-arm-unwind-resume.
6063 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6064 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6066 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6069 * include/fenv.h (__feholdexcept): Declare. Use
6071 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6072 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6073 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6074 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6075 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6076 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6077 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6078 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6079 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6080 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6081 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6082 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6083 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6084 (feholdexcept): Likewise.
6085 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6086 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6087 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6088 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6089 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6090 __feholdexcept instead of feholdexcept.
6091 (default_libc_feholdexcept_setround): Likewise.
6093 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6095 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6096 to avoid using stl/str to align destination.
6098 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6100 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6102 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6105 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6106 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6107 Define as weak alias not strong alias.
6109 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6111 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6112 bltzal with addiupc.
6113 (RTLD_START): Ditto.
6115 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6117 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6118 for __vdso_* functions in declarations.
6119 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6121 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6122 INTERNAL_VSYSCALL): Use struct return types to check for error.
6124 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6125 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6126 function with cast from llround().
6127 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6128 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6131 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6134 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6135 Define as weak alias not strong alias.
6138 * ctype/ctype-c99.c: New file. isblank implementation moved from
6140 * ctype/ctype-extn.c: ... here.
6141 (__isblank_l): Move to ...
6142 * ctype/ctype-c99_l.c: ... here. New file.
6143 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6144 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6146 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6147 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6148 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6149 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6150 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6153 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6154 (posix_fadvise64): Define as weak alias not strong alias.
6155 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6156 (posix_fallocate64): Likewise.
6157 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6159 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6160 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6161 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6162 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6163 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6165 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6168 * NEWS: Mention bug fix.
6169 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6170 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6171 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6172 (HOST_STACK_END_ADDR): Likewise.
6174 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6177 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6178 * math/fegetround.c (fegetround): Rename to __fegetround and
6179 define as weak alias of __fegetround. Use libm_hidden_weak.
6180 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6181 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6182 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6183 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6184 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6185 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6186 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6187 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6188 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6189 Undefine after rather than before function definition; use
6190 parentheses around function name in definition.
6191 (__fegetround): Also undefine macro after function definition.
6192 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6193 __fegetround and define as weak alias of __fegetround. Use
6194 libm_hidden_weak. Do not undefine as macro.
6195 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6197 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6198 __fegetround and define as weak alias of __fegetround. Use
6200 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6201 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6202 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6203 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6204 __fegetround and define as weak alias of __fegetround. Use
6206 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6207 __fegetround instead of fegetround.
6210 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6211 Condition macro definition on [__USE_MISC].
6214 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6215 (struct sigaction): Change type of sa_flags field to int.
6218 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6219 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6222 * nptl/version.c (banner): Use single year in copyright notice.
6224 * NEWS: Update copyright dates.
6225 * catgets/gencat.c (print_version): Likewise.
6226 * csu/version.c (banner): Likewise.
6227 * debug/catchsegv.sh: Likewise.
6228 * debug/pcprofiledump.c (print_version): Likewise.
6229 * debug/xtrace.sh (do_version): Likewise.
6230 * elf/ldconfig.c (print_version): Likewise.
6231 * elf/ldd.bash.in: Likewise.
6232 * elf/pldd.c (print_version): Likewise.
6233 * elf/sotruss.sh: Likewise.
6234 * elf/sprof.c (print_version): Likewise.
6235 * iconv/iconv_prog.c (print_version): Likewise.
6236 * iconv/iconvconfig.c (print_version): Likewise.
6237 * locale/programs/locale.c (print_version): Likewise.
6238 * locale/programs/localedef.c (print_version): Likewise.
6239 * login/programs/pt_chown.c (print_version): Likewise.
6240 * malloc/memusage.sh (do_version): Likewise.
6241 * malloc/memusagestat.c (print_version): Likewise.
6242 * malloc/mtrace.pl: Likewise.
6243 * manual/libc.texinfo: Likewise.
6244 * nptl/version.c (banner): Likewise.
6245 * nscd/nscd.c (print_version): Likewise.
6246 * nss/getent.c (print_version): Likewise.
6247 * nss/makedb.c (print_version): Likewise.
6248 * posix/getconf.c (main): Likewise.
6249 * scripts/test-installation.pl: Likewise.
6250 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6252 2015-01-02 Will Newton <will.newton@linaro.org>
6254 * sysdeps/arm/armv7/configure: Removed.
6255 * sysdeps/arm/armv7/configure.ac: Likewise.
6257 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6259 * All files with FSF copyright notices: Update copyright dates
6260 using scripts/update-copyrights.
6261 * intl/plural.c: Regenerated.
6262 * locale/programs/charmap-kw.h: Likewise.
6263 * locale/programs/locfile-kw.h: Likewise.
6265 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6267 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6269 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6272 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6273 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6274 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6275 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6276 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6277 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6278 define as weak alias of __fegetenv. Use libm_hidden_weak.
6279 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6280 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6281 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6282 define as weak alias of __fegetenv. Use libm_hidden_weak.
6283 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6284 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6285 define as weak alias of __fegetenv. Use libm_hidden_weak.
6286 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6288 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6289 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6291 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6292 define as weak alias of __fegetenv. Use libm_hidden_weak.
6293 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6294 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6295 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6296 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6297 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6298 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6299 __fegetenv instead of fegetenv.
6300 (libc_feholdsetround_noex_ctx): Likewise.
6302 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6304 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6305 (Elf_MIPS_ABIFlags_v0): New structure.
6306 (EF_MIPS_FP64): Define.
6307 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6308 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6309 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6310 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6311 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6312 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6313 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6314 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6315 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6316 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6317 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6318 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6319 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6320 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6321 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6322 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6323 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6324 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6325 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6326 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6327 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6328 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6330 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6332 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6333 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6334 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6335 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6336 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6337 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6338 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6339 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6340 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6341 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6342 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6343 record the current FP ABI extension.
6344 (mips-mode-switch): Define to show if kernel headers support mode
6346 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6347 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6348 supported SYSV ABI version to 3.
6349 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6352 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6353 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6357 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6359 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6361 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6362 __fegetround and redefine to call __fegetround. Remove condition
6363 on [!__NO_MATH_INLINES].
6364 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6366 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6367 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6369 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6370 instead of <fenv_libc.h>.
6371 (__llrintl): Call fegetround instead of __fegetround.
6372 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6373 instead of <fenv_libc.h>.
6374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6375 (__lrintl): Call fegetround instead of __fegetround.
6376 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6377 instead of <fenv_libc.h>.
6378 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6379 (__rintl): Call fegetround instead of __fegetround.
6381 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6383 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6386 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6389 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6390 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6391 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6393 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6395 * sysdeps/i386/tls-macros.h: Include <features.h>.
6396 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6400 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6401 define for GCC >= 5.0.
6403 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6405 * math/test-fenv.c (test_single_exception, set_single_exc,
6406 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6407 feexcp_mask_test, feenable_test, fe_single_test): Add
6408 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6409 case where they are not used.
6410 * math/libm-test.inc: Likewise.
6411 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6412 unused in the absence of FP rounding/exception support.
6413 * stdio-common/tst-printf-round.c: Likewise.
6414 * stdlib/tst-strtod-round.c: Likewise.
6415 * stdlib/tst-strtod-underflow.c: Likewise.
6417 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6420 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6421 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6422 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6423 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6425 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6426 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6427 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6429 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6430 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6432 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6434 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6435 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6436 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6438 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6440 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6441 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6442 (__feraiseexcept): Likewise.
6443 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6444 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6446 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6447 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6449 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6450 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6451 Use libm_hidden_def.
6452 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6454 (feraiseexcept): Define as weak not strong alias. Use
6456 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6457 New inline function. Factored out of ...
6458 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6459 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6460 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6462 * math/w_acos.c (__acos): Likewise.
6463 * math/w_asin.c (__asin): Likewise.
6464 * math/w_ilogb.c (__ilogb): Likewise.
6465 * math/w_j0.c (y0): Likewise.
6466 * math/w_j1.c (y1): Likewise.
6467 * math/w_jn.c (yn): Likewise.
6468 * math/w_log.c (__log): Likewise.
6469 * math/w_log10.c (__log10): Likewise.
6470 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6471 * sysdeps/aarch64/fpu/math_private.h
6472 (libc_feupdateenv_test_aarch64): Likewise.
6473 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6474 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6475 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6476 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6477 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6478 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6479 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6480 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6481 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6482 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6484 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6487 * io/test-utime.c (main): Replace %ld with %jd and cast to
6489 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6490 * nptl/tst-mutex5.c: Include <stdint.h>.
6491 (do_test): Replace %ld with %jd and cast to intmax_t.
6492 * posix/tst-regex.c (run_test): Likewise.
6493 (run_test_backwards): Likewise.
6494 * rt/tst-clock.c: Include <stdint.h>.
6495 (clock_test): Replace %ld with %jd and cast to intmax_t.
6496 * rt/tst-cpuclock1.c: Include <stdint.h>.
6497 (do_test): Replace %lu with %ju and cast to uintmax_t.
6498 * rt/tst-cpuclock2.c: Include <stdint.h>.
6499 (do_test): Replace %lu with %ju and cast to uintmax_t.
6500 * rt/tst-mqueue1.c: Include <stdint.h>.
6501 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6502 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6504 * rt/tst-mqueue4.c (do_test): Likewise.
6505 * rt/tst-timer4.c: Include <stdint.h>.
6506 (check_ts): Replace %ld with %jd and cast to intmax_t.
6507 (do_test): Likewise.
6508 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6509 and cast to intmax_t.
6510 * sysdeps/pthread/tst-timer.c (main): Likewise.
6511 * time/clocktest.c (main): Likewise.
6512 * time/tst-posixtz.c (do_test): Likewise.
6513 * timezone/tst-timezone.c (main): Likewise.
6515 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6516 H.J. Lu <hongjiu.lu@intel.com>
6518 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6519 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6520 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6521 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6522 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6523 version if bit_Fast_Unaligned_Load is set.
6524 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6525 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6526 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6527 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6528 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6529 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6531 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6532 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6533 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6535 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6536 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6537 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6538 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6540 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6542 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6543 instead of #if to avoid a Wundef warning.
6544 * stdlib/tst-limits.c (do_test): Likewise.
6546 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6547 parallel other exception macros.
6548 (fegetenv): Convert from macro to extern inline so that it applies
6549 retroactively to inline functions already seen by the compiler.
6550 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6552 * posix/Makefile (before-compile): Use $(objpfx) for
6553 posix-conf-vars-def.h.
6555 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6557 * posix/getconf.c (main): Use size_t for type of I.
6558 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6561 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6562 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6563 * posix/posix-envs.def: Likewise.
6564 * sysdeps/posix/sysconf.c: Likewise.
6565 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6566 (specs): Remove array.
6567 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6570 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6571 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6572 (__sysconf): Use CONF_IS_* macros.
6574 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6575 ($(objpfx)posix-conf-vars-def.h): New target.
6576 * posix/posix-conf-vars.list: New file.
6577 * posix/posix-conf-vars.h: New file.
6578 * posix/confstr.c: Include posix-conf-vars.h.
6579 (confstr): Use CONF_IS_* macros.
6580 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6582 * scripts/gen-posix-conf-vars.awk: New file.
6584 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6586 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6587 fegetround): Add no-op macros to avoid linknamespace issues.
6589 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6590 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6592 * sysdeps/unix/sysv/linux/tile/sysdep.h
6593 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6594 assembly-specific section to avoid a redefinition warning.
6596 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6597 long before casting to pointer to avoid a cast warning.
6599 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6601 * sysdeps/tile/tilegx/Implies: New file.
6603 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6605 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6607 2014-12-23 Florian Weimer <fweimer@redhat.com>
6609 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6611 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6615 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6616 <kernel-features.h>.
6617 (__utimes) [__NR_utimes]: Make code unconditional.
6618 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6619 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6620 (__ASSUME_UTIMES): Do not undefine.
6621 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6622 (__ASSUME_UTIMES): Likewise.
6623 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6624 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6625 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6626 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6628 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6630 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6632 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6635 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6636 alias to weak alias for j0l, y0l.
6637 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6638 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6641 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6644 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6646 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6647 to zero if not already defined.
6649 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6652 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6653 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6654 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6655 (char *) casts added.
6656 * sysdeps/ieee754/k_standardf.c: New file.
6657 * sysdeps/ieee754/k_standardl.c: Likewise.
6658 * math/Makefile (libm-support): Remove k_standard.
6659 (libm-calls): Add k_standard.
6661 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6663 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6664 Optimize to avoid an unnecessary FPCR read.
6666 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6668 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6669 Optimize to reduce FPCR/FPSR accesses.
6671 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6673 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6674 Call libc_fetestexcept_aarch64.
6676 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6678 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6679 Call libc_fesetround_aarch64.
6681 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6684 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6685 (__bind): Do not define as weak alias.
6686 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6688 (__getsockname): Do not define as weak alias.
6690 2014-12-22 Will Newton <will.newton@linaro.org>
6692 * manual/install.texi: Document that we require bison 2.7
6694 * INSTALL: Regenerate.
6695 * configure.ac: Use AC_CHECK_PROG_VER instead of
6696 AC_PATH_PROG when checking for bison and check for
6697 version 2.7 or above.
6698 * configure: Regenerate.
6700 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6703 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6704 * sysdeps/tile/ffsll.c (ffsll): To here.
6706 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6708 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6710 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6712 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6714 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6715 hidden ___tls_get_addr.
6716 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6717 hidden __tls_get_addr.
6718 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6719 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6722 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6724 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6727 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6729 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6730 from "call _dl_init@PLT".
6731 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6733 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6735 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6738 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6740 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6742 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6745 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6748 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6750 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6752 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6753 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6754 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6755 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6756 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6758 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6760 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6761 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6762 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6763 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6764 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6766 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6768 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6770 * string/strncat.c (STRNCAT): Simplify implementation.
6772 2014-12-19 David S. Miller <davem@davemloft.net>
6774 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6775 access the quad as both a long double and as a series of 4 words.
6777 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6778 link_map->l_info array access.
6780 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6782 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6784 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6785 * math/atest-exp2.c (TIMEOUT): Likewise.
6786 * math/atest-sincos.c (TIMEOUT): Likewise.
6788 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6790 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6791 -Wno-error with -fno-builtin-lround.
6793 2014-12-19 Torvald Riegel <triegel@redhat.com>
6795 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6796 Contains futex constants and functions moved over from ...
6797 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6798 <lowlevellock-futex.h>.
6799 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6800 (lll_timedwait_tid): Add comments and parentheses around macro
6803 2014-12-19 Torvald Riegel <triegel@redhat.com>
6805 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6806 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6807 (__lll_private_flag): Remove.
6808 (lll_futex_wait): Likewise.
6809 (lll_futex_timed_wait): Likewise.
6810 (lll_futex_wake): Likewise.
6811 (lll_futex_requeue): Likewise.
6812 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6813 (__lll_timedwait_tid): Spell out argument names.
6814 (lll_timedwait_tid): Add comments and parentheses around macro
6816 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6817 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6819 2014-12-19 Torvald Riegel <triegel@redhat.com>
6821 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6822 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6823 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6824 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6825 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6826 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6827 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6828 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6829 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6830 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6831 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6832 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6833 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6834 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6835 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6837 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6838 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6839 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6841 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6843 * sysdeps/x86_64/x32/Makefile: New file.
6845 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6847 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6848 1L with (mp_limb_t) 1.
6850 2014-12-17 Roland McGrath <roland@hack.frob.com>
6852 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6853 * nptl/libc_pthread_init.c: ... here.
6854 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6855 * nptl/register-atfork.c: ... here.
6857 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6858 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6859 Use assert_perror to check its return value.
6860 (__gai_create_helper_thread): Likewise.
6862 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6864 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6866 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6869 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6871 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6873 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6875 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6877 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6878 (profil_counter): Likewise.
6879 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6880 (profil_counter): Likewise.
6881 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6883 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6885 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6886 (profil_counter): Likewise.
6887 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6889 [!__profil_counter] (profil_counter): Define as weak alias of
6891 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6892 (profil_counter): Rename to __profil_counter.
6893 [!__profil_counter] (profil_counter): Define as weak alias of
6895 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6896 (profil_counter): Rename to __profil_counter.
6897 [!__profil_counter] (profil_counter): Define as weak alias of
6899 * sysdeps/posix/profil.c: Update comment referring to
6901 (__profil): Use __profil_counter instead of profil_counter.
6902 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6903 __profil_counter. Use __profil_counter_ushort and
6904 __profil_counter_uint in definitions.
6905 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6906 instead of profil_counter_uint and profil_counter_ushort.
6909 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6910 define as weak alias of __inet_makeaddr.
6911 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6912 as weak alias of __inet_addr.
6913 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6914 as weak alias of __inet_pton. Use libc_hidden_weak.
6915 * include/arpa/inet.h (__inet_pton): Declare. Use
6917 (inet_makeaddr): Don't use libc_hidden_proto.
6918 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6919 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6920 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6921 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6923 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6924 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6926 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6928 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6930 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6932 * stdio-common/bug-vfprintf-nargs.c (do_test):
6933 Cast value to intptr_t to avoid format warning
6934 for usage with PRIdPTR printing macro.
6936 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6938 * libio/tst-widetext.c (do_test):
6939 Use format type %td instead of %Zd for ptrdiff_t
6940 in order to avoid format warning.
6942 2014-12-17 Andreas Schwab <schwab@suse.de>
6944 * nscd/mem.c (gc): Add size_t cast to match printf format.
6946 2014-12-16 Roland McGrath <roland@hack.frob.com>
6948 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6949 (init): Apply PTR_MANGLE to pointers before storing them.
6950 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6953 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6956 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6957 define as weak alias of __memrchr.
6958 (__memrchr): Do not define as strong alias of memrchr.
6959 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6961 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6962 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6963 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6966 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6967 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6968 (if_indextoname): Rename to __if_indextoname and define as weak
6969 alias of __if_indextoname. Use libc_hidden_weak.
6970 (if_freenameindex): Rename to __if_freenameindex and define as
6971 weak alias of __if_freenameindex.
6972 (if_nameindex): Rename to __if_nameindex and define as weak alias
6974 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6975 __if_nametoindex and define as weak alias of __if_nametoindex.
6976 Use libc_hidden_weak.
6977 (if_freenameindex): Rename to __if_freenameindex and define as
6978 weak alias of __if_freenameindex.
6979 (if_nameindex): Rename to __if_nameindex and define as weak alias
6981 (if_indextoname): Rename to __if_indextoname and define as weak
6982 alias of __if_indextoname. Use libc_hidden_weak.
6983 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6984 __if_nametoindex and define as weak alias of __if_nametoindex.
6985 Use libc_hidden_weak.
6986 (if_freenameindex): Rename to __if_freenameindex and define as
6987 weak alias of __if_freenameindex. Use libc_hidden_weak.
6988 (if_nameindex_netlink): Use __if_freenameindex instead of
6990 (if_nameindex): Rename to __if_nameindex and define as weak alias
6991 of __if_nameindex. Use libc_hidden_weak.
6992 (if_indextoname): Rename to __if_indextoname and define as weak
6993 alias of __if_indextoname. Use libc_hidden_weak.
6994 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6996 [!_ISOMAC] (__if_freenameindex): Likewise.
6997 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6999 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7001 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7002 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7003 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7004 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7005 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7006 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7007 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7009 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7011 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7012 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7014 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7016 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7017 subscript above bounds'
7019 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7022 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7024 * libio/tst-fopenloc.c: Use test-skeleton.c.
7026 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7027 (entry): Rename to ITEM.
7028 (do_test, comp): Adjust.
7030 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7032 2014-12-16 Torvald Riegel <triegel@redhat.com>
7034 * string/tester.c: Include <libc-internal.h>.
7035 (test_memset): Ignore -Wmemset-transposed-args.
7037 2014-12-16 Torvald Riegel <triegel@redhat.com>
7039 * misc/tst-mntent2.c (do_test): Fix warning.
7041 2014-12-16 Torvald Riegel <triegel@redhat.com>
7043 * elf/tst-unique4lib.cc(a): Mark as used.
7045 2014-12-16 Florian Weimer <fweimer@redhat.com>
7048 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7051 2014-12-16 Allan McRae <allan@archlinux.org>
7053 * stdio-common/Makefile (tests): Re-add bug26.
7055 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7058 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7061 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7063 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7064 (__lll_lock_wait): Likewise.
7065 (__lll_timedlock_wait): Likewise.
7066 (__lll_timedwait_tid): Likewise.
7067 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7068 (__lll_robust_timedlock_wait): Likewise.
7069 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7070 (lll_cond_trylock): Likewise.
7071 (__lll_lock): Likewise.
7072 (__lll_robust_lock): Likewise.
7073 (__lll_cond_lock): Likewise.
7074 (lll_robust_cond_lock): Likewise.
7075 (__lll_timedlock): Likewise.
7076 (__lll_robust_timedlock): Likewise.
7077 (__lll_unlock): Likewise.
7078 (__lll_robust_unlock): Likewise.
7079 (lll_wait_tid): Likewise.
7080 (lll_timedwait_tid): Likewise.
7082 2014-12-15 Torvald Riegel <triegel@redhat.com>
7084 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7086 2014-12-15 Torvald Riegel <triegel@redhat.com>
7088 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7090 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7092 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7093 * stdio-common/tst-sprintf.c: Likewise.
7095 2014-12-15 Torvald Riegel <triegel@redhat.com>
7097 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7099 2014-12-15 Jeff Law <law@redhat.com>
7102 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7103 on the heap. (CVE-2012-3406)
7104 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7105 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7106 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7108 2014-12-15 Will Newton <will.newton@linaro.org>
7110 * manual/install.texi: Bump required version of texinfo
7112 * INSTALL: Regenerated.
7113 * configure.ac: Check for makeinfo version 4.7 and above.
7114 * configure: Regenerated.
7116 2014-12-12 Roland McGrath <roland@hack.frob.com>
7118 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7119 PREFIX, string constant to insert between directory and name.
7120 * sysdeps/posix/shm_open.c: Update caller.
7121 * sysdeps/posix/shm_unlink.c: Likewise.
7122 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7123 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7124 (SEM_SHM_PREFIX): New macro.
7125 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7126 [$(have-thread-library) = no].
7127 * nptl/Makefile (libpthread-routines): Add shm-directory.
7128 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7129 * sysdeps/nptl/shm-directory.h: New file.
7130 * sysdeps/posix/shm-directory.c
7131 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7132 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7133 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7135 (__where_is_shmfs): Function removed.
7136 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7138 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7140 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7142 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7143 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7144 unconditional for use inside libpthread.
7145 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7147 2014-12-12 Roland McGrath <roland@hack.frob.com>
7149 * nptl/pthread_getaffinity.c: New file.
7150 * nptl/pthread_setaffinity.c: New file.
7151 * nptl/pthread_getname.c: New file.
7152 * nptl/pthread_setname.c: New file.
7154 * nptl/pthread_create.c (START_THREAD_DEFN)
7155 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7157 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7158 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7160 * resolv/res_send.c (send_vc): Disable warning resplen may
7161 be used uninitialized.
7163 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7166 (ATTR_NULL): New define checks ATTR against NULL.
7167 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7168 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7170 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7174 (mem2mem_check): Revert my previous change.
7175 (malloc_check_get_size): Revert my previous change.
7176 (mem2chunk_check): Revert my previous change.
7178 2014-12-11 Roland McGrath <roland@hack.frob.com>
7180 * sysdeps/posix/shm-directory.c: New file.
7181 * sysdeps/posix/shm-directory.h: New file.
7182 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7183 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7184 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7185 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7186 Transmute EPERM to EACCES.
7187 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7189 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7190 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7192 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7194 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7195 pointer and cast to uintptr_t.
7196 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7197 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7198 Add cast to avoid warning.
7199 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7201 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7203 * nptl/semaphore.h: Move to ...
7204 * sysdeps/pthread/semaphore.h: ... here.
7205 * Makefile (installed-headers): Change nptl/semaphore.h to
7206 sysdeps/pthread/semaphore.h.
7208 2014-12-11 Roland McGrath <roland@hack.frob.com>
7210 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7211 generated error format strings.
7213 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7214 -Wformat-extra-args warnings for scanf formats.
7215 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7216 test of zero-length format (duh).
7217 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7218 corner-case scanf format test.
7219 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7220 generated fprintf format string.
7221 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7222 corner-case sprintf format tests.
7223 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7224 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7225 -Wformat-extra-args warnings throughout.
7226 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7227 (CFLAGS-scanf4.c): Likewise.
7228 (CFLAGS-scanf7.c): Likewise.
7229 (CFLAGS-tst-sprintf.c): Likewise.
7230 (CFLAGS-tst-printf.c): Likewise.
7231 (CFLAGS-tst-printfsz.c): Likewise.
7233 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7235 * include/cpio.h: New file.
7236 * include/fmtmsg.h: Likewise.
7238 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7239 corresponding format argument to size_t.
7240 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7242 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7243 corresponding format argument to size_t.
7244 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7246 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7247 corresponding format argument to size_t.
7248 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7249 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7250 (CFLAGS-tst-mbswcs2.c): Likewise.
7251 (CFLAGS-tst-mbswcs3.c): Likewise.
7252 (CFLAGS-tst-mbswcs4.c): Likewise.
7253 (CFLAGS-tst-mbswcs5.c): Likewise.
7254 (CFLAGS-tst-trans.c): Likewise
7256 2014-12-11 Roland McGrath <roland@hack.frob.com>
7258 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7259 rather than assuming they won't contain any '%'s.
7261 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7263 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7264 inhibit_loop_to_libcall to avoid recursive calls.
7265 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7266 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7268 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7270 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7273 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7275 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7276 integer value instead of boolean.
7278 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7280 * malloc/malloc.c: Fix powerof2 check.
7282 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7284 * locale/programs/locfile.h (maybe_swap_uint32):
7285 Remove inline and add unused attribute.
7287 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7289 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7290 Truncating assembler expression to a .long expression.
7292 2014-12-11 Andreas Schwab <schwab@suse.de>
7294 * elf/rtld.c (struct map_args): Constify str member.
7295 (do_preload): Constify fname argument.
7297 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7299 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7300 constants definition.
7302 2014-12-11 Andreas Schwab <schwab@suse.de>
7305 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7306 FORCE_ELISION instead of DO_ELISION.
7307 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7309 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7312 * iconvdata/gconv-modules: Remove duplicate entry.
7314 2014-12-11 Will Newton <will.newton@linaro.org>
7316 Merge gettext 0.19.3 into intl/.
7318 This involves a number of cosmetic changes to comments
7319 and ANSI function definitions and prototypes throughout
7320 all the files. The gettext copyright header is used but
7321 with the date ranges taken from the glibc copy.
7323 * NEWS: Add gettext merge to 2.21.
7324 * intl/bindtextdom.c: Switch to gettext copyright.
7325 Use ANSI definitions and prototypes.
7326 Use gl_* locking primitives rather than __libc_* ones.
7327 Use __builtin_expect rather than __glibc_likely/unlikely.
7328 * intl/dcgettext.c: Switch to gettext copyright.
7329 Use ANSI definitions and prototypes.
7330 * intl/dcigettext.c: Switch to gettext copyright.
7331 Use ANSI definitions and prototypes.
7332 (INTDIV0_RAISES_SIGFPE): New define.
7333 Use gl_* locking primitives rather than __libc_* ones.
7334 Include eval-plural.h instead of plural-eval.c.
7335 Use __builtin_expect rather than __glibc_likely/unlikely.
7336 * intl/dcngettext.c: Switch to gettext copyright.
7337 Use ANSI definitions and prototypes.
7338 * intl/dgettext.c: Likewise.
7339 * intl/dngettext.c: Likewise.
7340 * intl/plural-eval.c: Renamed to...
7341 * intl/eval-plural.h: ...this.
7342 * intl/explodename.c: Switch to gettext copyright.
7343 Use ANSI definitions and prototypes.
7344 (_nl_explode_name): Use strchr instead of __rawmemchr.
7345 * intl/finddomain.c: Switch to gettext copyright.
7346 Use ANSI definitions and prototypes.
7347 Use gl_* locking primitives rather than __libc_* ones.
7348 (_nl_find_domain): Use malloc rather than alloca for
7349 allocation of temporary locale name.
7350 * intl/gettext.c: Switch to gettext copyright.
7351 Use ANSI definitions and prototypes.
7352 * intl/gettextP.h: Switch to gettext copyright.
7353 Use ANSI definitions and prototypes.
7354 Use gl_* locking primitives rather than __libc_* ones.
7355 * intl/gmo.h: Switch to gettext copyright.
7356 (struct sysdep_string): Move struct segment_pair outside of
7358 * intl/hash-string.c: Use ANSI definitions and prototypes.
7359 * intl/hash-string.h: Switch to gettext copyright.
7360 Use ANSI definitions and prototypes.
7361 * intl/l10nflist.c: Switch to gettext copyright.
7362 Use ANSI definitions and prototypes.
7363 (_nl_normalize_codeset): Avoid integer overflow.
7364 * intl/loadinfo.h: Switch to gettext copyright.
7365 Use ANSI definitions and prototypes.
7366 (LIBINTL_DLL_EXPORTED): New define.
7367 (PATH_SEPARATOR): New define.
7368 * intl/loadmsgcat.c: Switch to gettext copyright.
7369 * intl/localealias.c: Switch to gettext copyright.
7370 Use ANSI definitions and prototypes.
7371 (_nl_expand_alias): Use PATH_SEPARATOR.
7372 * intl/ngettext.c: Switch to gettext copyright.
7373 Use ANSI definitions and prototypes.
7374 * intl/plural-exp.c: Likewise.
7375 * intl/plural-exp.h: Switch to gettext copyright.
7376 Use ANSI definitions and prototypes.
7377 (struct expression): Move definition of enum operator outside
7378 of struct definition.
7379 * intl/plural.c: Regenerate.
7380 * intl/plural.y: Switch to gettext copyright.
7381 Use ANSI definitions and prototypes.
7383 * intl/textdomain.c: Switch to gettext copyright.
7384 Use ANSI definitions and prototypes.
7385 Use gl_* locking primitives rather than __libc_* ones.
7387 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7389 * debug/warning-nop.c: Add used atrribute.
7391 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7393 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7395 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7396 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7397 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7399 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7400 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7403 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7404 Undefine after defining function. Define as weak alias of
7405 __wcschr. Use libc_hidden_weak.
7406 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7407 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7408 (libc_hidden_def): Also define __GI___wcschr alias.
7409 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7410 __wcschr and define as weak alias of __wcschr.
7411 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7413 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7414 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7415 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7416 libc_hidden_weak. Do not use libc_hidden_def.
7417 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7418 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7419 __GI___wcschr alias.
7420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7421 [IS_IN (libc)] (wcschr): Define as macro expanding to
7423 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7424 [IS_IN (libc)] (__wcschr_power6): Likewise.
7425 [IS_IN (libc)] (__wcschr_power7): Likewise.
7426 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7428 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7430 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7431 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7432 __wcschr and define as weak alias of __wcschr. Use
7433 libc_hidden_builtin_def.
7434 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7435 as weak alias of __wcschr. Use libc_hidden_weak.
7436 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7438 * time/era.c (_nl_init_era_entries): Likewise.
7439 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7441 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7442 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7444 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7446 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7447 format for long int variable.
7449 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7452 * manual/search.texi: (Array Sort Function): Remove claim how to make
7455 2014-12-10 Andreas Schwab <schwab@suse.de>
7458 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7459 user-controlled locks.
7461 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7463 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7466 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7468 * configure.ac (--disable-werror): New configure option.
7469 (enable_werror): New AC_SUBST.
7470 * configure: Regenerated.
7471 * config.make.in (enable-werror): New variable.
7472 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7474 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7475 * manual/install.texi (Configuring and compiling): Document
7477 * INSTALL: Regenerated.
7478 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7479 (CFLAGS-tst-chk2.c): Likewise.
7480 (CFLAGS-tst-chk3.c): Likewise.
7481 (CFLAGS-tst-chk4.cc): Likewise.
7482 (CFLAGS-tst-chk5.cc): Likewise.
7483 (CFLAGS-tst-chk6.cc): Likewise.
7484 (CFLAGS-tst-lfschk1.c): Likewise.
7485 (CFLAGS-tst-lfschk2.c): Likewise.
7486 (CFLAGS-tst-lfschk3.c): Likewise.
7487 (CFLAGS-tst-lfschk4.cc): Likewise.
7488 (CFLAGS-tst-lfschk5.cc): Likewise.
7489 (CFLAGS-tst-lfschk6.cc): Likewise.
7491 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7492 (main): Disable -Wdeprecated-declarations around calls to
7493 register_printf_function.
7495 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7496 (do_test): Disable -Wdiv-by-zero around some calls to
7497 fwrite_unlocked and fread_unlocked.
7499 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7500 (DIAG_POP_NEEDS_COMMENT): Likewise.
7501 (_DIAG_STR1): Likewise.
7502 (_DIAG_STR): Likewise.
7503 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7504 * stdio-common/bug21.c: Include <libc-internal.h>.
7505 (do_test): Disable -Wformat around call to sscanf.
7506 * stdio-common/scanf14.c: Include <libc-internal.h>.
7507 (main): Disable -Wformat around some calls to scanf functions.
7509 2014-12-09 Torvald Riegel <triegel@redhat.com>
7511 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7513 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7515 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7516 stack variable alignment.
7518 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7521 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7522 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7523 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7524 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7525 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7526 __getrlimit instead of getrlimit.
7527 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7528 __gettimeofday instead of gettimeofday.
7529 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7531 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7533 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7534 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7536 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7537 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7539 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7541 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7542 for wide-character tests.
7544 2014-12-04 Roland McGrath <roland@hack.frob.com>
7546 * io/openat64.c: #include <libc-internal.h>
7547 (__openat64): Prototypify. Use ignore_value on MODE.
7548 * io/openat.c: Likewise.
7549 * misc/reboot.c: #include <libc-internal.h>
7550 (reboot): Prototypify. Use ignore_value on HOWTO.
7551 * misc/ptrace.c: #include <libc-internal.h>
7552 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7554 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7556 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7557 XPG4, UNIX98 and XOPEN2K.
7558 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7560 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7562 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7564 * libio/fileops.c: Use ISO C style for function definitions.
7565 * libio/iofopen.c: Likewise.
7566 * libio/wfileops.c: Likewise.
7569 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7571 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7572 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7573 (fgets_func): Function pointer to fgets and fgetws.
7574 (do_ftell_test): Add test to verify ftell value after read
7576 (do_test): Set fgets_func.
7578 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7579 O_TRUNC flag for w and w+ modes.
7580 (do_rewind_test): Likewise.
7581 (do_ftell_test): Likewise.
7582 (do_write_test): Likewise.
7585 * libio/fileops.c (do_ftell): Seek only when there are
7587 * libio/wfileops.c (do_ftell_wide): Likewise.
7588 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7590 (do_one_test): Call it.
7592 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7594 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7595 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7596 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7598 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7599 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7600 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7602 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7604 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7606 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7609 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7610 as weak alias of __getifaddrs. Use libc_hidden_weak.
7611 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7612 __freeifaddrs. Use libc_hidden_weak.
7613 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7614 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7615 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7616 __freeifaddrs. Use libc_hidden_weak.
7617 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7618 __getifaddrs and define as weak alias of __getifaddrs. Use
7620 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7621 __freeifaddrs. Use libc_hidden_weak.
7622 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7624 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7625 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7627 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7630 * sysdeps/mips/start.S (__start): Use indirect jump to call
7633 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7635 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7637 * nptl/tst-mutex1.c: Include <stdbool.h>.
7638 [!ATTR] (ATTR_NULL): New macro.
7639 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7640 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7641 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7643 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7647 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7648 Change conditional to [__USE_MISC].
7651 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7653 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7655 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7657 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7659 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7660 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7661 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7662 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7663 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7664 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7665 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7666 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7667 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7669 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7671 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7673 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7674 Remove strpbrk objects.
7675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7676 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7677 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7678 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7679 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7680 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7682 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7683 Remove strcspn objects.
7684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7685 (__libc_ifunc_impl_list): Remove strcspn implementation.
7686 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7687 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7688 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7689 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7691 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7692 Remove strspn objetcs.
7693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7694 (__libc_ifunc_impl_list): Remove strspn implementation.
7695 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7696 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7697 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7698 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7700 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7704 (mem2mem_check): Add a terminator to the chain of checking blocks.
7705 (malloc_check_get_size): Use it here.
7706 (mem2chunk_check): Ditto.
7708 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7710 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7711 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7713 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7715 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7717 * nptl/nptl-init.c: Include libc-internal.h.
7718 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7720 * elf/ldconfig.c (search_dir): Expand comment.
7722 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7724 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7726 (linknamespace-symlist-stdlibs-tests): Likewise.
7727 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7728 instead of $(objpfx)symlist-stdlibs.
7729 (linknamespace-libs-isoc): New variable.
7730 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7731 (linknamespace-libs-ISO): New variable.
7732 (linknamespace-libs-ISO99): Likewise.
7733 (linknamespace-libs-ISO11): Likewise.
7734 (linknamespace-libs-XPG3): Likewise.
7735 (linknamespace-libs-XPG4): Likewise.
7736 (linknamespace-libs-POSIX): Likewise.
7737 (linknamespace-libs-UNIX98): Likewise.
7738 (linknamespace-libs-XOPEN2K): Likewise.
7739 (linknamespace-libs-POSIX2008): Likewise.
7740 (linknamespace-libs-XOPEN2K8): Likewise.
7741 ($(objpfx)symlist-stdlibs): Replace by
7742 $(linknamespace-symlist-stdlibs-tests). Use
7743 $(linknamespace-libs-$*) as set of libraries.
7744 ($(linknamespace-header-tests)): Update dependencies. Use
7745 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7746 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7747 * conform/linknamespace.pl: Remove comment about considering
7748 definitions of symbols from irrelevant libraries.
7750 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7753 * elf/dl-tls.c: Include <atomic.h>.
7754 (oom): Remove #ifdef SHARED/#endif.
7755 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7756 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7757 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7759 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7760 * nptl/Makefile (tests): Add tst-stack4.
7761 (modules-names): Add tst-stack4mod.
7762 ($(objpfx)tst-stack4): New.
7763 (tst-stack4mod.sos): Likewise.
7764 ($(objpfx)tst-stack4.out): Likewise.
7765 ($(tst-stack4mod.sos)): Likewise.
7767 * nptl/tst-stack4.c: New file.
7768 * nptl/tst-stack4mod.c: Likewise.
7770 2014-11-27 J. Brown <jb999@gmx.de>
7772 * sysdeps/x86/bits/string.h: Add recent CPUs.
7774 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7776 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7779 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7782 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7785 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7787 * nscd/connections.c: Include libc-internal.h because of macro
7790 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7792 * string/bits/string3.h (__warn_memset_zero_len): Don't
7793 declare for gcc newer than 5.0.
7794 (memset): Don't test for zero-length __LEN for gcc newer than
7797 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7799 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7800 size_t for %zu format.
7802 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7803 difference, not %ju.
7805 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7807 * include/libc-internal.h (ignore_value): New macro.
7808 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7811 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7814 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7815 pthread_cleanup_push to void *.
7817 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7822 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7823 instead of 1L << 52.
7825 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7826 * libio/bug-rewind2.c (do_test): Likewise.
7828 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7829 * debug/test-strcpy_chk-ifunc.c: Likewise.
7830 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7831 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7832 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7833 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7834 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7835 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7836 * Rules [$(multi-arch) = no] (tests): Do not filter out
7838 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7839 * debug/Makefile (tests-ifunc): Remove variable.
7840 (tests): Do not add $(tests-ifunc).
7841 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7842 (tests): Do not add $(tests-ifunc).
7843 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7844 [TEST_IFUNC]: Remove conditionals.
7845 * string/test-string.h (TEST_IFUNC): Remove macro.
7846 [TEST_IFUNC]: Remove conditionals.
7848 * string/test-strchr.c [!WIDE] (L): New macro.
7849 [WIDE] (L): Likewise.
7850 (check1): Use CHAR instead of char. Use L on string and character
7853 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7855 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7857 * sysdeps/powerpc/bits/atomic.h
7858 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7859 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7860 (atomic_exchange_and_add_acq): Likewise.
7861 (atomic_exchange_and_add_rel): Likewise.
7862 * sysdeps/powerpc/powerpc32/bits/atomic.h
7863 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7864 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7865 * sysdeps/powerpc/powerpc64/bits/atomic.h
7866 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7867 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7869 2014-11-26 Torvald Riegel <triegel@redhat.com>
7871 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7872 Change synchronization of __sched_fifo_min_prio and
7873 __sched_fifo_max_prio.
7874 * nptl/pthread_mutexattr_getprioceiling.c
7875 (pthread_mutexattr_getprioceiling): Likewise.
7876 * nptl/pthread_mutexattr_setprioceiling.c
7877 (pthread_mutexattr_setprioceiling): Likewise.
7878 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7879 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7882 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7884 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7887 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7889 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7890 third argument const.
7892 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7894 fnmatch: work around GCC compiler warning bug with uninit var
7895 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7896 This works around a bug with x86-64 GCC 4.9.2 and earlier
7897 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7898 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7899 used uninitialized in this function [-Wmaybe-uninitialized]".
7901 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7903 * posix/bug-regex31.c (main): Return RES not 0.
7905 2014-11-25 Anton Blanchard <anton@samba.org>
7907 * sysdeps/powerpc/bits/atomic.h
7908 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7910 2014-11-24 Sterling Augustine <saugustine@google.com>
7912 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7914 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7917 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7919 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7922 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7923 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7925 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7926 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7928 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7930 * string/strncpy.c (strncpy): Improve performance by using memset.
7932 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7934 * string/strcpy.c (strcpy):
7935 Improve performance by using strlen and memcpy.
7937 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7939 * string/strcoll_l.c (get_next_seq): __always_inline.
7940 * string/strcoll_l.c (do_compare): __always_inline.
7942 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7944 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7946 * include/mqueue.h: Likewise.
7947 * include/stdlib.h: Likewise.
7949 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7950 (get_null_defines): Adjust.
7951 * sunrpc/Makefile: Adjust comment.
7952 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7953 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7954 (CFLAGS-interp.c): Likewise.
7955 (CFLAGS-ldconfig.c): Likewise.
7956 (CPPFLAGS-.os): Likewise.
7957 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7958 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7959 * extra-modules.mk (extra-modules.mk): Likewise.
7960 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7961 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7962 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7963 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7964 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7965 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7966 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7967 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7968 * iconvdata/Makefile (CPPFLAGS): Likewise.
7969 (cpp-srcs-left): Add libof for all iconvdata routines.
7970 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7971 * include/assert.h: Likewise.
7972 * include/ctype.h: Likewise.
7973 * include/errno.h: Likewise.
7974 * include/libc-symbols.h: Likewise.
7975 * include/math.h: Likewise.
7976 * include/netdb.h: Likewise.
7977 * include/resolv.h: Likewise.
7978 * include/stdio.h: Likewise.
7979 * include/stdlib.h: Likewise.
7980 * include/string.h: Likewise.
7981 * include/sys/stat.h: Likewise.
7982 * include/wctype.h: Likewise.
7983 * intl/l10nflist.c: Likewise.
7984 * libidn/idn-stub.c: Likewise.
7985 * libio/libioP.h: Likewise.
7986 * nptl/libc_multiple_threads.c: Likewise.
7987 * nptl/pthreadP.h: Likewise.
7988 * posix/regex_internal.h: Likewise.
7989 * resolv/res_hconf.c: Likewise.
7990 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7991 * sysdeps/arm/memmove.S: Likewise.
7992 * sysdeps/arm/sysdep.h: Likewise.
7993 * sysdeps/generic/_itoa.h: Likewise.
7994 * sysdeps/generic/symbol-hacks.h: Likewise.
7995 * sysdeps/gnu/errlist.awk: Likewise.
7996 * sysdeps/gnu/errlist.c: Likewise.
7997 * sysdeps/i386/i586/memcpy.S: Likewise.
7998 * sysdeps/i386/i586/memset.S: Likewise.
7999 * sysdeps/i386/i686/memcpy.S: Likewise.
8000 * sysdeps/i386/i686/memmove.S: Likewise.
8001 * sysdeps/i386/i686/mempcpy.S: Likewise.
8002 * sysdeps/i386/i686/memset.S: Likewise.
8003 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8004 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8005 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8006 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8007 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8008 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8009 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8010 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8011 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8013 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8014 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8015 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8016 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8017 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8018 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8019 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8020 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8021 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8022 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8023 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8024 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8025 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8026 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8027 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8029 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8030 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8031 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8032 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8033 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8034 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8037 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8039 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8040 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8041 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8043 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8044 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8047 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8048 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8049 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8050 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8052 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8053 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8054 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8055 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8057 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8058 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8059 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8060 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8061 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8062 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8063 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8064 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8065 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8066 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8067 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8068 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8069 * sysdeps/posix/closedir.c: Likewise.
8070 * sysdeps/posix/opendir.c: Likewise.
8071 * sysdeps/posix/readdir.c: Likewise.
8072 * sysdeps/posix/rewinddir.c: Likewise.
8073 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8074 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8075 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8076 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8077 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8078 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8079 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8082 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8084 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8085 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8086 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8087 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8088 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8089 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8090 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8091 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8092 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8093 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8094 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8095 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8096 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8097 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8098 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8099 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8100 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8101 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8109 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8110 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8111 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8112 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8113 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8114 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8115 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8117 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8118 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8119 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8120 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8121 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8122 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8123 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8124 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8125 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8126 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8127 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8128 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8129 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8130 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8131 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8132 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8133 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8134 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8135 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8136 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8137 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8138 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8139 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8140 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8141 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8142 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8143 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8144 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8145 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8146 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8147 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8148 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8149 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8150 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8151 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8152 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8153 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8154 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8155 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8156 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8157 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8158 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8159 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8160 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8161 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8162 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8163 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8164 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8165 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8169 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8171 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8172 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8173 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8174 * sysdeps/unix/alpha/sysdep.S: Likewise.
8175 * sysdeps/unix/alpha/sysdep.h: Likewise.
8176 * sysdeps/unix/make-syscalls.sh: Likewise.
8177 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8179 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8180 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8181 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8182 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8183 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8184 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8185 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8186 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8187 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8188 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8189 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8190 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8191 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8192 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8193 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8194 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8195 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8196 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8197 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8198 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8199 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8200 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8201 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8202 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8206 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8207 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8210 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8211 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8215 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8216 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8217 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8218 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8219 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8220 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8224 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8227 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8228 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8229 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8230 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8231 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8232 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8233 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8235 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8236 * sysdeps/x86_64/memcpy.S: Likewise.
8237 * sysdeps/x86_64/memmove.c: Likewise.
8238 * sysdeps/x86_64/memset.S: Likewise.
8239 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8240 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8241 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8242 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8243 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8246 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8247 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8248 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8249 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8250 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8251 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8252 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8253 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8254 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8256 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8257 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8258 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8260 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8261 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8263 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8264 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8265 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8266 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8267 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8268 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8269 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8270 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8271 * sysdeps/x86_64/strcmp.S: Likewise.
8273 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8275 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8276 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8277 * elf/rtld-Rules: Likewise.
8278 * elf/setup-vdso.h: Likewise.
8279 * include/assert.h: Likewise.
8280 * include/bits/stdlib-float.h: Likewise.
8281 * include/errno.h: Likewise.
8282 * include/sys/stat.h: Likewise.
8283 * include/unistd.h: Likewise.
8284 * sysdeps/aarch64/setjmp.S: Likewise.
8285 * sysdeps/alpha/setjmp.S: Likewise.
8286 * sysdeps/arm/__longjmp.S: Likewise.
8287 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8288 * sysdeps/arm/setjmp.S: Likewise.
8289 * sysdeps/arm/sysdep.h: Likewise.
8290 * sysdeps/generic/_itoa.h: Likewise.
8291 * sysdeps/generic/dl-sysdep.h: Likewise.
8292 * sysdeps/generic/ldsodefs.h: Likewise.
8293 * sysdeps/i386/dl-tls.h: Likewise.
8294 * sysdeps/i386/setjmp.S: Likewise.
8295 * sysdeps/m68k/setjmp.c: Likewise.
8296 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8297 * sysdeps/mach/hurd/opendir.c: Likewise.
8298 * sysdeps/posix/getcwd.c: Likewise.
8299 * sysdeps/posix/opendir.c: Likewise.
8300 * sysdeps/posix/profil.c: Likewise.
8301 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8302 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8303 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8305 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8306 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8307 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8308 * sysdeps/s390/dl-tls.h: Likewise.
8309 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8310 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8311 * sysdeps/sh/sh3/setjmp.S: Likewise.
8312 * sysdeps/sh/sh4/setjmp.S: Likewise.
8313 * sysdeps/unix/alpha/sysdep.h: Likewise.
8314 * sysdeps/unix/arm/sysdep.S: Likewise.
8315 * sysdeps/unix/i386/sysdep.S: Likewise.
8316 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8317 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8318 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8319 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8320 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8321 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8322 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8323 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8324 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8325 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8326 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8327 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8328 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8331 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8334 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8335 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8336 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8339 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8340 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8341 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8343 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8344 * sysdeps/x86_64/setjmp.S: Likewise.
8346 * include/math.h: Use IS_IN instead of IS_IN_libm.
8347 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8359 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8367 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8368 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8369 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8370 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8371 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8372 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8374 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8375 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8376 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8377 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8378 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8379 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8390 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8391 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8392 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8393 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8394 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8395 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8401 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8402 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8403 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8404 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8406 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8407 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8408 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8409 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8410 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8411 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8412 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8413 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8414 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8416 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8418 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8419 * nptl/pthreadP.h: Likewise.
8420 * nptl_db/structs.def: Likewise.
8421 * sysdeps/arm/sysdep.h: Likewise.
8422 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8423 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8424 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8425 * sysdeps/unix/alpha/sysdep.h: Likewise.
8426 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8428 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8429 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8430 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8431 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8433 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8434 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8435 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8436 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8437 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8438 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8439 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8444 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8447 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8448 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8449 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8451 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8453 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8454 * nptl/pthreadP.h: Likewise.
8455 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8456 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8457 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8458 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8459 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8460 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8461 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8462 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8463 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8464 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8465 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8466 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8473 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8476 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8477 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8478 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8480 * dlfcn/dladdr.c: Use IS_IN.
8481 * dlfcn/dladdr1.c: Likewise.
8482 * dlfcn/dlclose.c: Likewise.
8483 * dlfcn/dlerror.c: Likewise.
8484 * dlfcn/dlinfo.c: Likewise.
8485 * dlfcn/dlmopen.c: Likewise.
8486 * dlfcn/dlopen.c: Likewise.
8487 * dlfcn/dlsym.c: Likewise.
8488 * dlfcn/dlvsym.c: Likewise.
8490 * include/ifaddrs.h: Use IS_IN.
8491 * inet/check_pf.c: Likewise.
8492 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8493 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8495 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8497 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8498 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8500 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8501 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8504 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8506 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8507 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8508 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8509 * include/libc-symbols.h (IS_IN_LIB): New macro.
8510 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8511 * include/netdb.h: Likewise.
8512 * include/stap-probe.h: Remove all uses of IN_LIB.
8514 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8515 instead of IN_MODULE.
8516 * include/libc-symbols.h (IN_MODULE): Define using
8518 (PASTE_NAME, PASTE_NAME1): New macros.
8519 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8521 (STAP_PROBE_ASM): Likewise.
8523 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8525 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8526 __mach_init in dlopened libc.
8528 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8530 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8531 * sysdeps/arm/preconfigure: Regenerate.
8533 2014-11-21 Roland McGrath <roland@hack.frob.com>
8535 * nptl/pthread_create.c (__pthread_create_2_1): Set
8536 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8537 when copying values from IATTR into PD.
8539 2014-11-21 Will Newton <will.newton@linaro.org>
8540 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8542 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8543 Refactor inline-asm. Also add comment.
8545 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8546 ElfW macro instead of hardcoded Elf64 types.
8547 (la_aarch64_gnu_pltenter): Likewise.
8548 * sysdeps/aarch64/dl-machine.h
8549 (elf_machine_runtime_setup): Use ElfW(Addr).
8551 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8552 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8553 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8554 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8555 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8556 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8557 (R_AARCH64_TLS_DTPMOD): This.
8558 (R_AARCH64_TLS_DTPREL64): Rename to ...
8559 (R_AARCH64_TLS_DTPREL): This.
8560 (R_AARCH64_TLS_TPREL64): Rename to ...
8561 (R_AARCH64_TLS_TPREL): This.
8562 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8563 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8564 R_AARCH64_TLS_TPREL64.
8565 (elf_machine_rela): Likewise.
8567 2014-11-21 Torvald Riegel <triegel@redhat.com>
8569 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8570 by setting it to 0. 64b atomics are not supported currently.
8572 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8575 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8576 search domain names.
8578 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8582 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8584 * posix/tst-getaddrinfo5.c: New.
8585 * posix/Makefile (tests): Add it.
8587 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8591 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8592 after parsing line but before break_if_match.
8593 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8594 if there is a protocol mismatch.
8596 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8598 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8599 because the potential race is on the user-supplied stream.
8601 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8603 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8604 string literal if not passed a buffer.
8605 * manual/job.texi (ctermid): Update reasoning, note deviation
8606 from posix, suggest mtasurace when not passed a buffer, for
8607 future non-preliminary safety notes.
8609 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8611 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8612 of not passing it a buffer.
8613 Reported by Peng Haitao.
8615 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8617 * manual/Makefile ($(objpfx)stamp-summary): Require
8618 check-safety.sh to pass.
8619 * manual/check-safety.sh: Wish for verification that every
8620 @deftypefn and @deftypefun is followed by a @safety remark.
8622 2014-11-20 Roland McGrath <roland@hack.frob.com>
8624 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8626 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8627 PTHREAD_CANCEL_ASYNCHRONOUS.
8628 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8631 * nptl/default-sched.h: New file.
8632 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8633 * nptl/pthread_create.c: Include it.
8634 (__pthread_create_2_1): Use collect_default_sched instead of making
8635 Linux syscalls here directly.
8637 2014-11-20 Torvald Riegel <triegel@redhat.com>
8639 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8640 __pthread_once): Use C11 atomics.
8642 2014-11-20 Torvald Riegel <triegel@redhat.com>
8644 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8646 2014-11-20 Torvald Riegel <triegel@redhat.com>
8648 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8649 atomic_thread_fence_acquire, atomic_thread_fence_release,
8650 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8651 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8652 atomic_compare_exchange_weak_relaxed,
8653 atomic_compare_exchange_weak_acquire,
8654 atomic_compare_exchange_weak_release,
8655 atomic_exchange_acquire, atomic_exchange_release,
8656 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8657 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8658 atomic_fetch_and_acquire,
8659 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8661 2014-11-20 Torvald Riegel <triegel@redhat.com>
8663 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8664 USE_ATOMIC_COMPILER_BUILTINS): Define.
8665 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8667 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8669 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8670 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8671 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8672 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8673 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8675 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8677 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8678 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8679 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8681 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8683 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8684 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8685 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8687 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8689 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8691 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8693 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8694 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8695 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8696 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8697 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8699 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8700 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8701 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8702 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8703 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8704 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8706 2014-11-19 Roland McGrath <roland@hack.frob.com>
8708 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8709 the sched_priority value here. It was already checked when the user
8710 called pthread_attr_setschedparam.
8712 * nptl/tst-bad-schedattr.c: New file.
8713 * nptl/Makefile (tests): Add it.
8715 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8716 Florian Weimer <fweimer@redhat.com>
8717 Joseph Myers <joseph@codesourcery.com>
8718 Adam Conrad <adconrad@0c3.net>
8719 Andreas Schwab <schwab@suse.de>
8720 Brooks <bmoses@google.com>
8723 * wordexp-test.c (__dso_handle): Add prototype.
8724 (__register_atfork): Likewise.
8725 (__app_register_atfork): New function.
8726 (registered_forks): New global.
8727 (register_fork): New function.
8728 (test_case): Add 3 new tests for WRDE_CMDSUB.
8729 (main): Call __app_register_atfork.
8730 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8731 fork count is non-zero fail the test.
8732 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8734 (parse_dollars): Remove check for WRDE_NOCMD.
8735 (parse_dquote): Likewise.
8737 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8739 * Makeconfig (built-modules): List non-library modules to be
8741 (module-cppflags): Include libc-modules.h for
8742 everything except shlib-versions.v.i.
8744 (before-compile): Add libc-modules.h.
8745 ($(common-objpfx)libc-modules.h,
8746 $(common-objpfx)libc-modules.stmp): New targets.
8747 (common-generated): Add libc-modules.h and libc-modules.stmp.
8748 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8749 * include/libc-symbols.h: Don't include libc-modules.h.
8750 * include/libc-modules.h: Remove file.
8751 * scripts/gen-libc-modules.awk: New script to generate
8753 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8754 Depend on libc-modules.stmp.
8756 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8758 * Makeconfig (in-module): Get value of libof set for the
8760 (CPPFLAGS): Use $(in-module).
8761 * Makerules: Don't suffix routine names for nonlib.
8762 * include/libc-modules.h: New file.
8763 * include/libc-symbols.h: Include libc-modules.h
8764 (IS_IN): New macro to replace IS_IN_* macros.
8765 * elf/Makefile: Set libof-* for each routine.
8766 * elf/rtld-Rules: Likewise.
8767 * extra-modules.mk: Likewise.
8768 * iconv/Makefile: Likewise.
8769 * iconvdata/Makefile: Likewise.
8770 * locale/Makefile: Likewise.
8771 * malloc/Makefile: Likewise.
8772 * nss/Makefile: Likewise.
8773 * sysdeps/gnu/Makefile: Likewise.
8774 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8775 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8776 * sysdeps/s390/s390-64/Makefile: Likewise.
8777 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8778 CPPFLAGS for nscd instead of nonlib.
8780 2014-11-18 Roland McGrath <roland@hack.frob.com>
8782 * nptl/createthread.c: New file.
8784 * nptl/createthread.c: Moved ...
8785 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8787 * nptl/createthread.c: Add proper top-line comment.
8788 (do_clone): Folded into ...
8789 (create_thread): ... here. Take new arguments STOPPED_START and
8790 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8791 increment __nptl_threads, do event-reporting logic, do
8792 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8793 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8794 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8795 just send SIGCANCEL.
8796 * nptl/pthread_create.c: Forward-declare create_thread before
8797 including createthread.c.
8798 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8799 declaration, and new macro START_THREAD_SELF to replace argument.
8800 Remove return statement.
8801 (report_thread_creation): New function.
8802 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8803 synchronization logic, and __nptl_nthreads increment here, around
8804 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8805 PD->parent_cancelhandling here, before create_thread. When
8806 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8807 __deallocate_stack, and ENOMEM translation here.
8809 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8812 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8813 (mptwo): Rename to __mptwo.
8814 (__inv): Use __mptwo instead of mptwo.
8815 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8816 (mptwo): Rename to __mptwo.
8817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8818 of mpone and __mptwo instead of mptwo.
8819 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8822 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8823 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8824 of mpone and __mptwo instead of mptwo.
8825 (__mpranred): Use __mpone instead of mpone.
8826 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8828 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8829 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8830 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8831 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8832 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8833 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8834 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8835 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8836 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8837 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8838 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8839 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8840 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8841 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8842 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8843 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8844 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8845 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8846 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8848 2014-11-18 Tom de Vries <tom@codesoucery.com>
8850 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8851 replace BSD Handler xref with BSD Signal Handling.
8853 2014-11-17 Richard Henderson <rth@redhat.com>
8855 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8856 (_FP_PACK_RAW_2): Remove.
8857 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8858 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8859 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8860 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8861 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8862 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8863 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8864 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8865 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8866 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8867 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8868 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8869 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8870 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8871 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8872 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8874 2014-11-14 Roland McGrath <roland@hack.frob.com>
8876 * signal/signal.h [__USE_MISC]
8877 (struct sigvec): Remove type.
8878 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8879 (sigvec): Remove declaration.
8880 * sysdeps/posix/sigvec.c: Moved ...
8881 * signal/sigvec.c: ... here, replacing old file.
8882 (struct sigvec): New type, copied from old signal.h definition.
8883 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8884 (__sigvec): Convert definition to prototype.
8885 (sigvec): Replace weak_alias with compat_symbol.
8886 * signal/Versions (libc: GLIBC_2.21): New version set.
8887 * include/signal.h: Remove __sigvec declaration.
8888 * sysdeps/unix/bsd/sigvec.c: Remove file.
8889 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8890 * manual/signal.texi (BSD Handler): Remove subsection.
8891 Move siginterrupt up to ...
8892 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8893 (Blocking in BSD): Fold subsection into its parent.
8894 * NEWS: Mention sigvec removal.
8896 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8898 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8899 (DLA_FMS): Make definition conditional only on [__FMA4__].
8900 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8903 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8904 Make definition conditional only on [PROF].
8905 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8907 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8908 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8910 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8912 * include/signal.h (__sigpause): Move declaration above call to
8914 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8916 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8917 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8919 2014-11-14 David S. Miller <davem@davemloft.net>
8921 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8922 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8924 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8926 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8927 * configure: Regenerated.
8928 * manual/install.texi (Tools for Compilation): Document a
8929 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8930 compiler verified to work.
8931 * INSTALL: Regenerated.
8933 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8934 redeclare with asm name.
8935 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8936 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8937 including <string.h>.
8938 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8940 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8941 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8942 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8943 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8944 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8946 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8948 * stdlib/strtol.c (__strtol): Use prototype definition.
8951 * stdlib/strtol.c (SYM__): New macro.
8953 (__strtol): Likewise.
8954 (strtol): Rename to __strtol and define as weak alias of
8955 __strtol. Use libc_hidden_weak.
8957 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8959 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8960 Use numbered labels in inline assembly.
8962 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8964 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8965 Add setjmp LIBC_PROBE.
8966 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8968 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8969 Add longjmp, longjmp_target LIBC_PROBE.
8970 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8973 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8975 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8976 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8977 to get rid of unused variable warning.
8979 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8981 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8982 Check for unwind_backtrace == NULL only in SHARED case.
8983 (__backchain_backtrace): Compile only in SHARED case.
8984 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8986 (__backchain_backtrace): Declare as static.
8988 2014-11-12 Roland McGrath <roland@hack.frob.com>
8990 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8991 (__libc_multiple_threads_ptr): Variable moved ...
8992 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8994 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8996 * conform/GlibcConform.pm: New file.
8997 * conform/conformtest.pl: Use GlibcConform module.
8998 * conform/linknamespace.pl: New file.
8999 * conform/list-header-symbols.pl: Likewise.
9000 * conform/Makefile (linknamespace-symlists-base): New variable.
9001 (linknamespace-symlists-tests): Likewise.
9002 (linknamespace-header-base): Likewise.
9003 (linknamespace-header-tests): Likewise.
9004 (tests-special): Add new tests.
9005 ($(linknamespace-symlists-tests)): New rule.
9006 (linknamespace-libs): New variable.
9007 ($(objpfx)symlist-stdlibs): New rule.
9008 ($(linknamespace-header-tests)): Likewise.
9009 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9010 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9011 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9012 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9013 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9014 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9015 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9016 (test-xfail-ISO/math.h/linknamespace): Likewise.
9017 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9018 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9019 (test-xfail-ISO/time.h/linknamespace): Likewise.
9020 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9021 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9022 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9023 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9024 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9025 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9026 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9027 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9028 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9029 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9030 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9031 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9032 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9033 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9034 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9035 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9036 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9037 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9038 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9039 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9040 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9041 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9042 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9043 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9044 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9045 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9046 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9047 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9048 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9049 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9050 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9051 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9052 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9053 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9054 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9055 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9056 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9057 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9058 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9059 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9060 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9061 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9062 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9063 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9064 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9065 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9066 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9067 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9068 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9069 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9070 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9071 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9072 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9073 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9074 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9075 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9076 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9077 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9078 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9079 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9080 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9081 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9082 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9083 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9084 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9085 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9086 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9087 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9088 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9089 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9090 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9091 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9092 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9093 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9094 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9095 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9096 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9097 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9098 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9099 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9100 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9101 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9102 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9103 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9104 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9105 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9106 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9107 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9108 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9109 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9110 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9111 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9112 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9113 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9114 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9115 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9116 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9117 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9118 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9119 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9120 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9121 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9122 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9123 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9124 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9125 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9126 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9127 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9128 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9129 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9130 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9131 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9132 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9133 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9134 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9135 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9136 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9137 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9138 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9139 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9140 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9141 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9142 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9143 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9144 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9145 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9146 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9147 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9148 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9149 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9150 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9151 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9152 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9153 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9154 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9155 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9156 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9157 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9158 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9159 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9160 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9161 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9162 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9163 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9164 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9165 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9166 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9167 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9168 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9169 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9172 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9176 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9177 (memmem): Rename to __memmem and define as weak alias of
9178 __memmem. Use libc_hidden_weak.
9179 (__memmem): Use libc_hidden_def.
9180 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9181 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9185 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9186 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9187 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9188 and define as weak alias of __fgets_unlocked. Use
9190 (__fgets_unlocked): Use libc_hidden_def.
9191 * include/stdio.h (__fgets_unlocked): Declare. Use
9193 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9194 __fgets_unlocked instead of fgets_unlocked.
9195 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9196 (GET_NPROCS_CONF_PARSER): Likewise.
9197 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9198 (GET_NPROCS_CONF_PARSER): Likewise.
9201 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9202 weak alias of __wmemset. Use libc_hidden_weak.
9203 (__wmemset): Use libc_hidden_def.
9204 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9205 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9209 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9210 with asm name __mempcpy.
9211 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9214 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9215 and define as weak alias of __rawmemchr.
9216 (__rawmemchr): Do not define as strong alias of rawmemchr.
9219 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9221 (qsort): Call __qsort_r instead of qsort_r.
9222 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9223 (__qsort_r): Declare. Call libc_hidden_proto.
9224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9226 * nscd/gai.c (__qsort_r): Define to qsort_r.
9227 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9228 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9229 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9232 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9233 define as weak alias of __malloc_info.
9236 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9237 as weak alias of __rewinddir. Don't use libc_hidden_def.
9238 (__rewinddir): Use libc_hidden_def.
9239 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9240 as weak alias of __rewinddir. Don't use libc_hidden_def.
9241 (__rewinddir): Use libc_hidden_def.
9242 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9243 weak alias of __rewinddir. Don't use libc_hidden_def.
9244 (__rewinddir): Use libc_hidden_def.
9245 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9246 (__rewinddir): Use libc_hidden_proto.
9247 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9249 (__getcwd): Use __rewinddir instead of rewinddir.
9252 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9253 alias of __fileno. Use libc_hidden_weak.
9254 (__fileno): Use libc_hidden_def.
9255 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9256 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9258 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9260 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9261 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9263 (fread_unlocked): Don't use libc_hidden_ver.
9264 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9265 and define as weak alias of __fread_unlocked. Don't use
9267 (__fread_unlocked): Use libc_hidden_def.
9268 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9269 (ftello): Don't use libc_hidden_proto.
9270 (__ftello): Declare. Use libc_hidden_proto.
9271 (fread_unlocked): Don't use libc_hidden_proto.
9272 (__fread_unlocked): Declare. Use libc_hidden_proto.
9273 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9274 and __ftello instead of fileno, fread_unlocked and ftello.
9276 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9278 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9280 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9282 (_dl_start_user): Likewise.
9283 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9285 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9286 Siddhesh Poyarekar <siddhesh@redhat.com>
9288 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9289 Move argv and envp down instead of moving argc up.
9290 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9292 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9295 * test-skeleton.c (main): Return successful if one of
9296 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9297 * string/tst-strcoll-overflow.c: Define expected status.
9299 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9302 * locale/iso-639.def: Define Bhili and Tulu language codes.
9304 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9306 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9308 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9311 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9313 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9315 * configure.ac: Updated check of minimal required version to
9317 * manual/install.texi (Tools for Compilation): Updated version
9319 * configure: Regenerated.
9320 * INSTALL: Likewise.
9322 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9324 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9327 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9329 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9330 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9331 (__waitpid): Don't define as alias. Use libc_hidden_def not
9333 (waitpid): Define as alias of __waitpid.
9334 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9336 (__waitpid): Don't define as alias. Use libc_hidden_def not
9338 (waitpid): Define as alias of __waitpid.
9339 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9340 __libc_waitpid alias.
9341 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9342 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9344 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9345 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9346 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9348 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9350 (__waitpid): Don't define as alias. Use libc_hidden_def not
9352 (waitpid): Define as alias of __waitpid.
9354 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9356 * manual/llio.texi: Add comment that write safety has been
9359 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9360 (localplt-build-dso): Add elf/ld.so.
9361 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9362 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9365 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9370 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9371 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9372 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9373 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9374 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9375 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9376 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9377 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9378 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9379 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9380 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9382 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9385 * include/libc-symbols.h (INTUSE): Remove macro.
9387 (INTVARDEF): Likewise.
9388 (_INTVARDEF): Likewise.
9389 (INTDEF2): Likewise.
9390 (INTVARDEF2): Likewise.
9391 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9392 rtld_hidden_def instead of INTVARDEF.
9393 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9394 (_dl_starting_up_internal): Remove declaration.
9395 (_dl_starting_up): Use rtld_hidden_proto.
9396 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9398 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9399 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9401 * elf/dl-writev.h (_dl_writev): Likewise.
9402 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9403 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9404 _dl_starting_up_internal.
9406 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9408 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9411 2014-11-05 Will Newton <will.newton@linaro.org>
9413 * benchtests/Makefile: (bench-malloc): Add malloc thread
9414 scalability benchmark.
9415 * benchtests/bench-malloc-threads.c: New file.
9417 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9419 * sysdeps/aarch64/strchrnul.S: New file.
9421 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9423 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9425 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9427 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9431 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9433 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9436 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9438 * catgets/test-gencat.c: Use test-skeleton.c.
9439 * catgets/tst-catgets.c: Likewise.
9440 * csu/tst-empty.c: Likewise.
9441 * elf/tst-audit2.c: Likewise.
9442 * elf/tst-global1.c: Likewise.
9443 * elf/tst-pathopt.c: Likewise.
9444 * elf/tst-piemod1.c: Likewise.
9445 * elf/tst-tls10.c: Likewise.
9446 * elf/tst-tls11.c: Likewise.
9447 * elf/tst-tls12.c: Likewise.
9448 * gnulib/tst-gcc.c: Likewise.
9449 * iconvdata/tst-e2big.c: Likewise.
9450 * iconvdata/tst-loading.c: Likewise.
9451 * iconv/tst-iconv1.c: Likewise.
9452 * iconv/tst-iconv2.c: Likewise.
9453 * inet/test-inet6_opt.c: Likewise.
9454 * inet/tst-gethnm.c: Likewise.
9455 * inet/tst-network.c: Likewise.
9456 * inet/tst-ntoa.c: Likewise.
9457 * intl/tst-codeset.c: Likewise.
9458 * intl/tst-gettext2.c: Likewise.
9459 * intl/tst-gettext3.c: Likewise.
9460 * intl/tst-ngettext.c: Likewise.
9461 * intl/tst-translit.c: Likewise.
9462 * io/test-stat.c: Likewise.
9463 * libio/test-fmemopen.c: Likewise.
9464 * libio/tst-freopen.c: Likewise.
9465 * libio/tst-sscanf.c: Likewise.
9466 * libio/tst-ungetwc1.c: Likewise.
9467 * libio/tst-ungetwc2.c: Likewise.
9468 * libio/tst-widetext.c: Likewise.
9469 * localedata/tst-ctype.c: Likewise.
9470 * localedata/tst-digits.c: Likewise.
9471 * localedata/tst-leaks.c: Likewise.
9472 * localedata/tst-mbswcs1.c: Likewise.
9473 * localedata/tst-mbswcs2.c: Likewise.
9474 * localedata/tst-mbswcs3.c: Likewise.
9475 * localedata/tst-mbswcs4.c: Likewise.
9476 * localedata/tst-mbswcs5.c: Likewise.
9477 * localedata/tst-setlocale.c: Likewise.
9478 * localedata/tst-trans.c: Likewise.
9479 * localedata/tst-wctype.c: Likewise.
9480 * localedata/tst-xlocale1.c: Likewise.
9481 * login/tst-grantpt.c: Likewise.
9482 * malloc/tst-calloc.c: Likewise.
9483 * malloc/tst-malloc.c: Likewise.
9484 * malloc/tst-mallocstate.c: Likewise.
9485 * malloc/tst-mcheck.c: Likewise.
9486 * malloc/tst-mtrace.c: Likewise.
9487 * malloc/tst-obstack.c: Likewise.
9488 * math/atest-exp2.c: Likewise.
9489 * math/atest-exp.c: Likewise.
9490 * math/atest-sincos.c: Likewise.
9491 * math/test-matherr.c: Likewise.
9492 * math/test-misc.c: Likewise.
9493 * math/test-powl.c: Likewise.
9494 * math/tst-definitions.c: Likewise.
9495 * misc/tst-dirname.c: Likewise.
9496 * misc/tst-efgcvt.c: Likewise.
9497 * misc/tst-fdset.c: Likewise.
9498 * misc/tst-hsearch.c: Likewise.
9499 * misc/tst-mntent2.c: Likewise.
9500 * nptl/tst-sem7.c: Likewise.
9501 * nptl/tst-sem8.c: Likewise.
9502 * nptl/tst-sem9.c: Likewise.
9503 * nss/test-netdb.c: Likewise.
9504 * posix/tst-fnmatch.c: Likewise.
9505 * posix/tst-getlogin.c: Likewise.
9506 * posix/tst-gnuglob.c: Likewise.
9507 * posix/tst-mmap.c: Likewise.
9508 * pwd/tst-getpw.c: Likewise.
9509 * resolv/tst-inet_ntop.c: Likewise.
9510 * rt/tst-timer.c: Likewise.
9511 * stdio-common/test-fseek.c: Likewise.
9512 * stdio-common/test-popen.c: Likewise.
9513 * stdio-common/test-vfprintf.c: Likewise.
9514 * stdio-common/tst-cookie.c: Likewise.
9515 * stdio-common/tst-fileno.c: Likewise.
9516 * stdio-common/tst-gets.c: Likewise.
9517 * stdio-common/tst-obprintf.c: Likewise.
9518 * stdio-common/tst-perror.c: Likewise.
9519 * stdio-common/tst-sprintf2.c: Likewise.
9520 * stdio-common/tst-sprintf3.c: Likewise.
9521 * stdio-common/tst-sprintf.c: Likewise.
9522 * stdio-common/tst-swprintf.c: Likewise.
9523 * stdio-common/tst-tmpnam.c: Likewise.
9524 * stdio-common/tst-unbputc.c: Likewise.
9525 * stdio-common/tst-wc-printf.c: Likewise.
9526 * stdlib/tst-environ.c: Likewise.
9527 * stdlib/tst-fmtmsg.c: Likewise.
9528 * stdlib/tst-limits.c: Likewise.
9529 * stdlib/tst-rand48-2.c: Likewise.
9530 * stdlib/tst-rand48.c: Likewise.
9531 * stdlib/tst-random2.c: Likewise.
9532 * stdlib/tst-random.c: Likewise.
9533 * stdlib/tst-strtol.c: Likewise.
9534 * stdlib/tst-strtoll.c: Likewise.
9535 * stdlib/tst-tls-atexit.c: Likewise.
9536 * stdlib/tst-xpg-basename.c: Likewise.
9537 * string/test-ffs.c: Likewise.
9538 * string/tst-bswap.c: Likewise.
9539 * string/tst-inlcall.c: Likewise.
9540 * string/tst-strtok.c: Likewise.
9541 * string/tst-strxfrm.c: Likewise.
9542 * sysdeps/x86_64/tst-audit10.c: Likewise.
9543 * sysdeps/x86_64/tst-audit3.c: Likewise.
9544 * sysdeps/x86_64/tst-audit4.c: Likewise.
9545 * sysdeps/x86_64/tst-audit5.c: Likewise.
9546 * time/tst-ftime_l.c: Likewise.
9547 * time/tst-getdate.c: Likewise.
9548 * time/tst-mktime3.c: Likewise.
9549 * time/tst-mktime.c: Likewise.
9550 * time/tst-posixtz.c: Likewise.
9551 * time/tst-strptime2.c: Likewise.
9552 * time/tst-strptime3.c: Likewise.
9553 * wcsmbs/tst-btowc.c: Likewise.
9554 * wcsmbs/tst-mbrtowc.c: Likewise.
9555 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9556 * wcsmbs/tst-wchar-h.c: Likewise.
9557 * wcsmbs/tst-wcpncpy.c: Likewise.
9558 * wcsmbs/tst-wcrtomb.c: Likewise.
9559 * wcsmbs/tst-wcsnlen.c: Likewise.
9560 * wcsmbs/tst-wcstof.c: Likewise.
9562 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9565 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9567 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9569 (_dl_mcount): Use rtld_hidden_proto.
9570 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9572 * elf/rtld.c (_rtld_global_ro): Likewise.
9575 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9576 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9577 of _dl_init_internal.
9578 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9579 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9580 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9581 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9582 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9583 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9584 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9585 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9586 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9587 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9588 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9589 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9590 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9591 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9592 * sysdeps/tile/dl-start.S (_start): Likewise.
9593 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9594 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9597 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9598 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9599 (rtld_progname): Make macro definition unconditional.
9600 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9602 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9603 (dl_main): Likewise.
9604 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9605 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9606 instead of _dl_argv_internal.
9607 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9608 __GI__dl_argv instead of INTUSE(_dl_argv).
9609 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9610 __GI__dl_argv instead of _dl_argv_internal.
9612 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9613 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9615 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9616 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9618 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9619 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9621 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9622 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9624 2014-11-04 Andreas Schwab <schwab@suse.de>
9626 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9628 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9630 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9631 mtvsrd instruction in binary form.
9633 2014-11-03 Andreas Schwab <schwab@suse.de>
9636 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9637 for less than MB_LEN_MAX use a local buffer of that size.
9638 * libio/tst-fputws.c: New file.
9639 * libio/Makefile (tests): Add tst-fputws.
9641 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9643 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9644 the size of the fpu_fr.fpu_dregs[] array.
9646 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9648 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9649 (__nanosleep): Do not define as alias.
9650 (nanosleep): Define as alias of __nanosleep.
9651 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9652 __libc_nanosleep name.
9654 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9656 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9657 install.texi in comment.
9659 2014-10-31 Torvald Riegel <triegel@redhat.com>
9661 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9662 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9663 ... add here and use lwsync or sync ...
9664 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9665 ... and add here using lwsync.
9667 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9669 * elf/dl-machine-reject-phdr.h: New file.
9670 * elf/dl-load.c: #include that.
9671 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9672 if that returned true.
9674 2014-10-31 Roland McGrath <roland@hack.frob.com>
9677 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9678 gen-as-const-headers chunk. Add a big scare comment after the last
9679 safe place to touch before-compile.
9681 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9683 * manual/install.texi (Tools for Compilation): Update autoconf
9684 version requirements.
9685 * INSTALL: Regenerated.
9687 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9688 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9689 (__libc_pselect): Likewise.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9697 2014-10-31 Torvald Riegel <triegel@redhat.com>
9699 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9700 correct barrier instruction.
9701 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9703 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9706 2014-10-30 Roland McGrath <roland@hack.frob.com>
9708 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9709 after defining inlines. Instead, just use parens to defeat macro
9710 expansion of __isctype in its declaration.
9712 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9714 * include/sys/uio.h (__libc_readv): Remove declaration.
9715 (__libc_writev): Likewise.
9716 * misc/readv.c (__libc_readv): Rename to __readv.
9717 (__readv): Do not define as alias.
9718 (readv): Define as alias of __readv.
9719 * misc/writev.c (__libc_writev): Rename to __writev.
9720 (__writev): Do not define as alias.
9721 (writev): Define as alias of __writev.
9722 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9723 (__readv): Do not define as alias.
9724 (readv): Define unconditionally as alias of __readv.
9725 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9726 (__writev): Do not define as alias.
9727 (writev): Define unconditionally as alias of __writev.
9728 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9730 (writev): Do not define __libc_writev name.
9732 2014-10-30 Roland McGrath <roland@hack.frob.com>
9734 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9735 (convert_charseq): New function, broken out of ...
9736 (use_from_charmap): ... here. Call it.
9737 (use_to_charmap): Use convert_charseq and free instead of duplicating
9738 its code with a variable-length stack struct.
9740 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9742 * include/fcntl.h (__libc_creat): Remove declaration.
9743 * io/creat.c (__libc_creat): Rename to creat.
9744 (creat): Do not define as alias.
9745 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9746 of creat instead of __libc_creat.
9747 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9749 (creat): Do not define as alias.
9750 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9752 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9757 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9759 * manual/llio.texi: Add comments discussing why write() may be
9760 considered MT-unsafe on Linux.
9762 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9764 * dl-load.c (local_strdup): Remove.
9765 (expand_dynamic_string_token): Use __strdup.
9766 (decompose_rpath): Likewise.
9767 (_dl_map_object): Likewise.
9769 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9772 * sysdeps/generic/unwind-dw2-fde.c
9773 (__register_frame_info_bases_internal): Do not declare.
9774 (__register_frame_info_table_bases_internal): Likewise.
9775 (__deregister_frame_info_bases_internal): Likewise.
9776 (__register_frame_info_bases): Declare and use hidden_proto before
9777 definition. Use hidden_def instead of INTDEF.
9778 (__register_frame_info_table_bases): Likewise.
9779 (__deregister_frame_info_bases): Likewise.
9780 (__register_frame_info): Do not use INTUSE.
9781 (__register_frame): Likewise.
9782 (__register_frame_info_table): Likewise.
9783 (__register_frame_table): Likewise.
9784 (__deregister_frame_info): Likewise.
9785 (__deregister_frame): Likewise.
9787 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9789 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9790 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9792 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9794 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9797 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9800 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9801 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9802 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9803 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9804 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9805 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9806 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9807 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9808 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9809 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9810 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9812 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9814 (setfsuid): Likewise.
9815 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9816 (setfsuid): Likewise.
9817 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9818 (setfsuid): Likewise.
9819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9821 (setfsuid): Likewise.
9822 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9823 (setfsuid): Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9826 (setfsuid): Likewise.
9828 2014-10-27 Andreas Schwab <schwab@suse.de>
9831 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9832 check for Slow_SSE4_2 feature bit.
9833 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9834 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9835 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9836 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9838 2014-10-24 Roland McGrath <roland@hack.frob.com>
9840 * configure.ac: Validate compiler version with a empirical test of
9841 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9843 * configure: Regenerated.
9845 * inet/htons.c (htons): Prototypify.
9846 * inet/htonl.c (htonl): Likewise.
9848 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9850 * string/strncat.c (strncat): Improve performance by using strlen.
9852 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9854 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9856 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9858 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9859 Call libc_fetestexcept_aarch64.
9861 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9863 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9864 Call libc_feholdexcept_aarch64.
9866 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9868 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9869 Call get_rounding_mode.
9871 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9873 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9876 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9878 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9881 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9884 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9885 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9886 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9887 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9888 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9889 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9890 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9891 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9892 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9893 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9894 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9895 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9896 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9897 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9898 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9899 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9900 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9901 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9902 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9903 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9904 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9905 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9906 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9908 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9909 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9910 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9912 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9913 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9914 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9915 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9916 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9917 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9918 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9920 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9921 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9922 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9924 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9926 (geteuid): Likewise.
9929 (getresgid): Likewise.
9930 (getresuid): Likewise.
9931 (getgroups): Likewise.
9932 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9933 (geteuid): Likewise.
9936 (getresgid): Likewise.
9937 (getresuid): Likewise.
9938 (getgroups): Likewise.
9939 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9940 (geteuid): Likewise.
9943 (getresgid): Likewise.
9944 (getresuid): Likewise.
9945 (getgroups): Likewise.
9946 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9948 (geteuid): Likewise.
9951 (getresgid): Likewise.
9952 (getresuid): Likewise.
9953 (getgroups): Likewise.
9954 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9955 (geteuid): Likewise.
9958 (getresgid): Likewise.
9959 (getresuid): Likewise.
9960 (getgroups): Likewise.
9961 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9963 (geteuid): Likewise.
9966 (getgroups): Likewise.
9969 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9970 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9971 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9973 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9974 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9975 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9976 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9977 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9978 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9979 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9980 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9981 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9983 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9986 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9990 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9998 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10000 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10003 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10005 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10008 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10010 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10011 Remove unused include.
10013 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10015 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10016 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10017 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10018 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10020 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10021 Helge Deller <deller@gmx.de>
10024 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10025 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10026 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10028 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10031 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10032 Remove macro definition.
10033 (__ashrdi3_v_glibc20): Likewise.
10034 (__lshrdi3_v_glibc20): Likewise.
10035 (__cmpdi2_v_glibc20): Likewise.
10036 (__ucmpdi2_v_glibc20): Likewise.
10037 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10038 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10039 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10040 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10041 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10042 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10044 2014-10-22 Roland McGrath <roland@hack.frob.com>
10046 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10047 old GNU extension [0] syntax.
10048 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10049 alloca rather than an array member with variable length.
10050 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10051 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10052 (parse_opt): ... here. Likewise use alloca there.
10053 Validate the -i argument before checking for rootness.
10054 (send_shutdown): New function, broken out of ...
10055 (parse_opt): ... here.
10057 2014-10-22 Roland McGrath <roland@hack.frob.com>
10059 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10060 macro to get at the _rt_local_ro field.
10061 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10062 ([PIC] case) or _dl_hwcap ([!PIC] case).
10063 * sysdeps/arm/setjmp.S: Likewise.
10065 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10066 * sysdeps/arm/configure.ac: New check to define it.
10067 * sysdeps/arm/configure: Regenerated.
10068 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10069 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10070 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10071 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10072 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10073 Use move/movt pair instead of a load.
10074 (LDST_GLOBAL): Macro removed.
10075 (LDR_GLOBAL): New macro replaces it.
10076 (LDR_HIDDEN): New macro.
10077 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10078 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10080 * setjmp/tst-setjmp-static.c: New file.
10081 * setjmp/Makefile (tests): Add it.
10082 (tests-static): New variable.
10084 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10087 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10089 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10092 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10094 2014-10-21 Roland McGrath <roland@hack.frob.com>
10096 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10098 2014-10-20 Roland McGrath <roland@hack.frob.com>
10100 * io/fts.c (dirent_not_directory): New function.
10101 (fts_build): Call it.
10103 2014-10-20 Roland McGrath <roland@hack.frob.com>
10105 * nptl/version.c (__nptl_main): Use normal __write rather than
10107 (banner): Update copyright years.
10109 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10111 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10112 * nptl/pthread_cond_timedwait.c: Likewise.
10113 * nptl/pthread_mutex_timedlock.c: Likewise.
10114 * nptl/sem_timedwait.c: Likewise.
10116 * sysdeps/nptl/bits/libc-lock.h
10117 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10118 (__libc_lock_init_recursive): Return void, not 0.
10119 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10120 (__libc_rwlock_init): Likewise.
10121 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10123 2014-10-20 Torvald Riegel <triegel@redhat.com>
10126 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10127 (__pthread_once_slow): ... here.
10128 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10129 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10131 2014-10-20 Torvald Riegel <triegel@redhat.com>
10134 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10135 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10136 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10137 * nptl/pthread_once.c (__pthread_once): Likewise.
10140 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10143 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10145 (writev): Use __libc_writev as strong name.
10146 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10147 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10149 2014-10-17 Roland McGrath <roland@hack.frob.com>
10151 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10153 * sysdeps/i386/nptl/tls.h
10154 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10155 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10157 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10158 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10159 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10160 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10161 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10162 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10164 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10165 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10167 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10169 (__pthread_mutex_init): ... here. Call it.
10170 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10171 Conditionalize PI cases on [__NR_futex].
10172 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10173 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10174 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10176 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10177 conditional on [SIGSETXID].
10178 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10179 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10180 is defined. Likewise for SIGSETXID.
10181 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10182 Conditionalize definitions on [SIGSETXID].
10183 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10184 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10185 unblocking on [SIGCANCEL].
10187 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10188 [__NR_set_robust_list].
10190 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10192 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10193 (do_compare): Likewise.
10195 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10198 * string/strcoll_l.c: Don't include stdio.h.
10199 (coll_seq): Remove members idxarr and rulearr.
10200 (get_next_seq_cached): Remove function.
10201 (get_next_seq): Likewise.
10202 (get_next_seq_nocache): Rename to get_next_seq.
10203 (do_compare): Remove function.
10204 (do_compare_nocache): Rename to do_compare.
10205 (STRCOLL): Remove weight and rules cache.
10207 2014-10-16 Roland McGrath <roland@hack.frob.com>
10209 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10210 * sysdeps/arm/sfp-machine.h: ... to here.
10211 * sysdeps/arm/Implies: Remove arm/soft-fp.
10213 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10215 * conform/data/sys/utsname.h-data (*_t): Allow.
10216 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10217 [POSIX] (WEXITED): Do not expect constant.
10218 [POSIX] (WSTOPPED): Likewise.
10219 [POSIX] (WNOHANG): Likewise.
10220 [POSIX] (WNOWAIT): Likewise.
10221 [POSIX] (siginfo_t): Do not expect type or elements.
10222 [POSIX] (pid_t): Do not expect type.
10223 [POSIX] (signal.h): Do not allow header.
10224 [POSIX] (sys/resource.h): Likewise.
10225 [POSIX] (si_*): Do not allow pattern.
10226 [POSIX] (W*): Likewise.
10227 [POSIX] (P_*): Likewise.
10228 [POSIX] (BUS_*): Likewise.
10229 [POSIX] (CLD_*): Likewise.
10230 [POSIX] (FPE_*): Likewise.
10231 [POSIX] (ILL_*): Likewise.
10232 [POSIX] (POLL_*): Likewise.
10233 [POSIX] (SEGV_*): Likewise.
10234 [POSIX] (SI_*): Likewise.
10235 [POSIX] (TRAP_*): Likewise.
10236 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10239 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10242 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10243 infinite loop when __recvmsg returns 0.
10245 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10247 * CANCEL-FCT-WAIVE: Remove file.
10248 * CANCEL-FILE-WAIVE: Likewise.
10251 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10252 instead of INTVARDEF.
10253 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10254 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10255 rtld_hidden_data_def instead of INTVARDEF.
10256 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10257 * elf/dl-deps.c (expand_dst): Likewise.
10258 * elf/dl-load.c (_dl_dst_count): Likewise.
10259 (_dl_dst_substitute): Likewise.
10260 (decompose_rpath): Likewise.
10261 (_dl_init_paths): Likewise.
10262 (open_path): Likewise.
10263 (_dl_map_object): Likewise.
10264 * elf/rtld.c (dl_main): Likewise.
10265 (process_dl_audit): Likewise.
10266 (process_envvars): Likewise.
10267 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10268 Remove declaration.
10269 (__libc_enable_secure): Use rtld_hidden_proto.
10271 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10274 (add_path): New function broken out of _dl_rtld_di_serinfo.
10275 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10277 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10279 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10280 parentheses around macro arguments.
10281 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10282 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10283 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10284 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10285 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10286 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10287 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10288 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10289 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10290 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10292 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10293 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10294 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10295 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10296 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10297 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10298 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10299 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10300 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10301 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10302 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10303 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10304 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10305 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10306 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10307 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10309 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10310 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10311 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10312 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10313 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10314 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10315 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10316 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10318 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10319 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10320 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10321 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10322 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10323 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10324 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10325 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10326 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10327 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10328 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10329 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10330 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10331 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10332 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10333 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10334 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10335 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10336 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10338 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10339 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10340 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10341 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10342 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10343 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10344 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10345 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10346 (_FP_FRAC_SRS_1): Likewise.
10347 (_FP_FRAC_CLZ_1): Likewise.
10348 (_FP_MUL_MEAT_1_imm): Likewise.
10349 (_FP_MUL_MEAT_1_wide): Likewise.
10350 (_FP_MUL_MEAT_1_hard): Likewise.
10351 (_FP_SQRT_MEAT_1): Likewise.
10352 (_FP_FRAC_ASSEMBLE_1): Likewise.
10353 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10354 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10355 (__FP_CLZ_2): Likewise.
10356 (_FP_MUL_MEAT_2_wide): Likewise.
10357 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10358 (_FP_MUL_MEAT_2_gmp): Likewise.
10359 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10360 (_FP_SQRT_MEAT_2): Likewise.
10361 (_FP_FRAC_ASSEMBLE_2): Likewise.
10362 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10363 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10364 (_FP_FRAC_CLZ_4): Likewise.
10365 (_FP_MUL_MEAT_4_wide): Likewise.
10366 (_FP_MUL_MEAT_4_gmp): Likewise.
10367 (_FP_SQRT_MEAT_4): Likewise.
10368 (_FP_FRAC_ASSEMBLE_4): Likewise.
10369 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10370 * soft-fp/op-common.h (_FP_CMP): Likewise.
10371 (_FP_CMP_EQ): Likewise.
10372 (_FP_CMP_UNORD): Likewise.
10373 (_FP_TO_INT): Likewise.
10374 (_FP_FROM_INT): Likewise.
10375 [!__FP_CLZ] (__FP_CLZ): Likewise.
10376 (_FP_DIV_HELP_imm): Likewise.
10377 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10379 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10381 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10382 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10383 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10384 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10385 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10386 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10387 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10390 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10391 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10392 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10393 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10394 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10395 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10396 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10398 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10399 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10400 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10401 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10402 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10404 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10405 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10408 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10409 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10410 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10411 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10412 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10413 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10414 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10415 (FP_UNPACK_RAW_SP): Likewise.
10416 (FP_PACK_RAW_S): Likewise.
10417 (FP_PACK_RAW_SP): Likewise.
10418 (FP_UNPACK_S): Likewise.
10419 (FP_UNPACK_SP): Likewise.
10420 (FP_UNPACK_SEMIRAW_S): Likewise.
10421 (FP_UNPACK_SEMIRAW_SP): Likewise.
10422 (FP_PACK_S): Likewise.
10423 (FP_PACK_SP): Likewise.
10424 (FP_PACK_SEMIRAW_S): Likewise.
10425 (FP_PACK_SEMIRAW_SP): Likewise.
10426 (_FP_SQRT_MEAT_S): Likewise.
10427 (FP_CMP_S): Likewise.
10428 (FP_CMP_EQ_S): Likewise.
10429 (FP_CMP_UNORD_S): Likewise.
10430 (FP_TO_INT_S): Likewise.
10431 (FP_FROM_INT_S): Likewise.
10433 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10435 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10436 (FP_EX_INVALID_IMZ): Likewise.
10437 (FP_EX_INVALID_IMZ_FMA): Likewise.
10438 (FP_EX_INVALID_ISI): Likewise.
10439 (FP_EX_INVALID_ZDZ): Likewise.
10440 (FP_EX_INVALID_IDI): Likewise.
10441 (FP_EX_INVALID_SQRT): Likewise.
10442 (FP_EX_INVALID_CVI): Likewise.
10443 (FP_EX_INVALID_VC): Likewise.
10444 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10445 "invalid" exceptions.
10446 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10447 (_FP_ADD_INTERNAL): Likewise.
10448 (_FP_MUL): Likewise.
10449 (_FP_FMA): Likewise.
10450 (_FP_DIV): Likewise.
10451 (_FP_CMP_CHECK_NAN): Likewise.
10452 (_FP_SQRT): Likewise.
10453 (_FP_TO_INT): Likewise.
10454 (FP_EXTEND): Likewise.
10456 2014-10-09 Allan McRae <allan@archlinux.org>
10458 * po/fr.po: Update French translation from translation project.
10460 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10463 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10465 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10466 (__cxa_atexit): Use libc_hidden_proto.
10467 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10470 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10472 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10473 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10474 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10475 [!_ISOMAC] (__iswctype_internal): Likewise.
10476 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10477 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10479 (fcntl): Remove __fcntl_internal alias.
10480 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10481 __connect_internal alias.
10482 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10485 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10486 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10488 (_FP_CHECK_FLUSH_ZERO): New macro.
10489 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10490 (_FP_CMP): Likewise.
10491 (_FP_CMP_EQ): Likewise.
10492 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10494 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10495 (FP_TRUNC): Likewise.
10497 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10498 treated as invalid conversion, not as normal exponent.
10500 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10501 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10502 (_FP_CMP_EQ): Likewise.
10503 (_FP_CMP_UNORD): Likewise.
10504 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10505 (FP_CMP_EQ_D): Likewise.
10506 (FP_CMP_UNORD_D): Likewise.
10507 * soft-fp/extended.h (FP_CMP_E): Likewise.
10508 (FP_CMP_EQ_E): Likewise.
10509 (FP_CMP_UNORD_E): Likewise.
10510 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10511 (FP_CMP_EQ_Q): Likewise.
10512 (FP_CMP_UNORD_Q): Likewise.
10513 * soft-fp/single.h (FP_CMP_S): Likewise.
10514 (FP_CMP_EQ_S): Likewise.
10515 (FP_CMP_UNORD_S): Likewise.
10516 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10517 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10518 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10519 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10520 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10521 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10522 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10523 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10524 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10525 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10526 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10527 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10528 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10530 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10532 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10533 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10535 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10537 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10538 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10539 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10540 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10542 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10544 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10545 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10547 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10549 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10550 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10551 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10552 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10555 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10556 a subnormal result, set the underflow exception if trapping on
10557 underflow is enabled.
10558 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10559 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10560 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10562 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10563 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10564 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10565 * soft-fp/extendxftf2.c (__extendxftf2): Use
10566 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10568 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10569 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10570 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10571 FP_HANDLE_EXCEPTIONS.
10572 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10573 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10574 FP_HANDLE_EXCEPTIONS.
10575 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10576 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10577 FP_HANDLE_EXCEPTIONS.
10578 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10579 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10580 FP_HANDLE_EXCEPTIONS.
10582 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10585 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10586 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10588 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10589 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10591 (__adjtimex): Define using libc_hidden_ver.
10592 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10593 Remove declaration.
10594 (ntp_gettime): Call __adjtimex directly.
10595 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10596 Remove declaration.
10597 (ntp_gettimex): Call __adjtimex directly.
10598 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10599 __adjtimex_internal alias.
10601 2014-10-08 Roland McGrath <roland@hack.frob.com>
10604 * nscd/nscd.c (more_help): Rewrite list of tables collection
10605 using xstrdup and asprintf.
10607 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10609 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10610 Roland McGrath <roland@hack.frob.com>
10612 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10613 (do_lookup_unique): ... local function 'enter' here; update callers.
10615 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10617 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10618 compat_symbol calls on [SHARED].
10619 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10620 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10622 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10623 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10624 (oldsetrlimit): Remove.
10625 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10627 (lchown): New syscall entry.
10628 (oldsetrlimit): Remove.
10629 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10630 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10631 (oldsetrlimit): Remove.
10632 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10635 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10636 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10637 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10638 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10639 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10640 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10641 (fchown): Likewise.
10642 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10643 (fchown): Likewise.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10647 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10649 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10650 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10651 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10652 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10653 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10655 (__old_sem_post): Likewise.
10657 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10659 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10660 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10661 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10662 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10663 Use INLINE_VSYSCALL macro.
10664 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10665 __vdso_clock_gettime.
10666 * sysdeps/unix/sysv/linux/tile/init-first.c
10667 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10668 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10669 __vdso_clock_gettime.
10671 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10672 to set up frame more cleanly.
10674 * sysdeps/tile/memcmp.c: New file.
10676 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10678 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10679 * sysdeps/tile/tilegx/strcasestr.c: New file.
10680 * sysdeps/tile/tilegx/strnlen.c: New file.
10681 * sysdeps/tile/tilegx/strstr.c: New file.
10683 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10685 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10687 * nptl/tst-setuid3.c: Write errors to stdout.
10689 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10692 (preload): New functions broken out of _dl_map_object_deps.
10693 (_dl_map_object_deps): Remove a nested function. Update call sites.
10695 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10698 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10699 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10701 2014-10-01 Steve Ellcey <sellcey@mips.com>
10703 * sysdeps/mips/strcmp.S: New.
10705 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10708 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10709 (linkat): Likewise.
10710 (mkdirat): Likewise.
10711 (readlinkat): Likewise.
10712 (renameat): Likewise.
10713 (symlinkat): Likewise.
10714 (unlinkat): Likewise.
10715 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10716 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10717 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10718 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10719 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10720 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10721 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10723 2014-09-30 Will Newton <will.newton@linaro.org>
10725 * math/math.h: Define long double math functions if
10726 _LIBC_TEST is defined.
10727 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10729 * localedata/Makefile: Move assignment to tests-special
10730 into an ifdef testing run-built-tests.
10731 * timezone/Makefile: Likewise.
10733 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10735 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10736 with $(BASH) not $(SHELL).
10738 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10739 Matthew LeGendre <legendre1@llnl.gov>
10742 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10745 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10747 * stdio-common/printf_fp.c
10748 (hack_digit): New function, broken out of ...
10749 (__printf_fp): ... local function here. Update call sites.
10750 hack_digit now takes an additional parameter that is a pointer
10751 to a struct of the referenced locals. Those locals moved inside
10752 the struct and references updated.
10754 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10756 * aclocal.m4: Require autoconf 2.69.
10757 * configure: Regenerated.
10758 * sysdeps/aarch64/configure: Likewise.
10759 * sysdeps/alpha/configure: Likewise.
10760 * sysdeps/arm/armv7/configure: Likewise.
10761 * sysdeps/arm/configure: Likewise.
10762 * sysdeps/ia64/configure: Likewise.
10763 * sysdeps/mach/configure: Likewise.
10764 * sysdeps/mips/configure: Likewise.
10765 * sysdeps/s390/configure: Likewise.
10766 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10769 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10771 * sysdeps/ia64/configure.ac: Likewise.
10773 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10776 specify symbol version for ld.so. Do not include entry for
10778 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10779 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10780 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10783 * Makeconfig [$(build-shared) = yes]
10784 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10786 [$(build-shared) = yes && $(soversions.mk-done) = t]
10787 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10788 [$(build-shared) = yes && $(soversions.mk-done) = t]
10789 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10791 [$(build-shared) = yes && $(soversions.mk-done) = t]
10792 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10794 [$(build-shared) = yes && $(soversions.mk-done) = t]
10795 (common-generated): Don't append gnu/lib-names.h and
10796 gnu/lib-names.stmp here.
10797 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10798 (lib-names-h-abi): New variable.
10799 [$(build-shared) = yes && $(soversions.mk-done) = t]
10800 (lib-names-stmp-abi): Likewise.
10801 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10802 abi-variants] (before-compile): Append
10803 $(common-objpfx)$(lib-names-h-abi).
10804 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10805 abi-variants] (common-generated): Append gnu/lib-names.h.
10806 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10807 abi-variants] (install-others-nosubdir): Depend on
10808 $(inst_includedir)/$(lib-names-h-abi).
10809 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10810 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10811 [$(build-shared) = yes && $(soversions.mk-done) = t]
10812 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10813 [$(build-shared) = yes && $(soversions.mk-done) = t]
10814 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10815 [$(build-shared) = yes && $(soversions.mk-done) = t]
10816 (common-generated): Append $(lib-names-h-abi) and
10817 $(lib-names-stmp-abi).
10818 * scripts/lib-names.awk: Do not handle multi being set.
10819 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10821 (abi-lp64_be-ld-soname): Likewise.
10822 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10824 (abi-hard-ld-soname): Likewise.
10825 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10826 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10828 (abi-o32_hard-ld-soname): Likewise.
10829 (abi-o32_soft_2008-ld-soname): Likewise.
10830 (abi-o32_hard_2008-ld-soname): Likewise.
10831 (abi-n32_soft-ld-soname): Likewise.
10832 (abi-n32_hard-ld-soname): Likewise.
10833 (abi-n32_soft_2008-ld-soname): Likewise.
10834 (abi-n32_hard_2008-ld-soname): Likewise.
10835 (abi-n64_soft-ld-soname): Likewise.
10836 (abi-n64_hard-ld-soname): Likewise.
10837 (abi-n64_soft_2008-ld-soname): Likewise.
10838 (abi-n64_hard_2008-ld-soname): Likewise.
10839 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10841 (abi-64-v2-ld-soname): Likewise.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10844 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10846 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10848 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10850 (abi-64-ld-soname): Likewise.
10851 (abi-x32-ld-soname): Likewise.
10852 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10854 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10856 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10859 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10860 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10861 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10862 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10863 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10864 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10865 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10866 syscall entry for GLIBC_2.2 symbol version.
10867 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10870 (setrlimit): Likewise.
10871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10874 2014-09-23 Will Newton <will.newton@linaro.org>
10876 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10877 _LINUX_ARM_SYSDEP_H include guard too.
10878 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10881 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10883 * sysdeps/unix/sysv/linux/eventfd.c:
10884 Make first argument unsigned.
10885 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10886 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10888 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10890 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10891 * socket/sys/socket.h: Likewise
10892 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10894 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10896 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10898 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10900 * time/tst-ftime.c: New test.
10901 * time/Makefile (tests): Add tst-ftime.
10903 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10905 * soft-fp/extended.h: Fix comment formatting.
10906 * soft-fp/op-1.h: Likewise.
10907 * soft-fp/op-2.h: Likewise.
10908 * soft-fp/op-4.h: Likewise.
10909 * soft-fp/op-8.h: Likewise.
10910 * soft-fp/op-common.h: Likewise.
10911 * soft-fp/soft-fp.h: Likewise.
10913 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10915 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10918 * Makeconfig (soversions-default-setname): Remove variable.
10919 ($(common-objpfx)soversions.i): Don't pass default_setname to
10921 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10922 oldest_abi to abi-versions.awk.
10923 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10924 * config.make.in (oldest-abi): Remove variable.
10925 * configure.ac (--enable-oldest-abi): Remove configure option.
10926 * configure: Regenerated.
10927 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10929 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10930 * scripts/soversions.awk: Do not handle default_setname variable.
10931 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10933 * sysdeps/mach/hurd/configure: Regenerated.
10934 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10936 * sysdeps/unix/sysv/linux/configure: Regenerated.
10938 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10940 * elf/Makefile (CFLAGS-interp.c): Remove.
10941 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10943 * elf/interp.c: Include generated runtime-linker.h
10945 * Makerules (lib%.so): Don't include $(+interp) in
10947 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10948 * dlfcn/eval.c: Remove file.
10950 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10954 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10958 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10960 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10961 Jakub Jelinek <jakub@redhat.com>
10964 * libio/stdio.h: Check definition of __fortify_function
10965 instead of __extern_always_inline to include bits/stdio2.h.
10966 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10967 check if __extern_always_inline is defined.
10968 [__USE_MISC || __USE_XOPEN]: Likewise.
10969 [__USE_ISOC99] Likewise.
10970 * misc/sys/cdefs.h (__fortify_function): Define only if
10971 __extern_always_inline is defined.
10972 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10973 __extern_always_inline and __extern_inline only for g++-4.3
10974 and newer or a compatible gcc.
10976 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10979 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10980 last change to handle zero prefix length.
10982 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10984 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10987 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10988 _POSIX_RAW_SOCKETS.
10990 2014-09-13 Allan McRae <allan@archlinux.org>
10992 * po/ru.po: Update Russian translation from translation project.
10994 2014-09-12 Roland McGrath <roland@hack.frob.com>
10996 * locale/programs/locale.c (show_locale_vars): Inline local function
10997 into its sole call site. Clean up some style nits.
10998 (print_item): New function, broken out of ...
10999 (show_info): ... local function here. Clean up style nits.
11001 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11003 (set_class_defaults): ... local function set_default here.
11004 Define set_default as a macro locally to pass constant parameters.
11005 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11006 rather than a shared local.
11008 * stdlib/rpmatch.c (try): New function, broken out of ...
11009 (rpmatch): ... local function here. Also, prototypify definition.
11011 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11013 * scripts/soversions.awk: Do not handle configuration names.
11014 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11015 vendor and os variables to soversions.awk.
11016 * configure.ac: Do not modify gnu-* host_os.
11017 * configure: Regenerated
11018 * shlib-versions: Remove first column with configuration names.
11019 * nptl/shlib-versions: Likewise.
11020 * nptl_db/shlib-versions: Likewise.
11021 * sysdeps/hppa/shlib-versions: Likewise.
11022 * sysdeps/m68k/shlib-versions: Likewise.
11023 * sysdeps/mach/hurd/shlib-versions: Likewise.
11024 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11025 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11026 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11027 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11028 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11029 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11030 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11031 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11034 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11035 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11036 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11037 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11038 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11039 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11040 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11041 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11044 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11047 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11049 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11051 * shlib-versions: Remove OS-specific entries. Moved to files in
11053 * sysdeps/mach/hurd/shlib-versions: New file.
11054 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11056 * nptl/shlib-versions: Remove architecture-specific entries.
11057 Moved to files in sysdeps.
11058 * shlib-versions: Likewise.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11061 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11062 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11063 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11064 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11066 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11067 (UDP_NO_CHECK6_RX): Likewise.
11069 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11071 * sysdeps/posix/sysconf.c (__sysconf): Spell
11072 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11074 2014-08-12 Florian Weimer <fweimer@redhat.com>
11076 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11078 * iconv/Versions (__gconv_transliterate): Export for use from
11080 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11081 (struct __gconv_trans_data, __gconv_trans_fct,
11082 __gconv_trans_context_fct, __gconv_trans_query_fct,
11083 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11085 (struct __gconv_step_data): Remove __trans member.
11086 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11087 longer hidden. Remove unused trans_data argument.
11088 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11089 (__gconv_translit_find): Remove declaration.
11090 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11092 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11093 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11094 trans_data argument. Add hidden definition.
11095 (__gconv_translit_find): Remove.
11096 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11097 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11098 * iconv/skeleton.c: Remove transliteration initialization.
11099 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11100 __gconv_step_data initialization.
11101 * libio/iofwide.c (__libio_translit_): Remove.
11102 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11103 * wcsmbs/btowc.c (__btowc): Likewise.
11104 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11105 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11106 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11107 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11108 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11109 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11110 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11111 * wcsmbs/wctob.c (wctob): Likewise.
11113 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11116 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11117 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11119 * sysdeps/x86/Makefile: Adjust.
11121 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11122 Roland McGrath <roland@hack.frob.com>
11124 * locale/weight.h: Add include guard.
11125 (findidx): Make static rather than auto; take new parameters
11126 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11127 * locale/weightwc.h: Likewise.
11128 * posix/fnmatch_loop.c
11129 (FCT): Change type of EXTRA from int32_t to wint_t.
11130 Don't include either header inside the function.
11131 Call FINDIDX rather than findidx, and pass new arguments.
11132 #undef FINDIDX at the end of the file.
11133 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11134 FINDIDX before including fnmatch_loop.c for the non-wide version.
11135 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11136 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11137 for the wide version.
11138 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11139 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11140 Pass new arguments to findidx.
11141 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11142 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11143 Don't #include it inside the function. Pass new arguments to findidx.
11144 * posix/regex_internal.h
11145 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11146 (re_string_elem_size_at): Don't #include it inside the function.
11147 Pass new arguments to findidx.
11148 * string/strcoll_l.c: #include WEIGHT_H at top level.
11149 (get_next_seq): Don't #include it inside the function.
11150 Pass new arguments to findidx.
11151 (get_next_seq_nocache): Likewise.
11152 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11153 (STRXFRM): Don't #include it inside the function.
11154 Pass new arguments to findidx.
11156 2014-09-11 Florian Weimer <fweimer@redhat.com>
11159 * malloc/malloc.c (unlink): Turn asserts into a call to
11162 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11165 * libio/wfileops (do_ftell_wide): Free OUT.
11167 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11169 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11171 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11175 group if the current group is empty.
11177 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11179 * benchtests/bench-memset.c (test_main): Add more test from size
11180 from 32 to 512 bytes.
11181 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11182 Add POWER8 memset object.
11183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11184 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11185 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11187 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11189 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11190 multiarch POWER8 memset optimization.
11191 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11192 POWER8 memset optimization.
11194 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11195 Remove bzero multiarch objects.
11196 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11197 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11198 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11199 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11201 [__bzero]: Redefine to specific name.
11202 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11203 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11204 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11206 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11207 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11209 2014-09-10 Florian Weimer <fweimer@redhat.com>
11211 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11212 warnings into errors.
11214 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11215 __cxa_thread_atexit_impl prototype.
11217 2014-09-09 Steve Ellcey <sellcey@mips.com>
11219 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11220 Fix capitalization of error message.
11222 2014-09-09 Steve Ellcey <sellcey@mips.com>
11224 * sysdeps/mips/preconfigure: Modify ABI tests.
11226 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11228 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11230 2014-09-07 Roland McGrath <roland@hack.frob.com>
11231 Carlos O'Donell <carlos@systemhalted.org>
11233 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11234 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11235 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11236 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11237 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11238 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11239 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11240 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11241 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11242 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11243 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11244 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11245 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11246 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11247 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11248 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11249 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11250 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11251 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11252 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11253 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11254 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11255 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11256 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11257 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11258 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11259 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11260 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11261 Deconditionalize the code that was previously under [RESET_PID].
11262 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11263 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11264 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11265 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11268 2014-09-08 Allan McRae <allan@archlinux.org>
11270 * version.h (RELEASE): Set to "development".
11271 (VERSION): Set to "2.20.90"
11273 2014-09-07 Allan McRae <allan@archlinux.org
11275 * version.h (RELEASE): Set to "stable".
11276 (VERSION): Set to "2.20"
11277 * include/features.h (__GLIBC_MINOR__): Set to 20.
11279 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11282 * po/ko.po: Update Korean translation from translation project.
11284 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11287 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11288 macro for handling signed relocations.
11290 2014-09-03 Florian Weimer <fweimer@redhat.com>
11293 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11294 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11296 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11297 * iconvdata/ibm935.c (BODY): Likewise.
11298 * iconvdata/ibm937.c (BODY): Likewise.
11299 * iconvdata/ibm939.c (BODY): Likewise.
11300 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11302 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11304 * iconvdata/run-iconv-test.sh: New test loop for checking for
11307 2014-09-02 Khem Raj <raj.khem@gmail.com>
11309 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11312 2014-09-01 Allan McRae <allan@archlinux.org>
11314 * po/eo.po: Update Esperanto translation from translation project.
11316 * po/ca.po: Update Catalan translation from translation project.
11318 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11320 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11321 __proc_dostop call.
11323 2014-08-27 Mark Wielaard <mjw@redhat.com>
11326 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11327 to call set_thread_area instead of hand written asm.
11328 (__NR_set_thread_area): Removed define.
11329 (TLS_FLAG_WRITABLE): Likewise.
11330 (__ASSUME_SET_THREAD_AREA): Remove check.
11331 (TLS_EBX_ARG): Remove define.
11332 (TLS_LOAD_EBX): Likewise.
11334 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11336 Simplify atomicity of socket creation in bind.
11338 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11339 looking up the name after linking the file.
11341 2014-08-27 Allan McRae <allan@archlinux.org>
11343 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11345 2014-08-26 Florian Weimer <fweimer@redhat.com>
11348 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11349 trans_compare, open_translit, __gconv_translit_find):
11350 Remove module loading code.
11352 2014-08-26 Allan McRae <allan@archlinux.org>
11354 * po/vi.po: Update Vietnamese translation from translation project.
11356 * po/uk.po: Update Ukrainian translation from translation project.
11358 * po/fr.po: Update French translation from translation project.
11360 * po/ru.po: Update Russian translation from translation project.
11362 * po/pl.po: Update Polish translation from translation project.
11364 * po/cs.po: Update Czech translation from translation project.
11366 * po/de.po: Update German translation from translation project.
11368 * po/bg.po: Update Bulgarian translation from translation project.
11370 * po/sv.po: Update Sweedish translation from translation project.
11372 * po/nl.po: Update Dutch translation from translation project.
11374 * po/es.po: Update Spanish translation from translation project.
11376 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11378 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11380 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11381 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11382 (CPPFLAGS-iconvconfig): Likewise.
11383 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11385 * include/libc-symbols.h: Remove unnecessary check for
11387 * nptl/pthreadP.h: Likewise.
11388 * sysdeps/aarch64/setjmp.S: Likewise.
11389 * sysdeps/alpha/setjmp.S: Likewise.
11390 * sysdeps/arm/sysdep.h: Likewise.
11391 * sysdeps/i386/setjmp.S: Likewise.
11392 * sysdeps/m68k/setjmp.c: Likewise.
11393 * sysdeps/posix/getcwd.c: Likewise.
11394 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11395 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11396 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11397 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11398 * sysdeps/sh/sh3/setjmp.S: Likewise.
11399 * sysdeps/sh/sh4/setjmp.S: Likewise.
11400 * sysdeps/unix/alpha/sysdep.h: Likewise.
11401 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11403 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11404 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11407 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11409 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11412 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11414 * sysdeps/x86_64/setjmp.S: Likewise.
11416 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11419 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11421 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11422 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11424 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11426 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11429 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11430 and __x86_64__ when disabling x87 inline functions.
11432 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11435 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11436 asm statement with __cpuid_count.
11438 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11440 * configure.ac: Change __ehdr_start code to dereference the struct.
11441 Run readelf on the output to look for relocations.
11442 * configure: Regenerated.
11444 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11447 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11449 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11451 2014-08-12 Roland McGrath <roland@hack.frob.com>
11453 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11455 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11458 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11459 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11461 2014-08-12 Sean Anderson <seanga2@gmail.com>
11463 * malloc/malloc.c: Fix typo in comment.
11465 2014-08-09 Allan McRae <allan@archlinux.org>
11467 * Regenerate libc.po.
11469 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11471 * intl/tst-gettext2.sh: Check every lang file for creation.
11473 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11475 * sysdeps/aarch64/fpu/math_private.h
11476 (libc_feholdsetround_noex_aarch64_ctx): New function.
11478 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11480 * sysdeps/arm/armv6/strcpy.S (strcpy):
11481 Fix performance issue in misaligned cases.
11483 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11485 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11486 Move definition from termios.h.
11487 (struct termio): Likewise.
11488 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11489 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11490 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11491 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11493 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11494 Move definition to ioctl-types.h
11495 (struct termio): Likewise.
11496 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11497 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11498 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11499 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11502 2014-08-05 Richard Henderson <rth@redhat.com>
11504 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11506 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11508 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11509 Use __feraiseexcept.
11510 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11511 Protect libm symbols with IS_IN_libm.
11513 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11515 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11517 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11519 2014-08-04 Will Newton <will.newton@linaro.org>
11521 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11524 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11526 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11527 variants for each function.
11529 2014-08-04 Roland McGrath <roland@hack.frob.com>
11531 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11533 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11534 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11536 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11537 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11538 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11539 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11540 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11541 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11542 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11543 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11544 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11545 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11546 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11547 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11548 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11549 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11550 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11551 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11552 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11553 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11554 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11555 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11556 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11557 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11558 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11559 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11560 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11561 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11562 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11563 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11564 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11565 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11566 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11567 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11568 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11569 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11570 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11571 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11572 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11573 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11574 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11575 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11576 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11577 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11578 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11579 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11580 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11581 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11582 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11583 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11584 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11585 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11586 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11587 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11588 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11590 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11591 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11593 2014-08-04 Roland McGrath <roland@hack.frob.com>
11595 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11596 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11597 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11598 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11599 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11600 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11602 2014-08-04 Roland McGrath <roland@hack.frob.com>
11604 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11605 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11606 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11607 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11609 2014-08-04 Roland McGrath <roland@hack.frob.com>
11611 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11612 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11613 (__libc_vfork): Define function under this name.
11614 (__vfork): Define as an alias.
11615 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11616 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11618 2014-08-04 Roland McGrath <roland@hack.frob.com>
11620 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11621 that was previously under [RESET_PID].
11622 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11624 2014-08-04 Andreas Schwab <schwab@suse.de>
11626 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11628 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11630 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11633 2014-08-01 Roland McGrath <roland@hack.frob.com>
11635 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11637 2014-08-01 Richard Henderon <rth@redhat.com>
11639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11640 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11641 typo in exact zero test.
11642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11646 2014-08-01 Roland McGrath <roland@hack.frob.com>
11648 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11649 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11650 * sysdeps/arm/sysdep.h: ... here.
11651 [!__ASSEMBLER__]: Include <stdint.h>.
11653 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11655 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11656 (HAVE_WCTYPE_H): Likewise.
11657 (HAVE_ISWCTYPE): Likewise.
11658 (ENABLE_NLS): Likewise.
11659 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11660 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11662 * posix/regex_internal.c: Check if DEBUG is defined and is
11665 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11666 (HAVE_MBSRTOWCS): Likewise.
11667 * posix/fnmatch.c: Include string.h unconditionally.
11669 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11671 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11674 2014-07-31 Roland McGrath <roland@hack.frob.com>
11676 * sysdeps/generic/safe-fatal.h: New file.
11677 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11678 * nptl/forward.c: Include it.
11679 (__pthread_unwind): Use __safe_fatal as default action, rather
11680 than a bogus use of INTERNAL_SYSCALL that could never work.
11682 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11683 * configure.ac (libc_cv_builtin_trap): New test.
11684 * configure: Regenerated.
11685 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11686 (ABORT_INSTRUCTION): Define using __builtin_trap.
11688 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11689 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11690 * sysdeps/nptl/nptl-signals.h: New file.
11691 * nptl/pthreadP.h: Include <nptl-signals.h>.
11693 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11695 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11696 (ONE_DIRECTION): Define.
11697 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11698 (ONE_DIRECTION): Define.
11699 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11700 (ONE_DIRECTION): Define.
11702 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11704 * sysdeps/s390/Makefile: Delete file.
11705 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11706 * sysdeps/s390/__longjmp.c: Delete file.
11707 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11708 Remove fields __flags and __reserved.
11709 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11710 and add versioning.
11711 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11712 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11713 * sysdeps/s390/rtld-setjmp.S: Likewise.
11714 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11715 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11716 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11717 * sysdeps/s390/s390-32/setjmp.S: ... here.
11719 (__sigsetjmp): Remove setting __flags field.
11720 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11721 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11722 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11723 * sysdeps/s390/s390-64/setjmp.S: ... here.
11725 (__sigsetjmp): Remove setting __flags field.
11726 * sysdeps/s390/setjmp.S: Delete file.
11727 * sysdeps/s390/sigjmp.c: Likewise.
11728 * sysdeps/s390/v1-longjmp.c: Likewise.
11729 * sysdeps/s390/v1-setjmp.h: Likewise.
11730 * sysdeps/s390/v1-sigjmp.c: Likewise.
11731 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11732 Remove v1-longjmp_chk.
11733 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11734 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11735 Include debug/longjmp_chk.c and add versioning.
11736 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11737 Include nptl/pt-longjmp.c and add versioning.
11738 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11739 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11740 Include __longjmp.c.
11741 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11744 (__getcontext): Remove setting __flags field.
11746 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11747 Don't restore upper high grps.
11748 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11750 (__swapcontext): Remove setting uc_flags field.
11751 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11753 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11754 Include __longjmp.c.
11755 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11757 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11758 (__getcontext): Remove setting __flags field.
11760 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11761 (__swapcontext): Remove setting uc_flags field.
11762 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11763 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11764 Remove fields uc_high_gprs and __reserved.
11765 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11766 New file with reverted content.
11767 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11768 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11770 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11773 2014-07-31 Andreas Schwab <schwab@suse.de>
11775 * config.h.in (HAVE_IFUNC): Define to 0.
11776 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11779 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11782 memmove-avx-unaligned, memcpy-avx-unaligned and
11783 mempcpy-avx-unaligned.
11784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11785 Add tests for AVX memcpy functions.
11786 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11787 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11789 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11790 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11792 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11793 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11795 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11796 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11797 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11799 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11802 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11805 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11808 * manual/llio.texi: Add section about open file description locks.
11809 * manual/examples/ofdlocks.c: Example of open file description
11811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11812 F_OFD_SETLK, and F_OFD_SETLKW.
11814 2014-07-23 Allan McRae <allan@archlinux.org>
11816 * po/es.po: Update Spanish translation from translation project.
11818 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11820 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11822 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11825 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11826 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11827 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11829 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11832 * math/fesetenv.c (__fesetenv)
11833 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11834 * math/feupdateenv.c (__feupdateenv)
11835 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11837 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11838 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11839 (__ASSUME_SOCKETCALL): Do not define.
11841 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11842 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11843 (__ASSUME_SOCKETCALL): Do not define.
11844 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11845 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11846 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11847 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11848 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11849 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11850 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11851 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11853 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11854 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11855 (__ASSUME_SOCKETCALL): Do not define.
11856 (__ASSUME_IPC64): Define unconditionally.
11857 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11858 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11859 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11860 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11861 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11862 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11863 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11866 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11867 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11868 (__ASSUME_SOCKETCALL): Do not define.
11869 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11870 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11871 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11872 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11873 (__ASSUME_REQUEUE_PI): Define unconditionally.
11874 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11875 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11876 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11877 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11878 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11879 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11881 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11882 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11883 (__ASSUME_SOCKETCALL): Do not define.
11884 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11885 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11886 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11887 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11888 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11889 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11891 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11892 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11893 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11894 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11895 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11896 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11897 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11898 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11899 (__ASSUME_GETCPU_SYSCALL): Likewise.
11901 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11902 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11903 cases for individual architectures.
11904 * sysdeps/gnu/configure: Regenerated.
11905 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11906 LIBC_SLIBDIR_RTLDDIR.
11907 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11908 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11909 LIBC_SLIBDIR_RTLDDIR.
11910 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11912 LIBC_SLIBDIR_RTLDDIR.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11915 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11916 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11918 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11919 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11921 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11922 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11923 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11924 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11926 * sysdeps/aarch64/shlib-versions: Move to ...
11927 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11928 * sysdeps/alpha/shlib-versions: Move to ...
11929 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11930 * sysdeps/arm/shlib-versions: Move to ...
11931 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11932 * sysdeps/hppa/shlib-versions: Move all contents except for
11933 libgcc_s entry to ...
11934 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11936 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11937 * sysdeps/ia64/shlib-versions: Move to ...
11938 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11940 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11941 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11942 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11943 * sysdeps/microblaze/shlib-versions: Move to ...
11944 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11945 * sysdeps/mips/shlib-versions: Move to ...
11946 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11948 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11949 * sysdeps/tile/shlib-versions: Move to ...
11950 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11951 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11953 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11954 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11956 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11958 2014-07-17 Will Newton <will.newton@linaro.org>
11960 * sysdeps/arm/bits/atomic.h
11961 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11962 (__arch_compare_and_exchange_bool_16_int): Likewise.
11963 (__arch_compare_and_exchange_bool_64_int): Likewise.
11965 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11966 into an #else block.
11968 2014-07-16 Roland McGrath <roland@hack.frob.com>
11970 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11971 just Linux configurations. Test empirically that the compiler sets
11972 __ARM_EABI__, rather than using the tuple to decide.
11973 * sysdeps/arm/preconfigure: Regenerated.
11974 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11975 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11976 contents appended ...
11977 * sysdeps/arm/configure.ac: ... here.
11978 * sysdeps/arm/configure: Regenerated.
11980 2014-07-15 Roland McGrath <roland@hack.frob.com>
11982 * nptl/pthread_kill.c: New file.
11983 * nptl/pthread_sigmask.c: New file.
11984 * nptl/pthread_sigqueue.c: New file.
11986 * sysdeps/nptl/lowlevellock.h: New file.
11987 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11988 * sysdeps/nptl/lowlevellock-futex.h: New file.
11990 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11991 Remove dead declarations.
11993 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11995 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11996 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11997 config-cflags-avx2.
11998 * sysdeps/x86_64/configure.ac: Likewise.
11999 * sysdeps/i386/configure: Regenerated.
12000 * sysdeps/x86_64/configure: Likewise.
12001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12002 memset-avx2 only if config-cflags-avx2 is yes.
12003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12004 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12006 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12007 only if HAVE_AVX2_SUPPORT is defined.
12008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12010 2014-07-14 Alan Modra <amodra@gmail.com>
12013 * elf/elf.h (DT_PPC64_NUM): Correct value.
12014 * NEWS: Add to fixed bug list.
12016 2014-07-13 Jim Meyering <meyering@fb.com>
12019 regex: don't deref NULL upon heap allocation failure
12020 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12021 failure in one more place.
12022 To trigger the segfault, configure grep -with-included-regex,
12023 build it, and run these commands:
12024 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12026 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12028 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12030 2014-07-11 Richard Henderson <rth@redhat.com>
12032 * sysdeps/aarch64/libm-test-ulps: Update.
12034 2014-07-10 Florian Weimer <fweimer@redhat.com>
12037 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12038 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12039 (__nptl_setxid): Initialize error member. Call
12040 __nptl_setxid_error.
12041 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12042 * nptl/descr.h (struct xid_command): Add error member.
12043 * nptl/tst-setuid3.c: New file.
12044 * nptl/Makefile (tests): Add it.
12046 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12048 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12050 (__lll_trylock): Use __lll_base_trylock.
12051 (__lll_cond_trylock): Likewise.
12053 2014-07-10 Roland McGrath <roland@hack.frob.com>
12055 * nptl/pthread_create.c (start_thread): Use atomic_or and
12056 lll_futex_wake directly rather than lll_robust_dead.
12057 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12058 (lll_robust_dead): Macro removed.
12059 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12060 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12061 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12062 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12063 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12064 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12065 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12066 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12067 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12069 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12070 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12071 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12072 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12075 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12076 Use atomic_compare_and_exchange_val_acq directly rather than
12077 lll_robust_trylock.
12078 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12079 (__lll_robust_trylock, lll_robust_trylock): Removed.
12080 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12081 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12082 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12083 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12084 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12085 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12086 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12087 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12088 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12089 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12090 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12091 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12092 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12093 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12095 2014-07-02 Florian Weimer <fweimer@redhat.com>
12097 * manual/locale.texi (Locale Names): New section documenting
12098 locale name syntax. Adjust menu and node chaining accordingly.
12099 (Choosing Locale): Reference Locale Names, Locale Categories.
12100 Mention setting LC_ALL=C. Reflect that name syntax is now
12102 (Locale Categories): New section title. Reference Locale Names.
12103 LC_ALL is an environment variable, but not a category.
12104 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12105 description, now in Locale Name. Reference that section. Locale
12106 name syntax is now documented.
12108 2014-07-02 Florian Weimer <fweimer@redhat.com>
12111 * locale/findlocale.c (name_present, valid_locale_name): New
12113 (_nl_find_locale): Use the loc_name variable to store name
12114 candidates. Call name_present and valid_locale_name to check and
12115 validate locale names. Return an error if the locale is invalid.
12117 2014-07-02 Florian Weimer <fweimer@redhat.com>
12119 * locale/setlocale.c (setlocale): Use strdup for allocating
12120 composite name copy.
12122 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12124 Sync up with gnulib.
12125 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12126 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12127 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12128 and _GL_ARG_NONNULL.
12129 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12130 [!_LIBC]: Include code for Windows and Cygwin.
12131 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12132 Include prototype for int strerror_r.
12133 [!_LIBC] (is_open): New function.
12134 (flush_stdout): New function.
12135 (print_errno_message): Use it.
12137 (error_at_line): Likewise.
12138 (error_tail) Add function attribute macros. Use
12141 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12143 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12145 * io/ftw.c: Include sys/param.h unconditionally.
12147 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12150 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12152 (freecache): New function to free CACHE on exit.
12154 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12157 2014-07-09 David S. Miller <davem@davemloft.net>
12159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12161 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12162 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12163 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12164 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12165 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12166 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12167 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12168 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12169 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12170 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12171 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12172 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12173 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12175 2014-07-09 Andreas Schwab <schwab@suse.de>
12177 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12179 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12180 (do_test): Likewise.
12182 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12184 2014-07-09 Will Newton <will.newton@linaro.org>
12186 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12187 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12188 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12189 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12190 * sysdeps/hppa/start.S (_start): Likewise.
12192 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12194 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12196 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12199 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12201 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12202 after checking that it is non-NULL.
12204 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12206 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12208 * sysdeps/powerpc/memmove.c: Remove file.
12209 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12210 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12212 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12214 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12215 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12216 string memmove instead of removed powerpc one.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12219 [weak_alias]: Fix compiler warning due trailing data.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12221 [weak_alias]: Likewise.
12222 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12223 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12226 (__libc_ifunc_impl_list): Add memmove functions.
12228 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12230 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12232 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12234 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12236 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12238 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12240 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12242 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12244 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12246 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12248 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12250 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12252 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12254 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12256 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12258 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12260 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12262 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12265 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12267 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12268 to avoid alignment traps in non-cacheable memory.
12269 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12274 file: multiarch power7 memmove.
12275 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12276 multiarch default memmove.
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12278 multiarch memove for powerpc32/power4.
12280 * string/bcopy.c: Use full path to include memmove.c.
12281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12283 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12284 bcopy for powerpc64.
12285 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12286 bcopy for powerpc64.
12287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12288 and memmove implementations.
12289 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12290 optimized multiarch memmove for POWER7/powerpc64.
12291 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12292 default multiarch memmove for powerpc64.
12293 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12294 multiarch for powerpc64.
12295 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12296 for POWER7/powerpc64.
12297 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12298 memmove for POWER7/powerpc64.
12300 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12303 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12304 __ELF_NATIVE_CLASS equal to 64.
12306 2014-07-07 Roland McGrath <roland@hack.frob.com>
12308 * sysdeps/nptl/lowlevellock.h: File removed.
12310 * NEWS: NPTL is no longer an add-on!
12311 * nptl/internaltypes.h: Moved ...
12312 * sysdeps/nptl/internaltypes.h: ... here.
12313 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12314 * sysdeps/nptl/fork.c: Likewise.
12315 * sysdeps/nptl/gai_misc.h: Likewise.
12316 * sysdeps/nptl/librt-cancellation.c: Likewise.
12317 * sysdeps/nptl/jmp-unwind.c: Likewise.
12318 * sysdeps/nptl/setxid.h: Likewise.
12319 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12320 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12321 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12322 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12323 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12324 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12325 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12326 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12327 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12328 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12329 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12330 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12331 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12332 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12333 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12334 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12335 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12336 * nptl/Makeconfig: Moved ...
12337 * sysdeps/nptl/Makeconfig: ... here.
12338 * nptl/configure: File removed.
12339 * nptl/ANNOUNCE: File removed.
12340 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12341 * sysdeps/unix/sysv/linux/configure: Regenerated.
12343 * nptl/Makefile (routines): Add libc_pthread_init,
12344 libc_multiple_threads, register-atfork and unregister-atfork.
12345 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12346 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12347 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12348 pthread-pi-defines.sym, structsem.sym.
12349 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12350 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12351 [$(subdir) = nptl] (tests): Add tst-setgetname.
12352 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12353 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12354 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12355 [!LIBC_SIGACTION]: Remove aliases.
12356 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12357 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12358 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12359 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12360 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12361 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12363 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12364 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12365 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12366 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12367 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12368 __libc_allocate_rtsig_private.
12369 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12370 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12371 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12372 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12373 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12374 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12375 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12376 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12377 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12378 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12379 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12380 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12381 * nptl/internaltypes.h: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12383 * sysdeps/nptl/jmp-unwind.c: ... here.
12384 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12385 * nptl/libc-lowlevellock.c: ... here.
12386 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12387 * nptl/libc_multiple_threads.c: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12389 * nptl/libc_pthread_init.c: ... here.
12390 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12391 * nptl/lowlevelbarrier.sym: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12393 * nptl/lowlevelcond.sym: ... here.
12394 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12395 * nptl/lowlevellock.c: ... here.
12396 * nptl/lowlevellock.h: Moved ...
12397 * sysdeps/nptl/lowlevellock.h: ... here.
12398 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12399 * nptl/lowlevelrobustlock.c: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12401 * nptl/lowlevelrobustlock.sym: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12403 * nptl/lowlevelrwlock.sym: ... here.
12404 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12405 * nptl/pt-fork.c: ... here.
12406 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12407 * nptl/pthread-pi-defines.sym: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12409 * nptl/pthread_attr_getaffinity.c: ... here.
12410 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12411 * nptl/pthread_attr_setaffinity.c: ... here.
12412 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12413 * nptl/pthread_mutex_cond_lock.c: ... here.
12414 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12416 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12417 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12418 * nptl/pthread_once.c: ... here, replacing old file.
12419 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12420 * nptl/pthread_yield.c: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12422 * nptl/register-atfork.c: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12424 * nptl/sem_post.c: ... here.
12425 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12426 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12427 * nptl/sem_timedwait.c: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12429 * nptl/sem_trywait.c: ... here.
12430 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12431 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12432 * nptl/sem_wait.c: ... here.
12433 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12434 * nptl/structsem.sym: ... here.
12435 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12436 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12437 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12438 * nptl/unregister-atfork.c: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12440 * nptl/unwindbuf.sym: ... here.
12441 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12442 * sysdeps/nptl/fork.c: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12444 * sysdeps/nptl/fork.h: ... here.
12445 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12446 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12447 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12448 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12449 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12450 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12451 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12452 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12453 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12455 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12457 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12458 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12459 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12461 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12463 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12465 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12466 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12467 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12468 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12469 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12471 * sysdeps/unix/sysv/linux/raise.c: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12473 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12475 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12477 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12478 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12479 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12480 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12481 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12482 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12483 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12484 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12485 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12486 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12488 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12490 * sysdeps/generic/memcopy.h: Add comment for
12491 MEMCPY_OK_FOR_FWD_MEMMOVE.
12493 2014-07-04 Will Newton <will.newton@linaro.org>
12495 * string/memchr.c: Merge from gnulib.
12496 [_LIBC]: Remove conditionals.
12497 (__ptr_t): Remove define.
12498 (LONG_MAX_32_BITS): Likewise.
12499 (LONG_MAX): Likewise.
12500 (MEMCHR): Use ANSI prototype and optimize algorithm.
12502 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12504 2014-07-03 Roland McGrath <roland@hack.frob.com>
12506 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12507 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12509 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12510 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12511 in a bare environment with no <stdlib.h> installed.
12512 * sysdeps/nptl/configure: Regenerated.
12514 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12516 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12517 AC_EGREP_CPP for kernel header checks, so they only succeed if
12518 including <linux/version.h> actually works right.
12519 * sysdeps/unix/sysv/linux/configure: Regenerated.
12521 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12522 value so it's not diagnosed as unused.
12524 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12525 thing) with "ifeq ($(subdir),rt)".
12527 2014-07-03 Richard Henderson <rth@redhat.com>
12529 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12530 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12531 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12533 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12534 (math_force_eval): New.
12536 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12537 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12539 * sysdeps/alpha/fpu/s_round.c: Remove file.
12540 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12542 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12543 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12544 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12545 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12546 (_dl_start, print_statistics): Likewise.
12547 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12548 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12550 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12551 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12552 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12553 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12554 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12555 (HP_SMALL_TIMING_AVAIL): Define.
12556 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12557 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12558 (HP_SMALL_TIMING_AVAIL): Define.
12559 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12560 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12562 * sysdeps/aarch64/hp-timing.h: New file.
12564 * sysdeps/generic/hp-timing.h: Remove dead comment.
12565 * sysdeps/generic/hp-timing-common.h: New file.
12566 * sysdeps/alpha/hp-timing.h: Include it.
12567 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12568 * sysdeps/i386/i686/hp-timing.h: Likewise.
12569 * sysdeps/ia64/hp-timing.h: Likewise.
12570 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12571 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12572 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12573 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12574 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12575 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12576 (hp_timing_t): New.
12578 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12579 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12580 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12581 * elf/rtld.c (_dl_start_final): Likewise.
12582 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12583 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12584 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12585 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12586 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12587 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12588 (HP_TIMING_DIFF_INIT): Remove.
12589 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12590 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12591 (HP_TIMING_DIFF_INIT): Remove.
12592 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12593 * sysdeps/i386/i686/hp-timing.c: Remove file.
12594 * sysdeps/x86_64/hp-timing.c: Remove file.
12595 * sysdeps/ia64/hp-timing.c: Remove file.
12596 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12597 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12598 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12599 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12601 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12602 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12603 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12604 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12605 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12606 (HP_TIMING_ACCUM): Remove.
12607 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12608 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12609 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12611 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12612 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12613 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12614 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12615 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12616 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12617 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12618 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12620 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12622 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12624 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12626 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12628 Sync up with gettext.
12629 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12630 [_MSC_VER]: Include malloc.h
12631 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12632 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12633 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12634 TEMP_FAILURE_RETRY. Cast return of alloca.
12635 [!_LIBC] Call gl_rwlock_init.
12636 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12638 2014-07-02 Roland McGrath <roland@hack.frob.com>
12640 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12641 before checking its value.
12643 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12645 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12647 * debug/memcpy_chk.c: Don't include pagecopy.h.
12648 * debug/mempcpy_chk.c: Likewise.
12649 * string/memcpy.c: Likewise.
12650 * string/memmove.c: Likewise.
12651 * sysdeps/powerpc/memmove.c: Likewise.
12652 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12653 definition of PAGE_COPY_FWD_MAYBE here...
12654 * sysdeps/generic/pagecopy.h: ... from here.
12655 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12657 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12658 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12660 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12664 (__libc_ifunc_impl_list): Likewise.
12665 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12666 multiarch strcat for PPC64.
12667 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12668 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12670 2014-07-02 Roland McGrath <roland@hack.frob.com>
12672 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12674 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12676 * intl/loadmsgcat.c: Remove declaration of
12677 get_sysdep_segment_value.
12678 (get_sysdep_segment_value): Use ISO C style.
12679 (_nl_load_domain): Use ISO C style. Get rid of redundant
12680 semicolon. Fix typo and formatting in comment.
12681 (_nl_unload_domain): Use ISO C style.
12683 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12685 2014-07-02 Will Newton <will.newton@linaro.org>
12687 * malloc/obstack.c: Merge from gnulib master.
12688 [HAVE_CONFIG_H]: Remove conditional code.
12689 [!_LIBC]: Include config.h.
12690 [!ELIDE_CODE]: Don't include inttypes.h, include
12691 stdint.h unconditionally.
12692 (print_and_abort): Mark as _Noreturn.
12693 (_obstack_allocated_p): Mark as __attribute_pure__.
12694 (obstack_free): Rename to __obstack_free.
12695 [!__attribute__]: Remove conditional code.
12696 * malloc/obstack.h: Merge from gnulib master.
12697 [__cplusplus]: Move conditional down.
12698 [!__attribute_pure__]: Define __attribute_pure__ here
12699 if it is not already defined.
12700 (_obstack_memory_used): Mark as __attribute_pure__.
12701 [!__obstack_free]: Define as obstack_free.
12702 [__GNUC__]: Remove check for ancient NeXT gcc.
12704 2014-07-02 Will Newton <will.newton@linaro.org>
12705 Paul Eggert <eggert@cs.ucla.edu>
12707 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12709 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12711 * resolv/gethnamaddr.c: Add comment warning that the file is
12714 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12716 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12719 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12720 entry for aio_cancel and aio_cancel64.
12721 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12722 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12723 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12724 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12725 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12726 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12727 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12728 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12729 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12730 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12731 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12732 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12733 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12735 2014-07-01 Roland McGrath <roland@hack.frob.com>
12737 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12738 * nptl/pthread_mutex_lock.c: Likewise.
12739 * nptl/pthread_mutex_timedlock.c: Likewise.
12740 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12742 2014-07-01 Richard henderson <rth@redhat.com>
12744 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12745 (__isnan, __isnanl): Remove.
12746 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12748 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12750 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12752 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12754 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12756 * resolv/nss_dns/dns-host.c (getanswer_r)
12757 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12759 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12762 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12764 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12765 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12767 2014-07-01 Roland McGrath <roland@hack.frob.com>
12769 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12770 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12772 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12773 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12775 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12776 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12778 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12779 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12781 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12782 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12783 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12784 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12786 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12787 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12788 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12789 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12790 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12792 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12794 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12795 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12796 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12797 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12798 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12799 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12800 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12801 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12802 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12803 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12804 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12805 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12806 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12807 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12809 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12811 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12812 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12813 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12815 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12816 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12817 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12818 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12819 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12820 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12821 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12822 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12824 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12826 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12827 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12828 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12831 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12835 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12837 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12838 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12840 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12842 * sysdeps/arm/libm-test-ulps: Regenerated.
12844 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12845 Roland McGrath <roland@hack.frob.com>
12847 * test-skeleton.c (signal_handler): Kill the whole process group
12848 before killing the child individually.
12849 (main): Report any failure on `setpgid'.
12851 2014-06-30 Roland McGrath <roland@hack.frob.com>
12853 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12854 from _TLS_H to _ARM_NPTL_TLS_H.
12855 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12856 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12858 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12862 (__expm1l): Return argument unchanged when small but not
12865 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12866 include macro name.
12867 (_FP_UNPACK_RAW_1_P): Likewise.
12868 (_FP_PACK_RAW_1): Likewise.
12869 (_FP_PACK_RAW_1_P): Likewise.
12870 (_FP_MUL_MEAT_1_wide): Likewise.
12871 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12872 (_FP_MUL_MEAT_1_hard): Likewise.
12873 (_FP_DIV_MEAT_1_imm): Likewise.
12874 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12875 (_FP_DIV_MEAT_1_udiv): Likewise.
12876 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12877 (_FP_UNPACK_RAW_2): Likewise.
12878 (_FP_UNPACK_RAW_2_P): Likewise.
12879 (_FP_PACK_RAW_2): Likewise.
12880 (_FP_PACK_RAW_2_P): Likewise.
12881 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12882 (_FP_MUL_MEAT_2_wide): Likewise.
12883 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12884 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12885 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12886 (_FP_MUL_MEAT_2_gmp): Likewise.
12887 (_FP_DIV_MEAT_2_udiv): Likewise.
12888 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12889 (_FP_FRAC_SRL_4): Likewise.
12890 (_FP_FRAC_SRST_4): Likewise.
12891 (_FP_FRAC_SRS_4): Likewise.
12892 (_FP_UNPACK_RAW_4): Likewise.
12893 (_FP_UNPACK_RAW_4_P): Likewise.
12894 (_FP_PACK_RAW_4): Likewise.
12895 (_FP_PACK_RAW_4_P): Likewise.
12896 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12897 (_FP_MUL_MEAT_4_wide): Likewise.
12898 (_FP_MUL_MEAT_4_gmp): Likewise.
12899 (umul_ppppmnnn): Likewise.
12900 (_FP_DIV_MEAT_4_udiv): Likewise.
12901 (__FP_FRAC_ADD_4): Likewise.
12902 (__FP_FRAC_SUB_3): Likewise.
12903 (__FP_FRAC_SUB_4): Likewise.
12904 (__FP_FRAC_DEC_3): Likewise.
12905 (__FP_FRAC_DEC_4): Likewise.
12906 (__FP_FRAC_ADDI_4): Likewise.
12907 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12908 (_FP_FRAC_SRL_8): Likewise.
12909 (_FP_FRAC_SRS_8): Likewise.
12911 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12912 include macro name.
12913 (FP_UNPACK_RAW_EP): Likewise.
12914 (FP_PACK_RAW_E): Likewise.
12915 (FP_PACK_RAW_EP): Likewise.
12916 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12917 (_FP_ISSIGNAN): Likewise.
12918 (_FP_ADD_INTERNAL): Likewise.
12919 (_FP_FMA): Likewise.
12920 (_FP_CMP): Likewise.
12921 (_FP_SQRT): Likewise.
12922 (_FP_TO_INT): Likewise.
12923 (_FP_FROM_INT): Likewise.
12924 (FP_EXTEND): Likewise.
12925 (_FP_DIV_MEAT_N_loop): Likewise.
12927 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12929 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12932 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12935 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12936 result with correct sign in case of exponents that produce
12937 overflow except for X very close to 1.
12939 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12941 mktime: merge #if/#ifdef usage from glibc
12942 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12943 as that works with both Glibc's and Gnulib's style.
12944 See thread starting at Siddhesh Poyarekar's bug report at:
12945 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12947 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12949 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12950 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12951 * sysdeps/tile/tilegx/memmove.c: Remove file.
12953 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12955 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12956 abi-name definition.
12957 * scripts/soversions.awk: Do not handle or generate ABI lines.
12958 * shlib-versions: Remove ABI entries.
12959 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12960 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12962 2014-06-27 Roland McGrath <roland@hack.frob.com>
12964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12965 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12966 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12967 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12969 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12972 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12975 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12977 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12979 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12980 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12981 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12982 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12983 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12985 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12986 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12990 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12992 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12995 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12998 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12999 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13000 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13003 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13004 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13005 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13006 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13007 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13009 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13012 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13014 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13015 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13017 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13018 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13020 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13022 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13025 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13028 Identical file removed.
13029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13031 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13032 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13033 Identical file removed.
13034 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13035 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13038 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13040 Identical file removed.
13041 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13042 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13043 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13044 Identical file removed.
13045 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13046 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13047 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13048 Identical file removed.
13049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13050 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13052 Identical file removed.
13053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13055 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13056 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13057 Identical file removed.
13058 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13060 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13061 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13062 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13063 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13064 Identical file removed.
13065 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13067 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13069 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13070 Identical file removed.
13071 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13073 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13074 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13075 Identical file removed.
13076 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13078 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13079 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13080 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13081 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13082 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13083 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13085 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13086 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13087 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13089 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13090 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13091 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13092 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13093 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13095 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13098 * nscd/nscd.c (monitor_child): Return exit status of child
13099 instead of return value from wait syscall.
13101 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13103 * configure.ac (libc_commonpagesize): Remove variable.
13104 (libc_relro_required): Likewise.
13105 (libc_cv_z_relro): Remove configure test.
13106 * configure: Regenerated.
13107 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13109 (libc_relro_required): Likewise.
13110 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13111 (libc_relro_required): Likewise.
13112 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13113 (libc_relro_required): Likewise.
13114 * sysdeps/arm/preconfigure: Regenerated.
13115 * sysdeps/ia64/preconfigure: Remove file.
13116 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13118 (libc_relro_required): Likewise.
13122 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13123 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13124 recompute overflowing results in original rounding mode.
13125 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13126 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13127 recompute overflowing results in original rounding mode.
13128 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13129 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13130 recompute overflowing results in original rounding mode.
13131 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13132 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13133 recompute overflowing results in original rounding mode.
13134 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13135 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13136 recompute overflowing results in original rounding mode.
13137 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13138 (libc_feholdsetround_ctx): New macro.
13139 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13140 * sysdeps/i386/fpu/libm-test-ulps: Update.
13141 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13143 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13145 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13146 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13147 corresponding .cpsetup call.
13149 2014-06-26 Roland McGrath <roland@hack.frob.com>
13151 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13152 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13153 * sysdeps/arm/Makefile [$(subdir) = csu]
13154 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13155 (static-only-routines): Add aeabi_read_tp here.
13156 (shared-only-routines): Add libc-aeabi_read_tp here.
13157 (CFLAGS-libc-start.c): Add -fexceptions here.
13158 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13159 (sysdep_routines, static-only-routines, shared-only-routines):
13160 Don't add to these here.
13161 (CFLAGS-libc-start.c): Likewise.
13163 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13164 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13165 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13166 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13167 * sysdeps/arm/Makefile [$(subdir) = rt]
13168 (librt-sysdep_routines, librt-shared-only-routines):
13169 Append rt-aeabi_unwind_cpp_pr1 here.
13170 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13171 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13172 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13173 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13174 Append nptl-aeabi_unwind_cpp_pr1 here.
13175 (tests): Filter out tst-cleanupx4 here.
13176 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13177 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13178 Don't do those here.
13180 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13182 * scripts/list-sources.sh: Do not handle ports specially.
13184 2014-06-26 Roland McGrath <roland@hack.frob.com>
13186 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13187 * sysdeps/arm/feupdateenv.c: Likewise.
13189 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13191 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13193 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13194 trailing whitespace removed.
13195 * scripts/config.guess: Update to version 2014-03-23.
13196 * scripts/config.sub: Update to version 2014-05-01
13197 * scripts/install-sh: Update to version 2013-12-25.23.
13198 * scripts/move-if-change: Update from gnulib.
13200 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13202 * debug/memmove_chk.c: Remove pagecopy.h include.
13204 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13206 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13207 identical to gnulib mktime.
13209 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13211 * configure.ac: Do not test for machine being rs6000. Do not test
13212 for powerpc*-*soft.
13213 * configure: Regenerated.
13216 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13218 * configure: Regenerated.
13219 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13220 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13221 Remove configure test.
13222 * sysdeps/arm/configure: Regenerated.
13223 * sysdeps/nptl/configure.ac: Do not check
13224 libc_cv_asm_cfi_directives.
13225 * sysdeps/nptl/configure: Regenerated.
13226 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13227 * sysdeps/x86_64/nptl/configure: Remove generated file.
13228 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13230 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13232 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13234 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13235 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13236 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13239 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13240 instead of whether it is defined.
13241 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13242 * sysdeps/hppa/dl-machine.h: Likewise.
13243 * sysdeps/ia64/dl-machine.h: Likewise.
13244 * sysdeps/m68k/dl-machine.h: Likewise.
13245 * sysdeps/microblaze/dl-machine.h: Likewise.
13246 * sysdeps/mips/dl-machine.: Likewise.
13247 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13248 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13249 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13250 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13251 * sysdeps/sh/dl-machine.h: Likewise.
13252 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13253 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13254 * sysdeps/tile/dl-machine.h: Likewise.
13255 * sysdeps/x86_64/dl-machine.h: Likewise.
13257 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13259 (verify_persistent_db): Likewise.
13261 2014-06-26 Roland McGrath <roland@hack.frob.com>
13263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13264 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13266 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13269 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13272 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13274 Identical file removed.
13275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13276 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13278 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13280 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13282 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13284 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13287 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13289 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13291 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13294 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13296 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13298 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13300 Identical file removed.
13301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13302 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13304 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13307 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13310 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13312 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13314 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13316 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13318 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13321 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13324 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13326 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13329 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13331 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13333 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13335 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13336 * sysdeps/unix/sysv/linux/s390/Versions
13337 (libpthread: GLIBC_2.19): New version set.
13338 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13339 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13340 (librt: GLIBC_2.3.3): New version set.
13341 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13342 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13343 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13344 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13345 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13346 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13347 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13348 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13349 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13350 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13351 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13353 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13354 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13355 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13356 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13357 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13358 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13359 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13360 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13361 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13362 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13363 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13365 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13366 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13367 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13368 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13369 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13370 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13371 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13372 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13377 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13378 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13379 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13380 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13381 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13382 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13383 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13385 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13387 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13388 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13389 (__libc_vfork): Define the function under this name.
13390 [!NOT_IN_libc] (__vfork): Make this an alias.
13391 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13393 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13394 (__libc_vfork): Define the function under this name.
13395 [!NOT_IN_libc] (__vfork): Make this an alias.
13396 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13397 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13398 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13399 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13400 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13401 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13403 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13404 code that was previously under [RESET_PID].
13405 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13406 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13409 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13410 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13411 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13412 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13413 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13414 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13415 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13416 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13417 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13421 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13422 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13423 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13424 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13425 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13427 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13428 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13429 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13431 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13432 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13433 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13434 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13435 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13436 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13437 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13438 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13439 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13440 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13441 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13442 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13443 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13444 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13445 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13446 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13447 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13448 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13449 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13451 2014-06-25 Roland McGrath <roland@hack.frob.com>
13453 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13454 that was previously under [RESET_PID].
13455 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13457 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13459 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13460 not undefine and redefine.
13461 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13462 [O_CLOEXEC]: Make code unconditional.
13463 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13464 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13465 <kernel-features.h>.
13466 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13467 conditional variable definition.
13468 (shm_open) [O_CLOEXEC]: Make code unconditional.
13469 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13472 * configure.ac (USE_REGPARMS): Don't define here.
13473 * configure: Regenerated.
13474 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13475 * sysdeps/i386/configure: Regenerated.
13477 * nptl/createthread.c: Don't include kernel-features.h.
13478 * nptl/pthread_cancel.c: Likewise.
13479 * nptl/pthread_condattr_setclock.c: Likewise.
13480 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13481 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13482 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13483 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13484 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13485 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13486 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13489 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13490 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13491 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13492 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13493 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13494 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13495 * nscd/gai.c: Likewise.
13496 * nss/nss_db/db-open.c: Likewise.
13497 * sysdeps/generic/ldsodefs.h: Likewise.
13498 * sysdeps/sh/nptl/tls.h: Likewise.
13499 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13500 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13501 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13502 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13503 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13504 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13505 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13506 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13508 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13509 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13510 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13511 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13512 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13513 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13514 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13515 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13516 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13517 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13518 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13520 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13521 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13522 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13523 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13524 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13525 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13526 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13527 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13528 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13529 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13530 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13531 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13532 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13533 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13534 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13535 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13536 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13537 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13538 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13539 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13540 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13541 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13542 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13543 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13544 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13545 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13546 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13547 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13548 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13549 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13550 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13551 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13552 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13553 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13554 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13555 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13556 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13579 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13580 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13581 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13582 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13583 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13584 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13585 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13586 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13587 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13588 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13589 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13590 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13591 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13592 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13593 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13594 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13595 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13596 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13597 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13598 * sysdeps/unix/sysv/linux/system.c: Likewise.
13599 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13600 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13601 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13602 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13603 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13604 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13605 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13607 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13608 * configure: Regenerated.
13609 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13611 * configure.ac (base_machine): Do not set specially for particular
13613 * configure: Regenerated.
13614 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13615 settings from configure.ac.
13616 * sysdeps/i386/preconfigure: New file.
13617 * sysdeps/s390/preconfigure: Likewise.
13618 * sysdeps/sh/preconfigure: Likewise.
13619 * sysdeps/sparc/preconfigure: Likewise.
13621 2014-06-25 Roland McGrath <roland@hack.frob.com>
13623 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13624 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13625 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13626 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13627 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13628 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13629 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13630 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13631 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13632 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13633 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13634 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13635 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13636 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13637 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13638 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13639 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13640 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13641 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13643 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13644 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13645 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13646 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13647 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13648 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13649 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13650 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13651 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13652 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13653 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13654 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13655 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13656 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13657 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13658 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13659 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13660 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13661 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13662 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13663 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13664 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13665 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13666 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13668 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13669 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13670 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13671 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13672 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13673 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13674 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13675 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13676 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13677 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13678 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13679 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13680 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13683 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13685 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13688 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13691 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13693 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13696 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13698 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13700 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13702 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13705 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13708 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13710 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13713 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13715 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13717 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13719 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13721 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13724 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13727 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13729 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13732 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13734 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13736 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13738 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13741 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13744 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13746 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13751 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13753 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13755 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13757 * timezone/checktab.awk: Update from tzcode 2014e.
13758 * timezone/private.h: Likewise.
13759 * timezone/tzfile.h: Likewise.
13760 * timezone/zdump.c: Likewise.
13761 * timezone/zic.c: Likewise.
13763 * sysdeps/unix/sysv/linux/kernel-features.h
13764 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13765 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13766 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13767 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13768 Remove conditional code.
13770 2014-06-25 Will Newton <will.newton@linaro.org>
13772 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13773 (_dl_arm_cap_flags): Add HWCAP2 values.
13774 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13775 (_DL_HWCAP_COUNT): Increase to 37.
13776 (_DL_HWCAP_LAST): New define.
13777 (_DL_HWCAP2_LAST): New define.
13778 (_dl_procinfo): Add support for printing
13780 (_dl_string_hwcap): Use _dl_hwcap_string.
13782 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13786 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13788 * README: Do not mention ports directory.
13790 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13792 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13793 <kernel-features.h>.
13794 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13795 conditional variable definition.
13796 (__futimes): Update comment.
13797 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13798 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13801 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13802 arguments close to 0.
13803 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13805 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13807 * math/auto-libm-test-in: Add more tests of exp10.
13808 * math/auto-libm-test-out: Regenerated.
13809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13811 * sysdeps/unix/sysv/linux/kernel-features.h
13812 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13813 * sysdeps/unix/sysv/linux/readv.c: Do not include
13814 <kernel-features.h>.
13815 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13816 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13817 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13819 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13821 * sysdeps/unix/sysv/linux/writev.c: Do not include
13822 <kernel-features.h>.
13823 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13824 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13825 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13827 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13830 2014-06-25 Will Newton <will.newton@linaro.org>
13832 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13833 comment changes throughout the file. Remove checks
13834 for HAVE_*_H definitions that are not required.
13835 (__gen_tempname): Call abort if an unknown kind value is
13838 2014-06-25 Andreas Schwab <schwab@suse.de>
13841 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13842 scalbln, scalblnf, scalblnl in libc.
13844 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13847 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13848 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13849 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13851 2014-06-24 Roland McGrath <roland@hack.frob.com>
13853 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13854 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13855 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13856 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13858 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13859 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13861 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13862 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13863 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13864 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13865 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13866 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13867 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13868 * sysdeps/x86/bits/semaphore.h: ... here.
13869 * sysdeps/x86/nptl/elide.h: Moved ...
13870 * sysdeps/x86/elide.h: ... here.
13871 * sysdeps/x86_64/nptl/Implies: File removed.
13872 * sysdeps/i386/nptl/Implies: File removed.
13874 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13877 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13878 return the argument for normal arguments with exponent below -64.
13879 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13881 * math/auto-libm-test-in: Add another test of expm1.
13882 * math/auto-libm-test-out: Regenerated.
13885 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13886 calling __erfcl for arguments at least 16.
13887 * math/auto-libm-test-in: Add more tests of erf.
13888 * math/auto-libm-test-out: Regenerated.
13890 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13891 individual architectures.
13892 * sysdeps/unix/sysv/linux/configure: Regenerated.
13893 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13894 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13895 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13896 (ldd_rewrite_script): Define variable.
13897 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13902 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13903 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13904 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13905 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13906 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13907 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13908 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13909 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13911 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13914 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13915 Rename member __data.d to __data.__elision_data.
13917 2014-06-24 Wilco <wdijkstr@arm.com>
13919 * NEWS: Add 16918 to fixed bug list.
13921 2014-06-24 Wilco <wdijkstr@arm.com>
13923 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13925 2014-06-24 Wilco <wdijkstr@arm.com>
13927 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13928 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13929 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13930 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13931 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13932 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13933 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13936 2014-06-24 Wilco <wdijkstr@arm.com>
13938 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13940 2014-06-24 Wilco <wdijkstr@arm.com>
13942 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13943 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13944 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13945 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13947 2014-06-24 Wilco <wdijkstr@arm.com>
13950 * sysdeps/arm/feupdateenv.c (feupdateenv):
13951 Rewrite to reduce FPSCR accesses and fix return value.
13953 2014-06-24 Wilco <wdijkstr@arm.com>
13955 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13956 Optimize to avoid unnecessary FPSCR writes.
13957 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13958 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13959 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13960 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13962 2014-06-24 Wilco <wdijkstr@arm.com>
13964 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13965 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13966 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13967 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13968 Call libc_fetestexcept_vfp.
13969 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13970 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13971 __SOFTFP__ ifdef so that they can be built for softfp.
13973 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13975 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13976 argument type signed char.
13978 * Makerules (check-abi): Dump diff of symlist if the test
13981 2014-06-23 Roland McGrath <roland@hack.frob.com>
13983 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13986 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13987 Remove unused variable ST.
13989 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13993 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13994 small arguments before calling __expm1.
13995 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13996 small arguments before calling __expm1f.
13997 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13998 small arguments before calling __expm1l.
13999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14001 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14002 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14003 spurious underflow for some cosh tests.
14004 * math/auto-libm-test-out: Regenerated.
14005 * sysdeps/i386/fpu/libm-test-ulps: Update.
14008 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14009 (__ieee754_y1): Set errno if return value overflows.
14010 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14011 (__ieee754_y1f): Set errno if return value overflows.
14012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14013 (__ieee754_y1l): Set errno if return value overflows.
14014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14015 (__ieee754_y1l): Set errno if return value overflows.
14016 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14017 * math/auto-libm-test-out: Regenerated.
14019 * math/gen-auto-libm-tests.c: Document use of
14020 ignore-zero-inf-sign.
14021 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14022 (input_flags): Add ignore-zero-inf-sign.
14023 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14024 * math/gen-libm-test.pl (generate_testfile): Handle
14025 ignore-zero-inf-sign.
14026 * math/auto-libm-test-in: Mark some cpow tests with
14027 ignore-zero-inf-sign and some with xfail-rounding.
14028 * math/auto-libm-test-out: Regenerated.
14029 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14030 * sysdeps/i386/fpu/libm-test-ulps: Update.
14031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14034 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14035 overflowing or underflowing operations take place with sign of
14037 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14038 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14039 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14040 (__ieee754_pow): Recompute overflowing and underflowing results in
14041 original rounding mode.
14042 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14043 (__powl_helper): Allow negative argument X and scale negated value
14044 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14045 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14046 overflowing or underflowing operations take place with sign of
14048 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14050 * math/auto-libm-test-in: Add more tests of pow.
14051 * math/auto-libm-test-out: Regenerated.
14052 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14053 (pow_tonearest_test_data): Remove.
14054 (pow_test_tonearest): Likewise.
14055 (pow_towardzero_test_data): Likewise.
14056 (pow_test_towardzero): Likewise.
14057 (pow_downward_test_data): Likewise.
14058 (pow_test_downward): Likewise.
14059 (pow_upward_test_data): Likewise.
14060 (pow_test_upward): Likewise.
14061 (main): Don't call removed functions.
14062 * sysdeps/i386/fpu/libm-test-ulps: Update.
14063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14065 2014-06-23 Roland McGrath <roland@hack.frob.com>
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14241 2014-06-23 Will Newton <will.newton@linaro.org>
14242 Wilco <wdijkstr@arm.com>
14244 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14245 implementation. Include get-rounding-mode.h.
14246 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14247 [!libc_feholdsetround_noex_ctx]: Define
14248 libc_feholdsetround_noex_ctx.
14249 [!libc_feholdsetround_noexf_ctx]: Define
14250 libc_feholdsetround_noexf_ctx.
14251 [!libc_feholdsetround_noexl_ctx]: Define
14252 libc_feholdsetround_noexl_ctx.
14253 (libc_feholdsetround_ctx): New function.
14254 (libc_feresetround_ctx): New function.
14255 (libc_feholdsetround_noex_ctx): New function.
14256 (libc_feresetround_noex_ctx): New function.
14258 2014-06-23 Roland McGrath <roland@hack.frob.com>
14260 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14261 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14262 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14263 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14264 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14265 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14267 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14268 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14269 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14270 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14271 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14272 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14273 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14274 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14275 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14276 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14279 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14282 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14283 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14284 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14285 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14287 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14288 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14289 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14290 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14291 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14293 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14296 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14299 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14301 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14304 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14306 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14307 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14308 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14309 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14310 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14311 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14312 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14313 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14315 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14318 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14320 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14322 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14323 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14324 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14326 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14328 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14329 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14331 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14332 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14333 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14334 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14335 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14336 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14338 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14339 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14340 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14341 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14342 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14344 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14345 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14346 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14347 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14348 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14349 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14350 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14351 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14352 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14353 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14354 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14355 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14356 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14357 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14358 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14359 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14360 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14361 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14362 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14363 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14364 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14365 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14366 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14367 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14368 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14369 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14370 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14371 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14373 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14375 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14376 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14377 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14378 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14379 (IPV6_PMTUDISC_INTERFACE): Likewise.
14380 (IPV6_PMTUDISC_OMIT): Likewise.
14382 2014-06-23 Andreas Schwab <schwab@suse.de>
14384 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14385 Remove unused errout label.
14387 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14389 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14390 macro: hardware supports Vector Crypto instructions.
14392 2014-06-23 Will Newton <will.newton@linaro.org>
14394 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14395 rather than __builtin_expect.
14397 * elf/dl-lookup.c (undefined_msg): Remove variable.
14398 (_dl_lookup_symbol_x): Replace undefined_msg with string
14401 * elf/dl-lookup.c (do_lookup_unique): New function.
14402 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14403 to a separate function.
14405 2014-06-23 Andreas Schwab <schwab@suse.de>
14408 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14409 before reading the next line.
14411 2014-06-23 Will Newton <will.newton@linaro.org>
14413 * test-skeleton.c (signal_handler): Use printf and %m
14414 rather than perror. Use printf rather than fprintf to
14415 stderr. Use puts rather than fputs to stderr.
14418 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14420 * nscd/nscd.c (thread_info_t): Remove typedef.
14421 (thread_info): Remove variable.
14423 2014-06-21 Allan McRae <allan@archlinux.org>
14425 * NEWS: Mention CVE-2014-4043.
14427 2014-06-20 Roland McGrath <roland@hack.frob.com>
14429 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14430 * nptl/smp.h: ... here.
14432 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14434 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14435 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14436 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14437 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14439 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14440 * nptl/stack-aliasing.h: New file.
14441 * sysdeps/i386/i686/stack-aliasing.h: New file.
14442 * sysdeps/i386/i686/nptl/Makefile: File removed.
14443 * sysdeps/x86_64/stack-aliasing.h: New file.
14444 * sysdeps/x86_64/nptl/Makefile
14445 (CFLAGS-pthread_create.c): Variable removed.
14447 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14448 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14450 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14451 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14454 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14456 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14457 (__ASSUME_SIGFRAME_V2): Remove macro.
14458 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14459 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14460 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14461 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14462 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14463 Declare as function. Remove conditional macro definitions.
14464 (__default_rt_sa_restorer): Likewise.
14465 (__default_sa_restorer_v1): Remove declaration.
14466 (__default_sa_restorer_v2): Likewise.
14467 (__default_rt_sa_restorer_v1): Likewise.
14468 (__default_rt_sa_restorer_v2): Likewise.
14469 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14470 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14471 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14473 2014-06-20 Roland McGrath <roland@hack.frob.com>
14475 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14476 (libpthread-routines): Add sysdep.
14477 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14478 * sysdeps/unix/sysv/linux/sparc/Versions
14479 (libpthread: GLIBC_2.3.3): New version set.
14480 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14481 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14482 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14483 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14484 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14485 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14487 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14488 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14489 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14490 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14491 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14492 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14493 * sysdeps/sparc/nptl/sem_init.c: ... here.
14494 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14495 * sysdeps/sparc/nptl/sem_post.c: ... here.
14496 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14497 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14498 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14499 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14500 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14501 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14502 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14503 (libpthread-routines): Add cpu_relax.
14504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14506 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14507 (librt: GLIBC_2.3.3): New version set.
14508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14509 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14510 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14511 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14514 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14517 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14519 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14521 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14523 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14525 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14528 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14532 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14540 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14544 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14548 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14551 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14557 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14559 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14562 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14564 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14566 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14568 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14570 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14571 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14572 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14573 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14574 * nscd/nscd.c: Likewise.
14575 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14576 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14577 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14578 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14580 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14581 <kernel-features.h>.
14582 (init_mq_netlink): Remove conditional have_sock_cloexec
14583 definitions. Remove code conditional on have_sock_cloexec < 0.
14584 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14585 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14586 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14587 <kernel-features.h>.
14588 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14589 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14591 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14593 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14594 Add tests for memset_chk and memset.
14596 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14599 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14602 * elf/tst-dl-iter-static.c: New file.
14603 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14605 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14608 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14610 * sysdeps/unix/sysv/linux/kernel-features.h
14611 (__ASSUME_F_GETOWN_EX): Remove macro.
14612 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14613 <kernel-features.h>.
14614 (miss_F_GETOWN_EX): Remove variable or macro.
14615 (do_fcntl): Do not check miss_F_GETOWN_EX.
14616 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14618 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14621 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14622 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14624 * sysdeps/unix/sysv/linux/kernel-features.h
14625 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14626 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14627 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14628 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14630 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14633 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14634 Fix calculation of the symbol's value.
14635 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14636 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14637 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14638 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14639 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14640 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14641 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14642 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14643 (modules-names): Add `tst-armtlsdescmod',
14644 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14645 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14646 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14647 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14648 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14649 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14650 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14651 ($(objpfx)tst-armtlsdescloc): New dependency.
14652 ($(objpfx)tst-armtlsdescextnow): Likewise.
14653 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14654 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14655 TLS scheme support.
14656 * sysdeps/arm/configure: Regenerate.
14658 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14660 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14661 (__atfct_seterrno_2): Likewise.
14662 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14663 <kernel-features.h>.
14664 (__ASSUME_ATFCTS): Do not undefine and redefine.
14665 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14666 (__have_atfcts): Remove conditional definition.
14667 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14668 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14669 unreachable if [__ASSUME_ATFCTS].
14670 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14671 not undefine and redefine.
14672 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14673 <kernel-features.h>.
14674 (faccessat) [__NR_faccessat]: Make code unconditional.
14675 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14676 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14677 <kernel-features.h>.
14678 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14679 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14680 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14681 <kernel-features.h>.
14682 (fchownat) [__NR_fchownat]: Make code unconditional.
14683 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14684 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14685 <kernel-features.h>.
14686 (futimesat) [__NR_futimesat]: Make code unconditional.
14687 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14688 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14689 <kernel-features.h>.
14690 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14691 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14692 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14693 <kernel-features.h>.
14694 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14695 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14696 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14697 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14698 <kernel-features.h>.
14699 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14700 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14701 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14702 <kernel-features.h>.
14703 (linkat) [__NR_linkat]: Make code unconditional.
14704 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14705 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14706 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14707 <kernel-features.h>.
14708 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14709 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14710 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14711 <kernel-features.h>.
14712 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14713 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14714 * sysdeps/unix/sysv/linux/openat.c: Do not include
14715 <kernel-features.h>.
14716 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14717 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14718 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14719 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14720 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14721 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14722 <kernel-features.h>.
14723 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14724 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14725 result of INLINE_SYSCALL directly, not via int variable.
14726 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14727 <kernel-features.h>.
14728 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14729 (renameat) [__NR_renameat]: Make code unconditional.
14730 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14731 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14732 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14733 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14734 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14735 (__ASSUME_ATFCTS): Do not undefine and redefine.
14736 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14737 <kernel-features.h>.
14738 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14739 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14740 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14741 <kernel-features.h>.
14742 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14743 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14744 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14745 (__ASSUME_ATFCTS): Do not undefine and redefine.
14746 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14747 <kernel-features.h>.
14748 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14749 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14750 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14751 <kernel-features.h>.
14752 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14753 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14755 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14757 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14759 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14762 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14763 constructed tree before returning error.
14764 * posix/bug-regexp36.c: Expand test case.
14766 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14769 * math/libm-test.inc (scalbln_test_date):
14770 Add errno expectations.
14771 * math/w_scalblnf.c: New File.
14772 Add wrapper which checks for setting errno to ERANGE.
14773 Add weak_alias for corresponding scalbln function.
14774 * math/w_scalbln.c: Likewise.
14775 * math/w_scalblnl.c: Likewise.
14776 * math/Makefile (libm-calls): Add w_scalbln.
14777 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14778 Remove weak_alias for corresponding scalbln function.
14779 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14781 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14783 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14784 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14785 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14786 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14787 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14788 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14789 Remove long_double_symbol for scalblnl function in libm, libc.
14790 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14791 Add wrapper which checks for setting errno to ERANGE.
14792 Add long_double_symbol for scalblnl function in libm, libc.
14793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14794 Remove long_double_symbol for scalblnl in libm.
14795 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14796 Add wrapper which checks for setting errno to ERANGE.
14797 Add long_double_symbol for scalblnl function in libm.
14798 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14799 Do not use wrapper because of own implementation.
14801 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14803 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14804 3 bytes for __pad1 for x32.
14805 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14807 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14808 H.J. Lu <hongjiu.lu@intel.com>
14810 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14811 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14812 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14813 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14814 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14816 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14819 * posix/regcomp.c (parse_expression): Deallocate partially
14820 constructed tree before returning error.
14821 * posix/Makefile.c (tests): Add bug-regex36.
14822 (generated): Add bug-regex36.mtrace.
14823 (tests-special): Add $(objpfx)bug-regex36-mem.out
14824 (bug-regex36-ENV): New variable.
14825 ($(objpfx)bug-regex36-mem.out): New rule.
14826 * posix/bug-regex36.c: New file.
14828 2014-06-19 Will Newton <will.newton@linaro.org>
14830 * malloc/malloc.c (systrim): If extra is zero then return
14833 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14835 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14837 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14839 * sysdeps/aarch64/strchr.S: New file.
14841 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14844 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14845 from arguments -2 or below.
14846 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14847 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14849 2014-06-18 Andreas Schwab <schwab@suse.de>
14852 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14853 of a bracket expr not to run off the end of the string.
14854 * posix/Makefile (tests): Add tst-fnmatch3.
14855 * posix/tst-fnmatch3.c: New file.
14857 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14859 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14860 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14861 [$(cross-compiling) = no]: Likewise.
14862 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14863 [$(cross-compiling) = no]: Likewise.
14865 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14868 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14869 double, adjusted for any remainder from the high double.
14870 * math/libm-test.inc (nearbyint): Add tests.
14873 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14875 * nptl/sysdeps/powerpc/Makefile: Moved ...
14876 * sysdeps/powerpc/nptl/Makefile: ... here.
14877 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14878 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14879 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14880 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14881 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14882 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14883 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14884 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14885 * nptl/sysdeps/powerpc/tls.h: Moved ...
14886 * sysdeps/powerpc/nptl/tls.h: ... here.
14888 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14891 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14892 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14893 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14894 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14895 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14896 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14897 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14898 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14899 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14901 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14903 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14905 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14907 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14910 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14913 2014-06-16 Florian Weimer <fweimer@redhat.com>
14916 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14917 non-executed part of the test.
14919 2014-06-16 Andreas Schwab <schwab@suse.de>
14921 * string/bits/string2.h (strdup, strndup): Update feature guard.
14923 2014-06-14 David S. Miller <davem@davemloft.net>
14925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14927 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14929 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14930 that was previously under [RESET_PID].
14931 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14933 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14934 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14935 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14936 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14937 (__libc_vfork): New strong alias.
14938 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14940 2014-06-14 Andi Kleen <ak@linux.intel.com>
14942 * sysdeps/generic/elide.h: New file.
14944 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14946 * Makefile (installed-headers): Adjust path of pthread.h header.
14948 2014-06-13 Roland McGrath <roland@hack.frob.com>
14950 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14951 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14952 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14953 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14955 * nptl/sysdeps/s390/Makefile: Moved ...
14956 * sysdeps/s390/nptl/Makefile: ... here.
14957 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14958 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14959 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14960 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14961 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14962 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14963 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14964 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14965 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14966 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14967 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14968 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14969 * nptl/sysdeps/s390/tls.h: Moved ...
14970 * sysdeps/s390/nptl/tls.h: ... here.
14972 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14973 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14975 2014-06-13 David S. Miller <davem@davemloft.net>
14977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14980 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14984 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14985 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14986 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14987 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14988 Remove RESET_PID cpp guards.
14989 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14990 Remove RESET_PID cpp guards.
14991 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14993 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14995 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14998 2014-06-13 Andi Kleen <ak@linux.intel.com>
15000 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15001 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15002 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15003 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15004 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15005 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15006 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15007 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15008 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15009 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15010 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15011 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15012 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15013 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15014 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15015 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15016 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15017 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15018 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15019 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15021 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15022 (pthread_rwlock_rdlock): Add elision.
15023 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15024 (pthread_rwlock_wrlock): Add elision.
15025 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15026 (pthread_rwlock_trywrlock): Add elision.
15027 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15028 (pthread_rwlock_tryrdlock): Add elision.
15029 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15030 (pthread_rwlock_tryrdlock): Add elision unlock.
15031 * nptl/sysdeps/pthread/pthread.h:
15032 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15033 (PTHREAD_RWLOCK_INITIALIZER,
15034 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15035 Handle new elision field.
15036 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15037 * sysdeps/arm/nptl/bits/pthreadtypes.h
15038 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15039 * sysdeps/sh/nptl/bits/pthreadtypes.h
15040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15041 * sysdeps/tile/nptl/bits/pthreadtypes.h
15042 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15043 * sysdeps/a/nptl/bits/pthreadtypes.h
15044 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15045 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15047 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15049 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15051 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15053 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15055 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15057 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15058 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15059 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15061 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15062 (elision_init): Set try_xbegin to zero when no RTM.
15063 * sysdeps/x86/nptl/bits/pthreadtypes.h
15064 (pthread_rwlock_t): Change __pad1 to __rwelision.
15065 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15067 2014-06-13 Andi Kleen <ak@linux.intel.com>
15069 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15070 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15071 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15072 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15074 2014-06-13 Meador Inge <meadori@codesourcery.com>
15077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15078 that the cached result has been set before returning it.
15080 2014-06-12 Roland McGrath <roland@hack.frob.com>
15082 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15083 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15084 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15085 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15086 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15087 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15089 * nptl/sysdeps/sparc/Makefile: Moved ...
15090 * sysdeps/sparc/nptl/Makefile: ... here.
15091 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15092 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15093 * nptl/sysdeps/sparc/tls.h: Moved ...
15094 * sysdeps/sparc/nptl/tls.h: ... here.
15095 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15096 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15097 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15098 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15099 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15100 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15101 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15102 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15103 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15104 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15105 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15106 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15107 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15108 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15109 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15110 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15111 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15112 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15114 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15115 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15117 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15118 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15120 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15121 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15124 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15126 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15127 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15129 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15130 (struct list_links): Type removed.
15131 (struct thread_node, struct timer_node): Replace struct list_links
15132 with struct list_head.
15133 (list_unlink_ip): Likewise.
15134 * sysdeps/pthread/timer_routines.c
15135 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15136 (list_append, list_insbefore): Likewise.
15137 (list_init): Function removed.
15138 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15139 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15140 * sysdeps/pthread/Makefile: ... here, new file.
15142 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15143 * sysdeps/nptl/Implies: ... here.
15144 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15145 * nptl/sysdeps/pthread/list.h: Moved ...
15146 * include/list.h: ... here.
15147 * nptl/sysdeps/pthread/createthread.c: Moved ...
15148 * nptl/createthread.c: ... here.
15149 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15150 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15151 * nptl/pt-longjmp.c: ... here.
15152 * nptl/sysdeps/pthread/Makefile: Moved ...
15153 * sysdeps/nptl/Makefile: ... here.
15154 * nptl/sysdeps/pthread/Subdirs: Moved ...
15155 * sysdeps/nptl/Subdirs: ... here.
15156 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15157 * sysdeps/nptl/aio_misc.h: ... here.
15158 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15159 * sysdeps/nptl/bits/libc-lock.h: ... here.
15160 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15161 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15162 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15163 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15164 * nptl/sysdeps/pthread/configure: Moved ...
15165 * sysdeps/nptl/configure: ... here.
15166 * nptl/sysdeps/pthread/configure.ac: Moved ...
15167 * sysdeps/nptl/configure.ac: ... here.
15168 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15169 * sysdeps/nptl/gai_misc.h: ... here.
15170 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15171 * sysdeps/nptl/librt-cancellation.c: ... here.
15172 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15173 * sysdeps/nptl/malloc-machine.h: ... here.
15174 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15175 * sysdeps/nptl/pthread-functions.h: ... here.
15176 * nptl/sysdeps/pthread/pthread.h: Moved ...
15177 * sysdeps/nptl/pthread.h: ... here.
15178 * nptl/sysdeps/pthread/setxid.h: Moved ...
15179 * sysdeps/nptl/setxid.h: ... here.
15180 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15181 * sysdeps/nptl/sigfillset.c: ... here.
15182 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15183 * sysdeps/nptl/tcb-offsets.h: ... here.
15184 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15185 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15186 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15187 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15188 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15189 * sysdeps/pthread/allocalim.h: ... here.
15190 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15191 * sysdeps/pthread/bits/sigthread.h: ... here.
15192 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15193 * sysdeps/pthread/flockfile.c: ... here.
15194 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15195 * sysdeps/pthread/ftrylockfile.c: ... here.
15196 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15197 * sysdeps/pthread/funlockfile.c: ... here.
15198 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15199 * sysdeps/pthread/posix-timer.h: ... here.
15200 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15201 * sysdeps/pthread/timer_create.c: ... here.
15202 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15203 * sysdeps/pthread/timer_delete.c: ... here.
15204 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15205 * sysdeps/pthread/timer_getoverr.c: ... here.
15206 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15207 * sysdeps/pthread/timer_gettime.c: ... here.
15208 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15209 * sysdeps/pthread/timer_routines.c: ... here.
15210 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15211 * sysdeps/pthread/timer_settime.c: ... here.
15212 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15213 * sysdeps/pthread/tst-timer.c: ... here.
15214 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15215 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15217 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15218 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15220 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15221 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15222 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15223 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15224 Update #include target.
15225 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15226 * sysdeps/i386/i686/nptl/Makefile: ... here.
15227 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15228 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15229 Update #include target.
15230 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15231 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15232 * nptl/sysdeps/i386/Makefile: Moved ...
15233 * sysdeps/i386/nptl/Makefile: ... here.
15234 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15235 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15236 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15237 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15238 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15239 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15240 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15241 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15242 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15243 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15244 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15245 * nptl/sysdeps/i386/tls.h: Moved ...
15246 * sysdeps/i386/nptl/tls.h: ... here.
15248 * sysdeps/sh/Makefile [$(subdir) = csu]
15249 (gen-as-const-headers): Add tcb-offsets.sym.
15250 * nptl/sysdeps/sh/Makefile: File removed.
15251 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15252 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15253 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15254 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15255 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15256 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15257 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15258 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15259 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15260 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15261 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15262 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15263 * nptl/sysdeps/sh/tls.h: Moved ...
15264 * sysdeps/sh/nptl/tls.h: ... here.
15265 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15266 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15267 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15268 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15269 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15270 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15271 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15272 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15273 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15274 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15275 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15276 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15277 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15278 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15279 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15280 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15281 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15282 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15283 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15284 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15285 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15286 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15287 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15288 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15291 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15292 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15294 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15296 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15298 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15299 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15300 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15301 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15302 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15303 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15304 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15305 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15306 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15307 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15308 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15309 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15310 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15311 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15312 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15314 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15316 * posix/spawn_faction_addopen.c: Include string.h.
15318 2014-06-11 Roland McGrath <roland@hack.frob.com>
15320 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15321 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15322 * nptl/sysdeps/x86_64/Makefile: Moved ...
15323 * sysdeps/x86_64/nptl/Makefile: ... here.
15324 * nptl/sysdeps/x86_64/configure: Moved ...
15325 * sysdeps/x86_64/nptl/configure: ... here.
15326 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15327 * sysdeps/x86_64/nptl/configure.ac: ... here.
15328 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15329 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15330 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15331 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15332 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15333 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15334 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15335 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15336 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15337 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15338 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15339 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15340 * nptl/sysdeps/x86_64/tls.h: Moved ...
15341 * sysdeps/x86_64/nptl/tls.h: ... here.
15342 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15343 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15344 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15345 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15347 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15349 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15353 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15355 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15357 [POSIX] (off_t): Likewise.
15358 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15359 [POSIX] (S_ISBLK): Require macro.
15360 [POSIX] (S_ISCHR): Likewise.
15361 [POSIX] (S_ISDIR): Likewise.
15362 [POSIX] (S_ISFIFO): Likewise.
15363 [POSIX] (S_ISREG): Likewise.
15364 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15366 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15368 [POSIX] (time_t): Likewise.
15369 [POSIX] (timer_t): Likewise.
15371 2014-06-11 Florian Weimer <fweimer@redhat.com>
15374 * posix/spawn_int.h (struct __spawn_action): Make the path string
15375 non-const to support deallocation.
15376 * posix/spawn_faction_addopen.c
15377 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15378 * posix/spawn_faction_destroy.c
15379 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15380 path in all spawn_do_open actions.
15381 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15382 posix_spawn_file_actions_addopen.
15384 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15386 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15387 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15388 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15389 conditional code always true.
15390 (__libc_vfork): New alias.
15392 2014-06-11 Roland McGrath <roland@hack.frob.com>
15394 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15395 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15397 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15399 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15400 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15402 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15403 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15405 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15406 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15408 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15410 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15411 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15412 multiarch strcmp for PPC64.
15413 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15414 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15416 multiarch optimizations.
15417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15418 (__libc_ifunc_impl_list): Likewise.
15420 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15422 * benchtests/scripts/validate_benchout.py: New script.
15423 * benchtests/Makefile (bench-func): Call it.
15424 * benchtests/scripts/benchout.schema.json: New file.
15426 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15428 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15429 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15430 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15431 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15432 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15433 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15434 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15435 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15436 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15437 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15438 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15439 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15440 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15441 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15442 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15443 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15547 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15548 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15549 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15550 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15551 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15553 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15556 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15558 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15560 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15561 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15562 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15564 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15566 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15569 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15570 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15572 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15574 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15577 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15578 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15579 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15580 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15581 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15582 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15583 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15585 2014-06-10 Wilco <wdijkstr@arm.com>
15587 * math/test-fenv-return.c: New file.
15588 * math/Makefile: Add new test test-fenv-return.
15590 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15593 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15594 when x - 1 is zero.
15595 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15596 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15597 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15598 0.0L for an argument of 1.0L.
15599 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15601 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15602 value when x - 1 is zero.
15603 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15604 * sysdeps/i386/fpu/libm-test-ulps: Update.
15605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15610 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15612 2014-06-09 Roland McGrath <roland@hack.frob.com>
15614 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15615 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15617 2014-06-09 Roland McGrath <roland@hack.frob.com>
15619 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15620 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15622 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15623 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15625 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15626 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15628 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15629 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15631 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15632 if not already defined.
15633 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15634 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15635 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15636 (TLS_INIT_TP): Use it.
15637 (TLS_DEFINE_INIT_TP): New macro.
15638 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15640 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15642 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15644 [POSIX] (IXANY): Likewise.
15645 [POSIX] (OLCUC): Likewise.
15646 [POSIX || POSIX2008] (CBAUD): Do not allow.
15647 [POSIX || POSIX2008] (DEFECHO): Likewise.
15648 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15649 [POSIX || POSIX2008] (ECHOKE): Likewise.
15650 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15651 [POSIX || POSIX2008] (EXTA): Likewise.
15652 [POSIX || POSIX2008] (EXTB): Likewise.
15653 [POSIX || POSIX2008] (FLUSHO): Likewise.
15654 [POSIX || POSIX2008] (LOBLK): Likewise.
15655 [POSIX || POSIX2008] (PENDIN): Likewise.
15656 [POSIX || POSIX2008] (SWTCH): Likewise.
15657 [POSIX || POSIX2008] (VDISCARD): Likewise.
15658 [POSIX || POSIX2008] (VDSUSP): Likewise.
15659 [POSIX || POSIX2008] (VLNEXT): Likewise.
15660 [POSIX || POSIX2008] (VREPRINT): Likewise.
15661 [POSIX || POSIX2008] (VSTATUS): Likewise.
15662 [POSIX || POSIX2008] (VWERASE): Likewise.
15663 (B*): Change to B[0123456789]*.
15664 * conform/data/time.h-data [POSIX || UNIX98]
15665 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15666 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15667 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15668 [POSIX] (tm_*): Do not allow.
15670 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15672 * Makefile (install): Don't set LANGUAGE.
15673 * Makefile.in (install): Likewise.
15674 * assert/Makefile (test-assert-ENV): Remove variable.
15675 (test-assert-perr-ENV): Likewise.
15676 * elf/Makefile (neededtest4-ENV): Likewise.
15677 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15678 [$(cross-compiling) = no]: Don't set LANGUAGE.
15679 * io/ftwtest-sh (LANG): Remove variable.
15680 * libio/Makefile (tst-widetext-ENV): Likewise.
15681 * manual/install.texi (Running make install): Don't refer to
15682 environment settings for make install.
15683 * INSTALL: Regenerated.
15684 * nptl/tst-tls6.sh: Don't set LANG.
15685 * posix/globtest.sh (LANG): Remove variable.
15686 * string/Makefile (tester-ENV): Likewise.
15687 (inl-tester-ENV): Likewise.
15688 (noinl-tester-ENV): Likewise.
15689 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15690 [$(cross-compiling) = no]: Don't set LANGUAGE.
15691 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15692 without explicit environment settings.
15694 2014-06-06 Roland McGrath <roland@hack.frob.com>
15696 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15697 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15698 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15699 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15701 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15703 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15704 other files in the crypt directory.
15705 * crypt/crypt.c: Remove duplicate includes.
15706 * crypt/crypt-entry.c: Likewise.
15707 * crypt/crypt_util.c: Likewise.
15709 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15711 * Makeconfig (run-program-env): New variable.
15712 (run-program-prefix-before-env): Likewise.
15713 (run-program-prefix-after-env): Likewise.
15714 (run-program-prefix): Define in terms of new variables.
15715 (built-program-cmd-before-env): New variable.
15716 (built-program-cmd-after-env): Likewise.
15717 (built-program-cmd): Define in terms of new variables.
15718 (test-program-prefix-before-env): New variable.
15719 (test-program-prefix-after-env): Likewise.
15720 (test-program-prefix): Define in terms of new variables.
15721 (test-program-cmd-before-env): New variable.
15722 (test-program-cmd-after-env): Likewise.
15723 (test-program-cmd): Define in terms of new variables.
15724 * Rules (make-test-out): Use $(run-program-env).
15725 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15726 (help): Do not mention environment variables. Mention
15727 --timeoutfactor option.
15728 (timeoutfactor): New variable.
15729 (blacklist_exports): Remove function.
15730 (exports): Remove variable.
15731 (command): Do not include ${exports}.
15732 * manual/install.texi (Configuring and compiling): Do not mention
15733 test wrappers preserving environment variables. Mention that last
15734 assignment to a variable must take precedence.
15735 * INSTALL: Regenerated.
15736 * benchtests/Makefile (run-bench): Use $(run-program-env).
15737 * catgets/Makefile ($(objpfx)test1.cat): Use
15738 $(built-program-cmd-before-env), $(run-program-env) and
15739 $(built-program-cmd-after-env).
15740 ($(objpfx)test2.cat): Do not specify environment variables
15742 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15743 $(run-program-env) and $(built-program-cmd-after-env).
15744 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15745 $(run-program-env) and $(test-program-cmd-after-env).
15746 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15748 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15749 run_program_env and test_program_cmd_after_env arguments.
15750 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15751 * elf/tst-pathopt.sh: Use run_program_env argument.
15752 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15753 $(test-wrapper-env) and $(run-program-env).
15754 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15755 run_program_env arguments.
15756 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15757 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15758 $(test-program-prefix-before-env), $(run-program-env) and
15759 $(test-program-prefix-after-env).
15760 ($(objpfx)tst-gettext2.out): Likewise.
15761 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15762 run_program_env and test_program_prefix_after_env arguments.
15763 * intl/tst-gettext2.sh: Likewise.
15764 * intl/tst-gettext4.sh: Do not set environment variables
15766 * intl/tst-gettext6.sh: Likewise.
15767 * intl/tst-translit.sh: Likewise.
15768 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15769 $(test-program-prefix-before-env), $(run-program-env) and
15770 $(test-program-prefix-after-env).
15771 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15772 run_program_env and test_program_prefix_after_env arguments.
15773 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15774 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15775 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15776 explicitly with each use of ${test_wrapper_env}.
15777 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15778 $(test-program-prefix-before-env), $(run-program-env) and
15779 $(test-program-prefix-after-env).
15780 * posix/tst-getconf.sh: Do not set environment variables
15782 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15783 run_program_env and test_program_prefix_after_env arguments.
15784 * stdio-common/tst-printf.sh: Do not set environment variables
15786 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15787 $(test-program-prefix-before-env), $(run-program-env) and
15788 $(test-program-prefix-after-env).
15789 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15790 run_program_env and test_program_prefix_after_env arguments.
15791 Split $test calls into $test_pre and $test.
15792 * timezone/Makefile (build-testdata): Use
15793 $(built-program-cmd-before-env), $(run-program-env) and
15794 $(built-program-cmd-after-env).
15796 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15798 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15799 strlen for non SHARED builds.
15801 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15803 * nptl/allocatestack.c (check_list): Inlined function...
15804 (__reclaim_stacks): ... here.
15806 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15809 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15812 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15814 * Rules (make-test-out): Include
15815 LOCPATH=$(common-objpfx)localedata in default environment.
15816 * debug/Makefile (tst-chk1-ENV): Remove variable.
15817 (tst-chk2-ENV): Likewise.
15818 (tst-chk3-ENV): Likewise.
15819 (tst-chk4-ENV): Likewise.
15820 (tst-chk5-ENV): Likewise.
15821 (tst-chk6-ENV): Likewise.
15822 (tst-lfschk1-ENV): Likewise.
15823 (tst-lfschk2-ENV): Likewise.
15824 (tst-lfschk3-ENV): Likewise.
15825 (tst-lfschk4-ENV): Likewise.
15826 (tst-lfschk5-ENV): Likewise.
15827 (tst-lfschk6-ENV): Likewise.
15828 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15829 (tst-iconv7-ENV): Likewise.
15830 * intl/Makefile (LOCPATH-ENV): Likewise.
15831 (tst-codeset-ENV): Likewise.
15832 (tst-gettext3-ENV): Likewise.
15833 (tst-gettext5-ENV): Likewise.
15834 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15835 (tst-fopenloc-ENV): Likewise.
15836 (tst-fgetws-ENV): Remove variable.
15837 (tst-ungetwc1-ENV): Likewise.
15838 (tst-ungetwc2-ENV): Likewise.
15839 (bug-ungetwc2-ENV): Likewise.
15840 (tst-swscanf-ENV): Likewise.
15841 (bug-ftell-ENV): Likewise.
15842 (tst-fgetwc-ENV): Likewise.
15843 (tst-fseek-ENV): Likewise.
15844 (tst-ftell-partial-wide-ENV): Likewise.
15845 (tst-ftell-active-handler-ENV): Likewise.
15846 (tst-ftell-append-ENV): Likewise.
15847 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15848 (tst-regexloc-ENV): Likewise.
15849 (bug-regex1-ENV): Likewise.
15850 (tst-regex-ENV): Likewise.
15851 (tst-regex2-ENV): Likewise.
15852 (bug-regex5-ENV): Likewise.
15853 (bug-regex6-ENV): Likewise.
15854 (bug-regex17-ENV): Likewise.
15855 (bug-regex18-ENV): Likewise.
15856 (bug-regex19-ENV): Likewise.
15857 (bug-regex20-ENV): Likewise.
15858 (bug-regex22-ENV): Likewise.
15859 (bug-regex23-ENV): Likewise.
15860 (bug-regex25-ENV): Likewise.
15861 (bug-regex26-ENV): Likewise.
15862 (bug-regex30-ENV): Likewise.
15863 (bug-regex32-ENV): Likewise.
15864 (bug-regex33-ENV): Likewise.
15865 (bug-regex34-ENV): Likewise.
15866 (bug-regex35-ENV): Likewise.
15867 (tst-rxspencer-ENV): Likewise.
15868 (tst-rxspencer-no-utf8-ENV): Likewise.
15869 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15870 (tst-sscanf-ENV): Likewise.
15871 (tst-swprintf-ENV): Likewise.
15872 (tst-swscanf-ENV): Likewise.
15873 (test-vfprintf-ENV): Likewise.
15874 (scanf13-ENV): Likewise.
15875 (bug14-ENV): Likewise.
15876 (tst-grouping-ENV): Likewise.
15877 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15878 (tst-strtod3-ENV): Likewise.
15879 (tst-strtod4-ENV): Likewise.
15880 (tst-strtod5-ENV): Likewise.
15881 (testmb2-ENV): Likewise./
15882 * string/Makefile (tst-strxfrm-ENV): Likewise.
15883 (tst-strxfrm2-ENV): Likewise.
15884 (bug-strcoll1-ENV): Likewise.
15885 (test-strcasecmp-ENV): Likewise.
15886 (test-strncasecmp-ENV): Likewise.
15887 * time/Makefile (tst-strptime-ENV): Likewise.
15888 (tst-ftime_l-ENV): Likewise.
15889 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15890 (tst-mbrtowc-ENV): Likewise.
15891 (tst-wcrtomb-ENV): Likewise.
15892 (tst-mbrtowc2-ENV): Likewise.
15893 (tst-c16c32-1-ENV): Likewise.
15894 (tst-mbsnrtowcs-ENV): Likewise.
15896 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15898 * manual/resource.texi (How to get information about the memory
15899 subsystem?): Fix typo.
15900 Reported by Peon de la Parra Ivan <peon@keba.com>
15902 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15905 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15906 (pthread_spin_lock): Branch out of spin loop to proper location.
15907 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15908 (pthread_spin_lock): Likewise.
15910 * nptl/tst-spin4.c: New test.
15911 * nptl/Makefile (tests): Add tst-spin4.
15913 2014-06-03 Andreas Schwab <schwab@suse.de>
15916 * resolv/res_send.c (send_dg): Reload file descriptor after
15919 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15921 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15923 2014-06-03 Richard Henderson <rth@redhat.com>
15925 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15926 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15927 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15928 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15929 in the SAVE_PID block.
15930 (__libc_vfork): New alias.
15931 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15933 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15934 child in registers, not on the stack. Remove RESET_PID conditionals.
15935 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15937 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15939 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15941 2014-06-03 Wilco <wdijkstr@arm.com>
15943 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15944 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15945 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15946 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15947 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15950 2014-06-03 Wilco <wdijkstr@arm.com>
15952 * sysdeps/aarch64/fpu/math_private.h
15953 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15954 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15955 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15956 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15959 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15961 * crypt/crypt-private.h: Include ufc-crypt.h.
15962 (__b64_from_24bit): Declare extern.
15963 * crypt/crypt_util.c(__b64_from_24bit): New function.
15964 (b64t): New static const variable.
15965 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15966 (b64t): Remove variable.
15967 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15968 * crypt/sha256-crypt.c: Include crypt-private.h.
15969 (b64t): Remove variable.
15970 (__sha256_crypt_r): Remove b64_from_24bit and replace
15971 with __b64_from_24bit.
15972 * crypt/sha512-crypt.c: Likewise.
15974 2014-06-02 Roland McGrath <roland@hack.frob.com>
15976 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15977 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15978 Label the code __libc_vfork rather than __vfork.
15979 [!NOT_IN_libc] (vfork): Define as weak alias.
15980 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15981 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15982 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15984 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15986 * malloc/malloc.c (malloc_info): Fix format specifier for
15989 2014-06-02 Wilco <wdijkstr@arm.com>
15991 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15994 2014-06-02 Wilco <wdijkstr@arm.com>
15997 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15998 Rewrite to reduce FPCR/FPSR accesses.
16000 2014-06-01 David S. Miller <davem@davemloft.net>
16002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16004 2014-05-31 David S. Miller <davem@davemloft.net>
16006 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16007 to occur in round to nearest mode when |x| >= 2.0
16009 2014-05-30 Richard Henderson <rth@twiddle.net>
16011 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16012 (PSEUDO_RET_NOERRNO): Remove.
16013 (ret): Don't redefine.
16014 (ret_NOERRNO): Define in terms of ret.
16015 (ret_ERRVAL): Likewise.
16017 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16018 use of PSEUDO_RET; perform the error check directly.
16020 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16022 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16025 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16027 * malloc/malloc (malloc_info): Fix formatting.
16029 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16030 Roland McGrath <roland@hack.frob.com>
16032 * malloc/malloc (malloc_info): Also print mmapped statistics.
16034 2014-05-30 Roland McGrath <roland@hack.frob.com>
16036 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16037 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16039 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16041 * malloc/malloc.c (malloc_info): Inline mi_arena.
16043 2014-05-29 Richard Henderson <rth@twiddle.net>
16045 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16046 Remove comma before expanding ASM_ARGS_##nr.
16047 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16048 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16050 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16051 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16052 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16053 (ASM_ARGS_1): Add leading comma.
16055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16056 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16057 to __errno_location.
16058 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16059 Remove the expected plt for __errno_location.
16061 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16062 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16065 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16066 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16067 it and break it down.
16068 (DOCARGS_0, DOCARGS_1): Do nothing.
16069 (DOCARGS_2): Update to store into the new stack frame.
16070 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16071 (UNDOCARGS_1): Update to restore from the new stack frame.
16072 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16073 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16075 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16076 (SINGLE_THREAD_P): New parameter for result regno.
16077 (PSEUDO): Update to match; use cbz instead of beq.
16079 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16080 Use ENTRY to define the _nocancel entry point. Share the syscall
16081 and syscall error check paths with the cancel path.
16084 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16085 whitespace; tabs before and after asm mnemonics.
16087 2014-05-29 Eric Wong <normalperson@yhbt.net>
16090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16091 Call fstat64 or stat64 internally, depending on arguments passed.
16092 Replace stat buffer argument with file descriptor argument.
16093 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16094 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16095 Pass fd to __internal_statvfs instead of calling fstat64.
16096 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16097 Pass fd to __internal_statvfs64 instead of calling fstat64.
16098 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16099 Pass -1 to __internal_statvfs instead of calling stat64.
16100 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16101 Pass -1 to __internal_statvfs64 instead of calling stat64.
16103 2014-05-28 Roland McGrath <roland@hack.frob.com>
16105 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16106 that was previously under [RESET_PID].
16107 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16109 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16110 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16112 2014-05-27 Roland McGrath <roland@hack.frob.com>
16114 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16116 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16117 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16119 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16121 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16123 2014-05-27 Andreas Schwab <schwab@suse.de>
16125 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16127 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16128 * elf/rtld.c (init_tls, dl_main): Likewise.
16129 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16130 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16131 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16132 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16133 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16134 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16135 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16136 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16137 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16138 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16139 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16140 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16141 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16142 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16143 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16144 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16145 * sysdeps/generic/tls.h: Update description.
16147 2014-05-27 Will Newton <will.newton@linaro.org>
16150 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16151 and restore r2 rather than just restoring.
16153 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16156 * libio/tst-ftell-append.c: New test case.
16157 * libio/Makefile (tests): Add test case.
16158 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16160 * libio/wfileops.c (do_ftell_wide): Likewise.
16162 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16166 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16170 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16171 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16172 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16173 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16174 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16175 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16182 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16183 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16184 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16185 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16186 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16188 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16189 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16191 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16193 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16195 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16196 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16197 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16199 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16200 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16201 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16202 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16210 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16220 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16225 conditional [RESET_PID].
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16234 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16235 (__libc_vfork): New strong alias.
16236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16243 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16244 (__libc_vfork): New strong alias.
16245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16247 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16250 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16252 * malloc/malloc.c (mi_arena): New function.
16253 (malloc_info): Remove nested function mi_arena. Call non-nosted
16256 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16258 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16260 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16261 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16262 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16263 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16264 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16265 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16266 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16268 2014-05-26 Andreas Schwab <schwab@suse.de>
16271 * locale/programs/repertoire.c (repertoire_read): Add slash
16272 between I18NPATH element and file name.
16273 * locale/programs/locfile.c (locfile_read): Likewise.
16275 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16277 * nptl/pthread_mutexattr_settype.c
16278 (__pthread_mutexattr_settype):
16279 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16281 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16283 * nptl/tst-mutex5 (do_test):
16284 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16286 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16288 * benchtests/README: Document 'init' directive.
16289 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16291 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16292 (parse_file): Recognize 'init' directive.
16294 2014-05-26 Kyle McMartin <kyle@redhat.com>
16297 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16298 alignment of struct pthread.
16300 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16303 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16304 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16305 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16306 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16308 2014-05-25 Richard Henderson <rth@twiddle.net>
16310 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16311 (SINGLE_THREAD_P_PIC): Remove.
16312 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16313 (SINGLE_THREAD_P_PIC): Remove.
16315 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16316 branch to syscall error ...
16317 (PSEUDO): ... here.
16318 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16319 from __local_syscall_error to .Lsyscall_error.
16320 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16321 (SYSCALL_ERROR): Update label name.
16323 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16324 Do not use DOARGS/UNDOARGS.
16325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16326 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16327 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16328 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16329 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16334 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16335 define if !NOT_IN_libc.
16336 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16337 define with non-default symbol versions.
16339 2014-05-23 Richard Henderson <rth@twiddle.net>
16341 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16342 (vfork, __vfork): Define via compat_symbol.
16344 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16345 [!HAVE_IFUNC] (vfork_compat): Remove.
16346 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16348 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16351 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16352 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16355 2014-05-23 Richard Henderson <rth@twiddle.net>
16357 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16358 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16359 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16360 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16362 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16363 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16364 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16365 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16366 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16367 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16368 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16369 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16370 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16371 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16372 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16373 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16374 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16375 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16376 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16377 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16378 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16379 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16380 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16381 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16382 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16383 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16384 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16385 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16386 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16387 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16388 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16389 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16390 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16391 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16392 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16393 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16394 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16395 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16396 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16397 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16398 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16399 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16400 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16401 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16402 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16403 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16404 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16405 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16406 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16407 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16409 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16411 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16412 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16413 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16414 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16415 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16416 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16417 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16419 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16420 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16421 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16422 before exiting on error.
16423 (__libc_vfork): New strong alias.
16424 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16425 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16427 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16428 that was previously under [RESET_PID].
16429 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16431 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16433 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16436 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16437 value when x - 1 is zero.
16438 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16439 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16440 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16441 0.0L for an argument of 1.0L.
16442 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16444 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16445 value when x - 1 is zero.
16446 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16447 * sysdeps/i386/fpu/libm-test-ulps: Update.
16448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16450 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16452 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16453 alphasort and versionsort.
16455 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16457 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16459 [copysignf]: Likewise.
16461 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16463 * crypt/md5-crypt.c: Fix formatting.
16465 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16467 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16468 (b64_from_24bit): New function.
16470 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16472 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16473 libc_hidden_builtin_def to ifunc.
16474 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16475 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16477 2014-05-21 Roland McGrath <roland@hack.frob.com>
16479 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16480 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16482 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16484 * nscd/Depend (linuxthreads): Remove.
16486 * resolv/Depend (linuxthreads): Remove.
16487 * rt/Depend (linuxthreads): Remove.
16489 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16490 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16491 $(common-objpfx)elf/.
16492 (link-libc-before-gnulib): Likewise.
16493 (elfobjdir): Remove variable.
16494 * Makefile (install): Use $(elf-objpfx) instead of
16495 $(common-objpfx)elf/.
16496 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16498 (link-libc-deps): Likewise.
16499 ($(common-objpfx)libc.so): Likewise.
16500 ($(common-objpfx)linkobj/libc.so): Likewise.
16501 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16502 instead of $(common-objpfx)elf/.
16503 (symbolic-link-list): Likewise.
16504 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16505 [$(cross-compiling) = no]: Likewise.
16506 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16508 (static-gnulib-arch): Likewise.
16509 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16510 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16511 $(common-objpfx)elf/.
16513 2014-05-21 Richard Henderson <rth@redhat.com>
16515 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16516 (SINGLE_THREAD_P): Use the correct width load. Fold
16517 into the ldr offset.
16519 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16520 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16522 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16524 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16525 (libgcc_s_resume): Use __attribute_used__.
16526 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16529 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16531 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16532 optimization when used with float constants.
16534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16536 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16539 * locale/nl_langinfo_l.c: Make direct reference to every
16540 _nl_current_CATEGORY symbol.
16541 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16542 (tests-static): Add tst-langinfo-static.
16543 (tests-special): Add tst-langinfo-static.out.
16544 ($(objpfx)tst-langinfo.out): Redirect output.
16545 ($(objpfx)tst-langinfo-static.out): New.
16546 * localedata/tst-langinfo.sh: Send output to stdout.
16547 * localedata/tst-langinfo-static.c: New file.
16550 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16551 when the shift amount is modulo the limb size.
16553 2014-05-20 Richard Henderson <rth@redhat.com>
16556 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16557 Change type of sa_flags from unsigned int to int.
16560 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16562 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16564 2014-05-20 Will Newton <will.newton@linaro.org>
16566 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16567 Test the return value of the system call in the nocancel case.
16569 2014-05-20 Will Newton <will.newton@linaro.org>
16570 Yvan Roux <yvan.roux@linaro.org>
16572 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16573 #include of asm/ptrace.h.
16574 (PTRACE_GET_THREAD_AREA): Remove #undef.
16575 (PTRACE_GETHBPREGS): Likewise.
16576 (PTRACE_SETHBPREGS): Likewise.
16577 (struct user_regs_struct): New structure.
16578 (struct user_fpsimd_struct): New structure.
16579 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16580 #include of asm/ptrace.h and second #include of sys/user.h.
16581 (PTRACE_GET_THREAD_AREA): Remove #undef.
16582 (PTRACE_GETHBPREGS): Likewise.
16583 (PTRACE_SETHBPREGS): Likewise.
16584 (ELF_NGREG): Use new struct user_regs_struct.
16585 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16587 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16589 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16592 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16595 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16596 membar to avoid block loads/stores to overlap previous stores.
16598 2014-05-17 Richard Henderson <rth@redhat.com>
16600 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16601 Create the __##syscall_name##_nocancel entry point.
16602 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16603 Remove; let the sysdep-cancel.h code create it.
16605 2014-05-17 David S. Miller <davem@davemloft.net>
16607 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16608 Protect with __USE_GNU.
16609 (TIOCSET_TEMPT): Likewise.
16610 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16611 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16612 these are already provided in bits/ioctl-types.h
16614 2014-05-16 Roland McGrath <roland@hack.frob.com>
16616 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16617 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16619 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16620 Use wait4 regardless of [__NR_waitpid].
16622 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16625 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16626 (_FP_NANSIGN_Q): Set the quiet bit.
16628 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16630 * benchtests/Makefile
16631 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16632 not $(common-objpfx)math/libm.so.
16633 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16634 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16635 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16636 $(common-objpfx)dlfcn/libdl.so.
16637 ($(objpfx)tst-audit8): Depend on $(libm), not
16638 $(common-objpfx)math/libm.so.
16639 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16640 not $(common-objpfx)dlfcn/libdl.so.
16642 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16643 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16644 [$(build-shared) = yes].
16645 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16646 $(common-objpfx)nptl/libpthread.so.
16647 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16648 $(common-objpfx)math/libm.so$(libm.so-version) or
16649 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16650 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16651 $(common-objpfx)dlfcn/libdl.so.
16652 * setjmp/Makefile (link-libm): Remove variable.
16653 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16654 * stdio-common/Makefile (link-libm): Remove variable.
16655 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16656 * stdlib/Makefile (link-libm): Remove variable.
16657 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16658 ($(objpfx)tst-strtod-round): Likewise.
16659 ($(objpfx)tst-tininess): Likewise.
16660 ($(objpfx)tst-strtod-underflow): Likewise.
16661 ($(objpfx)tst-strtod6): Likewise.
16662 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16663 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16664 $(common-objpfx)dlfcn/libdl.so.
16666 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16668 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16669 BSD terminal modes definitions.
16671 2014-05-16 Roland McGrath <roland@hack.frob.com>
16673 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16674 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16676 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16677 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16678 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16679 Don't do #include_next.
16680 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16681 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16682 Don't do #include_next.
16683 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16684 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16685 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16686 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16688 2014-05-16 Allan McRae <allan@archlinux.org>
16690 * po/sv.po: Update Swedish translation from translation project.
16692 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16695 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16698 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16699 errno if the TIOCGPTN ioctl fails with an error different than
16701 * login/tst-ptsname.c: New file.
16702 * login/Makefile (tests): Add tst-ptsname.
16705 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16708 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16712 herrno to return EAI_AGAIN.
16714 2014-05-14 Roland McGrath <roland@hack.frob.com>
16716 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16717 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16718 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16719 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16720 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16721 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16722 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16723 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16725 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16726 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16727 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16728 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16729 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16730 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16731 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16732 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16733 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16734 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16735 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16736 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16737 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16738 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16739 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16740 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16741 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16742 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16743 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16744 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16745 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16747 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16749 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16752 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16754 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16756 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16758 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16760 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16762 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16764 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16766 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16768 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16770 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16772 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16774 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16776 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16778 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16781 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16783 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16785 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16787 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16789 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16791 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16793 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16795 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16797 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16799 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16802 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16804 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16806 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16807 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16808 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16809 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16810 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16811 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16812 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16813 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16814 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16815 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16816 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16817 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16818 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16819 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16820 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16821 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16822 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16823 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16824 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16825 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16826 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16827 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16828 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16829 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16830 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16831 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16832 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16833 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16834 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16835 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16836 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16838 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16839 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16841 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16842 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16843 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16844 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16845 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16846 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16848 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16849 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16851 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16852 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16854 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16855 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16857 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16858 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16859 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16862 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16863 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16864 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16865 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16866 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16867 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16868 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16869 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16871 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16872 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16874 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16876 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16877 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16878 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16879 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16880 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16882 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16884 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16886 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16887 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16888 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16889 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16890 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16891 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16893 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16894 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16896 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16897 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16899 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16900 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16902 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16903 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16904 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16907 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16908 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16909 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16910 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16911 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16912 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16913 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16914 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16916 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16917 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16919 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16921 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16922 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16923 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16924 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16925 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16927 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16929 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16932 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16933 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16934 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16935 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16936 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16937 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16938 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16939 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16940 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16942 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16943 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16945 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16946 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16948 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16949 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16951 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16952 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16953 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16954 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16955 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16956 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16958 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16959 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16960 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16961 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16962 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16963 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16964 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16965 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16967 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16968 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16970 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16972 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16973 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16974 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16975 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16976 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16978 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16980 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16982 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16983 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16984 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16985 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16986 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16987 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16988 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16989 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16990 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16991 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16992 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16994 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16995 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16997 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16998 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17000 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17001 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17002 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17003 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17004 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17005 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17006 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17007 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17008 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17009 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17010 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17011 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17012 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17013 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17014 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17015 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17016 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17019 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17020 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17021 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17024 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17026 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17027 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17028 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17030 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17033 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17034 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17036 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17038 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17040 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17042 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17043 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17044 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17045 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17046 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17047 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17048 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17049 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17050 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17051 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17052 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17054 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17055 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17056 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17057 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17058 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17060 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17061 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17062 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17063 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17064 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17065 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17066 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17067 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17068 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17069 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17074 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17075 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17076 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17077 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17078 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17079 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17080 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17081 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17082 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17083 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17084 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17085 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17086 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17087 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17092 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17094 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17108 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17109 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17110 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17111 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17112 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17113 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17114 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17115 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17116 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17117 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17118 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17119 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17120 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17121 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17122 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17124 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17125 that was previously under [RESET_PID].
17126 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17127 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17128 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17130 * sysdeps/i386/nptl/Implies: New file.
17131 * sysdeps/x86_64/nptl/Implies: New file.
17132 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17133 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17134 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17135 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17137 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17138 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17139 (__libc_vfork): New strong alias.
17140 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17141 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17143 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17144 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17145 (__libc_vfork): New strong alias.
17146 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17147 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17149 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17150 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17151 (__libc_vfork): New strong alias.
17152 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17153 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17154 * nptl/pt-vfork.c: New file.
17155 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17156 (libpthread: GLIBC_2.20): New version set (empty).
17158 2014-05-14 Will Newton <will.newton@linaro.org>
17160 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17163 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17166 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17167 arguments with exponent 65 or above.
17168 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17169 arguments 0x1p113L or above.
17170 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17171 to arguments 0x1p107L or above.
17172 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17173 positive arguments with exponent 65 or above.
17174 * math/auto-libm-test-in: Add more tests of log1p.
17175 * math/auto-libm-test-out: Regenerated.
17178 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17179 non-finite arguments is +0.
17180 * math/s_cacosf.c (__cacosf): Likewise.
17181 * math/s_cacosl.c (__cacosl): Likewise.
17182 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17183 * sysdeps/i386/fpu/libm-test-ulps: Update.
17184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17187 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17189 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17190 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17191 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17192 for explicit high bit of mantissa when testing for argument equal
17194 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17195 * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17199 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17200 (__erf): Scale by 16 instead of 8 in potentially underflowing
17201 case. Ensure exception if result actually underflows.
17202 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17203 (__erff): Scale by 16 instead of 8 in potentially underflowing
17204 case. Ensure exception if result actually underflows.
17205 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17206 (efx8): Remove variable.
17207 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17208 case. Ensure exception if result actually underflows.
17209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17210 (efx8): Remove variable.
17211 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17212 case. Ensure exception if result actually underflows.
17213 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17214 (efx8): Remove variable.
17215 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17216 case. Ensure exception if result actually underflows.
17217 * math/auto-libm-test-in: Add more tests of erf.
17218 * math/auto-libm-test-out: Regenerated.
17220 2014-05-14 Andreas Schwab <schwab@suse.de>
17222 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17223 Remove code conditionalized on USE___THREAD.
17225 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17226 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17229 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17232 Define unconditionally.
17233 (__ASSUME_O_CLOEXEC): Likewise.
17234 (__ASSUME_SOCK_CLOEXEC): Likewise.
17235 (__ASSUME_IN_NONBLOCK): Likewise.
17236 (__ASSUME_PIPE2): Likewise.
17237 (__ASSUME_EVENTFD2): Likewise.
17238 (__ASSUME_SIGNALFD4): Likewise.
17239 (__ASSUME_DUP3): Likewise.
17240 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17241 (__ASSUME_DUP3): Do not define.
17242 (__ASSUME_EVENTFD2): Likewise.
17243 (__ASSUME_IN_NONBLOCK): Likewise.
17244 (__ASSUME_O_CLOEXEC): Likewise.
17245 (__ASSUME_PIPE2): Likewise.
17246 (__ASSUME_SIGNALFD4): Likewise.
17247 (__ASSUME_SOCK_CLOEXEC): Likewise.
17248 (__ASSUME_UTIMES): Undefine.
17249 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17250 (__ASSUME_UTIMES): Do not define.
17251 (__ASSUME_O_CLOEXEC): Likewise.
17252 (__ASSUME_SOCK_CLOEXEC): Likewise.
17253 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17254 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17256 (__ASSUME_PIPE2): Likewise.
17257 (__ASSUME_EVENTFD2): Likewise.
17258 (__ASSUME_SIGNALFD4): Likewise.
17259 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17260 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17262 (__ASSUME_EVENTFD2): Likewise.
17263 (__ASSUME_SIGNALFD4): Likewise.
17264 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17265 (__ASSUME_32BITUIDS): Likewise.
17266 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17267 (__ASSUME_IPC64): Likewise.
17268 (__ASSUME_ST_INO_64_BIT): Likewise.
17269 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17270 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17271 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17272 (__ASSUME_UTIMES): Do not define.
17273 (__ASSUME_PSELECT): Likewise.
17274 (__ASSUME_PPOLL): Likewise.
17275 (__ASSUME_O_CLOEXEC): Likewise.
17276 (__ASSUME_SOCK_CLOEXEC): Likewise.
17277 (__ASSUME_IN_NONBLOCK): Likewise.
17278 (__ASSUME_PIPE2): Likewise.
17279 (__ASSUME_EVENTFD2): Likewise.
17280 (__ASSUME_SIGNALFD4): Likewise.
17281 (__ASSUME_DUP3): Likewise.
17282 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17283 (__ASSUME_UTIMES): Likewise.
17284 (__ASSUME_O_CLOEXEC): Likewise.
17285 (__ASSUME_SOCK_CLOEXEC): Likewise.
17286 (__ASSUME_IN_NONBLOCK): Likewise.
17287 (__ASSUME_PIPE2): Likewise.
17288 (__ASSUME_EVENTFD2): Likewise.
17289 (__ASSUME_SIGNALFD4): Likewise.
17290 (__ASSUME_DUP3): Likewise.
17291 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17292 (__ASSUME_UTIMES): Likewise.
17293 (__ASSUME_O_CLOEXEC): Likewise.
17294 (__ASSUME_SOCK_CLOEXEC): Likewise.
17295 (__ASSUME_IN_NONBLOCK): Likewise.
17296 (__ASSUME_PIPE2): Likewise.
17297 (__ASSUME_EVENTFD2): Likewise.
17298 (__ASSUME_SIGNALFD4): Likewise.
17299 (__ASSUME_DUP3): Likewise.
17300 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17302 (__ASSUME_UTIMES): Likewise.
17303 (__ASSUME_EVENTFD2): Likewise.
17304 (__ASSUME_SIGNALFD4): Likewise.
17305 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17306 (__ASSUME_O_CLOEXEC): Likewise.
17307 (__ASSUME_SOCK_CLOEXEC): Likewise.
17308 (__ASSUME_IN_NONBLOCK): Likewise.
17309 (__ASSUME_PIPE2): Likewise.
17310 (__ASSUME_EVENTFD2): Likewise.
17311 (__ASSUME_SIGNALFD4): Likewise.
17312 (__ASSUME_DUP3): Likewise.
17313 (__ASSUME_UTIMES): Undefine.
17315 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17316 feclearexcept. Remove symbol versioning code.
17317 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17318 symbol versioning code.
17319 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17320 symbol versioning code.
17321 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17322 feupdateenv. Remove symbol versioning code.
17323 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17324 fegetexceptflag. Remove symbol versioning code.
17325 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17326 fesetexceptflag. Remove symbol versioning code.
17327 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17328 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17329 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17330 (__posix_fadvise64_l32): Remove prototype.
17331 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17334 2014-05-13 Roland McGrath <roland@hack.frob.com>
17336 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17337 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17338 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17339 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17341 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17343 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17344 current working directory
17346 2014-05-13 Roland McGrath <roland@hack.frob.com>
17348 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17349 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17350 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17351 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17352 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17353 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17354 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17355 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17356 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17357 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17358 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17359 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17360 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17361 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17362 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17363 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17364 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17365 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17366 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17367 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17368 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17369 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17370 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17371 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17372 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17373 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17374 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17375 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17377 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17379 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17380 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17381 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17382 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17383 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17384 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17385 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17386 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17387 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17388 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17389 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17391 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17392 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17394 * sysdeps/unix/sysv/linux/arm/Makefile
17395 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17396 Add rt-aeabi_unwind_cpp_pr1.
17397 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17398 Add nptl-aeabi_unwind_cpp_pr1.
17399 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17400 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17401 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17402 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17403 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17404 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17406 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17407 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17408 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17409 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17411 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17412 Deconditionalize the code that was previously under [RESET_PID].
17413 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17415 * sysdeps/generic/exit-thread.h: New file.
17416 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17417 * include/unistd.h (__exit_thread): Remove declaration.
17418 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17419 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17420 * csu/libc-start.c: Include <exit-thread.h>.
17421 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17422 * nptl/pthread_create.c: Include <exit-thread.h>.
17423 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17424 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17425 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17426 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17427 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17428 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17429 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17430 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17431 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17432 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17433 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17434 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17435 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17436 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17437 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17438 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17439 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17441 2014-05-13 Andreas Schwab <schwab@suse.de>
17443 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17445 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17447 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17448 (__ASSUME_UTIMES): Do not condition on kernel version.
17449 (__ASSUME_PSELECT): Define unconditionally.
17450 (__ASSUME_PPOLL): Likewise.
17451 (__ASSUME_ATFCTS): Likewise.
17452 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17453 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17454 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17455 (__ASSUME_UTIMENSAT): Define unconditionally.
17456 (__ASSUME_PRIVATE_FUTEX): Likewise.
17457 (__ASSUME_FALLOCATE): Likewise.
17458 (__ASSUME_O_CLOEXEC): Likewise.
17459 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17460 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17461 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17462 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17463 (__ASSUME_IN_NONBLOCK): Likewise.
17464 (__ASSUME_PIPE2): Likewise.
17465 (__ASSUME_EVENTFD2): Likewise.
17466 (__ASSUME_SIGNALFD4): Likewise.
17467 (__ASSUME_DUP3): Likewise.
17468 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17469 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17470 (__ASSUME_AT_RANDOM): Likewise.
17471 (__ASSUME_PREADV): Likewise.
17472 (__ASSUME_PWRITEV): Likewise.
17473 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17474 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17475 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17476 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17477 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17479 (__ASSUME_O_CLOEXEC): Define unconditionally.
17480 (__ASSUME_PSELECT): Do not undefine conditionally.
17481 (__ASSUME_PPOLL): Likewise.
17482 (__ASSUME_ATFCTS): Likewise.
17483 (__ASSUME_SET_ROBUST_LIST): Likewise.
17484 (__ASSUME_UTIMENSAT): Likewise.
17485 (__ASSUME_FDATASYNC): Define unconditionally.
17486 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17487 (__ASSUME_SIGFRAME_V2): Likewise.
17488 )__ASSUME_EVENTFD2): Likewise.
17489 (__ASSUME_SIGNALFD4): Likewise.
17490 (__ASSUME_PSELECT): Do not undefine conditionally.
17491 (__ASSUME_PPOLL): Likewise.
17492 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17493 (__ASSUME_PSELECT): Define unconditionally.
17494 (__ASSUME_PPOLL): Likewise.
17495 (__ASSUME_O_CLOEXEC): Likewise.
17496 (__ASSUME_SOCK_CLOEXEC): Likewise.
17497 (__ASSUME_IN_NONBLOCK): Likewise.
17498 (__ASSUME_PIPE2): Likewise.
17499 (__ASSUME_EVENTFD2): Likewise.
17500 (__ASSUME_SIGNALFD4): Likewise.
17501 (__ASSUME_DUP3): Likewise.
17502 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17503 (__ASSUME_O_CLOEXEC): Likewise.
17504 (__ASSUME_SOCK_CLOEXEC): Likewise.
17505 (__ASSUME_IN_NONBLOCK): Likewise.
17506 (__ASSUME_PIPE2): Likewise.
17507 (__ASSUME_EVENTFD2): Likewise.
17508 (__ASSUME_SIGNALFD4): Likewise.
17509 (__ASSUME_DUP3): Likewise.
17510 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17511 (__ASSUME_EVENTFD2): Likewise.
17512 (__ASSUME_SIGNALFD4): Likewise.
17513 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17515 2014-05-12 Andreas Schwab <schwab@suse.de>
17518 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17519 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17520 than maximum RPC packet size.
17521 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17522 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17523 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17524 (_nss_nis_getservbyport_r): Likewise.
17526 2014-05-12 Will Newton <will.newton@linaro.org>
17528 * malloc/Makefile (tests): Add tst-mallopt.
17529 * malloc/tst-mallopt.c: New file.
17531 2014-05-09 Roland McGrath <roland@hack.frob.com>
17533 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17534 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17536 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17538 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17539 (tst-tlsmod6.so): Likewise.
17541 2014-05-09 Roland McGrath <roland@hack.frob.com>
17543 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17545 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17548 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17549 and <dl-procinfo.h>.
17550 (__fegetenv): Save SSE state in envp->__eip if supported.
17551 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17552 envp->__eip if supported.
17553 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17554 and <dl-procinfo.h>.
17555 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17556 __data_offset and __data_selector in environment to 0. Set SSE
17557 state if supported.
17558 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17560 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17562 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17564 2014-05-09 Will Newton <will.newton@linaro.org>
17566 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17567 and libc_relro_required for ARM.
17568 * sysdeps/arm/preconfigure: Regenerate.
17570 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17571 Stefan Liebler <stli@linux.vnet.ibm.com>
17573 * config.make.in (enable-lock-elision): New Makefile variable.
17574 * configure.ac: Likewise.
17575 * configure: Regenerate.
17576 * sysdeps/s390/configure.ac:
17577 Add check for gcc transactions support.
17578 * sysdeps/s390/configure: Regenerate.
17579 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17580 Build elision files if enabled.
17581 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17582 Add lock elision support for s390.
17583 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17584 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17585 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17586 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17587 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17588 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17591 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17593 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17595 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17597 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17598 (__lll_timedlock_elision, __lll_lock_elision)
17599 (__lll_unlock_elision, __lll_trylock_elision)
17600 (lll_timedlock_elision, lll_lock_elision)
17601 (lll_unlock_elision, lll_trylock_elision): Add.
17602 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17603 (pthread_mutex_t): Add lock elision support for s390.
17605 2014-05-14 Wilco <wdijkstr@arm.com>
17607 * sysdeps/arm/fclrexcpt.c: Cleanup.
17608 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17609 * sysdeps/arm/feenablxcpt.c: Cleanup.
17610 * sysdeps/arm/fegetenv.c: Cleanup.
17611 * sysdeps/arm/fegetexcept.c: Cleanup.
17612 * sysdeps/arm/fegetround.c: Cleanup.
17613 * sysdeps/arm/feholdexcpt.c: Cleanup.
17614 * sysdeps/arm/fesetenv.c: Cleanup.
17615 * sysdeps/arm/fesetround.c: Cleanup.
17616 * sysdeps/arm/feupdateenv.c: Cleanup.
17617 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17618 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17619 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17620 * sysdeps/arm/ftestexcept.c: Cleanup.
17621 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17622 * sysdeps/arm/setfpucw.c: Cleanup.
17624 2014-05-09 Will Newton <will.newton@linaro.org>
17626 * sysdeps/arm/armv7/strcmp.S: New file.
17627 * NEWS: Mention addition of ARMv7 optimized strcmp.
17629 2014-05-08 Roland McGrath <roland@hack.frob.com>
17631 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17632 look for %.ac rather than %.in.
17634 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17635 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17636 * sysdeps/mach/hurd/configure: Regenerated.
17637 * sysdeps/unix/sysv/linux/configure: Regenerated.
17639 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17641 2014-05-07 Steve Ellcey <sellcey@mips.com>
17644 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17648 2014-05-07 Andreas Schwab <schwab@suse.de>
17650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17651 when skipping over non-matching result from nscd.
17653 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17656 * nptl/sockperf.c (client): Check socket return value.
17659 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17660 nscd security class.
17662 2014-05-06 Roland McGrath <roland@hack.frob.com>
17664 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17665 * sysdeps/arm/unwind.h: ... here.
17667 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17670 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17673 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17675 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17676 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17677 multiarch strncpy for PPC64.
17678 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17679 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17681 multiarch optimizations.
17682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17683 (__libc_ifunc_impl_list): Likewise.
17684 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17685 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17686 multiarch stpncpy for PPC64.
17687 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17688 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17690 2014-05-06 Andreas Schwab <schwab@suse.de>
17693 * gmon/mcount.c (_MCOUNT_DECL): Use
17694 atomic_compare_and_exchange_bool_acq instead of
17695 catomic_compare_and_exchange_bool_acq.
17697 2014-05-05 Roland McGrath <roland@hack.frob.com>
17699 * elf/Makefile (others, install-bin): Remove pldd.
17700 (pldd-modules): Variable removed.
17701 ($(objpfx)pldd): Target removed.
17702 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17703 (others, install-bin): Append pldd here.
17704 ($(objpfx)pldd): New target.
17706 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17707 to 0, so the first #if test emitted later doesn't see it undefined.
17708 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17709 * sysdeps/gnu/errlist.c: Regenerated.
17711 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17713 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17714 [libc_hidden_builtin_def]: Define to empty value.
17715 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17716 [libc_hidden_builtin_def]: Likewise.
17717 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17718 [libc_hidden_builtin_def]: Likewise.
17719 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17720 [libc_hidden_builtin_def]: Likewise.
17721 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17722 __redirect_memcpy and define ifunc as default hidden symbol.
17723 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17724 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17726 2014-05-04 Adam Conrad <adconrad@0c3.net>
17728 * locale/iso-4217.def: Reintroduce XDR currency.
17730 2014-05-04 Allan McRae <allan@archlinux.org>
17732 * po/eo.po: Update Esperanto translation from translation project.
17734 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17736 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17737 and FEATURE_INDEX_MAX to 1.
17738 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17740 2014-05-01 Steve Ellcey <sellcey@mips.com>
17742 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17743 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17744 * iconvdata/big5.c (ONE_DIRECTION): Define.
17745 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17746 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17747 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17748 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17749 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17750 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17751 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17752 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17753 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17754 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17755 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17756 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17757 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17758 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17759 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17760 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17761 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17762 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17763 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17764 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17765 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17766 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17767 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17768 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17769 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17770 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17771 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17772 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17773 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17774 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17775 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17776 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17777 * iconvdata/johab.c (ONE_DIRECTION): Define.
17778 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17779 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17780 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17781 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17782 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17783 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17784 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17785 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17786 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17787 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17789 2014-05-01 Roland McGrath <roland@hack.frob.com>
17791 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17792 (_IO_JUMPS_OFFSET): Define to 0.
17794 * nptl/sysdeps/pthread/bits/libc-lock.h
17795 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17796 (__libc_lock_define_initialized_recursive): Always define using
17797 initializer. Modern compilers treat uninitialized (implicit zero) and
17798 explicit zero initializers the same (i.e. put the datum in bss).
17800 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17802 * nscd/nscd-client.h: Include <string.h>.
17804 2014-05-01 David S. Miller <davem@davemloft.net>
17807 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17808 multiple zero bytes exist at the end of a string.
17809 Reported by Aurelien Jarno <aurelien@aurel32.net>
17811 * string/test-strcmp.c (check): Add explicit test for situations where
17812 there are multiple zero bytes after the first.
17814 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17817 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17818 when compiling wprintf.
17819 * stdio-common/tstdiomisc.c (t3): New function.
17822 2014-05-01 Steve Ellcey <sellcey@mips.com>
17824 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17825 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17826 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17827 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17829 2014-05-01 Steve Ellcey <sellcey@mips.com>
17831 * stdlib/longlong.h: Updated from GCC.
17833 2014-05-01 Will Newton <will.newton@linaro.org>
17834 Bernard Ogden <bernie.ogden@linaro.org>
17836 * NEWS: Update fixed bug list.
17839 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17841 2014-04-30 David S. Miller <davem@davemloft.net>
17843 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17844 (libc_feholdexcept_setround_sparc_ctx): New function.
17845 (libc_fesetenv_sparc_ctx): Likewise.
17846 (libc_feupdateenv_sparc_ctx): Likewise.
17847 (libc_feholdsetround_sparc_ctx): Likewise.
17848 (libc_feholdexcept_setround_ctx): Define.
17849 (libc_feholdexcept_setroundf_ctx): Likewise.
17850 (libc_feholdexcept_setroundl_ctx): Likewise.
17851 (libc_fesetenv_ctx): Likewise.
17852 (libc_fesetenvf_ctx): Likewise.
17853 (libc_fesetenvl_ctx): Likewise.
17854 (libc_feupdateenv_ctx): Likewise.
17855 (libc_feupdateenvf_ctx): Likewise.
17856 (libc_feupdateenvl_ctx): Likewise.
17857 (libc_feresetround_ctx): Likewise.
17858 (libc_feresetroundf_ctx): Likewise.
17859 (libc_feresetroundl_ctx): Likewise.
17860 (libc_feholdsetround_ctx): Likewise.
17861 (libc_feholdsetroundf_ctx): Likewise.
17862 (libc_feholdsetroundl_ctx): Likewise.
17864 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17865 with __USE_GNU instead of XOPEN cpp guards.
17867 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17870 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17871 with XOPEN cpp guards.
17873 2014-04-30 Julian Brown <julian@codesourcery.com>
17876 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17879 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17882 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17884 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17885 * sysdeps/unix/sysv/linux/configure: Regenerated.
17886 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17887 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17888 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17889 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17890 * README: Update reference to required Linux kernel version.
17891 * manual/install.texi (Linux): Update reference to required Linux
17892 kernel headers version.
17893 * INSTALL: Regenerated.
17895 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17897 [POSIX] (limits.h): Likewise.
17898 [POSIX] (math.h): Likewise.
17899 [POSIX] (sys/wait.h): Likewise.
17900 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17902 [POSIX] (stddef.h): Do not allow header inclusion.
17904 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17906 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17908 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17910 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17911 Return immediately after lll_futex_wake.
17913 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17916 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17918 (datahead_init_pos): Call datahead_init_common early.
17919 (datahead_init_neg): Likewise.
17921 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17922 datahead_init_neg): New functions.
17923 * nscd/aicache.c (addhstaiX): Use them.
17924 * nscd/grpcache.c (cache_addgr): Likewise.
17925 * nscd/hstcache.c (cache_addhst): Likewise.
17926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17927 * nscd/netgroupcache.c (do_notfound): Likewise.
17928 (addgetnetgrentX): Likewise.
17929 (addinnetgrX): Likewise.
17930 * nscd/pwdcache.c (cache_addpw): Likewise.
17931 * nscd/servicescache.c (cache_addserv): Likewise.
17933 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17934 Atsushi Onoe <atsushi@onoe.org>
17939 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17940 one response is valid.
17941 * resolv/res_send.c (send_dg): Check for validity of other
17942 response if the current response is a referral.
17944 2014-04-29 Steve Ellcey <sellcey@mips.com>
17946 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17948 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17951 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17952 Always divide by positive zero when computing -Inf result.
17953 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17954 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17956 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17958 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17959 FPSCR if value do not change.
17960 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17961 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17962 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17963 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17964 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17965 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17968 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17970 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17971 * sysdeps/unix/sysv/linux/hppa: Move directory from
17972 ports/systeps/unix/sysv/linux/hppa.
17973 * README: Update listing for hppa-*-linux-gnu.
17975 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17978 * manual/stdio.texi (Hook functions): Fix types of stream hook
17981 * socket/sys/socket.h: Fix typo in comment.
17983 2014-04-28 Wilco <wdijkstr@arm.com>
17985 * sysdeps/arm/fenv_private.h: New file.
17986 * sysdeps/arm/math_private.h: New file.
17987 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17989 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17991 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17993 (La_x86_64_retval): Likewise.
17995 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17997 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17998 fpsr if value didn't change.
17999 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18000 to fpcr if value didn't change.
18001 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18002 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18003 fpsr or fpcr if value didn't change.
18004 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18005 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18006 fpcr if value didn't change.
18007 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18008 to fpsr if value didn't change.
18010 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18012 * nptl/tst-sem3.c: Use test-skeleton.c
18013 (main): Rename to do_test. Use return instead of
18015 * nptl/tst-sem4.c: Use test-skeleton.c
18016 (main): Rename to do_test.
18018 2014-04-22 David S. Miller <davem@davemloft.net>
18020 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18021 (struct sigaction): New struct member __glibc_reserved0, change
18022 type of sa_flags to int.
18024 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18026 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18027 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18029 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18031 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18032 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18034 2014-04-22 Will Newton <will.newton@linaro.org>
18035 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18037 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18038 (__longjmp): Add longjmp and longjmp_target SystemTap
18040 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18041 (__sigsetjmp): Add setjmp SystemTap probe.
18043 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18045 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18046 match manual order.
18048 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18050 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18052 * sysdeps/powerpc/fpu/fenv_private.h
18053 (libc_feholdexcept_setroundl_ctx): Define to
18054 libc_feholdexcept_setround_ppc_ctx.
18055 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18056 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18057 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18058 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18060 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18062 * sysdeps/aarch64/math-tests.h: New file.
18064 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18066 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18069 Check and set bit_AVX2_Usable.
18070 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18072 (bit_AVX2): Likewise.
18073 (index_AVX2_Usable): Likewise.
18074 (CPUID_AVX2): Likewise.
18075 (HAS_AVX2): Likewise.
18077 2014-04-17 Will Newton <will.newton@linaro.org>
18079 * manual/setjmp.texi (System V contexts): Add note that
18080 calling setcontext on a context created by a call to a
18081 signal handler is undefined. Update text to note that
18082 setcontext from a signal handler is possible but not
18086 * stdlib/tst-setcontext.c: Include signal.h.
18087 (main): Check that the signal stack before and
18088 after swapcontext is the same.
18090 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18091 Re-implement to restore registers in user code and avoid
18092 rt_sigreturn system call.
18094 2014-04-17 Wilco <wdijkstr@arm.com>
18096 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18097 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18098 * math/test-fenv.c: Skip exception trap tests on targets which only
18099 support non-stop mode.
18101 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18102 Wilco Dijkstra <wilco.dijkstra@arm.com>
18104 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18105 (libc_feholdsetround_aarch64_ctx)
18106 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18107 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18108 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18109 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18110 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18111 (libc_feresetround_noexl_ctx): Define.
18113 2014-04-16 Richard Henderson <rth@redhat.com>
18115 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18117 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18120 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18121 const from the non-libc, non-ldso copy.
18123 * sysdeps/alpha/libm-test-ulps: Regenerate.
18125 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18126 Wilco Dijkstra <wilco.dijkstra@arm.com>
18128 * sysdeps/aarch64/fpu/math_private.h: New file.
18130 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18132 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18134 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18137 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18138 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18140 Intel MPX bound registers before _dl_profile_fixup.
18141 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18142 registers after _dl_profile_fixup. Save and restore bound
18143 registers bnd0/bnd1 when calling _dl_call_pltexit.
18144 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18145 (LR_BND_OFFSET): Likewise.
18146 (LRV_BND0_OFFSET): Likewise.
18147 (LRV_BND1_OFFSET): Likewise.
18149 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18151 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18153 * sysdeps/mach/hurd/i386/tls.h: ... here.
18154 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18155 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18158 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18160 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18162 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18164 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18166 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18169 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18170 * sysdeps/s390/configure: Regenerate.
18173 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18174 Set round-to-nearest internally to reduce error accumulation.
18176 2014-04-16 Alan Modra <amodra@gmail.com>
18180 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18181 * math/libm-test.inc (frexp_test_data): Add tests.
18182 * NEWS: Update fixed bug list.
18184 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18186 * benchtests/Makefile: Depend on libraries in build directory.
18187 (bench-math): Separate out math tests.
18188 (bench-pthread): Separate out pthread tests.
18189 (bench): Include math and pthread tests.
18191 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18194 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18195 _dl_debug_initialize.
18197 * configure.ac: Remove SELinux header check.
18198 * configure: Regenerate.
18199 * nscd/selinux.c (perms): Array of const char* to permission names.
18200 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18201 default policy. Call string_to_security_class and string_to_av_perm to
18202 translate strings. Enforce default policy and call avs_has_perm with
18203 results of translated strings.
18205 2014-04-13 David S. Miller <davem@davemloft.net>
18207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18209 2014-04-12 Allan McRae <allan@archlinux.org>
18212 * manual/string.texi (Collation Functions): Fix qsort argument
18214 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18216 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18218 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18219 Make the test a no-op if there are no exceptions defined.
18221 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18223 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18224 enable-hardcoded-path-in-tests
18226 2014-04-11 Will Newton <will.newton@linaro.org>
18228 * benchtests/Makefile (extra-objs): Add json-lib.o.
18229 (bench-func): Tidy up JSON output.
18230 * benchtests/bench-skeleton.c: Include json-lib.h.
18231 (main): Use JSON library functions to do output of
18233 * benchtests/bench-timing-type.c (main): Output the
18234 timing type simply, leaving formatting to the user.
18235 * benchtests/json-lib.c: New file.
18236 * benchtests/json-lib.h: Likewise.
18238 2014-04-11 Torvald Riegel <triegel@redhat.com>
18241 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18242 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18243 memory barriers. Add comments.
18244 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18245 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18246 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18247 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18248 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18249 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18251 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18253 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18254 * sysdeps/s390/s390-64/configure.ac: ... this ...
18255 * sysdeps/s390/configure.ac: ... to here.
18256 * sysdeps/s390/s390-32/configure: Delete file.
18257 * sysdeps/s390/s390-64/configure: Delete file.
18258 * sysdeps/s390/configure: Regenerate.
18260 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18262 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18264 2014-04-11 Will Newton <will.newton@linaro.org>
18266 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18267 to zero if it is not defined elsewhere. (mtrim): Test
18268 the value of MALLOC_DEBUG with #if rather than #ifdef.
18270 2014-04-10 Torvald Riegel <triegel@redhat.com>
18272 * benchtests/pthread_once-inputs: New file.
18273 * benchtests/pthread_once-source.c: New file.
18274 * benchtests/README: Update documentation.
18276 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18277 H.J. Lu <hongjiu.lu@intel.com>
18280 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18281 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18282 * sysdeps/x86_64/configure: Regenerated.
18283 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18285 (REGISTER_SAVE_RAX): Likewise.
18286 (REGISTER_SAVE_RCX): Likewise.
18287 (REGISTER_SAVE_RDX): Likewise.
18288 (REGISTER_SAVE_RSI): Likewise.
18289 (REGISTER_SAVE_RDI): Likewise.
18290 (REGISTER_SAVE_R8): Likewise.
18291 (REGISTER_SAVE_R9): Likewise.
18292 (REGISTER_SAVE_BND0): Likewise.
18293 (REGISTER_SAVE_BND1): Likewise.
18294 (REGISTER_SAVE_BND2): Likewise.
18295 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18296 bound registers when calling _dl_fixup.
18298 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18300 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18301 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18303 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18304 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18305 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18306 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18307 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18308 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18309 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18311 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18314 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18315 pathconf(_PC_NAME_MAX).
18317 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18319 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18320 Remove macro usage.
18321 (__PTHREAD_SPINS): Move definition to ...
18322 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18323 (__PTHREAD_SPINS): ... here.
18324 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18325 (__PTHREAD_SPIN): Likewise.
18326 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18327 (__PTHREAD_SPIN): Likewise.
18328 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18329 (__PTHREAD_SPIN): Likewise.
18330 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18331 (__PTHREAD_SPIN): Likewise.
18332 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18333 (__PTHREAD_SPIN): Likewise.
18334 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18335 (__PTHREAD_SPIN): Likewise.
18336 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18337 (__PTHREAD_SPIN): Likewise.
18338 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18339 (__PTHREAD_SPIN): Likewise.
18340 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18341 (__PTHREAD_SPIN): Likewise.
18342 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18343 (__PTHREAD_SPIN): Likewise.
18344 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18345 (__PTHREAD_SPIN): Likewise.
18346 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18347 (__PTHREAD_SPIN): Likewise.
18349 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18350 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18351 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18352 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18354 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18355 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18356 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18357 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18358 correct imply path.
18359 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18360 strlen symbol for non multi-arch builds.
18361 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18362 missing hidden_def and weak_alias.
18364 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18366 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18368 2014-04-07 Will Newton <will.newton@linaro.org>
18370 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18371 and contents. [!_LIBC] Remove #ifndef and contents.
18372 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18373 * string/memccpy.c (__memccpy): Use ANSI prototype.
18374 * string/memfrob.c (memfrob): Likewise.
18375 * string/strcoll.c (STRCOLL): Likewise.
18376 * string/strlen.c (strlen): Likewise.
18377 * string/strtok.c (STRTOK): Likewise.
18378 * string/strcat.c: Remove unused #include of memcopy.h.
18379 (strcat): Use ANSI prototype.
18380 * string/strchr.c: Remove unused #include of memcopy.h.
18381 (strchr): Use ANSI prototype.
18382 * string/strcmp.c: Remove unused #include of memcopy.h.
18383 (strcmp): Use ANSI prototype.
18384 * string/strcpy.c: Remove unused #include of memcopy.h.
18385 (strcpy): Use ANSI prototype.
18387 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18389 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18390 * config.make.in (config-extra-cppflags): Set it from
18391 libc_extra_cppflags.
18392 * configure.ac (libc_extra_cflags): Make it accumulate over
18393 configure fragments.
18394 (libc_extra_cppflags): New flag.
18395 * configure. Regenerate.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18397 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18398 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18403 result for FE_DOWNWARD rounding mode.
18404 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18408 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18410 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18411 in function argument name.
18413 2014-04-03 David Svoboda <svoboda@cert.org>
18416 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18419 2014-04-03 Roland McGrath <roland@hack.frob.com>
18421 * elf/dl-unmap-segments.h: New file.
18422 * sysdeps/generic/ldsodefs.h
18423 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18424 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18425 * elf/dl-fptr.c: Likewise.
18426 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18427 * sysdeps/aarch64/tlsdesc.c: Likewise.
18428 * sysdeps/arm/tlsdesc.c: Likewise.
18429 * sysdeps/i386/tlsdesc.c: Likewise.
18430 * sysdeps/tile/dl-runtime.c: Likewise.
18431 * sysdeps/x86_64/tlsdesc.c: Likewise.
18432 * elf/dl-load.h: New file.
18433 * elf/dl-load.c: Include it.
18434 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18435 Macros moved to dl-load.h.
18436 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18437 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18438 Use _dl_unmap_segments in place of __munmap.
18439 Break out segment-mapping loop into ...
18440 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18442 2014-04-03 Will Newton <will.newton@linaro.org>
18444 * elf/dl-lookup.c (do_lookup_x): Remove comment
18445 referring to nested function and move variable
18446 declarations down to before first use.
18448 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18452 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18454 * math/s_catanf.c (__catanf): Likewise.
18455 * math/s_catanh.c (__catanh): Likewise.
18456 * math/s_catanhf.c (__catanhf): Likewise.
18457 * math/s_catanhl.c (__catanhl): Likewise.
18458 * math/s_catanl.c (__catanl): Likewise.
18459 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18460 by positive zero when computing -Inf result.
18461 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18462 (catanh_test): Likewise.
18463 * sysdeps/i386/fpu/libm-test-ulps: Update.
18464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18467 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18468 instead of using underflowing value in computing result.
18469 * math/s_clog10.c (__clog10): Likewise.
18470 * math/s_clog10f.c (__clog10f): Likewise.
18471 * math/s_clog10l.c (__clog10l): Likewise.
18472 * math/s_clogf.c (__clogf): Likewise.
18473 * math/s_clogl.c (__clogl): Likewise.
18474 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18475 (clog10_test): Likewise.
18476 * sysdeps/i386/fpu/libm-test-ulps: Update.
18477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18479 2014-04-02 Alan Modra <amodra@gmail.com>
18482 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18483 output when value is near a power of two. Use int64_t for lx and
18484 remove casts. Use decimal rather than hex exponent constants.
18485 Don't use long double multiplication when double will suffice.
18486 * math/libm-test.inc (nextafter_test_data): Add tests.
18487 * NEWS: Add 16739 and 16786 to bug list.
18489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18491 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18493 2014-04-01 Will Newton <will.newton@linaro.org>
18495 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18496 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18498 2014-04-01 Florian Weimer <fweimer@redhat.com>
18501 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18502 * nptl/tst-setuid2.c: New file.
18503 * nptl/Makefile (xtests): Add tst-setuid2.
18505 2014-04-01 Alan Modra <amodra@gmail.com>
18508 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18510 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18514 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18515 set errno as appropriate.
18516 * math/w_scalbf.c (__scalbf): Likewise.
18517 * math/w_scalbl.c (__scalbl): Likewise.
18518 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18519 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18520 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18521 Add more NaN tests.
18524 * math/w_atan2.c: Include <errno.h>.
18525 (__atan2): Set errno for result underflowing to zero.
18526 * math/w_atan2f.c: Include <errno.h>.
18527 (__atan2f): Set errno for result underflowing to zero.
18528 * math/w_atan2l.c: Include <errno.h>.
18529 (__atan2l): Set errno for result underflowing to zero.
18530 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18532 * math/auto-libm-test-out: Regenerated.
18534 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18536 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18537 Encode instruction correctly in little endian.
18538 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18540 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18542 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18544 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18547 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18550 * sysdeps/unix/sysv/linux/kernel-features.h
18551 [__sparc__ && !__arch64__ && !__sparc_v9__]
18552 (__ASSUME_SET_ROBUST_LIST): Do not define.
18553 [__sparc__ && !__arch64__ && !__sparc_v9__]
18554 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18555 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18557 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18558 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18559 (__ASSUME_REQUEUE_PI): Likewise.
18560 (__ASSUME_SET_ROBUST_LIST): Likewise.
18561 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18562 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18565 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18567 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18569 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18571 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18572 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18574 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18575 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18581 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18583 2014-03-31 Will Newton <will.newton@linaro.org>
18585 * benchtests/Makefile (bench): Add ffs and ffsll to list
18587 * benchtests/ffs-inputs: New file.
18588 * benchtests/ffsll-inputs: Likewise.
18590 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18593 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18594 too large before casting to int.
18595 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18596 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18597 * math/libm-test.inc (scalb_test_data): Add more tests.
18599 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18601 * benchtests/Makefile (DETAILED_OPT): New make option.
18602 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18604 * benchtests/bench-skeleton.c: Include stdbool.h.
18605 (main): Store and print timings per input.
18606 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18607 member to each argument value.
18608 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18609 (_print_arg_data): Initialize per-input timing to 0.
18611 * benchtests/Makefile (timing-type): New binary.
18612 (bench-clean): Also remove bench-timing-type.
18613 (bench): New target for timing-type.
18614 (bench-func): Print output in JSON format.
18615 * benchtests/bench-skeleton.c (main): Print output in JSON
18617 * benchtests/bench-timing-type.c: New file.
18618 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18619 (TIMING_PRINT_STATS): Remove.
18620 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18623 * benchtests/bench-modf.c: Remove.
18624 * benchtests/modf-inputs: New inputs file.
18626 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18629 * math/s_clog10.c (M_PI_LOG10E): New macro.
18630 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18631 imaginary parts are 0.
18632 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18633 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18634 imaginary parts are 0.
18635 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18636 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18637 imaginary parts are 0.
18638 * math/libm-test.inc (clog10_test_data): Update expected results
18639 for when real and imaginary parts are 0.
18641 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18643 * elf/dl-load.c: Finish conversion of __builtin_expect into
18644 __glibc_{un}likely.
18646 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18649 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18650 1+x for argument with exponent below -67.
18651 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18653 * math/auto-libm-test-in: Add more tests of exp.
18654 * math/auto-libm-test-out: Regenerated.
18656 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18659 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18660 (nscd_getnetgrent): Use it.
18663 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18666 2014-03-27 Andi Kleen <ak@linux.intel.com>
18668 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18669 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18670 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18671 (lll_robust_unlock): Remove out of line section. Use cfi
18673 (LLL_STUB_UNWIND_INFO*): Remove.
18674 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18675 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18676 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18677 (lll_robust_unlock): Remove out of line section. Use cfi
18679 (LLL_STUB_UNWIND_INFO*): Remove.
18681 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18684 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18687 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18689 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18691 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18694 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18696 * math/test-fenv-preserve.c: New file.
18697 * math/Makefile (tests): Add test-fenv-preserve.
18699 2014-03-26 Will Newton <will.newton@linaro.org>
18701 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18703 2014-03-25 Roland McGrath <roland@hack.frob.com>
18705 * scripts/versionlist.awk: Partition the version sets and emit all
18706 GLIBC_* (sorted) before all others (sorted).
18708 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18710 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18711 GLIBC_2.2.5 version.
18713 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18715 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18718 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18723 2014-03-25 Andreas Schwab <schwab@suse.de>
18725 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18726 label to be used after in6ailist is initialized.
18728 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18730 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18731 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18733 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18737 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18739 (fp_formats): Update initializers.
18740 (init_fp_formats): Initialize new field.
18741 (output_for_one_input_case): Allow underflow for results up to
18743 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18744 * math/auto-libm-test-in: Don't mark some underflows from asin and
18746 * math/auto-libm-test-out: Regenerated.
18747 * sysdeps/i386/fpu/libm-test-ulps: Update.
18748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18750 2014-03-25 Andreas Schwab <schwab@suse.de>
18752 * libio/Makefile (tst-ftell-partial-wide-ENV)
18753 (tst-ftell-active-handler-ENV): Define.
18755 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18757 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18759 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18761 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18763 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18765 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18766 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18767 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18769 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18772 * elf/dl-load.c (open_verify): Add mode parameter.
18773 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18774 (open_path): Change from boolean 'secure' to complete flag 'mode'
18775 (_dl_map_object): Adjust.
18776 * elf/Makefile (tests): Add tst-dlopen-aout.
18777 * elf/tst-dlopen-aout.c: New test.
18779 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18782 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18783 (struct stat): Rename member pad0 to __glibc_reserved0.
18786 * sysdeps/s390/s390-32/bits/wordsize.h
18787 (__WORDSIZE32_SIZE_ULONG): New define.
18788 * sysdeps/s390/s390-64/bits/wordsize.h
18789 (__WORDSIZE32_SIZE_ULONG): Likewise.
18790 * sysdeps/generic/stdint.h (SIZE_MAX):
18791 Define as UL if __WORDSIZE32_SIZE_ULONG.
18794 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18795 (__glibc_reserved0): New variable.
18796 (sa_flags): Change type to int.
18798 * posix/Makefile (before-compile): Use += before-compile instead
18801 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18802 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18804 2014-03-20 Andreas Schwab <schwab@suse.de>
18807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18808 non-matching result from nscd.
18810 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18812 * scripts/bench.py: Moved to ...
18813 * benchtests/scripts/bench.py: ... here.
18814 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18816 2014-03-24 Andreas Schwab <schwab@suse.de>
18819 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18820 alloca_account and account alloca use for struct in6ailist.
18822 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18825 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18826 rounding mode to recompute results that overflow to infinity or
18828 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18830 * math/auto-libm-test-out: Regenerated.
18831 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18832 (ccosh_test): Likewise.
18833 (csin_test_data): Use plus_oflow.
18834 (csin_test): Use ALL_RM_TEST.
18835 (csinh_test_data): Use plus_oflow.
18836 (csinh_test): Use ALL_RM_TEST.
18837 * sysdeps/i386/fpu/libm-test-ulps: Update.
18838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18840 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18842 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18843 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18844 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18847 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18848 when x - 1 is zero.
18849 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18850 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18851 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18854 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18855 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18857 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18858 * sysdeps/i386/fpu/libm-test-ulps: Update.
18859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18861 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18863 * scripts/bench.pl: Remove file.
18864 * scripts/bench.py: New benchmark script.
18865 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18866 * benchtests/README: Mention python dependency.
18867 * scripts/pylintrc: New file.
18868 * scripts/pylint: New file.
18870 * bits/mathdef.h: Use #ifdef instead of #if.
18871 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18872 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18873 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18874 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18875 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18876 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18878 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18879 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18881 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18883 and strpbrk-ppc64 objects.
18884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18885 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18886 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18887 multiarch strpbrk for POWER7.
18888 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18889 multiarch strpbrk for PPC64.
18890 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18892 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18893 strpbrk for POWER7.
18895 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18897 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18898 (atan_test): Likewise.
18899 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18900 (atanh_test): Use ALL_RM_TEST.
18901 (atan2_test_data): Likewise.
18902 (cabs_test): Likewise.
18903 (cacosh_test): Likewise.
18904 (carg_test): Likewise.
18905 (casin_test): Likewise.
18906 (casinh_test): Likewise.
18907 (cbrt_test): Likewise.
18908 (csqrt_test): Likewise.
18909 (erf_test): Likewise.
18910 (erfc_test): Likewise.
18911 (pow10_test): Likewise.
18912 (exp2_test): Likewise.
18913 (hypot_test): Likewise.
18914 (j0_test): Likewise.
18915 (j1_test): Likewise.
18916 (lgamma_test): Likewise.
18917 (gamma_test): Likewise.
18918 (sincos_test): Likewise.
18919 (tanh_test): Likewise.
18920 (y0_test): Likewise.
18921 (y1_test): Likewise.
18922 * sysdeps/i386/fpu/libm-test-ulps: Update.
18923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18927 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18929 and strcspn-ppc64 objects.
18930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18931 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18932 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18933 multiarch strcspn for POWER7.
18934 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18935 multiarch strcspn for PPC64.
18936 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18938 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18939 strcspn for POWER7.
18941 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18943 * math/gen-libm-test.pl (generate_testfile): Expect only function
18944 name as argument to AUTO_TESTS_* and pass results for all rounding
18945 modes to parse_args.
18946 (parse_auto_input): Separate inputs of automatic tests from
18947 outputs before storing in %auto_tests.
18948 * math/libm-test.inc (acos_test_data): Update call to
18950 (acos_test): Use ALL_RM_TEST.
18951 (acos_tonearest_test_data): Remove.
18952 (acos_test_tonearest): Likewise.
18953 (acos_towardzero_test_data): Likewise.
18954 (acos_test_towardzero): Likewise.
18955 (acos_downward_test_data): Likewise.
18956 (acos_test_downward): Likewise.
18957 (acos_upward_test_data): Likewise.
18958 (acos_test_upward): Likewise.
18959 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18960 (asin_test_data): Likewise.
18961 (asin_test): Use ALL_RM_TEST.
18962 (asin_tonearest_test_data): Remove.
18963 (asin_test_tonearest): Likewise.
18964 (asin_towardzero_test_data): Likewise.
18965 (asin_test_towardzero): Likewise.
18966 (asin_downward_test_data): Likewise.
18967 (asin_test_downward): Likewise.
18968 (asin_upward_test_data): Likewise.
18969 (asin_test_upward): Likewise.
18970 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18971 (atan_test_data): Likewise.
18972 (atanh_test_data): Likewise.
18973 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18974 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18975 (carg_test_data): Likewise.
18976 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18977 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18978 (ccosh_test_data): Likewise.
18979 (cexp_test_data): Likewise.
18980 (clog_test_data): Likewise.
18981 (clog10_test_data): Likewise.
18982 (cos_test_data): Update call to AUTO_TESTS_f_f.
18983 (cos_test): Use ALL_RM_TEST.
18984 (cos_tonearest_test_data): Remove.
18985 (cos_test_tonearest): Likewise.
18986 (cos_towardzero_test_data): Likewise.
18987 (cos_test_towardzero): Likewise.
18988 (cos_downward_test_data): Likewise.
18989 (cos_test_downward): Likewise.
18990 (cos_upward_test_data): Likewise.
18991 (cos_test_upward): Likewise.
18992 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18993 (cosh_test): Use ALL_RM_TEST.
18994 (cosh_tonearest_test_data): Remove.
18995 (cosh_test_tonearest): Likewise.
18996 (cosh_towardzero_test_data): Likewise.
18997 (cosh_test_towardzero): Likewise.
18998 (cosh_downward_test_data): Likewise.
18999 (cosh_test_downward): Likewise.
19000 (cosh_upward_test_data): Likewise.
19001 (cosh_test_upward): Likewise.
19002 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19003 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19004 (ctan_test_data): Likewise.
19005 (ctan_test): Use ALL_RM_TEST.
19006 (ctan_tonearest_test_data): Remove.
19007 (ctan_test_tonearest): Likewise.
19008 (ctan_towardzero_test_data): Likewise.
19009 (ctan_test_towardzero): Likewise.
19010 (ctan_downward_test_data): Likewise.
19011 (ctan_test_downward): Likewise.
19012 (ctan_upward_test_data): Likewise.
19013 (ctan_test_upward): Likewise.
19014 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19015 (ctanh_test): Use ALL_RM_TEST.
19016 (ctanh_tonearest_test_data): Remove.
19017 (ctanh_test_tonearest): Likewise.
19018 (ctanh_towardzero_test_data): Likewise.
19019 (ctanh_test_towardzero): Likewise.
19020 (ctanh_downward_test_data): Likewise.
19021 (ctanh_test_downward): Likewise.
19022 (ctanh_upward_test_data): Likewise.
19023 (ctanh_test_upward): Likewise.
19024 (erf_test_data): Update call to AUTO_TESTS_f_f.
19025 (erfc_test_data): Likewise.
19026 (exp_test_data): Likewise.
19027 (exp_test): Use ALL_RM_TEST.
19028 (exp_tonearest_test_data): Remove.
19029 (exp_test_tonearest): Likewise.
19030 (exp_towardzero_test_data): Likewise.
19031 (exp_test_towardzero): Likewise.
19032 (exp_downward_test_data): Likewise.
19033 (exp_test_downward): Likewise.
19034 (exp_upward_test_data): Likewise.
19035 (exp_test_upward): Likewise.
19036 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19037 (exp10_test): Use ALL_RM_TEST.
19038 (exp10_tonearest_test_data): Remove.
19039 (exp10_test_tonearest): Likewise.
19040 (exp10_towardzero_test_data): Likewise.
19041 (exp10_test_towardzero): Likewise.
19042 (exp10_downward_test_data): Likewise.
19043 (exp10_test_downward): Likewise.
19044 (exp10_upward_test_data): Likewise.
19045 (exp10_test_upward): Likewise.
19046 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19047 (expm1_test_data): Likewise.
19048 (expm1_test): Use ALL_RM_TEST.
19049 (expm1_tonearest_test_data): Remove.
19050 (expm1_test_tonearest): Likewise.
19051 (expm1_towardzero_test_data): Likewise.
19052 (expm1_test_towardzero): Likewise.
19053 (expm1_downward_test_data): Likewise.
19054 (expm1_test_downward): Likewise.
19055 (expm1_upward_test_data): Likewise.
19056 (expm1_test_upward): Likewise.
19057 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19058 (fma_test): Use ALL_RM_TEST.
19059 (fma_towardzero_test_data): Remove.
19060 (fma_test_towardzero): Likewise.
19061 (fma_downward_test_data): Likewise.
19062 (fma_test_downward): Likewise.
19063 (fma_upward_test_data): Likewise.
19064 (fma_test_upward): Likewise.
19065 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19066 (j0_test_data): Update call to AUTO_TESTS_f_f.
19067 (j1_test_data): Likewise.
19068 (jn_test_data): Update call to AUTO_TESTS_if_f.
19069 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19070 (log_test_data): Update call to AUTO_TESTS_f_f.
19071 (log10_test_data): Likewise.
19072 (log1p_test_data): Likewise.
19073 (log2_test_data): Likewise.
19074 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19075 (pow_tonearest_test_data): Likewise.
19076 (sin_test_data): Update call to AUTO_TESTS_f_f.
19077 (sin_test): Use ALL_RM_TEST.
19078 (sin_tonearest_test_data): Remove.
19079 (sin_test_tonearest): Likewise.
19080 (sin_towardzero_test_data): Likewise.
19081 (sin_test_towardzero): Likewise.
19082 (sin_downward_test_data): Likewise.
19083 (sin_test_downward): Likewise.
19084 (sin_upward_test_data): Likewise.
19085 (sin_test_upward): Likewise.
19086 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19087 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19088 (sinh_test): Use ALL_RM_TEST.
19089 (sinh_tonearest_test_data): Remove.
19090 (sinh_test_tonearest): Likewise.
19091 (sinh_towardzero_test_data): Likewise.
19092 (sinh_test_towardzero): Likewise.
19093 (sinh_downward_test_data): Likewise.
19094 (sinh_test_downward): Likewise.
19095 (sinh_upward_test_data): Likewise.
19096 (sinh_test_upward): Likewise.
19097 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19098 (sqrt_test): Use ALL_RM_TEST.
19099 (sqrt_tonearest_test_data): Remove.
19100 (sqrt_test_tonearest): Likewise.
19101 (sqrt_towardzero_test_data): Likewise.
19102 (sqrt_test_towardzero): Likewise.
19103 (sqrt_downward_test_data): Likewise.
19104 (sqrt_test_downward): Likewise.
19105 (sqrt_upward_test_data): Likewise.
19106 (sqrt_test_upward): Likewise.
19107 (tan_test_data): Update call to AUTO_TESTS_f_f.
19108 (tan_test): Use ALL_RM_TEST.
19109 (tan_tonearest_test_data): Remove.
19110 (tan_test_tonearest): Likewise.
19111 (tan_towardzero_test_data): Likewise.
19112 (tan_test_towardzero): Likewise.
19113 (tan_downward_test_data): Likewise.
19114 (tan_test_downward): Likewise.
19115 (tan_upward_test_data): Likewise.
19116 (tan_test_upward): Likewise.
19117 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19118 (tgamma_test_data): Likewise.
19119 (y0_test_data): Likewise.
19120 (y1_test_data): Likewise.
19121 (yn_test_data): Update call to AUTO_TESTS_if_f.
19122 (main): Do not call removed functions.
19124 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19126 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19127 (ldexp_test_data): Remove.
19128 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19130 (scalb_test): Use ALL_RM_TEST.
19132 2014-03-19 Andreas Schwab <schwab@suse.de>
19134 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19136 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19139 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19140 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19141 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19143 (__ASSUME_PREADV): Undefine.
19144 (__ASSUME_PWRITEV): Likewise.
19146 2014-03-18 Roland McGrath <roland@hack.frob.com>
19148 * bits/mman-linux.h: Add comment about non-Linux use.
19149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19150 bits/mman-linux.h resting place.
19152 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19153 * bits/mman-linux.h: ... here.
19155 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19157 * conform/conformtest.pl: Add standard definition when calling C
19158 preprocessor on data files.
19159 (checknamespace): Remove unused variable.
19161 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19163 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19164 minus_oflow, plus_uflow and minus_uflow in expected results.
19165 * math/libm-test.inc (scalbn_test_data): Add more tests of
19166 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19168 (scalbn_test): Use ALL_RM_TEST.
19169 (scalbln_test_data): Add more tests of negative arguments. Use
19170 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19171 (scalbln_test): Use ALL_RM_TEST.
19173 2014-03-18 Roland McGrath <roland@hack.frob.com>
19175 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19177 2014-03-18 Will Newton <will.newton@linaro.org>
19179 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19180 inaccurate comment.
19182 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19184 * Makerules [!subdir] (check-abi): Exit with error status if a
19187 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19189 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19190 for rint. Include results for all rounding modes.
19191 (nearbyint_test): Use ALL_RM_TEST.
19192 (rint_test_data): Include all tests used for nearbyint.
19194 2014-03-17 Will Newton <will.newton@linaro.org>
19196 * nptl/sysdeps/pthread/pthread.h: Revert previous
19199 * sysdeps/generic/ldsodefs.h: Revert previous
19202 * libio/genops.c: Revert previous change.
19203 * libio/libioP.h: Likewise.
19204 * stdio-common/vfprintf.c: Likewise.
19206 * sysdeps/generic/math_private.h: Revert previous
19209 * sysdeps/generic/math_private.h: Check whether
19210 HAVE_RM_CTX is defined with #ifdef rather
19213 * argp/argp-fmtstream.h: Check whether
19214 __STRICT_ANSI__ is defined with #ifdef rather
19216 * argp/argp.h: Likewise.
19218 * libio/genops.c: Check whether
19219 _IO_JUMPS_OFFSET is defined with #ifdef rather
19221 * libio/libioP.h: Likewise.
19222 * stdio-common/vfprintf.c: Likewise.
19224 * sysdeps/generic/ldsodefs.h: Check whether
19225 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19228 * nptl/sysdeps/pthread/pthread.h: Check
19229 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19232 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19234 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19236 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19240 * libio/fileops.c (_IO_file_open): Seek to end of file but
19241 don't cache the offset.
19242 (get_file_offset): Remove function.
19243 (do_ftell): Use cached offset when available.
19244 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19245 don't cache the offset.
19246 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19248 (do_one_test): Call it.
19249 (do_ftell_test): Fix up expected old offset for a+ mode.
19250 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19253 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19254 up test status with function return status.
19255 (do_write_test): Likewise.
19256 (do_append_test): Likewise.
19258 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19259 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19262 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19264 * math/gen-libm-test.pl (parse_args): Handle results specified for
19265 each rounding mode separately.
19266 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19267 tests and results from lrint_tonearest_test_data,
19268 lrint_towardzero_test_data, lrint_downward_test_data and
19269 lrint_upward_test_data.
19270 (lrint_test): Use ALL_RM_TEST.
19271 (lrint_tonearest_test_data): Remove.
19272 (lrint_test_tonearest): Likewise.
19273 (lrint_towardzero_test_data): Likewise.
19274 (lrint_test_towardzero): Likewise.
19275 (lrint_downward_test_data): Likewise.
19276 (lrint_test_downward): Likewise.
19277 (lrint_upward_test_data): Likewise.
19278 (lrint_test_upward): Likewise.
19279 (llrint_test_data): Merge in per-rounding-mode tests and results
19280 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19281 llrint_downward_test_data and llrint_upward_test_data.
19282 (llrint_test): Use ALL_RM_TEST.
19283 (llrint_tonearest_test_data): Remove.
19284 (llrint_test_tonearest): Likewise.
19285 (llrint_towardzero_test_data): Likewise.
19286 (llrint_test_towardzero): Likewise.
19287 (llrint_downward_test_data): Likewise.
19288 (llrint_test_downward): Likewise.
19289 (llrint_upward_test_data): Likewise.
19290 (llrint_test_upward): Likewise.
19291 (rint_test_data): Merge in per-rounding-mode tests and results
19292 from rint_tonearest_test_data, rint_towardzero_test_data,
19293 rint_downward_test_data and rint_upward_test_data. Add
19294 per-rounding-mode results for tests not in those arrays.
19295 (rint_test): Use ALL_RM_TEST.
19296 (rint_tonearest_test_data): Remove.
19297 (rint_test_tonearest): Likewise.
19298 (rint_towardzero_test_data): Likewise.
19299 (rint_test_towardzero): Likewise.
19300 (rint_downward_test_data): Likewise.
19301 (rint_test_downward): Likewise.
19302 (rint_upward_test_data): Likewise.
19303 (rint_test_upward): Likewise.
19304 (main): Don't call removed functions.
19306 2014-03-14 Roland McGrath <roland@hack.frob.com>
19308 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19309 "Compiled on ..." crapola. It is anti-useful.
19311 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19313 * scripts/evaluate-test.sh: Handle fourth argument to determine
19314 whether test run should stop on failure.
19315 * Makeconfig (stop-on-test-failure): New variable.
19316 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19317 $(stop-on-test-failure).
19318 * Makefile (tests): Give a summary of results from testing and
19319 exit with failure status if they include an ERROR or FAIL.
19320 (xtests): Likewise.
19321 * manual/install.texi (Configuring and compiling): Mention
19322 stop-on-test-failure=y.
19323 * INSTALL: Regenerated.
19325 2014-03-14 Roland McGrath <roland@hack.frob.com>
19327 * scripts/versionlist.awk: New file.
19328 * Makerules [$(build-shared) = yes]
19329 (postclean-generated): Add Versions.def, not Versions.def.v and
19331 ($(common-objpfx)Versions.def.v.i): Target removed.
19332 ($(common-objpfx)Versions.def): New target.
19333 ($(common-objpfx)Versions.all): Depend on that rather that
19334 $(common-objpfx)Versions.def.v.
19335 * Versions.def: File removed.
19337 * Makeconfig (+gccwarn): Add -Wundef.
19338 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19339 a dl-sysdep.h breaking its contract.
19340 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19341 * include/stackinfo.h: New file.
19342 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19343 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19344 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19345 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19346 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19347 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19348 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19349 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19350 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19351 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19352 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19353 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19354 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19355 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19356 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19358 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19361 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19363 * math/libm-test.inc (round_test_data): Add more tests.
19366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19368 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19371 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19373 * math/libm-test.inc (ceil_test_data): Add more tests.
19375 * math/libm-test.inc (trunc_test_data): Add more tests related to
19378 2014-03-14 Roland McGrath <roland@hack.frob.com>
19380 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19381 with #if rather than #ifdef.
19382 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19384 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19386 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19387 first. Disable AVX-512 GCC support if assembler doesn't support
19389 * sysdeps/x86_64/configure: Regenerated.
19391 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19393 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19394 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19395 (__old_pthread_attr_setstack): Likewise.
19396 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19397 [!_STACK_GROWS_DOWN]: Likewise.
19399 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19401 * config.make.in (have-bash2): Delete.
19402 * configure.ac (libc_cv_have_bash2): Delete.
19403 * configure: Regenerate.
19404 * elf/Makefile (common-ldd-rewrite): Rename to ...
19405 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19406 (sh-ldd-rewrite): Delete.
19407 (bash-ldd-rewrite): Delete.
19408 (have-bash2): Delete checks.
19409 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19412 * config.make.in (have-ksh): Delete.
19414 * configure.ac (libc_cv_have_ksh): Delete.
19415 * configure: Regenerate.
19417 * elf/Makefile: Delete $(have-ksh) check.
19418 ($(objpfx)sotruss): Change KSH to BASH.
19419 * elf/sotruss.ksh: Rename to ...
19420 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19421 function style to match POSIX. Drop ksh vim mode setting.
19423 * manual/time.texi (Specifying the Time Zone with TZ): Change
19424 Tuesday to Thursday.
19426 * debug/tst-longjmp_chk2.c: Update header comment.
19427 (stackoverflow_handler): Add comment. Call assert on pass value.
19429 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19432 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19433 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19434 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19435 (La_x86_64_vector): Add zmm.
19436 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19437 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19438 ($(objpfx)tst-audit10): New target.
19439 ($(objpfx)tst-audit10.out): Likewise.
19440 (tst-audit10-ENV): New.
19441 (AVX512-CFLAGS): Likewise.
19442 (CFLAGS-tst-audit10.c): Likewise.
19443 (CFLAGS-tst-auditmod10a.c): Likewise.
19444 (CFLAGS-tst-auditmod10b.c): Likewise.
19445 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19446 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19447 * sysdeps/x86_64/configure: Regenerated.
19448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19449 AVX-512 zmm register support.
19450 (_dl_x86_64_save_sse): Likewise.
19451 (_dl_x86_64_restore_sse): Likewise.
19452 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19453 size vector registers.
19454 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19455 (ZMM_SIZE): Likewise.
19456 * sysdeps/x86_64/tst-audit10.c: New file.
19457 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19458 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19460 2014-03-13 Roland McGrath <roland@hack.frob.com>
19462 * configure.ac (HAVE_EHDR_START): New check.
19463 * configure: Regenerated.
19464 * config.h.in (HAVE_EHDR_START): New #undef.
19465 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19466 assuming the lowest-addressed segment maps the start of the file.
19468 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19470 * INSTALL: Regenerated.
19472 2014-03-13 Will Newton <will.newton@linaro.org>
19474 * manual/setjmp.texi (System V contexts): Improve
19475 clarity and grammar of documentation.
19477 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19480 * elf/Makefile (tests): Add tst-pie2.
19481 (tests-pie): Add tst-pie2.
19482 * elf/tst-pie2.c: New file.
19483 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19485 * elf/rtld.c (map_doit): Load executable as lt_executable.
19486 (dl_main): Likewise.
19488 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19492 (__ASSUME_PSELECT): Undefine.
19494 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19497 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19498 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19500 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19501 selector for static builds.
19503 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19506 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19509 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19511 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19512 IFUNC selector for static builds.
19514 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19516 * sysdeps/mips/math_private.h [__mips_hard_float]
19517 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19518 libc_feresetround_mips_ctx.
19519 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19520 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19521 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19524 * math/s_nextafter.c (__nextafter): Do not return value from
19525 overflowing computation.
19526 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19527 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19528 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19532 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19533 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19535 2014-03-11 Roland McGrath <roland@hack.frob.com>
19537 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19538 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19539 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19540 the new mov targetting sp.
19542 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19545 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19546 Define it for static builds as well.
19547 (NO_BZERO_IMPL): Likewise.
19549 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19551 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19552 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19553 multiarch strspn for PPC64.
19554 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19555 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19557 (__libc_ifunc_impl_list): Likewise.
19558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19559 multiarch optimizations
19560 * string/strspn.c (strspn): Using macro to redefine symbol name.
19562 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19563 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19565 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19566 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19567 multiarch strncat for PPC64.
19568 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19569 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19571 (__libc_ifunc_impl_list): Likewise.
19572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19573 multiarch optimizations
19575 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19578 * nscd/nscd.service: Make service type forking.
19580 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19582 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19583 sign in non default rounding modes.
19584 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19586 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19588 * math/libm-test.inc (ALL_RM_TEST): New macro.
19589 (ceil_test): Use ALL_RM_TEST.
19590 (cimag_test): Likewise.
19591 (conj_test): Likewise.
19592 (copysign_test): Likewise.
19593 (cproj_test): Likewise.
19594 (creal_test): Likewise.
19595 (fabs_test): Likewise.
19596 (floor_test): Likewise.
19597 (fmax_test): Likewise.
19598 (fmin_test): Likewise.
19599 (fmod_test): Likewise.
19600 (fpclassify_test): Likewise.
19601 (frexp_test): Likewise.
19602 (ilogb_test): Likewise.
19603 (isfinite_test): Likewise.
19604 (finite_test): Likewise.
19605 (isgreater_test): Likewise.
19606 (isgreaterequal_test): Likewise.
19607 (isinf_test): Likewise.
19608 (isless_test): Likewise.
19609 (islessequal_test): Likewise.
19610 (islessgreater_test): Likewise.
19611 (isnan_test): Likewise.
19612 (isnormal_test): Likewise.
19613 (issignaling_test): Likewise.
19614 (isunordered_test): Likewise.
19615 (logb_test): Likewise.
19616 (logb_downward_test_data): Remove.
19617 (logb_test_downward): Likewise.
19618 (lround_test): Use ALL_RM_TEST.
19619 (llround_test): Likewise.
19620 (modf_test): Likewise.
19621 (nexttoward_test): Likewise.
19622 (remainder_test): Likewise.
19623 (drem_test): Likewise.
19624 (remainder_tonearest_test_data): Likewise.
19625 (remainder_test_tonearest): Likewise.
19626 (drem_test_tonearest): Likewise.
19627 (remainder_towardzero_test_data): Likewise.
19628 (remainder_test_towardzero): Likewise.
19629 (drem_test_towardzero): Likewise.
19630 (remainder_downward_test_data): Likewise.
19631 (remainder_test_downward): Likewise.
19632 (drem_test_downward): Likewise.
19633 (remainder_upward_test_data): Likewise.
19634 (remainder_test_upward): Likewise.
19635 (drem_test_upward): Likewise.
19636 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19637 (round_test): Use ALL_RM_TEST.
19638 (signbit_test): Likewise.
19639 (trunc_test): Likewise.
19640 (significand_test): Likewise.
19641 (main): Don't call removed functions.
19643 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19646 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19647 || __USE_XOPEN2K8].
19648 (ILL_ILLOPN): Likewise.
19649 (ILL_ILLADR): Likewise.
19650 (ILL_ILLTRP): Likewise.
19651 (ILL_PRVOPC): Likewise.
19652 (ILL_PRVREG): Likewise.
19653 (ILL_COPROC): Likewise.
19654 (ILL_BADSTK): Likewise.
19655 (FPE_INTDIV): Likewise.
19656 (FPE_INTOVF): Likewise.
19657 (FPE_FLTDIV): Likewise.
19658 (FPE_FLTOVF): Likewise.
19659 (FPE_FLTUND): Likewise.
19660 (FPE_FLTRES): Likewise.
19661 (FPE_FLTINV): Likewise.
19662 (FPE_FLTSUB): Likewise.
19663 (SEGV_MAPERR): Likewise.
19664 (SEGV_ACCERR): Likewise.
19665 (BUS_ADRALN): Likewise.
19666 (BUS_ADRERR): Likewise.
19667 (BUS_OBJERR): Likewise.
19668 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19669 (TRAP_TRACE): Likewise.
19670 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19672 (CLD_KILLED): Likewise.
19673 (CLD_DUMPED): Likewise.
19674 (CLD_TRAPPED): Likewise.
19675 (CLD_STOPPED): Likewise.
19676 (CLD_CONTINUED): Likewise.
19677 (POLL_IN): Likewise.
19678 (POLL_OUT): Likewise.
19679 (POLL_MSG): Likewise.
19680 (POLL_ERR): Likewise.
19681 (POLL_PRI): Likewise.
19682 (POLL_HUP): Likewise.
19683 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19685 (ILL_ILLOPN): Likewise.
19686 (ILL_ILLADR): Likewise.
19687 (ILL_ILLTRP): Likewise.
19688 (ILL_PRVOPC): Likewise.
19689 (ILL_PRVREG): Likewise.
19690 (ILL_COPROC): Likewise.
19691 (ILL_BADSTK): Likewise.
19692 (FPE_INTDIV): Likewise.
19693 (FPE_INTOVF): Likewise.
19694 (FPE_FLTDIV): Likewise.
19695 (FPE_FLTOVF): Likewise.
19696 (FPE_FLTUND): Likewise.
19697 (FPE_FLTRES): Likewise.
19698 (FPE_FLTINV): Likewise.
19699 (FPE_FLTSUB): Likewise.
19700 (SEGV_MAPERR): Likewise.
19701 (SEGV_ACCERR): Likewise.
19702 (BUS_ADRALN): Likewise.
19703 (BUS_ADRERR): Likewise.
19704 (BUS_OBJERR): Likewise.
19705 (BUS_MCEERR_AR): Likewise.
19706 (BUS_MCEERR_AO): Likewise.
19707 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19708 (TRAP_TRACE): Likewise.
19709 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19711 (CLD_KILLED): Likewise.
19712 (CLD_DUMPED): Likewise.
19713 (CLD_TRAPPED): Likewise.
19714 (CLD_STOPPED): Likewise.
19715 (CLD_CONTINUED): Likewise.
19716 (POLL_IN): Likewise.
19717 (POLL_OUT): Likewise.
19718 (POLL_MSG): Likewise.
19719 (POLL_ERR): Likewise.
19720 (POLL_PRI): Likewise.
19721 (POLL_HUP): Likewise.
19722 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19723 (ILL_ILLOPN): Likewise.
19724 (ILL_ILLADR): Likewise.
19725 (ILL_ILLTRP): Likewise.
19726 (ILL_PRVOPC): Likewise.
19727 (ILL_PRVREG): Likewise.
19728 (ILL_COPROC): Likewise.
19729 (ILL_BADSTK): Likewise.
19730 (FPE_INTDIV): Likewise.
19731 (FPE_INTOVF): Likewise.
19732 (FPE_FLTDIV): Likewise.
19733 (FPE_FLTOVF): Likewise.
19734 (FPE_FLTUND): Likewise.
19735 (FPE_FLTRES): Likewise.
19736 (FPE_FLTINV): Likewise.
19737 (FPE_FLTSUB): Likewise.
19738 (SEGV_MAPERR): Likewise.
19739 (SEGV_ACCERR): Likewise.
19740 (BUS_ADRALN): Likewise.
19741 (BUS_ADRERR): Likewise.
19742 (BUS_OBJERR): Likewise.
19743 (BUS_MCEERR_AR): Likewise.
19744 (BUS_MCEERR_AO): Likewise.
19745 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19746 (TRAP_TRACE): Likewise.
19747 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19749 (CLD_KILLED): Likewise.
19750 (CLD_DUMPED): Likewise.
19751 (CLD_TRAPPED): Likewise.
19752 (CLD_STOPPED): Likewise.
19753 (CLD_CONTINUED): Likewise.
19754 (POLL_IN): Likewise.
19755 (POLL_OUT): Likewise.
19756 (POLL_MSG): Likewise.
19757 (POLL_ERR): Likewise.
19758 (POLL_PRI): Likewise.
19759 (POLL_HUP): Likewise.
19760 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19762 (ILL_ILLOPN): Likewise.
19763 (ILL_ILLADR): Likewise.
19764 (ILL_ILLTRP): Likewise.
19765 (ILL_PRVOPC): Likewise.
19766 (ILL_PRVREG): Likewise.
19767 (ILL_COPROC): Likewise.
19768 (ILL_BADSTK): Likewise.
19769 (ILL_BADIADDR): Likewise.
19770 (ILL_BREAK): Likewise.
19771 (FPE_INTDIV): Likewise.
19772 (FPE_INTOVF): Likewise.
19773 (FPE_FLTDIV): Likewise.
19774 (FPE_FLTOVF): Likewise.
19775 (FPE_FLTUND): Likewise.
19776 (FPE_FLTRES): Likewise.
19777 (FPE_FLTINV): Likewise.
19778 (FPE_FLTSUB): Likewise.
19779 (FPE_DECOVF): Likewise.
19780 (FPE_DECDIV): Likewise.
19781 (FPE_DECERR): Likewise.
19782 (FPE_INVASC): Likewise.
19783 (FPE_INVDEC): Likewise.
19784 (SEGV_MAPERR): Likewise.
19785 (SEGV_ACCERR): Likewise.
19786 (SEGV_PSTKOVF): Likewise.
19787 (BUS_ADRALN): Likewise.
19788 (BUS_ADRERR): Likewise.
19789 (BUS_OBJERR): Likewise.
19790 (BUS_MCEERR_AR): Likewise.
19791 (BUS_MCEERR_AO): Likewise.
19792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19793 (TRAP_TRACE): Likewise.
19794 (TRAP_BRANCH): Likewise.
19795 (TRAP_HWBKPT): 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/mips/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 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19848 (ILL_ILLOPN): Likewise.
19849 (ILL_ILLADR): Likewise.
19850 (ILL_ILLTRP): Likewise.
19851 (ILL_PRVOPC): Likewise.
19852 (ILL_PRVREG): Likewise.
19853 (ILL_COPROC): Likewise.
19854 (ILL_BADSTK): Likewise.
19855 (FPE_INTDIV): Likewise.
19856 (FPE_INTOVF): Likewise.
19857 (FPE_FLTDIV): Likewise.
19858 (FPE_FLTOVF): Likewise.
19859 (FPE_FLTUND): Likewise.
19860 (FPE_FLTRES): Likewise.
19861 (FPE_FLTINV): Likewise.
19862 (FPE_FLTSUB): Likewise.
19863 (SEGV_MAPERR): Likewise.
19864 (SEGV_ACCERR): Likewise.
19865 (BUS_ADRALN): Likewise.
19866 (BUS_ADRERR): Likewise.
19867 (BUS_OBJERR): Likewise.
19868 (BUS_MCEERR_AR): Likewise.
19869 (BUS_MCEERR_AO): Likewise.
19870 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19871 (TRAP_TRACE): Likewise.
19872 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19874 (CLD_KILLED): Likewise.
19875 (CLD_DUMPED): Likewise.
19876 (CLD_TRAPPED): Likewise.
19877 (CLD_STOPPED): Likewise.
19878 (CLD_CONTINUED): Likewise.
19879 (POLL_IN): Likewise.
19880 (POLL_OUT): Likewise.
19881 (POLL_MSG): Likewise.
19882 (POLL_ERR): Likewise.
19883 (POLL_PRI): Likewise.
19884 (POLL_HUP): Likewise.
19885 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19886 (ILL_ILLOPN): Likewise.
19887 (ILL_ILLADR): Likewise.
19888 (ILL_ILLTRP): Likewise.
19889 (ILL_PRVOPC): Likewise.
19890 (ILL_PRVREG): Likewise.
19891 (ILL_COPROC): Likewise.
19892 (ILL_BADSTK): Likewise.
19893 (FPE_INTDIV): Likewise.
19894 (FPE_INTOVF): Likewise.
19895 (FPE_FLTDIV): Likewise.
19896 (FPE_FLTOVF): Likewise.
19897 (FPE_FLTUND): Likewise.
19898 (FPE_FLTRES): Likewise.
19899 (FPE_FLTINV): Likewise.
19900 (FPE_FLTSUB): Likewise.
19901 (SEGV_MAPERR): Likewise.
19902 (SEGV_ACCERR): Likewise.
19903 (BUS_ADRALN): Likewise.
19904 (BUS_ADRERR): Likewise.
19905 (BUS_OBJERR): Likewise.
19906 (BUS_MCEERR_AR): Likewise.
19907 (BUS_MCEERR_AO): Likewise.
19908 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19909 (TRAP_TRACE): Likewise.
19910 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19912 (CLD_KILLED): Likewise.
19913 (CLD_DUMPED): Likewise.
19914 (CLD_TRAPPED): Likewise.
19915 (CLD_STOPPED): Likewise.
19916 (CLD_CONTINUED): Likewise.
19917 (POLL_IN): Likewise.
19918 (POLL_OUT): Likewise.
19919 (POLL_MSG): Likewise.
19920 (POLL_ERR): Likewise.
19921 (POLL_PRI): Likewise.
19922 (POLL_HUP): Likewise.
19923 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19924 (ILL_ILLOPN): Likewise.
19925 (ILL_ILLADR): Likewise.
19926 (ILL_ILLTRP): Likewise.
19927 (ILL_PRVOPC): Likewise.
19928 (ILL_PRVREG): Likewise.
19929 (ILL_COPROC): Likewise.
19930 (ILL_BADSTK): Likewise.
19931 (ILL_DBLFLT): Likewise.
19932 (ILL_HARDWALL): Likewise.
19933 (FPE_INTDIV): Likewise.
19934 (FPE_INTOVF): Likewise.
19935 (FPE_FLTDIV): Likewise.
19936 (FPE_FLTOVF): Likewise.
19937 (FPE_FLTUND): Likewise.
19938 (FPE_FLTRES): Likewise.
19939 (FPE_FLTINV): Likewise.
19940 (FPE_FLTSUB): Likewise.
19941 (SEGV_MAPERR): Likewise.
19942 (SEGV_ACCERR): Likewise.
19943 (BUS_ADRALN): Likewise.
19944 (BUS_ADRERR): Likewise.
19945 (BUS_OBJERR): Likewise.
19946 (BUS_MCEERR_AR): Likewise.
19947 (BUS_MCEERR_AO): Likewise.
19948 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19949 (TRAP_TRACE): Likewise.
19950 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19952 (CLD_KILLED): Likewise.
19953 (CLD_DUMPED): Likewise.
19954 (CLD_TRAPPED): Likewise.
19955 (CLD_STOPPED): Likewise.
19956 (CLD_CONTINUED): Likewise.
19957 (POLL_IN): Likewise.
19958 (POLL_OUT): Likewise.
19959 (POLL_MSG): Likewise.
19960 (POLL_ERR): Likewise.
19961 (POLL_PRI): Likewise.
19962 (POLL_HUP): Likewise.
19963 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19964 (ILL_ILLOPN): Likewise.
19965 (ILL_ILLADR): Likewise.
19966 (ILL_ILLTRP): Likewise.
19967 (ILL_PRVOPC): Likewise.
19968 (ILL_PRVREG): Likewise.
19969 (ILL_COPROC): Likewise.
19970 (ILL_BADSTK): Likewise.
19971 (FPE_INTDIV): Likewise.
19972 (FPE_INTOVF): Likewise.
19973 (FPE_FLTDIV): Likewise.
19974 (FPE_FLTOVF): Likewise.
19975 (FPE_FLTUND): Likewise.
19976 (FPE_FLTRES): Likewise.
19977 (FPE_FLTINV): Likewise.
19978 (FPE_FLTSUB): Likewise.
19979 (SEGV_MAPERR): Likewise.
19980 (SEGV_ACCERR): Likewise.
19981 (BUS_ADRALN): Likewise.
19982 (BUS_ADRERR): Likewise.
19983 (BUS_OBJERR): Likewise.
19984 (BUS_MCEERR_AR): Likewise.
19985 (BUS_MCEERR_AO): Likewise.
19986 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19987 (TRAP_TRACE): Likewise.
19988 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19990 (CLD_KILLED): Likewise.
19991 (CLD_DUMPED): Likewise.
19992 (CLD_TRAPPED): Likewise.
19993 (CLD_STOPPED): Likewise.
19994 (CLD_CONTINUED): Likewise.
19995 (POLL_IN): Likewise.
19996 (POLL_OUT): Likewise.
19997 (POLL_MSG): Likewise.
19998 (POLL_ERR): Likewise.
19999 (POLL_PRI): Likewise.
20000 (POLL_HUP): Likewise.
20001 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20002 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20005 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20006 before #include of <time.h>.
20007 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20008 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20009 (test-xfail-UNIX98/sched.h/conform): Likewise.
20011 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20013 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20014 error absence of trapping exception support.
20015 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20017 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20019 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20020 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20021 * timezone/Makefile (testdata): Move definition above include of
20023 (test-zones): New variable.
20024 (tests-special): Add zone files.
20025 (build-testdata): Use $(evaluate-test).
20027 * elf/Makefile (tests-special): Rename tests to end with .out.
20028 ($(objpfx)noload-mem): Likewise.
20029 ($(objpfx)tst-leaks1-mem): Likewise.
20030 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20031 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20032 $(objpfx)test-iconvconfig.out.
20033 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20034 set -e inside subshell and redirect output to file.
20035 * iconvdata/Makefile (generated): Rename tests to end with .out.
20037 (tests-special): Rename tests to end with .out.
20038 ($(objpfx)mtrace-tst-loading): Likewise.
20039 * intl/Makefile (generated): Likewise.
20040 (tests-special): Likewise.
20041 ($(objpfx)mtrace-tst-gettext): Likewise.
20042 * misc/Makefile (generated): Likewise.
20043 (tests-special): Likewise.
20044 ($(objpfx)tst-error1-mem): Likewise.
20045 * nptl/Makefile (tests-special): Likewise.
20046 ($(objpfx)tst-stack3-mem): Likewise.
20047 (generated): Likewise.
20048 * posix/Makefile (generated): Likewise.
20049 (tests-special): Likewise.
20050 (xtests-special): Likewise.
20051 ($(objpfx)tst-fnmatch-mem): Likewise.
20052 ($(objpfx)bug-regex2-mem): Likewise.
20053 ($(objpfx)bug-regex14-mem): Likewise.
20054 ($(objpfx)bug-regex21-mem): Likewise.
20055 ($(objpfx)bug-regex31-mem): Likewise.
20056 ($(objpfx)tst-vfork3-mem): Likewise.
20057 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20058 ($(objpfx)tst-pcre-mem): Likewise.
20059 ($(objpfx)tst-boost-mem): Likewise.
20060 ($(objpfx)bug-ga2-mem): Likewise.
20061 ($(objpfx)bug-glob2-mem): Likewise.
20062 * resolv/Makefile (generate): Likewise.
20063 (tests-special): Likewise.
20064 (xtests-special): Likewise.
20065 (generated): Likewise.
20066 ($(objpfx)mtrace-tst-leaks): Likewise.
20067 ($(objpfx)mtrace-tst-leaks2): Likewise.
20069 * scripts/merge-test-results.sh: New file.
20070 * Makefile (tests-special-notdir): New variable.
20071 (tests): Run merge-test-results.sh.
20072 (xtests): Likewise.
20073 * Rules (tests-special-notdir): New variable.
20074 (xtests-special-notdir): Likewise.
20075 (tests): Run merge-test-results.sh
20076 (xtests): Likewise.
20078 * Makeconfig (test-xfail-name): New variable.
20079 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20080 compute variable name for expected failures.
20081 * conform/Makefile (conformtest-headers-data): New variable.
20082 (conformtest-standards): Likewise.
20083 (conformtest-headers-ISO): Likewise.
20084 (conformtest-headers-ISO99): Likewise.
20085 (conformtest-headers-ISO11): Likewise.
20086 (conformtest-headers-POSIX): Likewise.
20087 (conformtest-headers-XPG3): Likewise.
20088 (conformtest-headers-XPG4): Likewise.
20089 (conformtest-headers-UNIX98): Likewise.
20090 (conformtest-headers-XOPEN2K): Likewise.
20091 (conformtest-headers-POSIX2008): Likewise.
20092 (conformtest-headers-XOPEN2K8): Likewise.
20093 (conformtest-header-list-base): Likewise.
20094 (conformtest-header-list-tests): Likewise.
20095 (conformtest-header-base): Likewise.
20096 (conformtest-header-tests): Likewise.
20097 (tests-special): Add $(conformtest-header-list-tests). If
20098 [$(fast-check) && !$(cross-compiling)], add
20099 $(conformtest-header-tests) instead of
20100 $(objpfx)run-conformtest.out.
20101 (generated): Add $(conformtest-header-list-base). If
20102 [$(fast-check) && !$(cross-compiling)], add
20103 $(conformtest-header-base). Remove previous setting.
20104 ($(conformtest-header-list-tests)): New target.
20105 (test-xfail-run-conformtest): Remove variable.
20106 ($(objpfx)run-conformtest.out): Remove target.
20107 (test-xfail-ISO11/complex.h/conform): New variable.
20108 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20109 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20110 (test-xfail-XPG3/varargs.h/conform): Likewise.
20111 (test-xfail-XPG4/varargs.h/conform): Likewise.
20112 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20113 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20114 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20115 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20116 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20117 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20118 (test-xfail-XPG3/ftw.h/conform): Likewise.
20119 (test-xfail-XPG3/grp.h/conform): Likewise.
20120 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20121 (test-xfail-XPG3/limits.h/conform): Likewise.
20122 (test-xfail-XPG3/pwd.h/conform): Likewise.
20123 (test-xfail-XPG3/search.h/conform): Likewise.
20124 (test-xfail-XPG3/signal.h/conform): Likewise.
20125 (test-xfail-XPG3/stdio.h/conform): Likewise.
20126 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20127 (test-xfail-XPG3/string.h/conform): Likewise.
20128 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20129 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20130 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20131 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20132 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20133 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20134 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20135 (test-xfail-XPG3/termios.h/conform): Likewise.
20136 (test-xfail-XPG3/time.h/conform): Likewise.
20137 (test-xfail-XPG3/unistd.h/conform): Likewise.
20138 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20139 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20140 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20141 (test-xfail-XPG4/netdb.h/conform): Likewise.
20142 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20143 (test-xfail-XPG4/signal.h/conform): Likewise.
20144 (test-xfail-XPG4/stdio.h/conform): Likewise.
20145 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20146 (test-xfail-XPG4/stropts.h/conform): Likewise.
20147 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20148 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20149 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20150 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20151 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20152 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20153 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20154 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20155 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20156 (test-xfail-XPG4/termios.h/conform): Likewise.
20157 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20158 (test-xfail-XPG4/unistd.h/conform): Likewise.
20159 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20160 (test-xfail-POSIX/sched.h/conform): Likewise.
20161 (test-xfail-POSIX/signal.h/conform): Likewise.
20162 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20163 (test-xfail-POSIX/tar.h/conform): Likewise.
20164 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20165 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20166 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20167 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20168 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20169 (test-xfail-UNIX98/sched.h/conform): Likewise.
20170 (test-xfail-UNIX98/signal.h/conform): Likewise.
20171 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20172 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20173 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20174 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20175 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20176 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20177 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20178 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20179 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20180 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20181 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20182 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20183 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20184 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20185 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20186 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20187 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20188 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20189 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20190 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20191 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20192 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20193 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20194 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20195 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20196 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20197 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20198 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20199 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20200 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20201 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20202 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20203 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20204 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20205 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20206 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20207 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20208 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20209 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20210 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20211 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20212 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20213 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20214 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20215 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20216 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20217 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20218 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20219 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20220 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20221 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20222 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20223 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20224 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20225 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20226 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20227 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20228 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20229 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20230 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20231 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20232 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20233 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20234 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20235 (conformtest-cc-flags): Likewise.
20236 ($(conformtest-header-tests): New target.
20237 * conform/check-header-lists.sh: New file.
20238 * conform/run-conformtest.sh: Remove.
20240 * conform/conformtest.pl: Allow ' and \ in values given for
20242 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20244 [POSIX] (sys/types.h): Likewise.
20245 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20247 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20249 * conform/data/signal.h-data (SIGIO): Remove expectation.
20250 [XPG3] (SIGBUS): Do not expect.
20251 [POSIX || XPG3] (SIGPOLL): Likewise.
20252 [POSIX || XPG3] (SIGPROF): Likewise.
20253 [POSIX || XPG3] (SIGSYS): Likewise.
20254 [XPG3] (SIGTRAP): Likewise.
20255 [POSIX || XPG3] (SIGURG): Likewise.
20256 [POSIX || XPG3] (SIGVTALRM): Likewise.
20257 [POSIX || XPG3] (SIGXCPU): Likewise.
20258 [POSIX || XPG3] (SIGXFSZ): Likewise.
20259 [POSIX] (SA_SIGINFO): Expect.
20260 [XPG3] (siginfo_t): Do not expect type or contents.
20261 [POSIX] (si_pid): Do not expect element.
20262 [POSIX] (si_uid): Likewise.
20263 [POSIX] (si_addr): Likewise.
20264 [POSIX] (si_status): Likewise.
20265 [POSIX] (si_band): Likewise.
20266 [XPG4] (si_value): Likewise.
20267 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20268 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20269 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20270 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20271 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20272 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20273 [POSIX || XPG3] (ILL_COPROC): Likewise.
20274 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20275 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20276 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20277 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20278 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20279 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20280 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20281 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20282 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20283 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20284 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20285 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20286 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20287 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20288 [POSIX || XPG3] (CLD_EXITED): Likewise.
20289 [POSIX || XPG3] (CLD_KILLED): Likewise.
20290 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20291 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20292 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20293 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20294 [POSIX || XPG3] (POLL_IN): Likewise.
20295 [POSIX || XPG3] (POLL_OUT): Likewise.
20296 [POSIX || XPG3] (POLL_MSG): Likewise.
20297 [POSIX || XPG3] (POLL_ERR): Likewise.
20298 [POSIX || XPG3] (POLL_PRI): Likewise.
20299 [POSIX || XPG3] (POLL_HUP): Likewise.
20300 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20301 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20302 (SIG*): Do not allow.
20303 [XPG3] (si_*): Likewise.
20304 [XPG3] (SI_*): Likewise.
20305 [XPG3 || XPG4] (sigev_*): Likewise.
20306 [XPG3 || XPG4] (SIGEV_*): Likewise.
20307 [XPG3 || XPG4] (sival_*): Likewise.
20308 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20309 [POSIX || XPG3] (BUS_*): Likewise.
20310 [POSIX || XPG3] (CLD_*): Likewise.
20311 [POSIX || XPG3] (FPE_*): Likewise.
20312 [POSIX || XPG3] (ILL_*): Likewise.
20313 [POSIX || XPG3] (POLL_*): Likewise.
20314 [POSIX || XPG3] (SEGV_*): Likewise.
20315 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20316 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20317 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20318 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20319 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20320 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20321 Specify type and value.
20322 (TVERSLEN): Likewise.
20323 (REGTYPE): Likewise.
20324 (AREGTYPE): Likewise.
20325 (LNKTYPE): Likewise.
20326 (SYMTYPE): Likewise.
20327 (CHRTYPE): Likewise.
20328 (BLKTYPE): Likewise.
20329 (DIRTYPE): Likewise.
20330 (FIFOTYPE): Likewise.
20331 (CONTTYPE): Likewise.
20335 (TUREAD): Likewise.
20336 (TUWRITE): Likewise.
20337 (TUEXEC): Likewise.
20338 (TGREAD): Likewise.
20339 (TGWRITE): Likewise.
20340 (TGEXEC): Likewise.
20341 (TOREAD): Likewise.
20342 (TOWRITE): Likewise.
20343 (TOEXEC): Likewise.
20344 [POSIX] (TSVTX): Expect constant.
20346 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20348 * Makefile (tests): Change dependencies to ....
20349 (tests-special): ... additions to this variable.
20350 (tests): Depend on $(tests-special).
20351 * Makerules (check-abi-list): New variable.
20352 (check-abi): Depend on $(check-abi-list).
20353 [$(subdir) = elf] (tests-special): Add
20354 $(objpfx)check-abi-libc.out.
20355 [$(build-shared) = yes && subdir] (tests-special): Add
20357 [$(build-shared) = yes && subdir] (tests): Do not depend on
20359 * Rules (tests): Depend on $(tests-special).
20360 (xtests): Depend on $(xtests-special).
20361 * catgets/Makefile (tests): Change dependencies to ....
20362 (tests-special): ... additions to this variable.
20363 * conform/Makefile (tests): Change dependencies to ....
20364 (tests-special): ... additions to this variable.
20365 * elf/Makefile (tests): Change dependencies to ....
20366 (tests-special): ... additions to this variable.
20367 * grp/Makefile (tests): Change dependencies to ....
20368 (tests-special): ... additions to this variable.
20369 * iconv/Makefile (xtests): Change dependencies to ....
20370 (xtests-special): ... additions to this variable.
20371 * iconvdata/Makefile (tests): Change dependencies to ....
20372 (tests-special): ... additions to this variable.
20373 * intl/Makefile (tests): Change dependencies to ....
20374 (tests-special): ... additions to this variable. Also add
20375 $(objpfx)tst-gettext.out.
20376 * io/Makefile (tests): Change dependencies to ....
20377 (tests-special): ... additions to this variable.
20378 * libio/Makefile (tests): Change dependencies to ....
20379 (tests-special): ... additions to this variable.
20380 * malloc/Makefile (tests): Change dependencies to ....
20381 (tests-special): ... additions to this variable.
20382 * misc/Makefile (tests): Change dependencies to ....
20383 (tests-special): ... additions to this variable.
20384 * nptl/Makefile (tests): Change dependencies to ....
20385 (tests-special): ... additions to this variable.
20386 * nptl_db/Makefile (tests): Change dependencies to ....
20387 (tests-special): ... additions to this variable.
20388 * posix/Makefile (tests): Change dependencies to ....
20389 (tests-special): ... additions to this variable.
20390 (xtests): Change dependencies to ....
20391 (xtests-special): ... additions to this variable.
20392 * resolv/Makefile (tests): Change dependencies to ....
20393 (tests-special): ... additions to this variable.
20394 (xtests): Change dependencies to ....
20395 (xtests-special): ... additions to this variable.
20396 * stdio-common/Makefile (tests): Change dependencies to ....
20397 (tests-special): ... additions to this variable.
20398 (do-tst-unbputc): Remove target.
20399 (do-tst-printf): Likewise.
20400 * stdlib/Makefile (tests): Change dependencies to ....
20401 (tests-special): ... additions to this variable.
20402 * string/Makefile (tests): Change dependencies to ....
20403 (tests-special): ... additions to this variable.
20404 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20405 (tests-special): ... additions to this variable.
20407 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20409 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20411 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20412 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20414 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20415 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20416 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20417 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20418 * conform/data/libgen.h-data [XPG3]: Likewise.
20419 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20420 * conform/data/ndbm.h-data [XPG3]: Likewise.
20421 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20422 * conform/data/netdb.h-data [XPG3]: Likewise.
20423 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20424 * conform/data/poll.h-data [XPG3]: Likewise.
20425 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20426 * conform/data/strings.h-data [XPG3]: Likewise.
20427 * conform/data/stropts.h-data [XPG3]: Likewise.
20428 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20429 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20430 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20432 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20433 * conform/data/sys/time.h-data [XPG3]: Likewise.
20434 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20435 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20436 * conform/data/sys/un.h-data [XPG3]: Likewise.
20437 * conform/data/syslog.h-data [XPG3]: Likewise.
20438 * conform/data/ucontext.h-data [XPG3]: Likewise.
20439 * conform/data/utmpx.h-data [XPG3]: Likewise.
20440 * conform/data/varargs.h-data [UNIX98]: Enable file.
20442 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20444 * math/libm-test.inc (struct test_f_f_data): Move expected results
20445 into structure for each rounding mode.
20446 (struct test_ff_f_data): Likewise.
20447 (struct test_ff_f_data_nexttoward): Likewise.
20448 (struct test_fi_f_data): Likewise.
20449 (struct test_fl_f_data): Likewise.
20450 (struct test_if_f_data): Likewise.
20451 (struct test_fff_f_data): Likewise.
20452 (struct test_c_f_data): Likewise.
20453 (struct test_f_f1_data): Likewise.
20454 (struct test_fF_f1_data): Likewise.
20455 (struct test_ffI_f1_data): Likewise.
20456 (struct test_c_c_data): Likewise.
20457 (struct test_cc_c_data): Likewise.
20458 (struct test_f_i_data): Likewise.
20459 (struct test_ff_i_data): Likewise.
20460 (struct test_f_l_data): Likewise.
20461 (struct test_f_L_data): Likewise.
20462 (struct test_fFF_11_data): Likewise.
20464 (RM_FE_DOWNWARD): Likewise.
20465 (RM_FE_TONEAREST): Likewise.
20466 (RM_FE_TOWARDZERO): Likewise.
20467 (RM_FE_UPWARD): Likewise.
20468 (RUN_TEST_LOOP_f_f): Update references to expected results.
20469 (RUN_TEST_LOOP_2_f): Likewise.
20470 (RUN_TEST_LOOP_fff_f): Likewise.
20471 (RUN_TEST_LOOP_c_f): Likewise.
20472 (RUN_TEST_LOOP_f_f1): Likewise.
20473 (RUN_TEST_LOOP_fF_f1): Likewise.
20474 (RUN_TEST_LOOP_fI_f1): Likewise.
20475 (RUN_TEST_LOOP_ffI_f1): Likewise.
20476 (RUN_TEST_LOOP_c_c): Likewise.
20477 (RUN_TEST_LOOP_cc_c): Likewise.
20478 (RUN_TEST_LOOP_f_i): Likewise.
20479 (RUN_TEST_LOOP_f_i_tg): Likewise.
20480 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20481 (RUN_TEST_LOOP_f_b): Likewise.
20482 (RUN_TEST_LOOP_f_b_tg): Likewise.
20483 (RUN_TEST_LOOP_f_l): Likewise.
20484 (RUN_TEST_LOOP_f_L): Likewise.
20485 (RUN_TEST_LOOP_fFF_11): Likewise.
20486 * math/gen-libm-test.pl (parse_args): Output four copies of
20487 expected results for each test.
20489 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20490 (__ASSUME_UTIMES): Remove.
20491 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20492 (__ASSUME_UTIMES): Likewise.
20494 * math/gen-auto-libm-tests.c: Update comment on output format.
20495 (output_for_one_input_case): Generate before-rounding and
20496 after-rounding information as conditions on output flags not
20497 floating-point format.
20498 * math/auto-libm-test-out: Regenerated.
20499 * math/gen-libm-test.pl (cond_value): New function.
20500 (or_cond_value): Use cond_value.
20501 (generate_testfile): Handle conditional exceptions.
20503 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20505 * math/libm-test.inc (max_valid_error): New variable.
20506 (init_max_error): Take new argument specifying whether function
20507 results are exactly determined. Set max_valid_error and bound
20508 other variables for errors based on this argument.
20509 (set_max_error): Do not record results above max_valid_error.
20510 (check_float_internal): Only accept errors of up to 0.5ulps if
20511 also at most max_valid_error.
20512 (START): Take new argument EXACT and pass it to init_max_error.
20513 (acos_test): Update call to START.
20514 (acos_test_tonearest): Likewise.
20515 (acos_test_towardzero): Likewise.
20516 (acos_test_downward): Likewise.
20517 (acos_test_upward): Likewise.
20518 (acosh_test): Likewise.
20519 (asin_test): Likewise.
20520 (asin_test_tonearest): Likewise.
20521 (asin_test_towardzero): Likewise.
20522 (asin_test_downward): Likewise.
20523 (asin_test_upward): Likewise.
20524 (asinh_test): Likewise.
20525 (atan_test): Likewise.
20526 (atanh_test): Likewise.
20527 (atan2_test): Likewise.
20528 (cabs_test): Likewise.
20529 (cacos_test): Likewise.
20530 (cacosh_test): Likewise.
20531 (carg_test): Likewise.
20532 (casin_test): Likewise.
20533 (casinh_test): Likewise.
20534 (catan_test): Likewise.
20535 (catanh_test): Likewise.
20536 (cbrt_test): Likewise.
20537 (ccos_test): Likewise.
20538 (ccosh_test): Likewise.
20539 (ceil_test): Likewise.
20540 (cexp_test): Likewise.
20541 (cimag_test): Likewise.
20542 (clog_test): Likewise.
20543 (clog10_test): Likewise.
20544 (conj_test): Likewise.
20545 (copysign_test): Likewise.
20546 (cos_test): Likewise.
20547 (cos_test_tonearest): Likewise.
20548 (cos_test_towardzero): Likewise.
20549 (cos_test_downward): Likewise.
20550 (cos_test_upward): Likewise.
20551 (cosh_test): Likewise.
20552 (cosh_test_tonearest): Likewise.
20553 (cosh_test_towardzero): Likewise.
20554 (cosh_test_downward): Likewise.
20555 (cosh_test_upward): Likewise.
20556 (cpow_test): Likewise.
20557 (cproj_test): Likewise.
20558 (creal_test): Likewise.
20559 (csin_test): Likewise.
20560 (csinh_test): Likewise.
20561 (csqrt_test): Likewise.
20562 (ctan_test): Likewise.
20563 (ctan_test_tonearest): Likewise.
20564 (ctan_test_towardzero): Likewise.
20565 (ctan_test_downward): Likewise.
20566 (ctan_test_upward): Likewise.
20567 (ctanh_test): Likewise.
20568 (ctanh_test_tonearest): Likewise.
20569 (ctanh_test_towardzero): Likewise.
20570 (ctanh_test_downward): Likewise.
20571 (ctanh_test_upward): Likewise.
20572 (erf_test): Likewise.
20573 (erfc_test): Likewise.
20574 (exp_test): Likewise.
20575 (exp_test_tonearest): Likewise.
20576 (exp_test_towardzero): Likewise.
20577 (exp_test_downward): Likewise.
20578 (exp_test_upward): Likewise.
20579 (exp10_test): Likewise.
20580 (exp10_test_tonearest): Likewise.
20581 (exp10_test_towardzero): Likewise.
20582 (exp10_test_downward): Likewise.
20583 (exp10_test_upward): Likewise.
20584 (pow10_test): Likewise.
20585 (exp2_test): Likewise.
20586 (expm1_test): Likewise.
20587 (expm1_test_tonearest): Likewise.
20588 (expm1_test_towardzero): Likewise.
20589 (expm1_test_downward): Likewise.
20590 (expm1_test_upward): Likewise.
20591 (fabs_test): Likewise.
20592 (fdim_test): Likewise.
20593 (floor_test): Likewise.
20594 (fma_test): Likewise.
20595 (fma_test_towardzero): Likewise.
20596 (fma_test_downward): Likewise.
20597 (fma_test_upward): Likewise.
20598 (fmax_test): Likewise.
20599 (fmin_test): Likewise.
20600 (fmod_test): Likewise.
20601 (fpclassify_test): Likewise.
20602 (frexp_test): Likewise.
20603 (hypot_test): Likewise.
20604 (ilogb_test): Likewise.
20605 (isfinite_test): Likewise.
20606 (finite_test): Likewise.
20607 (isgreater_test): Likewise.
20608 (isgreaterequal_test): Likewise.
20609 (isinf_test): Likewise.
20610 (isless_test): Likewise.
20611 (islessequal_test): Likewise.
20612 (islessgreater_test): Likewise.
20613 (isnan_test): Likewise.
20614 (isnormal_test): Likewise.
20615 (issignaling_test): Likewise.
20616 (isunordered_test): Likewise.
20617 (j0_test): Likewise.
20618 (j1_test): Likewise.
20619 (jn_test): Likewise.
20620 (ldexp_test): Likewise.
20621 (lgamma_test): Likewise.
20622 (gamma_test): Likewise.
20623 (lrint_test): Likewise.
20624 (lrint_test_tonearest): Likewise.
20625 (lrint_test_towardzero): Likewise.
20626 (lrint_test_downward): Likewise.
20627 (lrint_test_upward): Likewise.
20628 (llrint_test): Likewise.
20629 (llrint_test_tonearest): Likewise.
20630 (llrint_test_towardzero): Likewise.
20631 (llrint_test_downward): Likewise.
20632 (llrint_test_upward): Likewise.
20633 (log_test): Likewise.
20634 (log10_test): Likewise.
20635 (log1p_test): Likewise.
20636 (log2_test): Likewise.
20637 (logb_test): Likewise.
20638 (logb_test_downward): Likewise.
20639 (lround_test): Likewise.
20640 (llround_test): Likewise.
20641 (modf_test): Likewise.
20642 (nearbyint_test): Likewise.
20643 (nextafter_test): Likewise.
20644 (nexttoward_test): Likewise.
20645 (pow_test): Likewise.
20646 (pow_test_tonearest): Likewise.
20647 (pow_test_towardzero): Likewise.
20648 (pow_test_downward): Likewise.
20649 (pow_test_upward): Likewise.
20650 (remainder_test): Likewise.
20651 (drem_test): Likewise.
20652 (remainder_test_tonearest): Likewise.
20653 (drem_test_tonearest): Likewise.
20654 (remainder_test_towardzero): Likewise.
20655 (drem_test_towardzero): Likewise.
20656 (remainder_test_downward): Likewise.
20657 (drem_test_downward): Likewise.
20658 (remainder_test_upward): Likewise.
20659 (drem_test_upward): Likewise.
20660 (remquo_test): Likewise.
20661 (rint_test): Likewise.
20662 (rint_test_tonearest): Likewise.
20663 (rint_test_towardzero): Likewise.
20664 (rint_test_downward): Likewise.
20665 (rint_test_upward): Likewise.
20666 (round_test): Likewise.
20667 (scalb_test): Likewise.
20668 (scalbn_test): Likewise.
20669 (scalbln_test): Likewise.
20670 (signbit_test): Likewise.
20671 (sin_test): Likewise.
20672 (sin_test_tonearest): Likewise.
20673 (sin_test_towardzero): Likewise.
20674 (sin_test_downward): Likewise.
20675 (sin_test_upward): Likewise.
20676 (sincos_test): Likewise.
20677 (sinh_test): Likewise.
20678 (sinh_test_tonearest): Likewise.
20679 (sinh_test_towardzero): Likewise.
20680 (sinh_test_downward): Likewise.
20681 (sinh_test_upward): Likewise.
20682 (sqrt_test): Likewise.
20683 (sqrt_test_tonearest): Likewise.
20684 (sqrt_test_towardzero): Likewise.
20685 (sqrt_test_downward): Likewise.
20686 (sqrt_test_upward): Likewise.
20687 (tan_test): Likewise.
20688 (tan_test_tonearest): Likewise.
20689 (tan_test_towardzero): Likewise.
20690 (tan_test_downward): Likewise.
20691 (tan_test_upward): Likewise.
20692 (tanh_test): Likewise.
20693 (tgamma_test): Likewise.
20694 (trunc_test): Likewise.
20695 (y0_test): Likewise.
20696 (y1_test): Likewise.
20697 (yn_test): Likewise.
20698 (significand_test): Likewise.
20700 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20701 individual tests in comment.
20702 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20703 (prev_max_error): New variable.
20704 (prev_real_max_error): Likewise.
20705 (prev_imag_max_error): Likewise.
20706 (compare_ulp_data): Don't refer to test names in comment.
20707 (find_test_ulps): Remove function.
20708 (find_function_ulps): Likewise.
20709 (find_complex_function_ulps): Likewise.
20710 (init_max_error): Take function name as argument. Look up ulps
20712 (print_ulps): Remove function.
20713 (print_max_error): Use prev_max_error instead of calling
20714 find_function_ulps.
20715 (print_complex_max_error): Use prev_real_max_error and
20716 prev_imag_max_error instead of calling find_complex_function_ulps.
20717 (check_float_internal): Take max_ulp parameter instead of calling
20718 find_test_ulps. Don't call print_ulps.
20719 (check_float): Update call to check_float_internal.
20720 (check_complex): Update calls to check_float_internal.
20721 (START): Pass argument to init_max_error.
20722 * math/gen-libm-test.pl (%results): Don't include "kind"
20724 (parse_ulps): Don't handle ulps of individual tests.
20725 (print_ulps_file): Likewise.
20726 (output_ulps): Likewise.
20727 * math/README.libm-test: Update.
20728 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20730 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20731 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20732 * sysdeps/arm/libm-test-ulps: Likewise.
20733 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20734 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20735 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20736 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20737 * sysdeps/microblaze/libm-test-ulps: Likewise.
20738 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20739 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20741 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20742 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20743 * sysdeps/sh/libm-test-ulps: Likewise.
20744 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20745 * sysdeps/tile/libm-test-ulps: Likewise.
20746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20748 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20750 * math/libm-test.inc (print_complex_max_error): Check separately
20751 whether real and imaginary errors are within allowed range and
20752 pass 0 to print_complex_function_ulps instead of value within
20755 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20757 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20759 (get_handles_fopen): Likewise.
20760 (do_write_test): Likewise.
20762 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20764 * libio/fileops.c (do_ftell): Use cached offset when
20766 * libio/iofwide.c (do_ftell_wide): Likewise.
20767 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20769 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20772 * libio/libioP.h (get_file_offset): New function.
20773 * libio/fileops.c (get_file_offset): Likewise.
20774 (do_ftell): Likewise.
20775 (_IO_new_file_seekoff): Split out ftell logic.
20776 * libio/wfileops.c (do_ftell_wide): Likewise.
20777 (_IO_wfile_seekoff): Split out ftell logic.
20778 * libio/tst-ftell-active-handler.c: New test case.
20779 * libio/Makefile (tests): Add it.
20781 2014-03-03 Roland McGrath <roland@hack.frob.com>
20783 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20784 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20786 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20789 * nscd/connections.c (nscd_init): Call do_exit.
20790 (start_threads): Call do_exit and notify_parent.
20791 (begin_drop_privileges): Call do_exit.
20792 (finish_drop_privileges): Likewise.
20793 * nscd/selinux.c (preserve_capabilities): Likewise.
20794 (install_real_capabilities): Likewise.
20795 (nscd_selinux_enabled): Likewise.
20796 (avc_create_thread): Likewise.
20797 (avc_alloc_lock): Likewise.
20798 (nscd_avc_init): Likewise.
20799 * nscd/nscd.c (parent_fd): New static variable.
20800 (main): Create a pipe between parent and child processes.
20801 Skip closing parent_fd.
20802 (monitor_child): New function.
20803 (do_exit): Likewise.
20804 (notify_parent): Likewise.
20805 * nscd/nscd.h (notify_parent): Likewise.
20806 (do_exit): Likewise.
20808 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20810 * malloc/malloc.c (__libc_calloc): Revert last change.
20812 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20816 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20818 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20822 (__libc_ifunc_impl_list): Likewise.
20823 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20824 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20825 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20826 * string/strrchr.c: Define STRRCHR.
20828 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20830 * benchtest/bench-strtok.c (simple_strtok): Delete.
20831 (strtok_string): Use as benchmark.
20832 * string/strtok (STRTOK): New macro.
20834 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20836 * manual/threads.texi: Add header and standard comments to all
20839 * elf/dl-lookup.c (check_match): New function.
20840 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20841 (do_lookup_x): Remove nested function check_match. Use non-nested
20842 function check_match.
20844 2014-02-28 Roland McGrath <roland@hack.frob.com>
20846 * csu/Makefile (generated, before-compile): Use += rather than =.
20847 * catgets/Makefile (generated, generated-dirs): Likewise.
20848 * debug/Makefile (generated): Likewise.
20849 * dlfcn/Makefile (generated): Likewise.
20850 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20851 * iconvdata/Makefile (before-compile, generated): Likewise.
20852 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20853 * libio/Makefile (generated): Likewise.
20854 * malloc/Makefile (generated): Likewise.
20855 * manual/Makefile (generated, generated-dirs): Likewise.
20856 * misc/Makefile (generated): Likewise.
20857 * posix/Makefile (generated): Likewise.
20858 * resolv/Makefile (generated): Likewise.
20859 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20860 * timezone/Makefile (generated, generated-dirs): Likewise.
20862 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20864 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20867 power8 implementation.
20868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20869 file: POWER8 llround ifunc implementation.
20870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20871 (__lllround): Add POWER8 implementation.
20872 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20873 POWER8 llround implementation.
20875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20876 power8 implementation.
20877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20878 file: POWER8 llrint ifunc implementation.
20879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20880 Add POWER8 implementation.
20881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20882 POWER8 llrint implementation.
20884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20885 power8 implementation.
20886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20887 file: POWER8 finite ifunc implementation.
20888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20889 Add POWER8 implementation.
20890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20892 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20893 POWER8 finite implementation.
20894 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20897 power8 implementation.
20898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20899 file: POWER8 isinf ifunc implementation.
20900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20901 POWER8 implementation.
20902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20904 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20905 isinf implementation.
20906 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20908 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20909 (INIT_ARCH): Add hwcap2 initialization.
20910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20911 power8 implementation.
20912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20913 file: POWER8 isnan ifunc implementation.
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20915 POWER8 implementation.
20916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20919 isnan implementation.
20920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20922 2014-02-27 Joey Ye <joey.ye@arm.com>
20924 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20925 (_FP_NANFRAC_Q): Set to zero.
20927 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20930 * math/auto-libm-test-in: New test inputs.
20931 * math/auto-libm-test-out: Regenerate.
20932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20935 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20937 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20939 * scripts/evaluate-test.sh: Take new argument indicating whether
20940 failure is expected.
20941 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20942 indicating whether failure is expected.
20943 * conform/Makefile (test-xfail-run-conformtest): New variable.
20944 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20946 * posix/Makefile (test-xfail-annexc): New variable.
20947 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20949 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20951 * argp/Makefile: Include Makeconfig immediately after defining
20953 * assert/Makefile: Likewise.
20954 * benchtests/Makefile: Likewise.
20955 * catgets/Makefile: Likewise.
20956 * conform/Makefile: Likewise.
20957 * crypt/Makefile: Likewise.
20958 * csu/Makefile: Likewise.
20959 (all): Remove target.
20960 * ctype/Makefile: Include Makeconfig immediately after defining
20962 * debug/Makefile: Likewise.
20963 * dirent/Makefile: Likewise.
20964 * dlfcn/Makefile: Likewise.
20965 * gmon/Makefile: Likewise.
20966 * gnulib/Makefile: Likewise.
20967 * grp/Makefile: Likewise.
20968 * gshadow/Makefile: Likewise.
20969 * hesiod/Makefile: Likewise.
20970 * hurd/Makefile: Likewise.
20971 (all): Remove target.
20972 * iconvdata/Makefile: Include Makeconfig immediately after
20974 * inet/Makefile: Likewise.
20975 * intl/Makefile: Likewise.
20976 * io/Makefile: Likewise.
20977 * libio/Makefile: Likewise.
20978 (all): Remove target.
20979 * locale/Makefile: Include Makeconfig immediately after defining
20981 * login/Makefile: Likewise.
20982 * mach/Makefile: Likewise.
20983 (all): Remove target.
20984 * malloc/Makefile: Include Makeconfig immediately after defining
20986 (all): Remove target.
20987 * manual/Makefile: Include Makeconfig immediately after defining
20989 * math/Makefile: Likewise.
20990 * misc/Makefile: Likewise.
20991 * nis/Makefile: Likewise.
20992 * nss/Makefile: Likewise.
20993 * po/Makefile: Likewise.
20994 (all): Remove target.
20995 * posix/Makefile: Include Makeconfig immediately after defining
20997 * pwd/Makefile: Likewise.
20998 * resolv/Makefile: Likewise.
20999 * resource/Makefile: Likewise.
21000 * rt/Makefile: Likewise.
21001 * setjmp/Makefile: Likewise.
21002 * shadow/Makefile: Likewise.
21003 * signal/Makefile: Likewise.
21004 * socket/Makefile: Likewise.
21005 * soft-fp/Makefile: Likewise.
21006 * stdio-common/Makefile: Likewise.
21007 * stdlib/Makefile: Likewise.
21008 * streams/Makefile: Likewise.
21009 * string/Makefile: Likewise.
21010 * sunrpc/Makefile: Likewise.
21011 (all): Remove target.
21012 * sysvipc/Makefile: Include Makeconfig immediately after defining
21014 * termios/Makefile: Likewise.
21015 * time/Makefile: Likewise.
21016 * timezone/Makefile: Likewise.
21017 (all): Remove target.
21018 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21020 * wctype/Makefile: Likewise.
21022 2014-02-26 Steve Ellcey <sellcey@mips.com>
21024 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21025 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21026 (libc_feholdexcept_setround_mips): Ditto.
21027 (libc_feholdsetround): New.
21028 (libc_feholdsetroundf): New.
21029 (libc_feholdsetroundl): New.
21030 (libc_feupdateenv_test_mips): New.
21031 (libc_feupdateenv_test): New.
21032 (libc_feupdateenv_testf): New.
21033 (libc_feupdateenv_testl): New.
21034 (libc_feresetround): New.
21035 (libc_feresetroundf): New.
21036 (libc_feresetroundl): New.
21037 (libc_fetestexcept_mips): New.
21038 (libc_fetestexcept): New.
21039 (libc_fetestexceptf): New.
21040 (libc_fetestexceptl): New.
21041 (HAVE_RM_CTX): New.
21042 (libc_feholdexcept_setround_mips_ctx): New.
21043 (libc_feholdexcept_setround_ctx): New.
21044 (libc_feholdexcept_setroundf_ctx): New.
21045 (libc_feholdexcept_setroundl_ctx): New.
21046 (libc_fesetenv_mips_ctx): New.
21047 (libc_fesetenv_ctx): New.
21048 (libc_fesetenv_ctxf): New.
21049 (libc_fesetenv_ctxl): New.
21050 (libc_feupdateenv_mips_ctx): New.
21051 (libc_feupdateenv_ctx): New.
21052 (libc_feupdateenvf_ctx): New.
21053 (libc_feupdateenvl_ctx): New.
21054 (libc_feholdsetround_mips_ctx): New.
21055 (libc_feholdsetround_ctx): New.
21056 (libc_feholdsetroundf_ctx): New.
21057 (libc_feholdsetroundl_ctx): New.
21058 (libc_feresetround_mips_ctx): New.
21059 (libc_feresetround_ctx): New.
21060 (libc_feresetroundf_ctx): New.
21061 (libc_feresetroundl_ctx): New.
21063 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21065 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21067 * manual/ipc.texi: New file.
21068 * manual/Makefile (chapters): Add ipc.
21069 * manual/job.texi: Add "Inter-Process Communication" to next.
21070 * manual/process.texi: Add "Inter-Process Communication" to prev.
21072 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21076 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21078 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21080 * manual/arith.texi: Fix spaces after sentences.
21081 * manual/charset.texi: Likewise.
21082 * manual/errno.texi: Likewise.
21083 * manual/install.texi: Likewise.
21084 * manual/llio.texi: Likewise.
21085 * manual/locale.texi: Likewise.
21086 * manual/maint.texi: Likewise.
21087 * manual/math.texi: Likewise.
21088 * manual/memory.texi: Likewise.
21089 * manual/message.texi: Likewise.
21090 * manual/probes.texi: Likewise.
21091 * manual/resource.texi: Likewise.
21092 * manual/signal.texi: Likewise.
21093 * manual/socket.texi: Likewise.
21094 * manual/stdio.texi: Likewise.
21095 * manual/string.texi: Likewise.
21096 * manual/time.texi: Likewise.
21097 * manual/users.texi: Likewise.
21099 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21102 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21103 _DEFAULT_SOURCE is defined.
21105 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21106 Carlos O'Donell <carlos@redhat.com>
21109 * elf/dl-tls.c (_dl_count_modids): New function.
21110 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21111 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21112 audit library and increment generation counter.
21113 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21114 * elf/tst-audit9.c: New file.
21115 * elf/tst-auditmod9a.c: New file.
21116 * elf/tst-auditmod9b.c: New file.
21117 * elf/Makefile: Add rules to build and run tst-audit9.
21119 2014-02-25 Florian Weimer <fweimer@redhat.com>
21122 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21124 2014-02-25 Will Newton <will.newton@linaro.org>
21126 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21127 (__longjmp): Restore sp and lr before restoring callee
21128 saved registers. Add longjmp and longjmp_target
21129 SystemTap probe point.
21130 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21131 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21132 Define to zero to match jmpbuf layout.
21133 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21134 (__sigsetjmp): Save sp and lr before saving callee
21135 saved registers. Add setjmp SystemTap probe point.
21137 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21139 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21141 2014-02-24 Andreas Schwab <schwab@suse.de>
21144 * elf/pldd.c (wait_for_ptrace_stop): New function.
21145 (main): Call it after attaching.
21147 2014-02-22 Roland McGrath <roland@hack.frob.com>
21149 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21150 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21151 Versions files is now verboten.
21152 * hurd/Versions (libc: GLIBC_2.0):
21153 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21154 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21155 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21156 * mach/Versions: Likewise.
21158 * csu/Versions: Remove unused %include.
21159 * resolv/Versions: Likewise.
21161 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21163 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21164 ($(objpfx)check-local-headers.out): Likewise.
21165 ($(objpfx)begin-end-check.out): Likewise.
21166 * Makerules (check-abi-%.out): Likewise.
21167 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21168 ($(objpfx)test2.cat): Likewise.
21169 ($(objpfx)de/libc.cat): Likewise.
21170 ($(objpfx)test-gencat.out): Likewise.
21171 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21172 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21173 ($(objpfx)noload-mem): Likewise.
21174 ($(objpfx)tst-pathopt.out): Likewise.
21175 ($(objpfx)tst-rtld-load-self.out): Likewise.
21176 ($(objpfx)tst-array1-cmp.out): Likewise.
21177 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21178 ($(objpfx)tst-array2-cmp.out): Likewise.
21179 ($(objpfx)tst-array3-cmp.out): Likewise.
21180 ($(objpfx)tst-array4-cmp.out): Likewise.
21181 ($(objpfx)tst-array5-cmp.out): Likewise.
21182 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21183 ($(objpfx)check-textrel.out): Likewise.
21184 ($(objpfx)check-execstack.out): Likewise.
21185 ($(objpfx)check-localplt.out): Likewise.
21186 ($(objpfx)order2-cmp.out): Likewise.
21187 ($(objpfx)tst-leaks1-mem): Likewise.
21188 ($(objpfx)tst-leaks1-static-mem): Likewise.
21189 ($(objpfx)tst-initorder-cmp.out): Likewise.
21190 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21191 ($(objpfx)tst-unused-dep.out): Likewise.
21192 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21193 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21194 * iconv/Makefile (test-iconvconfig): Likewise.
21195 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21196 ($(objpfx)iconv-test.out): Likewise.
21197 ($(objpfx)tst-tables.out): Likewise.
21198 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21199 ($(objpfx)tst-gettext.out): Likewise.
21200 ($(objpfx)tst-translit.out): Likewise.
21201 ($(objpfx)tst-gettext2.out): Likewise.
21202 ($(objpfx)tst-gettext4.out): Likewise.
21203 ($(objpfx)tst-gettext6.out): Likewise.
21204 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21205 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21206 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21207 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21208 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21209 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21210 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21211 ($(objpfx)wordexp-tst.out): Likewise.
21212 ($(objpfx)annexc.out): Likewise.
21213 ($(objpfx)tst-fnmatch-mem): Likewise.
21214 ($(objpfx)bug-regex2-mem): Likewise.
21215 ($(objpfx)bug-regex14-mem): Likewise.
21216 ($(objpfx)bug-regex21-mem): Likewise.
21217 ($(objpfx)bug-regex31-mem): Likewise.
21218 ($(objpfx)tst-vfork3-mem): Likewise.
21219 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21220 ($(objpfx)tst-pcre-mem): Likewise.
21221 ($(objpfx)tst-boost-mem): Likewise.
21222 ($(objpfx)tst-getconf.out): Likewise.
21223 ($(objpfx)bug-ga2-mem): Likewise.
21224 ($(objpfx)bug-glob2-mem): Likewise.
21225 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21226 ($(objpfx)mtrace-tst-leaks2): Likewise.
21227 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21228 ($(objpfx)tst-printf.out): Likewise.
21229 ($(objpfx)tst-setvbuf1.out): Likewise.
21230 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21231 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21232 ($(objpfx)tst-fmtmsg.out): Likewise.
21233 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21234 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21236 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21237 * bits/sigaction.h [__USE_MISC]: Likewise.
21238 * bits/waitstatus.h: Update #endif comments.
21239 * ctype/ctype.h: Likewise.
21240 * dirent/dirent.h: Likewise.
21241 [__USE_MISC]: Remove redundant conditionals.
21242 * grp/grp.h: Update #endif comments.
21243 [__USE_GNU]: Remove redundant conditionals.
21244 [__USE_MISC]: Likewise.
21245 * inet/netinet/in.h [__USE_GNU]: Likewise.
21246 * io/sys/stat.h [__USE_MISC]: Likewise.
21247 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21248 * libio/bits/stdio.h: Update #endif comments.
21249 [__USE_MISC]: Remove redundant conditionals.
21250 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21251 * libio/stdio.h: Update #endif comments.
21252 [__USE_MISC]: Remove redundant conditionals.
21253 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21254 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21255 * math/math.h: Update #else and #endif comments.
21256 [__USE_MISC]: Remove redundant conditionals.
21257 * misc/sys/uio.h: Update #endif comments.
21258 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21259 * posix/glob.h [__USE_MISC]: Likewise.
21260 * posix/sys/types.h: Update #endif comments.
21261 [__USE_MISC]: Remove redundant conditionals.
21262 * posix/sys/wait.h: Update #endif comments.
21263 [__USE_MISC]: Remove redundant conditionals.
21264 * posix/unistd.h: Update #endif comments.
21265 [__USE_MISC]: Remove redundant conditionals.
21266 * pwd/pwd.h [__USE_GNU]: Likewise.
21267 [__USE_MISC]: Likewise.
21268 * resolv/netdb.h [__USE_GNU]: Likewise.
21269 * signal/signal.h: Update #endif comments.
21270 [__USE_MISC]: Remove redundant conditionals.
21271 * stdlib/stdlib.h: Update #else and #endif comments.
21272 [__USE_MISC]: Remove redundant conditionals.
21273 [__USE_GNU]: Likewise.
21274 * string/bits/string2.h [__USE_MISC]: Likewise.
21275 * string/string.h: Update #endif comments.
21276 [__USE_MISC]: Remove redundant conditionals.
21277 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21279 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21280 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21281 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21283 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21287 [__USE_MISC]: Remove redundant conditionals.
21288 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21289 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21290 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21291 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21292 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21294 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21295 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21297 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21298 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21300 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21302 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21303 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21305 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21307 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21308 * sysdeps/x86/bits/string.h: Update #endif comments.
21309 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21311 * time/sys/time.h: Update #endif comments.
21312 * time/time.h: Likewise.
21313 [__USE_MISC]: Remove redundant conditionals.
21315 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21318 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21320 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21322 * Versions.def (librt): Add GLIBC_2.17.
21324 2014-02-21 Adam Conrad <adconrad@0c3.net>
21326 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21327 synonym for _SYS_AUXV_H to allow direct inclusion.
21328 * sysdeps/sparc/bits/hwcap.h: Likewise.
21329 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21330 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21331 * sysdeps/sparc/sysdep.h: Likewise.
21333 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21335 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21337 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21339 * benchtests/bench-strrchr.c: Print length instead of position.
21341 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21344 * sysdeps/unix/sysv/linux/kernel-features.h
21345 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21346 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21347 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21348 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21350 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21351 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21352 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21353 (__ASSUME_SENDMMSG): Define instead of using previous
21354 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21355 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21356 (__ASSUME_SENDMMSG_SYSCALL): Define.
21357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21358 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21360 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21361 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21363 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21364 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21366 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21367 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21368 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21369 [__ASSUME_SENDMMSG]: Change conditionals to
21370 [__ASSUME_SENDMMSG_SOCKETCALL].
21371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21372 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21374 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21375 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21377 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21378 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21379 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21380 [!__ASSUME_SENDMMSG]: Change conditional to
21381 [!__ASSUME_SENDMMSG_SOCKETCALL].
21382 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21383 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21387 * sysdeps/unix/sysv/linux/kernel-features.h
21388 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21389 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21390 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21391 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21392 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21393 [__i386__ || __sparc__]
21394 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21395 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21396 (__ASSUME_RECVMMSG): Define instead of using previous
21397 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21398 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21399 (__ASSUME_RECVMMSG_SYSCALL): Define.
21400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21401 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21404 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21409 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21410 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21411 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21412 [__ASSUME_RECVMMSG]: Change condition to
21413 [__ASSUME_RECVMMSG_SOCKETCALL].
21414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21417 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21418 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21419 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21421 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21422 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21423 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21424 [!__ASSUME_RECVMMSG]: Change condition to
21425 [!__ASSUME_RECVMMSG_SOCKETCALL].
21426 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21427 (__ASSUME_RECVMMSG_SYSCALL): Define.
21430 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21431 __powerpc__ || __s390__ || __sh__ || __sparc__]
21432 (__ASSUME_SOCKETCALL): Define.
21433 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21434 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21435 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21436 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21437 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21438 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21439 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21440 (__ASSUME_ACCEPT4): Define instead of using previous
21441 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21442 __powerpc__ || __sparc__ || __s390__)] condition.
21443 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21444 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21445 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21446 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21447 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21448 [!__ASSUME_ACCEPT4]: Change condition to
21449 [!__ASSUME_ACCEPT4_SOCKETCALL].
21450 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21451 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21452 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21453 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21454 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21455 __ASSUME_ACCEPT4_SYSCALL.
21456 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21457 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21458 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21459 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21460 __ASSUME_ACCEPT4_SYSCALL.
21461 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21462 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21463 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21464 [__ASSUME_ACCEPT4]: Change condition to
21465 [__ASSUME_ACCEPT4_SOCKETCALL].
21466 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21467 (__ASSUME_SOCKETCALL): Define.
21468 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21470 (__ASSUME_SOCKETCALL): Define.
21471 (__ASSUME_ACCEPT4): Remove.
21472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21475 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21477 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21478 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21480 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21482 (HWCAP_ARM_LPAE): Likewise.
21483 (HWCAP_ARM_EVTSTRM): Likewise.
21484 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21485 Add vpfd32, lpae and evtstrm.
21486 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21489 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21491 * math/auto-libm-test-in: Add tests of clog10.
21492 * math/auto-libm-test-out: Regenerated.
21493 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21494 * sysdeps/i386/fpu/libm-test-ulps: Update.
21495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21497 2014-02-18 Andreas Schwab <schwab@suse.de>
21500 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21501 Store non-zero if the second buffer was newly allocated.
21502 (send_dg): Likewise.
21503 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21504 to send_vc and send_dg.
21505 (res_nsend): Pass NULL for ansp2_malloced.
21506 * resolv/res_query.c (__libc_res_nquery): Add parameter
21507 answerp2_malloced and pass it down to __libc_res_nsend.
21508 (res_nquery): Pass additional NULL to __libc_res_nquery.
21509 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21510 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21511 second answer buffer if answerp2_malloced was set.
21512 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21513 (__libc_res_nquerydomain): Add parameter
21514 answerp2_malloced and pass it down to __libc_res_nquery.
21515 (res_nquerydomain): Pass additional NULL to
21516 __libc_res_nquerydomain.
21517 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21518 additional NULL to __libc_res_nsend and __libc_res_nquery.
21519 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21520 additional NULL to __libc_res_nsearch.
21521 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21522 parameter of __libc_res_nsearch to check for separately allocated
21524 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21526 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21527 additional NULL to __libc_res_nquery.
21528 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21529 __libc_res_nsearch.
21530 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21531 * include/resolv.h: Update prototypes of __libc_res_nquery,
21532 __libc_res_nsearch, __libc_res_nsend.
21534 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21536 * math/auto-libm-test-in: Add tests of fma.
21537 * math/auto-libm-test-out: Regenerated.
21538 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21539 (fma_towardzero_test_data): Likewise.
21540 (fma_downward_test_data): Likewise.
21541 (fma_upward_test_data): Likewise.
21542 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21544 (rounding_modes): Add values for new field.
21545 (func_calc_method): Add value mpfr_fff_f.
21546 (func_calc_desc): Add mpfr_fff_f union field.
21547 (test_function): Add field exact_args.
21548 (FUNC): Add macro argument EXACT_ARGS.
21549 (FUNC_mpfr_f_f): Update call to FUNC.
21550 (FUNC_mpfr_f_f): Likewise.
21551 (FUNC_mpfr_ff_f): Likewise.
21552 (FUNC_mpfr_if_f): Likewise.
21553 (FUNC_mpc_c_f): Likewise.
21554 (FUNC_mpc_c_c): Likewise.
21555 (test_functions): Add fma. Update calls to FUNC.
21556 (handle_input_arg): Add argument exact_args.
21557 (add_test): Update call to handle_input_arg.
21558 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21559 (output_for_one_input_case): Update call to calc_generic_results.
21560 Recalculate exact zero results in each rounding mode.
21562 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21563 non-negative before setting low bit.
21564 * math/auto-libm-test-in: Mark one asin test possibly having
21565 spurious underflow.
21566 * math/auto-libm-test-out: Regenerated.
21567 * sysdeps/i386/fpu/libm-test-ulps: Update.
21568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21570 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21572 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21573 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21574 ports/sysdeps/unix/sysv/linux/microblaze.
21575 * README: Add missing listing for microblaze*-*-linux-gnu.
21577 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21579 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21582 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21584 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21585 * sysdeps/unix/sysv/linux/ia64: Move directory from
21586 ports/sysdeps/unix/sysv/linux/ia64.
21587 * README: Update listing for ia64-*-linux-gnu.
21589 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21590 Joseph Myers <joseph@codesourcery.com>
21592 * Makeconfig (test-name): New variable.
21593 (evaluate-test): Likewise.
21594 * Makerules (do-test-clean): Remove .test-result files.
21595 (common-mostlyclean): Likewise.
21596 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21597 * scripts/evaluate-test.sh: New file.
21599 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21601 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21602 separate $(objpfx)tst-fopenloc-cmp.out and
21603 $(objpfx)tst-fopenloc-mem.out targets.
21604 (tests): Update dependencies.
21605 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21606 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21607 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21608 (tst-rxspencer-no-utf8-ARGS): New variable.
21609 (tst-rxspencer-no-utf8-ENV): Likewise.
21610 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21611 instead of $(objpfx)tst-rxspencer-mem.
21612 ($(objpfx)tst-rxspencer-mem): Change target to
21613 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21614 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21615 * posix/tst-rxspencer-no-utf8.c: New file.
21617 * elf/Makefile ($(objpfx)order.out): Remove rule.
21618 [$(run-built-tests) = yes] (tests): Depend on
21619 $(objpfx)order-cmp.out.
21620 ($(objpfx)order-cmp.out): New rule.
21621 [$(run-built-tests) = yes] (tests): Depend on
21622 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21623 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21624 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21625 $(objpfx)tst-array5-static-cmp.out.
21626 ($(objpfx)tst-array1.out): Remove rule.
21627 ($(objpfx)tst-array1-cmp.out): New rule.
21628 ($(objpfx)tst-array1-static.out): Remove rule.
21629 ($(objpfx)tst-array1-static-cmp.out): New rule.
21630 ($(objpfx)tst-array2.out): Remove rule.
21631 ($(objpfx)tst-array2-cmp.out): New rule.
21632 ($(objpfx)tst-array3.out): Remove rule.
21633 ($(objpfx)tst-array3-cmp.out): New rule.
21634 ($(objpfx)tst-array4.out): Remove rule.
21635 ($(objpfx)tst-array4-cmp.out): New rule.
21636 ($(objpfx)tst-array5.out): Remove rule.
21637 ($(objpfx)tst-array5-cmp.out): New rule.
21638 ($(objpfx)tst-array5-static.out): Remove rule.
21639 ($(objpfx)tst-array5-static-cmp.out): New rule.
21640 [$(run-built-tests) = yes] (tests): Depend on
21641 $(objpfx)order2-cmp.out.
21642 ($(objpfx)order2.out): Remove rule.
21643 ($(objpfx)order2-cmp.out): New rule.
21644 ($(objpfx)tst-initorder.out): Remove rule.
21645 [$(run-built-tests) = yes] (tests): Depend on
21646 $(objpfx)tst-initorder-cmp.out.
21647 ($(objpfx)tst-initorder-cmp.out): New rule.
21648 ($(objpfx)tst-initorder2.out): Remove rule.
21649 [$(run-built-tests) = yes] (tests): Depend on
21650 $(objpfx)tst-initorder2-cmp.out.
21651 ($(objpfx)tst-initorder2-cmp.out): New rule.
21652 [$(run-built-tests) = yes] (tests): Depend on
21653 $(objpfx)tst-unused-dep-cmp.out.
21654 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21655 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21656 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21657 on $(objpfx)tst-setvbuf1-cmp.out.
21658 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21659 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21660 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21661 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21662 ($(objpfx)tst-svc.out): Remove rule.
21663 ($(objpfx)tst-svc-cmp.out): New rule.
21665 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21667 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21668 * ctype/ctype.h [__USE_MISC]: Likewise.
21669 * dirent/dirent.h [__USE_MISC]: Likewise.
21670 * grp/grp.h [__USE_MISC]: Likewise.
21671 * io/fcntl.h [__USE_MISC]: Likewise.
21672 * io/sys/stat.h [__USE_MISC]: Likewise.
21673 * libio/stdio.h [__USE_MISC]: Likewise.
21674 * posix/unistd.h [__USE_MISC]: Likewise.
21675 * pwd/pwd.h [__USE_MISC]: Likewise.
21676 * stdlib.h [__USE_MISC]: Likewise.
21677 * string/bits/string2.h [__USE_MISC]: Likewise.
21678 * string/string.h [__USE_MISC]: Likewise.
21679 * time/time.h [__USE_MISC]: Likewise.
21681 2014-02-13 Andreas Schwab <schwab@suse.de>
21684 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21685 second answer buffer if it was separately allocated.
21687 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21689 * sysdeps/mips/math-tests.h: Include <features.h>.
21690 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21691 (ROUNDING_TESTS_long_double): Do not define.
21692 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21693 (EXCEPTION_TESTS_long_double): Likewise.
21694 * sysdeps/mips/mips64/libm-test-ulps: Update.
21696 * include/features.h (__USE_BSD): Remove macro definitions.
21697 (__USE_SVID): Likewise.
21698 (_BSD_SOURCE): Likewise.
21699 (_SVID_SOURCE): Likewise.
21700 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21701 from definition of _DEFAULT_SOURCE.
21702 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21704 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21705 * bits/mman.h [__USE_BSD]: Likewise.
21706 * bits/termios.h [__USE_BSD]: Likewise.
21707 * bits/waitstatus.h [__USE_BSD]: Likewise.
21708 * ctype/ctype.h [__USE_SVID]: Likewise.
21709 * dirent/dirent.h [__USE_BSD]: Likewise.
21710 * grp/grp.h [__USE_SVID]: Likewise.
21711 [__USE_BSD]: Likewise.
21712 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21713 * io/fcntl.h [__USE_BSD]: Likewise.
21714 * io/ftw.h [__USE_BSD]: Likewise.
21715 * io/sys/stat.h [__USE_BSD]: Likewise.
21716 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21717 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21718 * libio/stdio.h [__USE_SVID]: Likewise.
21719 [__USE_BSD]: Likewise.
21720 * math/math.h [__USE_SVID]: Likewise.
21721 [__USE_BSD]: Likewise.
21722 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21723 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21724 * misc/search.h [__USE_SVID]: Likewise.
21725 * misc/sys/mman.h [__USE_BSD]: Likewise.
21726 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21727 * misc/sys/uio.h [__USE_BSD]: Likewise.
21728 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21729 * posix/glob.h [__USE_BSD]: Likewise.
21730 * posix/regex.h [__USE_BSD]: Likewise.
21731 * posix/sys/types.h [__USE_BSD]: Likewise.
21732 [__USE_SVID]: Likewise.
21733 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21734 * posix/sys/wait.h [__USE_BSD]: Likewise.
21735 [__USE_SVID]: Likewise.
21736 * posix/unistd.h [__USE_BSD]: Likewise.
21737 [__USE_SVID]: Likewise.
21738 * pwd/pwd.h [__USE_SVID]: Likewise.
21739 * resolv/netdb.h [__USE_BSD]: Likewise.
21740 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21741 * signal/signal.h [__USE_BSD]: Likewise.
21742 [__USE_SVID]: Likewise.
21743 * socket/sys/socket.h [__USE_BSD]: Likewise.
21744 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21745 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21746 [__USE_SVID]: Likewise.
21747 * string/bits/string2.h [__USE_BSD]: Likewise.
21748 [__USE_SVID]: Likewise.
21749 * string/bits/string3.h [__USE_BSD]: Likewise.
21750 * string/endian.h [__USE_BSD]: Likewise.
21751 * string/string.h [__USE_SVID]: Likewise.
21752 [__USE_BSD]: Likewise.
21753 * string/strings.h [__USE_BSD]: Likewise.
21754 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21755 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21756 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21757 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21758 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21759 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21763 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21764 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21766 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21767 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21769 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21771 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21772 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21773 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21775 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21777 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21778 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21779 * termios/termios.h [__USE_BSD]: Likewise.
21780 * time/sys/time.h [__USE_BSD]: Likewise.
21781 * time/time.h [__USE_BSD]: Likewise.
21782 [__USE_SVID]: Likewise.
21784 * Makefile (subdir_targets): Remove subdir_lint.out.
21786 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21787 (do-tst-printf): Likewise.
21788 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21789 $(objpfx)tst-printf.out.
21791 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21793 * Makerules (check-abi-%): Change target to
21794 $(objpfx)check-abi-%.out.
21795 (check-abi target): Update dependencies.
21796 (check-abi-pattern variable): Redirect output of diff to $@.
21797 (check-abi variable): Likewise.
21798 * elf/Makefile (check-abi): Update dependencies.
21800 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21802 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21803 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21805 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21806 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21807 value has largest subnormal exponent.
21808 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21809 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21810 * sysdeps/aarch64/soft-fp/sfp-machine.h
21811 (_FP_TININESS_AFTER_ROUNDING): New macro.
21812 * sysdeps/alpha/soft-fp/sfp-machine.h
21813 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21814 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21816 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21817 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21818 * sysdeps/mips/soft-fp/sfp-machine.h
21819 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21820 * sysdeps/powerpc/soft-fp/sfp-machine.h
21821 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21822 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21825 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21827 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21828 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21831 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21834 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21837 2014-02-12 Richard Henderson <rth@redhat.com>
21839 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21840 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21841 * sysdeps/unix/sysv/linux/alpha: Move directory from
21842 ports/sysdeps/unix/sysv/linux/alpha.
21843 * README: Update listing for alpha-*-linux-gnu.
21845 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21847 * include/features.h: Update comment documenting feature test
21849 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21851 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21852 (_SVID_SOURCE): Likewise.
21853 (_DEFAULT_SOURCE): Update description of default features.
21854 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21856 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21857 (S_ISVTX): Likewise.
21858 * manual/math.texi (Mathematical Constants): Likewise.
21859 * manual/signal.texi (Interrupted Primitives): Likewise.
21860 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21861 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21862 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21863 Don't refer to _SVID_SOURCE in warning text.
21865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21867 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21869 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21870 * sysdeps/mips/dl-lookup.c: Remove.
21871 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21873 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21876 * math/auto-libm-test-in: Add testcase for expl.
21877 * math/auto-libm-test-out: Regenerate.
21878 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21879 calculation of unsafe.
21880 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21882 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21884 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21885 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21886 ports/sysdeps/unix/sysv/linux/aarch64.
21887 * README: Update listing for aarch64*-*-linux-gnu.
21889 2014-02-11 Will Newton <will.newton@linaro.org>
21891 * manual/probes.texi (Mathematical Function Probes): Use
21892 "triggered" instead of "hit".
21894 * manual/probes.texi (Internal Probes): Add documentation
21895 of setjmp, longjmp and longjmp_target probes.
21897 * include/stap-probe.h: Add comment about probe argument
21900 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21901 definition. (tr_where, tr_freehook, tr_mallochook,
21902 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21904 2014-02-11 David S. Miller <davem@davemloft.net>
21906 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21907 processing int_tests.
21909 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21911 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21912 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21913 * sysdeps/unix/sysv/linux/mips: Move directory from
21914 ports/sysdeps/unix/sysv/linux/mips.
21915 * README: Update listing for mips-*-linux-gnu and
21916 mips64-*-linux-gnu.
21918 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21920 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21921 * sysdeps/unix/sysv/linux/m68k: Move directory from
21922 ports/sysdeps/unix/sysv/linux/m68k.
21923 * README: Update listing for m68k-*-linux-gnu.
21925 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21927 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21928 * sysdeps/unix/sysv/linux/generic: Move directory from
21929 ports/sysdeps/unix/sysv/linux/generic.
21930 * sysdeps/unix/sysv/linux/tile: Move directory from
21931 ports/sysdeps/unix/sysv/linux/tile.
21932 * README: Update listing for tile*-*-linux-gnu.
21934 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21936 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21938 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21939 * catgets/open_catalog.c (__open_catalog): Likewise.
21940 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21941 * debug/confstr_chk.c: Likewise.
21942 * debug/fread_chk.c (__fread_chk): Likewise.
21943 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21944 * debug/getgroups_chk.c: Likewise.
21945 * debug/mbsnrtowcs_chk.c: Likewise.
21946 * debug/mbsrtowcs_chk.c: Likewise.
21947 * debug/mbstowcs_chk.c: Likewise.
21948 * debug/memcpy_chk.c: Likewise.
21949 * debug/memmove_chk.c: Likewise.
21950 * debug/mempcpy_chk.c: Likewise.
21951 * debug/memset_chk.c: Likewise.
21952 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21953 * debug/strcat_chk.c (__strcat_chk): Likewise.
21954 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21955 * debug/strncat_chk.c (__strncat_chk): Likewise.
21956 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21957 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21958 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21959 * debug/wcpncpy_chk.c: Likewise.
21960 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21961 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21962 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21963 * debug/wcsncpy_chk.c: Likewise.
21964 * debug/wcsnrtombs_chk.c: Likewise.
21965 * debug/wcsrtombs_chk.c: Likewise.
21966 * debug/wcstombs_chk.c: Likewise.
21967 * debug/wmemcpy_chk.c: Likewise.
21968 * debug/wmemmove_chk.c: Likewise.
21969 * debug/wmempcpy_chk.c: Likewise.
21970 * debug/wmemset_chk.c: Likewise.
21971 * dirent/scandirat.c (SCANDIRAT): Likewise.
21972 * dlfcn/dladdr1.c (dladdr1): Likewise.
21973 * dlfcn/dladdr.c (dladdr): Likewise.
21974 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21975 * dlfcn/dlerror.c (__dlerror): Likewise.
21976 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21977 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21978 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21979 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21980 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21981 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21982 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21983 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21985 * elf/dl-conflict.c: Likewise.
21986 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21987 * elf/dl-dst.h: Likewise.
21988 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21989 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21990 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21991 * elf/dl-init.c (call_init, _dl_init): Likewise.
21992 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21993 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21994 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21996 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21998 * elf/dl-minimal.c (__libc_memalign): Likewise.
21999 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22000 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22001 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22002 * elf/dl-sym.c (do_sym): Likewise.
22003 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22004 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22005 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22006 * elf/dl-writev.h (_dl_writev): Likewise.
22007 * elf/ldconfig.c (search_dir): Likewise.
22008 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22009 (dl_main): Likewise.
22010 * elf/setup-vdso.h (setup_vdso): Likewise.
22011 * grp/compat-initgroups.c (compat_call): Likewise.
22012 * grp/fgetgrent.c (fgetgrent): Likewise.
22013 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22014 * grp/putgrent.c (putgrent): Likewise.
22015 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22017 * hurd/hurdinit.c: Likewise.
22018 * iconvdata/8bit-gap.c (struct): Likewise.
22019 * iconvdata/ansi_x3.110.c : Likewise.
22020 * iconvdata/big5.c : Likewise.
22021 * iconvdata/big5hkscs.c : Likewise.
22022 * iconvdata/cp1255.c: Likewise.
22023 * iconvdata/cp1258.c : Likewise.
22024 * iconvdata/cp932.c : Likewise.
22025 * iconvdata/euc-cn.c: Likewise.
22026 * iconvdata/euc-jisx0213.c : Likewise.
22027 * iconvdata/euc-jp.c: Likewise.
22028 * iconvdata/euc-jp-ms.c : Likewise.
22029 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22030 * iconvdata/gb18030.c : Likewise.
22031 * iconvdata/gbbig5.c (const): Likewise.
22032 * iconvdata/gbgbk.c: Likewise.
22033 * iconvdata/gbk.c : Likewise.
22034 * iconvdata/ibm1364.c : Likewise.
22035 * iconvdata/ibm930.c : Likewise.
22036 * iconvdata/ibm932.c: Likewise.
22037 * iconvdata/ibm933.c : Likewise.
22038 * iconvdata/ibm935.c : Likewise.
22039 * iconvdata/ibm937.c : Likewise.
22040 * iconvdata/ibm939.c : Likewise.
22041 * iconvdata/ibm943.c: Likewise.
22042 * iconvdata/iso_11548-1.c: Likewise.
22043 * iconvdata/iso-2022-cn.c : Likewise.
22044 * iconvdata/iso-2022-cn-ext.c : Likewise.
22045 * iconvdata/iso-2022-jp-3.c: Likewise.
22046 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22047 * iconvdata/iso-2022-kr.c : Likewise.
22048 * iconvdata/iso646.c (gconv_end): Likewise.
22049 * iconvdata/iso_6937-2.c : Likewise.
22050 * iconvdata/iso_6937.c : Likewise.
22051 * iconvdata/iso8859-1.c: Likewise.
22052 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22053 * iconvdata/shift_jisx0213.c : Likewise.
22054 * iconvdata/sjis.c : Likewise.
22055 * iconvdata/t.61.c : Likewise.
22056 * iconvdata/tcvn5712-1.c : Likewise.
22057 * iconvdata/tscii.c: Likewise.
22058 * iconvdata/uhc.c : Likewise.
22059 * iconvdata/unicode.c (gconv_end): Likewise.
22060 * iconvdata/utf-16.c (gconv_end): Likewise.
22061 * iconvdata/utf-32.c (gconv_end): Likewise.
22062 * iconvdata/utf-7.c (base64): Likewise.
22063 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22064 * iconv/gconv_close.c (__gconv_close): Likewise.
22065 * iconv/gconv_open.c (__gconv_open): Likewise.
22066 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22067 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22068 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22069 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22070 (ucs4le_internal_loop_single): Likewise.
22071 * iconv/iconv.c (iconv): Likewise.
22072 * iconv/iconv_close.c: Likewise.
22073 * iconv/loop.c (SINGLE): Likewise.
22074 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22075 * include/atomic.h: Likewise.
22076 * inet/inet6_option.c (option_alloc): Likewise.
22077 * intl/bindtextdom.c (set_binding_values): Likewise.
22078 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22079 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22080 * intl/localealias.c (read_alias_file): Likewise.
22081 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22082 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22083 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22084 * libio/fmemopen.c (fmemopen): Likewise.
22085 * libio/iofgets.c (_IO_fgets): Likewise.
22086 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22087 * libio/iofgetws.c (fgetws): Likewise.
22088 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22089 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22090 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22091 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22092 * locale/findlocale.c (_nl_find_locale): Likewise.
22093 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22094 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22096 * locale/setlocale.c (setlocale): Likewise.
22097 * login/programs/pt_chown.c (main): Likewise.
22098 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22099 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22100 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22101 (mmap, mmap64, mremap, munmap): Likewise.
22102 * math/e_exp2l.c: Likewise.
22103 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22104 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22105 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22106 * math/s_catan.c (__catan): Likewise.
22107 * math/s_catanf.c (__catanf): Likewise.
22108 * math/s_catanh.c (__catanh): Likewise.
22109 * math/s_catanhf.c (__catanhf): Likewise.
22110 * math/s_catanhl.c (__catanhl): Likewise.
22111 * math/s_catanl.c (__catanl): Likewise.
22112 * math/s_ccosh.c (__ccosh): Likewise.
22113 * math/s_ccoshf.c (__ccoshf): Likewise.
22114 * math/s_ccoshl.c (__ccoshl): Likewise.
22115 * math/s_cexp.c (__cexp): Likewise.
22116 * math/s_cexpf.c (__cexpf): Likewise.
22117 * math/s_cexpl.c (__cexpl): Likewise.
22118 * math/s_clog10.c (__clog10): Likewise.
22119 * math/s_clog10f.c (__clog10f): Likewise.
22120 * math/s_clog10l.c (__clog10l): Likewise.
22121 * math/s_clog.c (__clog): Likewise.
22122 * math/s_clogf.c (__clogf): Likewise.
22123 * math/s_clogl.c (__clogl): Likewise.
22124 * math/s_csin.c (__csin): Likewise.
22125 * math/s_csinf.c (__csinf): Likewise.
22126 * math/s_csinh.c (__csinh): Likewise.
22127 * math/s_csinhf.c (__csinhf): Likewise.
22128 * math/s_csinhl.c (__csinhl): Likewise.
22129 * math/s_csinl.c (__csinl): Likewise.
22130 * math/s_csqrt.c (__csqrt): Likewise.
22131 * math/s_csqrtf.c (__csqrtf): Likewise.
22132 * math/s_csqrtl.c (__csqrtl): Likewise.
22133 * math/s_ctan.c (__ctan): Likewise.
22134 * math/s_ctanf.c (__ctanf): Likewise.
22135 * math/s_ctanh.c (__ctanh): Likewise.
22136 * math/s_ctanhf.c (__ctanhf): Likewise.
22137 * math/s_ctanhl.c (__ctanhl): Likewise.
22138 * math/s_ctanl.c (__ctanl): Likewise.
22139 * math/w_pow.c: Likewise.
22140 * math/w_powf.c: Likewise.
22141 * math/w_powl.c: Likewise.
22142 * math/w_scalb.c (sysv_scalb): Likewise.
22143 * math/w_scalbf.c (sysv_scalbf): Likewise.
22144 * math/w_scalbl.c (sysv_scalbl): Likewise.
22145 * misc/error.c (error_tail): Likewise.
22146 * misc/pselect.c (__pselect): Likewise.
22147 * nis/nis_callback.c (__nis_create_callback): Likewise.
22148 * nis/nis_call.c (__nisfind_server): Likewise.
22149 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22150 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22151 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22152 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22153 * nis/nis_lookup.c (nis_lookup): Likewise.
22154 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22155 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22156 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22157 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22158 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22159 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22160 * nis/nss_compat/compat-initgroups.c (add_group)
22161 (internal_getgrent_r): Likewise.
22162 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22163 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22164 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22165 (internal_getspnam_r): Likewise.
22166 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22167 (_nss_nis_getaliasbyname_r): Likewise.
22168 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22169 (_nss_nis_getntohost_r): Likewise.
22170 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22171 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22172 (_nss_nis_getgrgid_r): Likewise.
22173 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22174 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22175 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22176 (_nss_nis_gethostbyname4_r): Likewise.
22177 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22178 (initgroups_netid): Likewise.
22179 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22180 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22181 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22182 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22183 (_nss_nis_getprotobynumber_r): Likewise.
22184 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22185 (_nss_nis_getsecretkey): Likewise.
22186 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22187 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22188 (_nss_nis_getpwuid_r): Likewise.
22189 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22190 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22191 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22192 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22193 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22194 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22195 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22197 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22198 (_nss_nisplus_getntohost_r): Likewise.
22199 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22200 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22201 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22202 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22204 * nis/nss_nisplus/nisplus-initgroups.c
22205 (_nss_nisplus_initgroups_dyn): Likewise.
22206 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22207 (_nss_nisplus_getnetbyaddr_r): Likewise.
22208 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22209 (_nss_nisplus_getprotobynumber_r): Likewise.
22210 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22211 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22212 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22214 * nis/nss_nisplus/nisplus-service.c
22215 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22216 (_nss_nisplus_getservbyport_r): Likewise.
22217 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22218 (_nss_nisplus_getspnam_r): Likewise.
22219 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22221 * nscd/aicache.c (addhstaiX): Likewise.
22222 * nscd/cache.c (cache_search, prune_cache): Likewise.
22223 * nscd/connections.c (register_traced_file, send_ro_fd)
22224 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22225 (main_loop_epoll): Likewise.
22226 * nscd/grpcache.c (addgrbyX): Likewise.
22227 * nscd/hstcache.c (addhstbyX): Likewise.
22228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22229 * nscd/mem.c (gc, mempool_alloc): Likewise.
22230 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22231 (addinnetgrX): Likewise.
22232 * nscd/nscd-client.h (__nscd_acquire_maplock)
22233 (__nscd_drop_map_ref): Likewise.
22234 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22235 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22236 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22238 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22239 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22240 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22241 (__nscd_get_map_ref): Likewise.
22242 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22243 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22245 * nscd/pwdcache.c (addpwbyX): Likewise.
22246 * nscd/selinux.c (preserve_capabilities): Likewise.
22247 * nscd/servicescache.c (addservbyX): Likewise.
22248 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22249 * posix/fnmatch.c (fnmatch): Likewise.
22250 * posix/getopt.c (_getopt_internal_r): Likewise.
22251 * posix/glob.c (glob, glob_in_dir): Likewise.
22252 * posix/wordexp.c (exec_comm_child): Likewise.
22253 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22254 (getanswer_r, gaih_getanswer_slice): Likewise.
22255 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22256 * resolv/res_init.c: Likewise.
22257 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22258 * resolv/res_query.c (__libc_res_nquery): Likewise.
22259 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22261 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22262 * stdio-common/perror.c (perror): Likewise.
22263 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22264 * stdio-common/tmpnam.c (tmpnam): Likewise.
22265 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22266 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22267 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22269 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22270 * stdlib/putenv.c (putenv): Likewise.
22271 * stdlib/setenv.c (__add_to_environ): Likewise.
22272 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22273 * stdlib/strtol_l.c (INTERNAL): Likewise.
22274 * string/memmem.c (memmem): Likewise.
22275 * string/strerror.c (strerror): Likewise.
22276 * string/strnlen.c (__strnlen): Likewise.
22277 * string/test-memmem.c (simple_memmem): Likewise.
22278 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22279 * sunrpc/pm_getport.c (__get_socket): Likewise.
22280 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22281 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22282 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22283 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22285 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22286 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22287 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22288 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22289 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22290 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22292 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22294 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22295 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22297 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22298 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22300 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22301 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22302 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22303 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22304 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22305 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22307 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22309 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22311 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22315 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22316 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22317 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22319 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22320 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22321 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22323 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22324 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22326 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22328 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22330 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22332 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22334 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22336 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22338 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22339 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22340 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22341 * sysdeps/posix/sleep.c: Likewise.
22342 * sysdeps/posix/tempname.c: Likewise.
22343 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22344 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22346 * sysdeps/powerpc/powerpc32/dl-machine.h
22347 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22348 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22350 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22351 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22353 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22354 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22355 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22356 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22357 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22358 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22359 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22360 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22361 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22362 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22364 (elf_machine_lazy_rel): Likewise.
22365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22367 (elf_machine_lazy_rel): Likewise.
22368 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22369 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22370 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22371 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22372 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22373 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22374 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22377 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22378 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22379 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22380 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22381 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22382 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22383 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22384 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22385 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22386 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22387 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22389 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22390 (__posix_fallocate64_l64): Likewise.
22391 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22392 (posix_fallocate): Likewise.
22393 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22395 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22396 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22397 (getifaddrs_internal): Likewise.
22398 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22399 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22400 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22401 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22402 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22403 (__posix_fallocate64_l64): Likewise.
22404 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22406 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22407 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22408 (__get_clockfreq): Likewise.
22409 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22410 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22411 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22412 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22414 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22415 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22416 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22418 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22419 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22420 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22421 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22422 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22423 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22424 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22426 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22427 (posix_fallocate): Likewise.
22428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22429 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22430 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22431 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22432 (elf_machine_rela, elf_machine_rela_relative)
22433 (elf_machine_lazy_rel): Likewise.
22434 * time/asctime.c (asctime_internal): Likewise.
22435 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22436 * time/tzset.c (__tzset_parse_tz): Likewise.
22437 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22438 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22439 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22440 * wcsmbs/wcsmbsload.h: Likewise.
22443 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22445 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22446 (arena_get2): Remove THREAD_STATS conditionals.
22447 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22448 (__malloc_stats, int): Likewise.
22450 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22452 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22453 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22455 * manual/setjmp.texi: Fix typos/grammar errors.
22457 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22458 Only return early when n is <= 0. Delete unused return statement.
22460 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22461 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22462 * debug/tst-longjmp_chk3.c: New file.
22464 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22465 (test_main): Replace code with set_fortify_handler call.
22466 * debug/test-strcpy_chk.c: Likewise.
22467 * debug/tst-chk1.c: Likewise.
22468 * debug/tst-longjmp_chk.c: Likewise.
22469 * test-skeleton.c: Include fcntl.h & paths.h
22470 (set_fortify_handler): Define.
22472 * debug/tst-longjmp_chk.c: Add header comment and include
22473 ../test-skeleton.c.
22474 (do_test): Mark static.
22475 (TEST_FUNCTION): Define.
22477 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22478 (IP_PMTUDISC_INTERFACE): Likewise.
22479 (IP_MULTICAST_IF): Likewise.
22480 (IP_MULTICAST_TTL): Likewise.
22481 (IP_MULTICAST_LOOP): Likewise.
22482 (IP_ADD_MEMBERSHIP): Likewise.
22483 (IP_DROP_MEMBERSHIP): Likewise.
22484 (IP_UNBLOCK_SOURCE): Likewise.
22485 (IP_BLOCK_SOURCE): Likewise.
22486 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22487 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22488 (IP_MSFILTER): Likewise.
22489 (MCAST_JOIN_GROUP): Likewise.
22490 (MCAST_BLOCK_SOURCE): Likewise.
22491 (MCAST_UNBLOCK_SOURCE): Likewise.
22492 (MCAST_LEAVE_GROUP): Likewise.
22493 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22494 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22495 (MCAST_MSFILTER): Likewise.
22496 (IP_MULTICAST_ALL): Likewise.
22497 (IP_UNICAST_IF): Likewise.
22499 * timezone/Makefile: Delete $(have-ksh) check.
22500 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22501 * timezone/tzselect.ksh: Add +x mode bits.
22503 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22504 (ANON_INODE_FS_MAGIC): Likewise.
22505 (BDEVFS_MAGIC): Likewise.
22506 (BINFMTFS_MAGIC): Likewise.
22507 (BTRFS_TEST_MAGIC): Likewise.
22508 (CRAMFS_MAGIC_WEND): Likewise.
22509 (DEBUGFS_MAGIC): Likewise.
22510 (ECRYPTFS_SUPER_MAGIC): Likewise.
22511 (EXT3_SUPER_MAGIC): Likewise.
22512 (EXT4_SUPER_MAGIC): Likewise.
22513 (FUTEXFS_SUPER_MAGIC): Likewise.
22514 (HOSTFS_SUPER_MAGIC): Likewise.
22515 (HUGETLBFS_MAGIC): Likewise.
22516 (MINIX3_SUPER_MAGIC): Likewise.
22517 (MTD_INODE_FS_MAGIC): Likewise.
22518 (NILFS_SUPER_MAGIC): Likewise.
22519 (OPENPROM_SUPER_MAGIC): Likewise.
22520 (PIPEFS_MAGIC): Likewise.
22521 (PSTOREFS_MAGIC): Likewise.
22522 (QNX6_SUPER_MAGIC): Likewise.
22523 (RAMFS_MAGIC): Likewise.
22524 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22525 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22526 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22527 (SECURITYFS_MAGIC): Likewise.
22528 (SELINUX_MAGIC): Likewise.
22529 (SMACK_MAGIC): Likewise.
22530 (SOCKFS_MAGIC): Likewise.
22531 (SQUASHFS_MAGIC): Likewise.
22532 (STACK_END_MAGIC): Likewise.
22533 (TMPFS_MAGIC): Likewise.
22534 (USBDEVICE_SUPER_MAGIC): Likewise.
22535 (V9FS_MAGIC): Likewise.
22536 (XENFS_SUPER_MAGIC): Likewise.
22537 (CRAMFS_MAGIC): Fix typo in comment.
22538 (EXT2_SUPER_MAGIC): Update comment.
22539 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22541 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22543 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22544 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22545 * sysdeps/unix/sysv/linux/arm: Move directory from
22546 ports/sysdeps/unix/sysv/linux/arm.
22547 * README: Update listing for arm-*-linux-gnueabi.
22549 * README: Remove mention of am33.
22551 2014-02-07 Roland McGrath <roland@hack.frob.com>
22553 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22554 than the comma operator, to avoid "rhs of comma has no effect"
22556 (__sigfillset, __sigandset, __sigorset): Likewise.
22557 * include/signal.h (__sigemptyset): Likewise.
22558 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22560 2014-02-07 Allan McRae <allan@archlinux.org>
22562 * version.h (RELEASE): Set to "development".
22563 (VERSION): Set to "2.19.90"
22564 * NEWS: Add 2.20 section.
22566 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22569 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22571 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22573 * manual/contrib.texi: Update entry for Carlos O'Donell,
22574 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22576 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22578 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22580 * sysdeps/unix/sysv/linux/kernel-features.h
22581 [__LINUX_KERNEL_VERSION >= 0x020621]
22582 (__ASSUME_PROC_PID_TASK_COMM): Define.
22584 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22587 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22588 conversion when destination buffer does not have enough space.
22589 * libio/tst-ftell-partial-wide.c: New test case.
22590 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22592 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22593 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22594 Leonard and Allan McRae.
22596 2014-02-04 David S. Miller <davem@davemloft.net>
22598 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22601 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22630 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22632 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22633 * shlib-versions: Likewise.
22635 2014-02-04 Roland McGrath <roland@hack.frob.com>
22636 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22638 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22639 (abilist-pattern): New variable, set to %-le.abilist.
22641 * Makerules (abilist-pattern): New variable.
22642 (vpath): Use $(abilist-pattern) in place of %.abilist.
22643 (check-abi-% pattern rule): Likewise.
22644 (check-abi, update-abi): Likewise.
22646 2014-02-04 Eric Wong <normalperson@yhbt.net>
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22650 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22652 * manual/startup.texi: Add next, previous, and top entries for
22653 the `Program Arguments' and `Environment Variables' nodes.
22655 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22657 * manual/macros.texi: Add comments before MTASC-safety macros.
22659 * manual/users.texi: Document MTASC-safety properties.
22661 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22662 (pthread_getspecific, pthread_setspecific): Format with
22663 @deftypefun, and add @safety note.
22664 * manual/signal.texi: Move comments that analyze the above
22665 functions to their home place.
22667 2014-02-03 Allan McRae <allan@archlinux.org>
22669 * po/sl.po: Update Slovenian translation from translation project.
22671 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22673 * manual/time.texi (timegm): Add missing blank after @c.
22674 Reported by Joseph Myers <joseph@codesourcery.com>.
22676 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22678 * manual/check-safety.sh: New.
22679 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22681 * manual/terminal.texi: Document MTASC-safety properties.
22683 * manual/filesys.texi: Document MTASC-safety properties.
22685 * manual/errno.texi: Document MTASC-safety properties.
22687 * manual/intro.texi: Document safety identifiers and
22690 * manual/string.texi (wcstok): Fix prototype.
22691 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22693 * manual/time.texi: Document MTASC-safety properties.
22695 * manual/string.texi: Document MTASC-safety properties.
22697 * manual/threads.texi: Document MTASC-safety properties.
22699 * manual/stdio.texi: Document MTASC-safety properties.
22701 * manual/syslog.texi: Document MTASC-safety properties.
22703 * manual/sysinfo.texi: Document MTASC-safety properties.
22705 * manual/startup.texi: Document MTASC-safety properties.
22707 * manual/socket.texi: Document MTASC-safety properties.
22709 * manual/signal.texi: Document MTASC-safety properties.
22711 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22713 * manual/setjmp.texi: Document MTASC-safety properties.
22715 * manual/search.texi: Document MTASC-safety properties.
22717 * manual/resource.texi: Document MTASC-safety properties.
22719 * manual/process.texi: Document MTASC-safety properties.
22721 * manual/platform.texi: Document MTASC-safety properties.
22723 * manual/pipe.texi: Document MTASC-safety properties.
22725 * manual/pattern.texi: Document MTASC-safety properties.
22727 * manual/message.texi: Document MTASC-safety properties.
22730 * manual/memory.texi: Document MTASC-safety properties.
22732 * manual/math.texi: Document MTASC-safety properties.
22734 * manual/locale.texi: Document MTASC-safety properties.
22736 * manual/llio.texi: Document MTASC-safety properties.
22738 * manual/libdl.texi: New.
22740 * manual/lang.texi: Document MTASC-safety properties.
22742 * manual/job.texi: Document MTASC-safety properties.
22744 * manual/getopt.texi: Document MTASC-safety properties.
22746 * manual/ctype.texi: Document MTASC-safety properties.
22748 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22751 * csu/libc-tls.c (static_map): Remove variable.
22752 (__libc_setup_tls): Use main executable's link map for TLS data.
22753 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22754 casing for LM_ID_BASE and GL(dl_nns).
22755 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22756 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22757 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22758 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22759 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22761 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22764 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22766 * manual/debug.texi: Document MTASC-safety properties.
22768 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22771 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22772 of __x86_64__ when disabling x87 inline functions.
22774 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22776 * manual/charset.texi: Document MTASC-safety properties.
22778 * manual/crypt.texi: Document MTASC-safety properties.
22780 * manual/conf.texi: Document MTASC-safety properties.
22782 * manual/arith.texi: Document MTASC-safety properties.
22784 * manual/argp.texi: Document MTASC-safety properties.
22786 * manual/macros.texi: Introduce macros to document multi
22787 thread, asynchronous signal and asynchronous cancellation
22789 * manual/intro.texi: Introduce the properties themselves.
22791 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22793 * sysdeps/sh/sh4/Makefile: New file.
22795 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22797 * math/gen-libm-test.pl ($srcdir): New variable.
22798 ($auto_input): Use it.
22800 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22803 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22804 access beyond array bounds when parsing netgroups file.
22806 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22807 the old buffer before realloc.
22809 2014-01-27 Allan McRae <allan@archlinux.org>
22811 * po/fr.po: Update French translation from translation project.
22813 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22815 * sysdeps/sh/libm-test-ulps: Regenerate.
22817 2014-01-24 David S. Miller <davem@davemloft.net>
22819 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22821 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22823 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22824 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22826 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22829 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22830 string pointers after reallocation.
22832 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22834 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22835 __SH4A__ instead of __SH_FPU_ANY__.
22837 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22839 * sysdeps/sh/fpu_control.h: New file.
22840 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22841 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22842 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22843 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22844 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22845 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22846 * sysdeps/sh/sys/ucontext.h: Remove.
22847 * sysdeps/sh/sys: Remove directory.
22849 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22851 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22852 s390/sys/ucontext.h.
22853 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22854 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22856 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22859 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22861 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22865 Adjust the vDSO correctly for internal calls.
22866 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22868 2014-01-20 Allan McRae <allan@archlinux.org>
22870 * po/ca.po: Update Catalan translation from translation project.
22872 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22874 * sysdeps/s390/sotruss-lib.c: New file.
22876 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22880 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22881 local calls issues by not having a PLT stub required for IFUNC calls.
22882 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22884 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22886 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22887 * math/test-fpucw-static.c: Likewise.
22889 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22892 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22894 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22896 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22897 implementation for powerpc.
22899 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22902 * sysdeps/posix/system.c (__libc_system): Do not enable
22903 asynchronous cancellation.
22905 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22908 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22909 handling only for numbers special also in the IEEE case.
22911 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22913 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22915 2014-01-11 Allan McRae <allan@archlinux.org>
22917 * po/bg.po: Update Bulgarian translation from translation project.
22919 * po/de.po: Update German translation from translation project.
22921 2014-01-10 Roland McGrath <roland@hack.frob.com>
22923 * sysdeps/generic/gcc-compat.h: New file.
22925 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22927 * benchtests/asin-inputs: Correct slow inputs.
22928 * benchtests/acos-inputs: Likewise.
22930 2014-01-10 Allan McRae <allan@archlinux.org>
22932 * po:sv.po: Update Swedish translation from translation project.
22934 * po/vi.po: Update Vietnamese translation from translation project.
22936 * po/eo.po: Update Esperanto translation from translation project.
22938 * po/cs.po: Update Czech translation from translation project.
22940 * po/nl.po: Update Dutch translation from translation project.
22942 * po/pl.po: Update Polish translation from translation project.
22944 * po/ru.po: Update Russian translation from translation project.
22946 * po/uk.po: Update Ukrainian translation from translation project.
22948 2014-01-08 Brooks Moses <bmoses@google.com>
22950 * elf/dl-load.c: Fix comment typo.
22952 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22954 * po/header.pot: Rename to...
22955 * po/pot.header: ... this.
22956 * po/Makefile: Use pot.header.
22958 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22959 Maxim Kuvyrkov <maxim@kugelworks.com>
22962 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22963 SRC and DEST against LEN.
22965 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22968 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22970 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22972 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22976 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22979 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22980 for large positive arguments.
22982 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22984 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22986 * math/auto-libm-test-in: Mark various tests with
22987 xfail-rounding:ldbl-128ibm.
22988 * math/auto-libm-test-out: Regenerated.
22991 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22992 Increase overflow threshold.
22994 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22997 * stdio-common/vfprintf.c: Check for integer overflow.
22999 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23001 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23002 the first argument and return value of __tls_get_addr_internal.
23004 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23006 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23007 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23009 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23011 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23012 * sysdeps/s390/rtld-global-offsets.sym: New file.
23013 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23015 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23016 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23017 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23019 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23020 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23026 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23027 halfs of GPRs for high_gprs contexts.
23028 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23029 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23031 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23033 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23035 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23036 for high GPRs (uc_high_gprs) and for future extensions
23038 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23039 for future extensions (__reserved).
23040 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23042 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23043 SC_HIGHGPRS offset definition.
23044 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23045 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23047 * Versions.def: Add GLIBC_2.19 for libpthread.
23048 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23049 siglongjmp for libpthread with GLIBC_2.19 symver.
23050 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23051 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23052 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23053 * sysdeps/s390/__longjmp.c: New file.
23054 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23055 * sysdeps/s390/longjmp.c: New file.
23056 * sysdeps/s390/setjmp.S: New file.
23057 * sysdeps/s390/sigjmp.S: New file.
23058 * sysdeps/s390/v1-longjmp.c: New file.
23059 * sysdeps/s390/v1-setjmp.h: New file.
23060 * sysdeps/s390/v1-sigjmp.c: New file.
23061 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23062 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23063 GLIBC_2.19 version.
23064 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23065 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23066 versioned symbols for ____longjmp_chk.
23067 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23077 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23078 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23079 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23080 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23081 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23082 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23083 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23084 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23085 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23086 * sysdeps/s390/rtld-__longjmp.c: New file.
23087 * sysdeps/s390/rtld-setjmp.S: New file.
23089 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23092 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23093 Return -__logl (x) for small positive arguments without evaluating
23096 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23098 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23100 (__ptrace_peeksiginfo_args): ... this.
23101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23102 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23103 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23105 2014-01-06 Allan McRae <allan@archlinux.org>
23107 * inet/netinet/in.h: Fix typo in comment.
23109 2014-01-05 Andreas Jaeger <aj@suse.de>
23111 * sysdeps/i386/fpu/libm-test-ulps: Update.
23113 2014-01-05 Allan McRae <allan@archlinux.org>
23115 * po/libc.pot: Regenerated.
23117 * malloc/memusagestat.c: Fix gettext call formatting.
23119 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23121 * nscd/nscd.c: Improve usage() output.
23123 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23125 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23126 * sysdeps/unix/sysv/linux/configure: Regenerated.
23127 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23128 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23130 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23133 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23134 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23136 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23138 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23139 extra tokens at end of #undef directive.
23140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23141 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23142 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23144 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23146 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23148 * math/auto-libm-test-in: Mark various tests with
23149 xfail-rounding:ldbl-128ibm.
23150 * math/auto-libm-test-out: Regenerated.
23152 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23155 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23156 numbers with subnormal high part when calculating exponent.
23159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23163 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23165 (__ieee754_acoshl): Use __log1pl not __log1p.
23167 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23169 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23170 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23171 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23172 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23173 (reused_arena, arena_get2): Convert to GNU style.
23174 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23175 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23176 (memalign_check, __malloc_set_state): Likewise.
23177 * malloc/mallocbug.c (main): Likewise.
23178 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23179 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23180 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23181 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23182 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23183 (__posix_memalign, malloc_info): Likewise.
23184 * malloc/malloc.h: Likewise.
23185 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23186 (mallochook, memalignhook, reallochook, mabort): Likewise.
23187 * malloc/mcheck.h: Likewise.
23188 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23189 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23190 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23191 * malloc/morecore.c (__default_morecore): Likewise.
23192 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23193 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23194 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23195 (print_and_abort): Likewise.
23196 * malloc/obstack.h: Likewise.
23197 * malloc/set-freeres.c (__libc_freeres): Likewise.
23198 * malloc/tst-mallocstate.c (main): Likewise.
23199 * malloc/tst-mtrace.c (main): Likewise.
23200 * malloc/tst-realloc.c (do_test): Likewise.
23202 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23205 * nscd/netgroupcache.c (do_notfound): New function.
23206 (addgetnetgrentX): Use it.
23209 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23210 NSS_STATUS_NOTFOUND.
23212 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23214 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217 2014-01-01 Allan McRae <allan@archlinux.org>
23219 * scripts/update-copyrights: Update configure input file suffix.
23221 * NEWS: Update copyright year.
23222 * catgets/gencat.c: Likewise.
23223 * csu/version.c: Likewise.
23224 * debug/catchsegv.sh: Likewise.
23225 * debug/pcprofiledump.c: Likewise.
23226 * debug/xtrace.sh: Likewise.
23227 * elf/ldconfig.c: Likewise.
23228 * elf/ldd.bash.in: Likewise.
23229 * elf/pldd.c: Likewise.
23230 * elf/sotruss.ksh: Likewise.
23231 * elf/sprof.c: Likewise.
23232 * iconv/iconv_prog.c: Likewise.
23233 * iconv/iconvconfig.c: Likewise.
23234 * locale/programs/locale.c: Likewise.
23235 * locale/programs/localedef.c: Likewise.
23236 * login/programs/pt_chown.c: Likewise.
23237 * malloc/memusage.sh: Likewise.
23238 * malloc/memusagestat.c: Likewise.
23239 * malloc/mtrace.pl: Likewise.
23240 * manual/libc.texinfo: Likewise.
23241 * nscd/nscd.c: Likewise.
23242 * nss/getent.c: Likewise.
23243 * nss/makedb.c: Likewise.
23244 * posix/getconf.c: Likewise.
23245 * scripts/test-installation.pl: Likewise.
23247 * All files with FSF copyright notices: Update copyright dates
23248 using scripts/update-copyrights.
23249 * intl/plural.c: Regenerated.
23250 * locale/programs/charmap-kw.h: Likewise.
23251 * locale/programs/locfile-kw.h: Likewise.
23253 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23255 * sysdeps/unix/sysv/linux/configure: Regenerated.
23256 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23257 the linux/fanotify.h header.
23258 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23259 HAVE_LINUX_FANOTIFY_H is defined.
23261 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23263 * benchtests/cos-inputs: New inputs.
23264 * benchtests/sin-inputs: Likewise.
23266 * benchtests/atan-inputs: New inputs. Fix name of multiple
23267 precision fallback inputs.
23269 * benchtests/atanh-inputs: New inputs.
23270 * benchtests/tanh-inputs: Likewise.
23272 * benchtests/acosh-inputs: New inputs.
23273 * benchtests/asinh-inputs: Likewise.
23275 * benchtests/cosh-inputs: New inputs.
23276 * benchtests/sinh-inputs: Likewise.
23278 * benchtests/acos-inputs: Add more inputs.
23279 * benchtests/asin-inputs: Likewise.
23281 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23284 * manual/arith.texi: Fix spelling.
23285 * manual/charset.texi: Likewise.
23286 * manual/errno.texi: Likewise.
23287 * manual/filesys.texi: Likewise.
23288 * manual/lang.texi: Likewise.
23289 * manual/llio.texi: Likewise.
23290 * manual/locale.texi: Likewise.
23291 * manual/message.texi: Likewise.
23292 * manual/resource.texi: Likewise.
23293 * manual/search.texi: Likewise.
23294 * manual/setjmp.texi: Likewise.
23295 * manual/stdio.texi: Likewise.
23296 * manual/string.texi: Likewise.
23297 * manual/sysinfo.texi: Likewise.
23298 * manual/time.texi: Likewise.
23300 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23302 * po/sl.po: New file.
23304 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23306 * .gitignore: Add core/.gdbinit/.gdb_history.
23308 2013-12-27 Allan McRae <allan@archlinux.org>
23311 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23312 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23314 2013-12-24 Brooks Moses <bmoses@google.com>
23316 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23317 all compilers that claim C++98 compliance, not just GCC.
23318 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23321 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23323 * NEWS: Restore accidentally deleted bug-fix entries.
23325 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23326 Ondřej Bílka <neleai@seznam.cz>
23329 * malloc/malloc.c (_int_free): Perform sanity check only if we
23332 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23335 * manual/stdio.texi (String Input Conversions): Clarify that character
23336 classes are not supported.
23338 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23342 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23345 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23346 Calculate results for small negative arguments directly rather
23347 than using reflection formula with special underflow handling.
23349 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23350 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23351 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23352 (fchflags): Likewise.
23353 (revoke): Likewise.
23354 (setlogin): Likewise.
23355 (sigaltstack): Likewise.
23357 (sigblock): Remove.
23358 (sigsetmask): Likewise.
23360 (waitpid): Likewise.
23361 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23362 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23364 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23365 * sysdeps/unix/bsd/Makefile: ... here.
23366 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23367 * sysdeps/unix/bsd/Versions: ... here.
23368 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23369 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23370 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23371 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23372 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23373 * sysdeps/unix/bsd/sigblock.c: ... here.
23374 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23375 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23376 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23377 * sysdeps/unix/bsd/sigvec.c: ... here.
23378 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23379 * sysdeps/unix/bsd/tcdrain.c: ... here.
23380 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23381 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23382 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23383 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23384 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23385 * sysdeps/unix/bsd/wait.c: ... here.
23386 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23387 * sysdeps/unix/bsd/wait3.c: ... here.
23388 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23389 * sysdeps/unix/bsd/waitpid.c: ... here.
23391 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23394 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23395 round-to-nearest for [!USE_AS_EXPM1L].
23396 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23397 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23398 more tests of exp and exp10. Expect some exp10 tests to miss
23399 exceptions or fail in directed rounding modes.
23400 * math/auto-libm-test-out: Regenerated.
23401 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23402 (exp10_test_tonearest): New function.
23403 (exp10_towardzero_test_data): New array.
23404 (exp10_test_towardzero): New function.
23405 (exp10_downward_test_data): New array.
23406 (exp10_test_downward): New function.
23407 (exp10_upward_test_data): New array.
23408 (exp10_test_upward): New function.
23409 (main): Call the new functions.
23410 * sysdeps/i386/fpu/libm-test-ulps: Update.
23411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23413 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23415 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23416 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23417 * math/auto-libm-test-out: Regenerated.
23418 * math/libm-test.inc (acosh_test_data): Add more tests.
23419 (atanh_test_data): Likewise.
23420 (ceil_test_data): Likewise.
23421 (copysign_test_data): Likewise.
23422 * sysdeps/i386/fpu/libm-test-ulps: Update.
23423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23425 * timezone/checktab.awk: Update from tzcode 2013i.
23426 * timezone/private.h: Likewise.
23427 * timezone/scheck.c: Likewise.
23428 * timezone/tzfile.h: Likewise.
23429 * timezone/tzselect.ksh: Likewise.
23430 * timezone/zdump.c: Likewise.
23431 * timezone/zic.c: Likewise.
23433 * math/auto-libm-test-in: Add tests of cpow.
23434 * math/auto-libm-test-out: Regenerated.
23435 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23436 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23438 (func_calc_desc): Add mpc_cc_c union field.
23439 (test_functions): Add cpow.
23440 (special_fill_2pi): New function.
23441 (special_real_inputs): Add 2pi.
23442 (calc_generic_results): Handle mpc_cc_c.
23443 * sysdeps/i386/fpu/libm-test-ulps: Update.
23444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23446 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23447 csqrt, ctan and ctanh.
23448 * math/auto-libm-test-out: Regenerated.
23449 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23450 (TEST_COND_x86): Likewise.
23451 (ccos_test_data): Use AUTO_TESTS_c_c.
23452 (ccosh_test_data): Likewise.
23453 (cexp_test_data): Likewise.
23454 (clog_test_data): Likewise.
23455 (csqrt_test_data): Likewise.
23456 (ctan_test_data): Likewise.
23457 (ctan_tonearest_test_data): Likewise.
23458 (ctan_towardzero_test_data): Likewise.
23459 (ctan_downward_test_data): Likewise.
23460 (ctan_upward_test_data): Likewise.
23461 (ctanh_test_data): Likewise.
23462 (ctanh_tonearest_test_data): Likewise.
23463 (ctanh_towardzero_test_data): Likewise.
23464 (ctanh_downward_test_data): Likewise.
23465 (ctanh_upward_test_data): Likewise.
23466 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23468 (func_calc_desc): Add mpc_c_c union field.
23469 (FUNC_mpc_c_c): New macro.
23470 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23471 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23473 (special_fill_min_subnorm_p120): New function.
23474 (special_real_inputs): Add min_subnorm_p120.
23475 (calc_generic_results): Handle mpc_c_c.
23476 * sysdeps/i386/fpu/libm-test-ulps: Update.
23477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23479 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23481 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23482 (do_sin_slow): New functions.
23483 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23484 (cslow2, csloww1, csloww2): Use the new functions.
23486 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23487 Use M to change sign of result instead of X. Assume X is
23489 (csloww1): Likewise.
23493 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23494 arguments A and DA.
23498 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23500 (sloww1): Don't adjust sign of DX.
23501 (csloww1): Likewise.
23502 (sloww2): Use X directly and don't adjust sign of DX.
23503 (csloww2): Likewise.
23505 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23507 * math/auto-libm-test-in: Add tests of cabs and carg.
23508 * math/auto-libm-test-out: Regenerated.
23509 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23510 (carg_test_data): Likewise.
23511 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23513 (func_calc_desc): Add mpc_c_f union field.
23514 (test_functions): Add cabs and carg.
23515 (calc_generic_results): Handle mpc_c_f.
23517 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23518 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23519 as a macro and a compat symbol.
23520 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23521 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23522 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23523 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23524 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23525 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23527 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23529 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23531 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23533 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23535 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23537 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23538 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23541 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23545 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23547 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23548 trailing whitespace removed.
23549 * scripts/config.guess: Update to version 2013-11-29.
23550 * scripts/config.sub: Update to version 2013-10-01.
23552 * math/auto-libm-test-in: Add tests of sincos.
23553 * math/auto-libm-test-out: Regenerated.
23554 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23555 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23557 (func_calc_desc): Add mpfr_f_11 union field.
23558 (test_functions): Add sincos.
23559 (calc_generic_results): Handle mpfr_f_11.
23560 * sysdeps/i386/fpu/libm-test-ulps: Update.
23561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23563 2013-12-19 Andreas Schwab <schwab@suse.de>
23565 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23567 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23568 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23569 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23571 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23573 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23574 * sysdeps/i386/fpu/libm-test-ulps: Update.
23575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23579 round-to-nearest mode when using frndint.
23580 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23581 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23584 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23586 * math/auto-libm-test-out: Regenerated.
23587 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23588 (TEST_COND_x86): Likewise.
23589 (expm1_tonearest_test_data): New array.
23590 (expm1_test_tonearest): New function.
23591 (expm1_towardzero_test_data): New array.
23592 (expm1_test_towardzero): New function.
23593 (expm1_downward_test_data): New array.
23594 (expm1_test_downward): New function.
23595 (expm1_upward_test_data): New array.
23596 (expm1_test_upward): New function.
23597 (main): Run the new test functions.
23598 * sysdeps/i386/fpu/libm-test-ulps: Update.
23599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23601 * include/features.h: Update comment documenting feature test
23602 macros. Mention _DEFAULT_SOURCE in comment.
23603 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23604 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23605 _BSD_SOURCE and _SVID_SOURCE.
23606 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23607 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23608 !_SVID_SOURCE]: Likewise.
23609 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23610 (__USE_POSIX_IMPLICITLY): Define.
23611 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23612 (_POSIX_SOURCE): Undefine and redefine.
23613 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23614 (_POSIX_C_SOURCE): Likewise.
23615 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23616 (Feature Test Macros): Update documentation of default features.
23618 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23620 * benchtests/Makefile: Add bench-strtok.
23621 * benchtests/bench-strtok.c: New file: strtok benchtest.
23623 2013-12-19 Allan McRae <allan@archlinux.org>
23625 * manual/install.texi: Suppress menu for plain text output.
23626 * INSTALL: Regenerated.
23628 2013-12-18 Brooks Moses <bmoses@google.com>
23631 * misc/getauxval.c: Include errno.h.
23632 (__getauxval): Set errno to ENOENT if the requested type is not
23634 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23635 don't declare with __attribute_const__.
23636 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23637 * manual/startup.texi: Document that getauxval sets errno.
23639 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23641 * math/auto-libm-test-in: Add tests of jn and yn.
23642 * math/auto-libm-test-out: Regenerated.
23643 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23644 (yn_test_data): Likewise.
23645 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23647 (func_calc_desc): Add mpfr_if_f union field.
23648 (FUNC_mpfr_if_f): New macro.
23649 (test_functions): Add jn and yn.
23650 (calc_generic_results): Assert type of second input for
23651 mpfr_ff_f. Handle mpfr_if_f.
23652 (output_for_one_input_case): Disable all checking for arguments
23653 fitting floating-point types in case of an integer argument.
23654 * sysdeps/i386/fpu/libm-test-ulps: Update.
23655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23658 Don't expect fegetround reference in libm.so.
23660 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23662 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23663 $(config-cflags-nofma).
23665 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23667 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23668 * math/auto-libm-test-out: Regenerated.
23671 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23672 to determine exponent and adjust argument to have exponent of -1.
23673 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23675 * math/auto-libm-test-out: Regenerated.
23676 * sysdeps/i386/fpu/libm-test-ulps: Update.
23677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23679 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23681 * manual/probes.texi: Remove cases when per-thread arenas are
23684 2013-12-18 Andreas Schwab <schwab@suse.de>
23686 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23687 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23688 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23689 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23690 * sysdeps/i386/i686/multiarch/Makefile: Update.
23691 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23693 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23695 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23696 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23698 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23701 Support TZ transition times < 00:00:00.
23702 This is needed for version-3 tz-format files; it supports time
23703 stamps past 2037 for America/Godthab (the only entry in the tz
23704 database for which this change is relevant).
23705 * manual/time.texi (TZ Variable): Document transition times
23706 from -167:59:59 through -00:00:01.
23707 * time/tzset.c (tz_rule): Time of day is now signed.
23708 (__tzset_parse_tz): Parse negative time of day.
23710 Document TZ transition times >= 25:00:00.
23711 * manual/time.texi (TZ Variable): Document transition times from
23712 25:00:00 through 167:59:59. These are already supported, and this
23713 support will help with version-3 tz-format files.
23715 * manual/time.texi (TZ Variable): Modernize North America example
23716 to reflect current (i.e., 2007-and-later) daylight saving rules.
23718 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23720 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23722 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23723 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23726 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23727 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23728 * sysdeps/unix/bsd/clock.c: Likewise.
23729 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23730 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23731 * sysdeps/unix/bsd/init-posix.c: Likewise.
23732 * sysdeps/unix/bsd/poll.c: Likewise.
23733 * sysdeps/unix/bsd/ptsname.c: Likewise.
23734 * sysdeps/unix/bsd/seekdir.c: Likewise.
23735 * sysdeps/unix/bsd/setegid.c: Likewise.
23736 * sysdeps/unix/bsd/seteuid.c: Likewise.
23737 * sysdeps/unix/bsd/setgid.c: Likewise.
23738 * sysdeps/unix/bsd/setrgid.c: Likewise.
23739 * sysdeps/unix/bsd/setruid.c: Likewise.
23740 * sysdeps/unix/bsd/setsid.c: Likewise.
23741 * sysdeps/unix/bsd/setuid.c: Likewise.
23742 * sysdeps/unix/bsd/sigaction.c: Likewise.
23743 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23744 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23745 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23746 * sysdeps/unix/bsd/telldir.c: Likewise.
23747 * sysdeps/unix/bsd/times.c: Likewise.
23748 * sysdeps/unix/bsd/usleep.c: Likewise.
23750 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23751 ($(objpfx)libbsd-compat.a): Remove rule.
23753 * include/features.h (__FAVOR_BSD): Do not define.
23754 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23755 features conflicting with POSIX.
23756 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23757 (_BSD_SOURCE): Remove description of not being a subset of other
23758 feature test macros.
23759 * manual/job.texi (getpgrp): Do not document BSD version.
23760 (getpgid): Do not document by reference to BSD getpgrp.
23761 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23762 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23763 * signal/signal.h [__FAVOR_BSD]: Likewise.
23764 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23765 instead of making contents conditional on [__FAVOR_BSD].
23766 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23768 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23772 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23775 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23776 values below 2**-450, not 2**-500.
23777 * math/auto-libm-test-in: Don't allow spurious underflow from
23779 * math/auto-libm-test-out: Regenerated.
23783 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23784 values of ha and hb and sort them after adjusting subnormal
23786 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23788 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23789 values of ea and eb and sort them after adjusting subnormal
23791 * math/auto-libm-test-in: Do not expect some hypot tests of
23792 subnormals to fail. Add more hypot tests.
23793 * math/auto-libm-test-out: Regenerated.
23795 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23798 * sysdeps/sh/s_fma.c: New file.
23799 * sysdeps/sh/s_fmaf.c: New file.
23800 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23802 * sysdeps/sh/Implies: Add sh/soft-fp.
23804 2013-12-16 Roland McGrath <roland@hack.frob.com>
23806 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23807 level of indirection to members `objname', `errstring', `malloced'.
23808 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23809 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23810 it as the __longjmp argument (just pass 1 instead).
23811 (_dl_catch_error): Initialize C with argument pointers and address of
23812 volatile local ERRCODE rather than copying values out of C at return.
23814 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23816 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23817 * math/auto-libm-test-out: Regenerated.
23818 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23819 (hypot_test_data): Likewise.
23820 (pow_test_data): Likewise.
23821 (pow_tonearest_test_data): Likewise.
23822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23824 (func_calc_desc): Add mpfr_ff_f union field.
23825 (FUNC_mpfr_ff_f): New macro.
23826 (test_functions): Add atan2, hypot and pow.
23827 (special_fill_min): New function.
23828 (special_fill_minus_min): Likewise.
23829 (special_fill_min_subnorm): Likewise.
23830 (special_fill_minus_min_subnorm): Likewise.
23831 (special_real_inputs): Add min, -min, min_subnorm and
23833 (calc_generic_results): Handle mpfr_ff_f.
23834 * sysdeps/i386/fpu/libm-test-ulps: Update.
23835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23837 2013-12-16 Will Newton <will.newton@linaro.org>
23839 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23840 (Aligned Memory Blocks): Add documentation for aligned_alloc
23841 and suggest it as an alternative to posix_memalign.
23842 (Hooks for Malloc): Document __memalign_hook is also called
23843 for aligned_alloc. (Summary of Malloc): Add summary for
23844 aligned alloc. Document __memalign_hook is also called
23847 2013-12-16 Will Newton <will.newton@linaro.org>
23849 * manual/memory.texi (Malloc Examples): Clarify default
23850 alignment documentation. Suggest posix_memalign rather
23851 than memalign or valloc.
23852 (Aligned Memory Blocks): Remove suggestion to use memalign
23853 or valloc. Remove obsolete comment about BSD.
23854 Document memalign errno values and mark the function obsolete.
23855 Document posix_memalign returned error codes. Mark valloc
23856 as obsolete. (Hooks for Malloc): __memalign_hook is also
23857 called for posix_memalign and valloc.
23858 (Summary of Malloc): Add posix_memalign to function summary.
23859 __memalign_hook is also called for posix_memalign and valloc.
23861 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23863 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23867 (sloww): Use mynumber union. Expand ternary operator into
23868 if-else statements.
23869 (cslow): use mynumber union.
23871 2013-12-16 Allan McRae <allan@archlinux.org>
23873 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23874 * configure: Regenerated.
23876 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23879 * configure.ac: Added --enable-maintainer-mode. Check for
23880 autoconf when enabled.
23881 * configure: Regenerated.
23883 * nscd/nscd.service: New file.
23884 * nscd/nscd.tmpfiles: New file.
23886 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23889 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23890 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23891 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23892 (strstr): Add __strstr_sse2_unaligned ifunc.
23893 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23894 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23895 (strcasestr): Remove __strcasestr_sse42 ifunc.
23896 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23897 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23900 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23902 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23903 * sysdeps/sh/bits/fenv.h: ... here.
23904 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23906 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23908 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23911 hypotf multiarch implementations.
23912 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23915 multiarch hypot for PPC64.
23916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23917 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23918 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23919 multiarch hypotf for PPC64.
23921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23922 modff multiarch implementations.
23923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23926 multiarch modf for PPC64.
23927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23930 multiarch modff for PPC64.
23932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23933 and logl multiarch implementations.
23934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23937 multiarch logb for PPC64.
23938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23941 multiarch logb for PPC64.
23942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23945 multiarch logb for PPC64.
23947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23948 isinff multiarch implementation.
23949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23953 multiarch isinf for PPC64.
23954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23957 multiarch isinff for PPC64.
23959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23960 finitef multiarch implementation.
23961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23965 multiarch finite for PPC64.
23966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23969 multiarch finitef for PPC64.
23971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23972 lrint multiarch implementation.
23973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23977 multiarch llrint for PPC64.
23978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23979 multiarch lrint for PPC64.
23981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23982 copysignf multiarch implementation.
23983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23988 multiarch copysign for PPC64.
23989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23990 multiarch copysignf for PPC64.
23992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23993 multiarch implementation.
23994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24002 multiarch llround for PPC64.
24003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24004 multiarch trunc for PPC64.
24005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24006 multiarch truncf for PPC64.
24008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24009 multiarch implementation.
24010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24018 multiarch llround for PPC64.
24019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24020 multiarch round for PPC64.
24021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24022 multiarch roundf for PPC64.
24024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24025 multiarch implementation.
24026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24034 multiarch llround for PPC64.
24035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24036 multiarch floor for PPC64.
24037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24038 multiarch floorf for PPC64.
24040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24041 multiarch implementation.
24042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24050 multiarch llround for PPC64.
24051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24052 multiarch ceil for PPC64.
24053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24054 multiarch ceilf for PPC64.
24056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24057 multiarch implementation.
24058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24065 multiarch llround for PPC64.
24066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24067 multiarch lround for PPC64.
24069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24070 multiarch implementation.
24071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24078 multiarch isnan for PPC64.
24079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24080 multiarch isnanf for PPC64.
24082 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24083 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24084 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24085 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24086 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24089 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24090 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24092 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24095 multiarch implementations.
24096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24097 (__libc_ifunc_impl_list): Likewise.
24098 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24099 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24100 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24101 multiarch stpcpy for PPC64.
24103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24104 multiarch implementations.
24105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24106 (__libc_ifunc_impl_list): Likewise.
24107 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24108 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24109 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24110 multiarch strcpy for PPC64.
24112 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24113 redefine function name.
24114 (_wordcopy_fwd_dest_aligned): Likewise.
24115 (_wordcopy_bwd_aligned): Likewise.
24116 (_wordcopy_bwd_dest_aligned): Likewise.
24117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24118 multiarch implementations.
24119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24120 (__libc_ifunc_impl_list): Likewise.
24121 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24122 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24123 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24124 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24125 multiarch wcscpy for PPC64.
24127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24128 multiarch implementations.
24129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24130 (__libc_ifunc_impl_list): Likewise.
24131 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24132 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24133 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24134 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24135 multiarch wcscpy for PPC64.
24137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24138 multiarch implementations.
24139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24140 (__libc_ifunc_impl_list): Likewise.
24141 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24142 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24143 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24144 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24145 multiarch wcsrchr for PPC64.
24147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24148 multiarch implementations.
24149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24150 (__libc_ifunc_impl_list): Likewise.
24151 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24152 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24153 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24154 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24155 multiarch wcschr for PPC64.
24157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24158 multiarch implementations.
24159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24160 (__libc_ifunc_impl_list): Likewise.
24161 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24162 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24163 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24164 multiarch strchrnul for PPC64.
24166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24169 (__libc_ifunc_impl_list): Likewise.
24170 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24171 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24172 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24173 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24179 (__libc_ifunc_impl_list): Likewise.
24180 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24181 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24182 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24183 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24187 multiarch implementations.
24188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24189 (__libc_ifunc_impl_list): Likewise.
24190 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24191 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24192 strncasecmp for PPC64.
24193 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24194 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24195 multiarch strncasecmp_l for PPC64.
24197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24198 multiarch implementations.
24199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24200 (__libc_ifunc_impl_list): Likewise.
24201 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24203 multiarch strcasecmp for PPC64.
24204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24206 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24207 multiarch strcasecmp_l for PPC64.
24209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24212 (__libc_ifunc_impl_list): Likewise.
24213 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24214 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24215 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24221 (__libc_ifunc_impl_list): Likewise.
24222 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24223 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24224 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24230 (__libc_ifunc_impl_list): Likewise.
24231 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24232 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24233 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24234 rawmemrchr for PPC64.
24236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24239 (__libc_ifunc_impl_list): Likewise.
24240 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24241 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24242 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24248 (__libc_ifunc_impl_list): Likewise.
24249 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24250 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24251 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24257 (__libc_ifunc_impl_list): Likewise.
24258 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24259 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24260 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24263 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24264 avoid cretion of __bzero symbol.
24265 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24267 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24269 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24272 multiarch implementations.
24273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24274 (__libc_ifunc_impl_list): Likewise.
24275 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24276 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24277 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24278 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24280 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24281 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24282 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24283 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24284 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24286 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24288 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24292 (__libc_ifunc_impl_list): Likewise.
24293 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24294 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24295 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24296 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24300 multiarch for POWER/PPC64.
24301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24302 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24304 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24305 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24306 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24307 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24309 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24312 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24313 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24314 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24315 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24316 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24317 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24318 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24319 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24320 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24321 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24322 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24323 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24324 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24325 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24326 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24335 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24337 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24339 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24341 * benchtests/Makefile (bench): Add exp2 and log2.
24342 (LDLIBS-bench-exp2): Add -lm.
24343 (LDLIBS-bench-log2): Likewise.
24344 * benchtests/exp2-inputs: New inputs file.
24345 * benchtests/log2-inputs: New inputs file.
24346 * benchtests/log-inputs: Add new inputs.
24347 * benchtests/tan-inputs: Likewise.
24349 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24351 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24353 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24354 (csloww2): ... from here.
24356 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24357 instead of structures.
24358 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24359 (POLYNOMIAL): Likewise.
24360 (TAYLOR_SLOW): Likewise.
24366 (sloww1); Likewise.
24367 (sloww2): Likewise.
24368 (bsloww1): Likewise.
24369 (bsloww2): Likewise.
24370 (cslow2): Likewise.
24371 (csloww): Likewise.
24372 (csloww1): Likewise.
24373 (csloww2): Likewise.
24375 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24377 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24378 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24379 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24380 * malloc/hooks.c (realloc_check): Likewise.
24382 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24383 * malloc/arena.c: Remove PER_THREAD conditional.
24384 [!PER_THREAD]: Remove code.
24385 (ptmalloc_unlock_all2): Likewise.
24386 (ptmalloc_init): Likewise.
24387 (_int_new_arena): Likewise.
24388 (arena_get2): Likewise.
24389 * malloc/hooks.c (__malloc_get_state): Likewise.
24390 (__malloc_set_state): Likewise.
24391 * malloc/malloc.c: Likewise.
24392 (struct malloc_state): Likewise.
24393 (struct malloc_par): Likewise.
24394 (__libc_realloc): Likewise.
24395 (__libc_mallopt): Likewise.
24397 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24399 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24401 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24403 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24404 macro to a function. Check for zero perturb_byte.
24405 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24407 * malloc/malloc.c: (force_reg): Remove.
24408 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24409 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24410 force_reg by atomic_forced_read.
24411 * malloc/arena.c (ptmalloc_init): Likewise.
24412 * malloc/hooks.c (top_check): Likewise.
24414 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24418 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24422 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24424 * math/auto-libm-test-in: Add tests of lgamma.
24425 * math/auto-libm-test-out: Regenerated.
24426 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24427 (M_LOG_2_SQRT_PIl): Likewise.
24428 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24429 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24431 (func_calc_desc): Add mpfr_f_f1 union field.
24432 (ARGS1): New macro.
24440 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24441 (test_functions): Add lgamma.
24442 (calc_generic_results): Handle mpfr_f_f1.
24443 * sysdeps/i386/fpu/libm-test-ulps: Update.
24444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24446 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24448 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24449 __mpn_add_n for PowerPC64/POWER7.
24450 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24451 __mpn_sub_n for PowerPC64/POWER7.
24453 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24454 __mpn_addmul_1 for PowerPC64.
24455 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24456 __mpn_submul_1 for PowerPC64.
24457 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24459 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24462 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24465 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24467 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24469 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24471 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24472 add multiarch folders.
24473 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24474 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24475 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24476 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24477 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24478 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24479 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24480 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24481 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24482 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24483 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24492 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24498 multiarch __ieee754_hypot for PowerPC32.
24499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24504 multiarch __ieee754_hypotf for PowerPC32.
24506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24507 long_double_symbol only if __logbl is defined.
24508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24509 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24511 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24513 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24515 path for implementation.
24516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24517 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24519 logb, and logbl multiarch implementations for PowerPC32.
24520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24525 multiarch logb for PowerPC32.
24526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24531 multiarch logbf for PowerPC32.
24532 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24536 multiarch logbl implementation for PowerPC32.
24538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24539 and modff multiarch implementations.
24540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24545 multiarch modf for PowerPC32.
24546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24551 multiarch modff for PowerPC32.
24553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24554 and lrintf multiarch implementations.
24555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24560 multiarch lrint for PowerPC32.
24561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24562 file: multiarch lrintf for PowerPC32.
24564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24565 and lroundf multiarch implementations.
24566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24573 multiarch lround for PowerPC32.
24574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24575 file: multiarch lroundf for PowerPC32.
24577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24578 copysign and copysignf multiarch implementations.
24579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24584 file: multiarch copysign for PowerPC32.
24585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24586 file: multiarch copysignf for PowerPC32.
24588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24589 and truncf multiarch implementations.
24590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24595 multiarch trunc for PowerPC32.
24596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24601 multiarch truncf for PowerPC32.
24603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24604 and roundf multiarch implementations.
24605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24610 multiarch round for PowerPC32.
24611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24616 multiarch roundf for PowerPC32.
24618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24619 and floorf multiarch implementations.
24620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24625 multiarch floor for PowerPC32.
24626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24631 multiarch floorf for PowerPC32.
24633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24634 and ceilf multiarch implementations.
24635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24640 multiarch ceil for PowerPC32.
24641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24646 multiarch ceilf for PowerPC32.
24648 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24650 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24651 FINITEF is defined.
24652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24653 and finitef multiarch implementations.
24654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24659 multiarch finite for PowerPC32.
24660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24663 file: multiarch finitef for PowerPC32.
24665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24666 and isinff multiarch implementations.
24667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24672 multiarch isinf for PowerPC32.
24673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24676 multiarch isinff for PowerPC32.
24678 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24679 alias when __isnan is defined.
24680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24681 and isnanf multiarch implementations.
24682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24691 multiarch isnan for PowerPC32.
24692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24697 multiarch isnanf for PowerPC32.
24699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24700 and sqrtf multiarch implementations.
24701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24706 multiarch sqrt for PowerPC32.
24707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24712 multiarch sqrtf for PowerPC32.
24714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24715 and llroundf multiarch implementations.
24716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24723 file: multiarch llround for PowerPC32.
24724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24725 file: multiarch llroundf for PowerPC32.
24727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24728 multiarch PowerPC32 fpu implementations.
24729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24734 multiarch llrint for PowerPC32.
24735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24744 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24746 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24748 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24750 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24751 multiarch wordcopy for PPC32.
24752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24755 (__libc_ifunc_impl_list): Likewise.
24756 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24757 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24758 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24759 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24760 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24761 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24763 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24771 multiarch wcscpy for PPC32.
24772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24775 (__libc_ifunc_impl_list): Likewise.
24776 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24777 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24778 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24779 sysdeps/powerpc/power6/wcscpy.c.
24781 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24789 multiarch wcsrchr for PPC32.
24790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24793 (__libc_ifunc_impl_list): Likewise.
24794 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24795 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24796 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24797 sysdeps/powerpc/power6/wcsrchr.c.
24799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24805 multiarch wcschr for PPc32.
24806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24809 (__libc_ifunc_impl_list): Likewise.
24810 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24811 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24812 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24813 sysdeps/powerpc/power6/wcschr.c.
24815 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24816 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24818 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24819 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24820 file: multiarch strchr for PPC32.
24821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24824 (__libc_ifunc_impl_list): Likewise.
24826 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24828 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24830 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24832 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24833 multiarch strchrnul for PPC32.
24834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24837 (__libc_ifunc_impl_list): Likewise.
24839 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24841 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24842 multiarch strncasecmp for PPC32.
24843 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24846 multiarch strncasecmp_l for PPC32.
24847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24848 strncasecmp multiarch objects.
24849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24850 (__libc_ifunc_impl_list): Likewise.
24852 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24854 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24855 multiarch strncasecmp for PPC32.
24856 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24858 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24859 multiarch strcasecmp_l for PPC32.
24860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24863 (__libc_ifunc_impl_list): Likewise.
24865 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24867 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24870 multiarch strncmp for PPC32.
24871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24874 (__libc_ifunc_impl_list): Likewise.
24876 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24877 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24879 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24880 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24884 (__libc_ifunc_impl_list): Likewise.
24886 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24888 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24890 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24894 (__libc_ifunc_impl_list): Likewise.
24896 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24898 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24900 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24901 multiarch rawmemchr for PPC32.
24902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24905 (__libc_ifunc_impl_list): Likewise.
24907 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24909 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24911 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24912 file: memrchr multiarch for PPC32.
24913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24916 (__libc_ifunc_impl_list): Likewise.
24918 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24919 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24921 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24922 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24923 multiarch memchr for PPC32.
24924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24927 (__libc_ifunc_impl_list): Likewise.
24929 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24930 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24932 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24934 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24935 file: multiarch mempcpy for PPC32.
24936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24939 (__libc_ifunc_impl_list): Likewise.
24941 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24942 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24943 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24944 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24945 multiarch bzero for PPC32.
24946 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24948 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24950 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24951 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24952 file: multiarch memset for PPC32.
24953 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24955 memset multiarch objects.
24956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24957 (__libc_ifunc_impl_list): Likewise.
24959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24962 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24964 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24968 (__libc_ifunc_impl_list): Likewise.
24970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24979 multiarch memcpy for PPC32.
24980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24983 (__libc_ifunc_impl_list): Likewise.
24985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24986 support multiarch for POWER/PPC32.
24987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24989 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24991 Implies file to make multiarch folder appers before the fpu and
24992 default folder for power4 configuration.
24994 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24996 * scripts/bench.pl: Append volatile keyword to type.
24998 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25000 * sysdeps/sh/sotruss-lib.c: New file.
25001 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25003 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25007 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25010 * math/w_tgamma.c: Include <errno.h>.
25011 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25012 * math/w_tgammaf.c: Include <errno.h>.
25013 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25014 * math/w_tgammal.c: Include <errno.h>.
25015 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25016 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25017 underflow. Add more tgamma tests.
25018 * math/auto-libm-test-out: Regenerated.
25019 * sysdeps/i386/fpu/libm-test-ulps: Update.
25020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25022 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25023 sin, sinh, tan, tanh, tgamma, y0 and y1.
25024 * math/auto-libm-test-out: Regenerated.
25025 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25026 (TEST_COND_x86): Likewise.
25027 (M_E2l): Remove macro.
25029 (M_2_SQRT_PIl): Likewise.
25030 (M_SQRT_PIl): Likewise.
25031 (M_1_DIV_El): Likewise.
25032 (log_test_data): Use AUTO_TESTS_f_f.
25033 (log10_test_data): Likewise.
25034 (log1p_test_data): Likewise.
25035 (log2_test_data): Likewise.
25036 (sin_test_data): Likewise.
25037 (sin_tonearest_test_data): Likewise.
25038 (sin_towardzero_test_data): Likewise.
25039 (sin_downward_test_data): Likewise.
25040 (sin_upward_test_data): Likewise.
25041 (sinh_test_data): Likewise.
25042 (sinh_tonearest_test_data): Likewise.
25043 (sinh_towardzero_test_data): Likewise.
25044 (sinh_downward_test_data): Likewise.
25045 (sinh_upward_test_data): Likewise.
25046 (tan_test_data): Likewise.
25047 (tan_tonearest_test_data): Likewise.
25048 (tan_towardzero_test_data): Likewise.
25049 (tan_downward_test_data): Likewise.
25050 (tan_upward_test_data): Likewise.
25051 (tanh_test_data): Likewise.
25052 (tgamma_test_data): Likewise.
25053 (y0_test_data): Likewise.
25054 (y1_test_data): Likewise.
25055 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25056 (special_real_inputs): Add pi/4.
25057 * sysdeps/i386/fpu/libm-test-ulps: Update.
25058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25060 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25062 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25063 "longjmp_target" static probes.
25064 (__longjmp): Rename to __longjmp_symbol.
25065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25066 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25067 on which longjmp to generate.
25068 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25069 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25071 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25072 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25073 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25074 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25075 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25076 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25078 __longjmp_symbol based on which __longjmp to generate.
25079 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25081 (setjmp): Rename to setjmp_symbol.
25082 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25083 (_setjmp): Rename to _setjmp_symbol.
25084 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25085 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25086 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25087 which setjmp to generate.
25088 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25089 "longjmp_target" static probes.
25091 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25093 * benchtests/README: Add note about output arguments.
25094 * benchtests/bench-sincos.c: Remove file.
25095 * benchtests/sincos-inputs: New file.
25096 * scripts/bench.pl: Identify output arguments and define
25097 static variables for them.
25099 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25102 * Makefile (INSTALL): Add install-plain.texi as the primary
25104 * manual/install-plain.texi: New file.
25105 * manual/install.texi: Include node directive only for
25106 non-plaintext output.
25108 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25110 * stdlib/longlong.h: Update from GCC.
25114 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25115 * math/w_j0f.c (y0f): Likewise.
25116 * math/w_j0l.c (__y0l): Likewise.
25117 * math/w_j1.c (y1): Likewise.
25118 * math/w_j1f.c (y1f): Likewise.
25119 * math/w_j1l.c (__y1l): Likewise
25120 * math/w_jn.c (yn): Likewise.
25121 * math/w_jnf.c (ynf): Likewise.
25122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25123 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25124 value for Bessel function domain errors outside _SVID_ mode.
25125 Adjust sign of return value for yn (negative integer, 0).
25126 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25127 by zero in return for negative x and set sign appropriately for
25129 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25130 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25131 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25132 expectations in error cases.
25133 (y1_test_data): Likewise.
25134 (yn_test_data): Likewise.
25135 * sysdeps/i386/fpu/libm-test-ulps: Update.
25136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25138 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25140 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25141 "64" to "64-v1". Add "64-v2".
25142 (abi-64-options): Rename to ...
25143 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25144 (abi-64-condition): Rename to ...
25145 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25146 (abi-64-ld-soname): Rename to ...
25147 (abi-64-v1-ld-soname): ... this.
25148 (abi-64-v2-options): Define.
25149 (abi-64-v2-condition): Likewise.
25150 (abi-64-v2-ld-soname): Likewise.
25151 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25152 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25157 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25158 Alan Modra <amodra@gmail.com>
25160 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25161 New versions for use with the ELFv2 ABI.
25162 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25163 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25165 (struct La_ppc64v2_retval): Likewise.
25166 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25167 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25168 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25169 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25170 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25172 Do not save or restore CR.
25173 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25174 (_dl_profile_resolve): Do no save or restore CR. Support extended
25175 return values for ELFv2 ABI. Fix location of FPR return registers.
25176 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25177 updated values for _CALL_ELF == 2.
25178 (La_regs, La_retval, int_retval): Likewise.
25180 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25182 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25183 (FRAME_MIN_SIZE_PARM): Likewise.
25184 (FRAME_BACKCHAIN): Likewise.
25185 (FRAME_CR_SAVE): Likewise.
25186 (FRAME_LR_SAVE): Likewise.
25187 (FRAME_TOC_SAVE): Likewise.
25188 (FRAME_PARM_SAVE): Likewise.
25189 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25190 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25191 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25192 (call_mcount_parm_offset): New macro.
25193 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25194 (PROF): Use symbolic stack frame offsets.
25195 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25196 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25197 Redefine in terms of FRAME_MIN_SIZE.
25198 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25199 (_dl_profile_resolve): Likewise. Update comment.
25200 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25201 symbols stack frame offsets.
25202 (__sigsetjmp): Likewise.
25203 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25204 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25206 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25209 (FRAME_BACKCHAIN): Remove.
25210 (FRAME_CR_SAVE): Likewise.
25211 (FRAME_LR_SAVE): Likewise.
25212 (FRAME_COMPILER_DW): Likewise.
25213 (FRAME_LINKER_DW): Likewise.
25214 (FRAME_TOC_SAVE): Likewise.
25215 (FRAME_PARM_SAVE): Likewise.
25216 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25217 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25218 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25220 (CHECK_SP): Use symbolic stack frame offsets.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25222 zone" instead of caller's parameter save area for temp storage.
25223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25224 Likewise. Also, use symbolic stack frame offsets.
25225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25226 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25227 our own stack frame instead of the caller's.
25228 (__socket): Use symbolic stack frame offsets.
25230 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25231 Alan Modra <amodra@gmail.com>
25233 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25235 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25236 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25237 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25239 (elf_machine_fixup_plt): Call it.
25240 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25242 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25243 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25244 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25245 r2 before calling target.
25247 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25248 Alan Modra <amodra@gmail.com>
25250 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25251 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25252 versions of macros to support ELFv2 ABI.
25253 (LOCALENTRY): New macro.
25254 (ENTRY, EALIGN): Use it.
25255 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25256 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25257 fall through into ENTRY entry point.
25258 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25259 Only define if _CALL_ELF != 2.
25261 (elf_machine_matches_host): Verify ABI version matches.
25262 (RTLD_START): Use LOCALENTRY.
25263 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25264 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25265 (PLT_ENTRY_WORDS): New macro.
25266 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25267 (elf_machine_runtime_setup): Support ELFv2 ABI.
25268 (elf_machine_fixup_plt): Likewise.
25269 (elf_machine_plt_conflict): Likewise.
25270 (resolve_ifunc): Likewise.
25271 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25272 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25275 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25277 (makecontext): Support ELFv2 ABI.
25278 * elf/elf.h (EF_PPC64_ABI): Define.
25280 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25282 * sysdeps/powerpc/powerpc64/sysdep.h
25283 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25284 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25285 (ENTRY) [ASSEMBLER]: ... but instead here ...
25286 (EALIGN) [ASSEMBLER]: ... and here.
25287 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25288 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25289 (ENTRY_2) [!ASSEMBLER]: Use it.
25290 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25291 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25293 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25294 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25296 Use PPC64_LOAD_FUNCPTR.
25298 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25300 2013-12-04 Alan Modra <amodra@gmail.com>
25302 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25303 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25304 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25305 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25308 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25309 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25310 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25311 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25312 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25314 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25317 (__makecontext): Fix incorrect CFI when backtracing out of
25318 context created via makecontext.
25319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25320 (__setcontext): Fix incorrect CFI during switch to new context.
25321 (__novec_setcontext): Likewise.
25323 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25326 * time/strptime_l.c (__strptime_internal): Allow modifiers
25328 * time/tst-strptime.c (day_tests): Add testcase.
25330 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25332 * scripts/bench.pl: Skip over blank lines.
25334 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25337 * manual/time.texi (Calendar Time): Clarify what timezone functions
25340 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25344 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25346 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25348 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25349 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25350 * debug/memset_chk.c (__memset_chk): Likewise.
25351 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25352 * debug/strncpy_chk.c: Likewise.
25354 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25358 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25359 (__ieee754_exp): For possibly underflowing results, check size of
25360 result and force underflow exception if required.
25361 * math/auto-libm-test-in: Add more tests of exp.
25362 * math/auto-libm-test-out: Regenerated.
25363 * sysdeps/i386/fpu/libm-test-ulps: Update.
25364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25367 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25368 * math/w_exp2f.c (__exp2f): Likewise.
25369 * math/w_exp2l.c (__exp2l): Likewise.
25370 * math/auto-libm-test-in: Do not allow missing errno on exp2
25372 * math/auto-libm-test-out: Regenerated.
25374 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25377 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25378 handle filename validation.
25379 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25382 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25385 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25386 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25387 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25389 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25390 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25391 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25393 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25395 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25396 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25397 Add more erfc tests.
25398 * math/auto-libm-test-out: Regenerated.
25399 * sysdeps/i386/fpu/libm-test-ulps: Update.
25400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25402 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25403 exp2, expm1, j0 and j1.
25404 * math/auto-libm-test-out: Regenerated.
25405 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25406 (erfc_test_data): Likewise.
25407 (exp_test_data): Likewise.
25408 (exp_tonearest_test_data): Likewise.
25409 (exp_towardzero_test_data): Likewise.
25410 (exp_downward_test_data): Likewise.
25411 (exp_upward_test_data): Likewise.
25412 (exp10_test_data): Likewise.
25413 (exp2_test_data): Likewise.
25414 (expm1_test_data): Likewise.
25415 (j0_test_data): Likewise.
25416 (j1_test_data): Likewise.
25417 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25418 (input_flag_type): Add flag_xfail_rounding.
25419 (input_flags): Add xfail-rounding.
25420 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25421 (output_for_one_input_case): Handle flag_xfail_rounding.
25422 * sysdeps/i386/fpu/libm-test-ulps: Update.
25423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25425 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25428 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25431 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25434 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25435 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25436 (STAP_PROBE0): New macro.
25437 (STAP_PROBE1): Likewise.
25438 (STAP_PROBE2): Likewise.
25439 (STAP_PROBE3): Likewise.
25440 (STAP_PROBE4): Likewise.
25442 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25444 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25446 2013-12-02 Steve Ellcey <sellcey@mips.com>
25448 * benchtests/Makefile (bench): Add sqrt.
25449 (LDLIBS-bench-sqrt): New.
25450 * benchtests/sqrt-input: New.
25452 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25454 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25455 (GAIH_EAI): Likewise.
25456 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25457 (gaih_inet): Likewise.
25458 (getaddrinfo): Don't use GAIH_EAI.
25460 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25461 (struct gaih): Remove definition.
25463 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25465 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25466 Use HERRNOP directly.
25468 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25472 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25474 * math/gen-auto-libm-tests.c (test_functions): Add more
25475 single-argument functions.
25476 (special_fill_pi_2): New function.
25477 (special_fill_minus_pi_2): Likewise.
25478 (special_fill_pi_6): Likewise.
25479 (special_fill_minus_pi_6): Likewise.
25480 (special_fill_pi_3): Likewise.
25481 (special_fill_2pi_3): Likewise.
25482 (special_fill_e): Likewise.
25483 (special_fill_1_e): Likewise.
25484 (special_fill_e_minus_1): Likewise.
25485 (special_real_inputs): Add more special inputs.
25486 (output_for_one_input_case): Do not require ERANGE on underflow to
25487 zero if round-to-nearest result does not underflow to zero, unless
25488 exact results required.
25489 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25490 atan, atanh, cbrt, cos and cosh.
25491 * math/auto-libm-test-out: Regenerated.
25492 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25493 (acos_tonearest_test_data): Likewise.
25494 (acos_towardzero_test_data): Likewise.
25495 (acos_downward_test_data): Likewise.
25496 (acos_upward_test_data): Likewise.
25497 (acosh_test_data): Likewise.
25498 (asin_test_data): Likewise.
25499 (asin_tonearest_test_data): Likewise.
25500 (asin_towardzero_test_data): Likewise.
25501 (asin_upward_test_data): Likewise.
25502 (asinh_test_data): Likewise.
25503 (atan_test_data): Likewise.
25504 (atanh_test_data): Likewise.
25505 (cbrt_test_data): Likewise.
25506 (cos_test_data): Likewise.
25507 (cos_tonearest_test_data): Likewise.
25508 (cos_towardzero_test_data): Likewise.
25509 (cos_downward_test_data): Likewise.
25510 (cos_upward_test_data): Likewise.
25511 (cosh_test_data): Likewise.
25512 (cosh_tonearest_test_data): Likewise.
25513 (cosh_towardzero_test_data): Likewise.
25514 (cosh_downward_test_data): Likewise.
25515 (cosh_upward_test_data): Likewise.
25516 * sysdeps/i386/fpu/libm-test-ulps: Update.
25517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25522 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25523 * math/w_exp10f.c (__exp10f): Likewise.
25524 * math/w_exp10l.c (__exp10l): Likewise.
25525 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25526 errno settings in existing tests.
25529 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25530 precision control set to double precision.
25531 * sysdeps/i386/fpu/w_sqrt.c: New file.
25532 * math/auto-libm-test-in: Add more tests.
25533 * math/auto-libm-test-out: Update.
25535 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25536 (sqrt_test_tonearest): New function.
25537 (sqrt_towardzero_test_data): New variable.
25538 (sqrt_test_towardzero): New function.
25539 (sqrt_downward_test_data): New variable.
25540 (sqrt_test_downward): New function.
25541 (sqrt_upward_test_data): New variable.
25542 (sqrt_test_upward): New function.
25543 (main): Call the new functions.
25545 * math/gen-auto-libm-tests.c: New file.
25546 * math/auto-libm-test-in: Likewise.
25547 * math/auto-libm-test-out: New generated file.
25548 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25550 (%beautify): Add generated representations of zero.
25551 (top level): Set $auto_input and call parse_auto_input.
25552 (beautify): Remove trailing "f" from hex float constants.
25553 (parse_args): Handle XFAIL_TEST.
25554 (convert_condition): New function.
25555 (or_value): Likewise.
25556 (or_cond_value): Likewise.
25557 (generate_testfile): Handle AUTO_TESTS_* lines.
25558 (parse_auto_input): New function.
25559 * math/libm-test.inc (XFAIL_TEST): New macro.
25560 (ERRNO_UNCHANGED): Update value.
25561 (ERRNO_EDOM): Likewise.
25562 (ERRNO_ERANGE): Likewise.
25563 (IGNORE_RESULT): Likewise.
25564 (TEST_COND_flt_32): New macro.
25565 (TEST_COND_dbl_64): Likewise.
25566 (TEST_COND_ldbl_96_intel): Likewise.
25567 (TEST_COND_ldbl_96_m68k): Likewise.
25568 (TEST_COND_ldbl_128): Likewise.
25569 (TEST_COND_ldbl_128ibm): Likewise.
25570 (TEST_COND_long32): Likewise.
25571 (TEST_COND_long64): Likewise.
25572 (TEST_COND_before_rounding): Likewise.
25573 (TEST_COND_after_rounding): Likewise.
25574 (enable_test): Handle XFAIL_TEST flag.
25575 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25576 with finite results.
25577 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25578 auto-libm-test-out.
25580 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25581 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25584 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25585 __tls_get_addr_internal instead of __tls_get_offset in order to
25586 avoid GOT pointer dependency. Make rtld export
25587 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25588 __tls_get_addr since we are a __tls_get_offset platform.
25589 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25590 GOT pointer being set up before.
25591 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25593 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25595 * manual/math.texi (Errors in Math Functions): Document accuracy
25599 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25600 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25616 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25617 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25618 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25619 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25620 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25622 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25624 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25626 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25627 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25628 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25629 atomic-feupdateenv and flt-rounds.
25630 * sysdeps/powerpc/nofpu/Versions (libc): Add
25631 __atomic_feholdexcept, __atomic_feclearexcept,
25632 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25633 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25634 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25635 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25636 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25641 * manual/arith.texi (FP Exceptions): Document that exceptions may
25642 not be raised when matherr is used.
25643 (Math Error Reporting): Document overflow in directed rounding
25644 modes. Document that errno may not be set when finite values are
25645 returned on overflow. Document intent to set errno on underflow
25646 only for underflow to zero.
25649 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25650 round-to-nearest then adjust result for other rounding modes.
25651 * include/fenv.h (fegetround): Use libm_hidden_proto.
25652 * math/fegetround.c (fegetround): Use libm_hidden_def.
25653 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25654 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25655 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25656 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25658 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25659 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25660 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25661 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25663 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25666 * nss/Versions (libnss_files): Add
25667 _nss_files_gethostbyname3_r.
25668 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25670 (HOST_DB_LOOKUP): Remove macro.
25671 (_nss_files_gethostbyname_r): Implement function without the
25672 HOST_DB_LOOKUP macro.
25673 (_nss_files_gethostbyname2_r): Likewise.
25675 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25677 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25679 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25681 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25682 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25685 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25687 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25688 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25689 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25690 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25691 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25692 __fe_nomask_env_priv and attribute_hidden.
25693 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25694 (libc_feupdateenv_test_ppc): Likewise.
25695 (libc_feresetround_ppc): Likewise.
25696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25697 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25698 compat_symbol macro.
25699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25700 (__fe_nomask_env): Likewise.
25701 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25703 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25705 * string/Makefile: Remove ifunc tests.
25706 * string/test-string.h: Define TEST_IFUNC.
25707 * string/test-bcopy-ifunc.c: Remove.
25708 * string/test-bzero-ifunc.c: Likewise.
25709 * string/test-memccpy-ifunc.c: Likewise.
25710 * string/test-memchr-ifunc.c: Likewise.
25711 * string/test-memcmp-ifunc.c: Likewise.
25712 * string/test-memcpy-ifunc.c: Likewise.
25713 * string/test-memmem-ifunc.c: Likewise.
25714 * string/test-memmove-ifunc.c: Likewise.
25715 * string/test-mempcpy-ifunc.c: Likewise.
25716 * string/test-memrchr-ifunc.c: Likewise.
25717 * string/test-memset-ifunc.c: Likewise.
25718 * string/test-rawmemchr-ifunc.c: Likewise.
25719 * string/test-stpcpy-ifunc.c: Likewise.
25720 * string/test-stpncpy-ifunc.c: Likewise.
25721 * string/test-strcasecmp-ifunc.c: Likewise.
25722 * string/test-strcasestr-ifunc.c: Likewise.
25723 * string/test-strcat-ifunc.c: Likewise.
25724 * string/test-strchr-ifunc.c: Likewise.
25725 * string/test-strchrnul-ifunc.c: Likewise.
25726 * string/test-strcmp-ifunc.c: Likewise.
25727 * string/test-strcpy-ifunc.c: Likewise.
25728 * string/test-strcspn-ifunc.c: Likewise.
25729 * string/test-strlen-ifunc.c: Likewise.
25730 * string/test-strncasecmp-ifunc.c: Likewise.
25731 * string/test-strncat-ifunc.c: Likewise.
25732 * string/test-strncmp-ifunc.c: Likewise.
25733 * string/test-strncpy-ifunc.c: Likewise.
25734 * string/test-strnlen-ifunc.c: Likewise.
25735 * string/test-strpbrk-ifunc.c: Likewise.
25736 * string/test-strrchr-ifunc.c: Likewise.
25737 * string/test-strspn-ifunc.c: Likewise.
25738 * string/test-strstr-ifunc.c: Likewise.
25740 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25742 * benchtests/Makefile: Remove ifunc tests.
25743 * benchtests/bench-string.h: Define TEST_IFUNC.
25744 * benchtests/bench-bcopy-ifunc.c: Remove.
25745 * benchtests/bench-bzero-ifunc.c: Likewise.
25746 * benchtests/bench-memccpy-ifunc.c: Likewise.
25747 * benchtests/bench-memchr-ifunc.c: Likewise.
25748 * benchtests/bench-memcmp-ifunc.c: Likewise.
25749 * benchtests/bench-memcpy-ifunc.c: Likewise.
25750 * benchtests/bench-memmem-ifunc.c: Likewise.
25751 * benchtests/bench-memmove-ifunc.c: Likewise.
25752 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25753 * benchtests/bench-memrchr-ifunc.c: Likewise.
25754 * benchtests/bench-memset-ifunc.c: Likewise.
25755 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25756 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25757 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25758 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25759 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25760 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25761 * benchtests/bench-strcat-ifunc.c: Likewise.
25762 * benchtests/bench-strchr-ifunc.c: Likewise.
25763 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25764 * benchtests/bench-strcmp-ifunc.c: Likewise.
25765 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25766 * benchtests/bench-strcpy-ifunc.c: Likewise.
25767 * benchtests/bench-strcspn-ifunc.c: Likewise.
25768 * benchtests/bench-strlen-ifunc.c: Likewise.
25769 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25770 * benchtests/bench-strncat-ifunc.c: Likewise.
25771 * benchtests/bench-strncmp-ifunc.c: Likewise.
25772 * benchtests/bench-strncpy-ifunc.c: Likewise.
25773 * benchtests/bench-strnlen-ifunc.c: Likewise.
25774 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25775 * benchtests/bench-strrchr-ifunc.c: Likewise.
25776 * benchtests/bench-strsep-ifunc.c: Likewise.
25777 * benchtests/bench-strspn-ifunc.c: Likewise.
25778 * benchtests/bench-strstr-ifunc.c: Likewise.
25780 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25782 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25784 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25786 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25787 * rt/aio.h: Likewise.
25788 * sysdeps/gnu/bits/utmp.h: Likewise.
25789 * sysdeps/gnu/bits/utmpx.h: Likewise.
25790 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25791 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25792 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25793 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25794 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25795 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25796 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25797 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25798 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25799 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25800 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25801 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25802 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25804 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25805 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25806 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25807 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25808 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25809 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25810 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25811 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25812 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25813 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25814 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25816 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25817 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25818 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25819 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25820 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25821 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25822 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25823 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25824 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25825 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25826 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25827 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25828 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25829 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25830 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25831 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25833 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25836 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25837 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25839 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25841 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25842 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25845 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25848 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25849 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25850 (__fesetround): Remove define.
25851 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25852 rounding and exceptions handling.
25853 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25854 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25855 (__fe_nomask_env): Likewise.
25856 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25857 __fegetround instead of fegetround.
25858 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25859 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25861 2013-11-21 Roland McGrath <roland@hack.frob.com>
25863 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25866 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25868 2013-11-21 Meador Inge <meadori@codesourcery.com>
25871 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25872 (encrypt_r): Likewise.
25873 * malloc/obstack.h (obstack_free): Likewise.
25874 * posix/unistd.h (encrypt): Likewise.
25876 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25878 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25879 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25880 DL_CALL_DT_FINI() that call the functions directly.
25881 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25882 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25883 * elf/dl-fini.c: Likewise.
25885 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25887 * malloc/hooks.c (memalign_check): Add alignment rounding.
25888 * malloc/malloc.c (_mid_memalign): New function.
25889 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25890 Implement by calling _mid_memalign.
25891 * manual/probes.texi (Memory Allocation Probes): Remove
25892 memory_valloc_retry and memory_pvalloc_retry.
25894 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25896 * locale/programs/locarchive.c (open_archive): Add const
25897 qualifier to ARCHIVEFNAME and copy default fname to
25901 * libio/tst-widetext.input: Rename Oriya to Odia.
25902 * locale/iso-639.def: Likewise.
25904 * manual/probes.texi (Mathematical Function Probes): Add
25905 documentation for sin, cos, asin and acos probes.
25906 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25907 (__sin32): Add slowasin probe.
25908 (__cos32): Add slowacos probe.
25909 (__mpsin): Add slowsin probe.
25910 (__mpcos): Add slowcos probe.
25912 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25915 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25916 thread-local __sim_exceptions_thread and global
25917 __sim_exceptions_global.
25918 (__sim_disabled_exceptions): Change to thread-local
25919 __sim_disabled_exceptions_thread and global
25920 __sim_disabled_exceptions_global.
25921 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25922 and global __sim_round_mode_global.
25923 (__simulate_exceptions): Use thread-local floating-point state and
25924 set global state from it as needed.
25925 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25926 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25927 __sim_round_mode_thread.
25928 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25929 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25930 and global __sim_exceptions_global.
25931 (__sim_disabled_exceptions): Change to thread-local
25932 __sim_disabled_exceptions_thread and global
25933 __sim_disabled_exceptions_global.
25934 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25935 and global __sim_round_mode_global.
25936 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25937 (SIM_SET_GLOBAL): Likewise.
25938 * sysdeps/powerpc/soft-fp/sfp-machine.h
25939 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25940 __sim_round_mode_thread.
25941 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25942 __sim_disabled_exceptions_thread.
25943 (__sim_exceptions): Change to __sim_exceptions_thread.
25944 (__sim_disabled_exceptions): Change to
25945 __sim_disabled_exceptions_thread.
25946 (__sim_round_mode): Change to __sim_round_mode_thread.
25947 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25948 thread-local floating-point state and set global state from it as
25950 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25951 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25952 (__sim_disabled_exceptions): Remove extern declaration.
25953 (feenableexcept): Use thread-local floating-point state and set
25954 global state from it as needed.
25955 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25956 extern declaration.
25957 (__sim_disabled_exceptions): Likewise.
25958 (__sim_round_mode): Likewise.
25959 (__fegetenv): Use thread-local floating-point state.
25960 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25961 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25962 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25963 floating-point state and set global state from it as needed.
25964 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25965 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25966 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25968 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25969 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25971 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25972 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25973 Use __sim_round_mode_thread.
25974 * math/test-fenv-tls.c: New file.
25975 * math/Makefile (tests): Add test-fenv-tls.
25976 ($(objpfx)test-fenv-tls): Depend on
25977 $(common-objpfx)nptl/libpthread.so.
25979 2013-11-19 Andreas Schwab <schwab@suse.de>
25981 * locale/programs/locale.c (show_info): Decode wordarray elements.
25982 * locale/categories.def (LC_MONETARY): Add element for
25983 _NL_MONETARY_CRNCYSTR.
25984 * locale/C-monetary.c (conversion_rate): New variable.
25985 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25988 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25990 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25991 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25993 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25995 * elf/Makefile (tst-auxv): New test.
25996 * elf/tst-auxv.c: New
25997 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25999 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26001 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26002 (hidden_proto): Caller changed.
26003 (hidden_tls_proto): New macro.
26004 (libc_hidden_tls_proto): Likewise.
26005 (rtld_hidden_tls_proto): Likewise.
26006 (libm_hidden_tls_proto): Likewise.
26007 (libresolv_hidden_tls_proto): Likewise.
26008 (librt_hidden_tls_proto): Likewise.
26009 (libdl_hidden_tls_proto): Likewise.
26010 (libnss_files_hidden_tls_proto): Likewise.
26011 (libnsl_hidden_tls_proto): Likewise.
26012 (libnss_nisplus_hidden_tls_proto): Likewise.
26013 (libutil_hidden_tls_proto): Likewise.
26015 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26018 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26019 (decompose_rpath): Defer expansion to fillin_rpath.
26020 (_dl_init_paths): Pass linkmap to fillin_rpath.
26022 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26024 * benchtests/Makefile: Add strsep.
26025 * benchtests/bench-strsep.c: New file: strsep benchtest.
26026 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26028 2013-11-18 Andreas Schwab <schwab@suse.de>
26030 * locale/programs/locale.c (show_info) [case byte]: Check for
26031 '\377' instead of '\177'.
26032 * locale/C-monetary.c (not_available): Always use "\377".
26033 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26034 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26035 detect unavailable sign_posn locale elements.
26036 * locale/localeconv.c (__localeconv): For grouping and
26037 mon_grouping handle "\177" and "\377" like no grouping.
26038 (INT_ELEM): New macro. Use it to set all numeric members.
26039 * locale/programs/ld-monetary.c (monetary_read)
26040 <tok_mon_grouping>: Normalize single -1 to the empty string.
26041 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26044 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26047 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26048 when we match (nil).
26049 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26051 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26053 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26054 (NO_TEST_INLINE): Update value.
26055 (ERRNO_UNCHANGED): Likewise.
26056 (ERRNO_EDOM): Likewise.
26057 (ERRNO_ERANGE): Likewise.
26058 (IGNORE_RESULT): Likewise.
26059 (check_float_internal): Check signs of NaN results if
26060 TEST_NAN_SIGN used.
26061 (check_complex): Pass TEST_NAN_SIGN flag through to second
26062 check_float_internal call.
26063 (copysign_test_data): Add tests with quiet NaNs as second
26064 argument. Use TEST_NAN_SIGN.
26065 (fabs_test_data): Add test of negative quiet NaN argument. Use
26067 (signbit_test_data): Add tests of quiet NaN argument.
26068 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26070 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26072 (parse_args): Handle function results specified as IGNORE.
26073 * math/libm-test.inc (IGNORE_RESULT): New macro.
26074 (check_float_internal): Do not check numerical result if flag
26076 (check_complex): Pass through IGNORE_RESULT to second
26077 check_float_internal call.
26078 (check_int): Do not check numerical result if flag IGNORE_RESULT
26080 (check_long): Likewise.
26081 (check_bool): Likewise.
26082 (check_longlong): Likewise.
26083 (lrint_test_data): Add tests of infinite and NaN arguments.
26084 (lrint_tonearest_test_data): Likewise.
26085 (lrint_towardzero_test_data): Likewise.
26086 (lrint_downward_test_data): Likewise.
26087 (lrint_upward_test_data): Likewise.
26088 (llrint_test_data): Likewise.
26089 (llrint_tonearest_test_data): Likewise.
26090 (llrint_towardzero_test_data): Likewise.
26091 (llrint_downward_test_data): Likewise.
26092 (llrint_upward_test_data): Likewise.
26093 (lround_test_data): Likewise.
26094 (llround_test_data): Likewise.
26096 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26097 (ERRNO_UNCHANGED): Update value.
26098 (ERRNO_EDOM): Likewise.
26099 (ERRNO_ERANGE): Likewise.
26100 (NO_TEST_INLINE_FLOAT): New macro.
26101 (NO_TEST_INLINE_DOUBLE): Likewise.
26102 (enable_test): New function.
26103 (RUN_TEST_f_f): Check enable_test before running test.
26104 (RUN_TEST_2_f): Likewise.
26105 (RUN_TEST_fff_f): Likewise.
26106 (RUN_TEST_c_f): Likewise.
26107 (RUN_TEST_f_f1): Likewise.
26108 (RUN_TEST_fF_f1): Likewise.
26109 (RUN_TEST_fI_f1): Likewise.
26110 (RUN_TEST_ffI_f1): Likewise.
26111 (RUN_TEST_c_c): Likewise.
26112 (RUN_TEST_cc_c): Likewise.
26113 (RUN_TEST_f_i): Likewise.
26114 (RUN_TEST_f_i_tg): Likewise.
26115 (RUN_TEST_ff_i_tg): Likewise.
26116 (RUN_TEST_f_b): Likewise.
26117 (RUN_TEST_f_b_tg): Likewise.
26118 (RUN_TEST_f_l): Likewise.
26119 (RUN_TEST_f_L): Likewise.
26120 (RUN_TEST_fFF_11): Likewise.
26121 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26123 (cosh_test_data): Likewise.
26124 (exp_test_data): Likewise.
26125 (expm1_test_data): Likewise.
26126 (hypot_test_data): Likewise.
26127 (pow_test_data): Likewise.
26128 (sinh_test_data): Likewise.
26129 (tanh_test_data): Likewise.
26130 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26133 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26134 tests with quiet NaN input and output.
26135 (acosh_test_data): Likewise.
26136 (asin_test_data): Likewise.
26137 (asinh_test_data): Likewise.
26138 (atan_test_data): Likewise.
26139 (atanh_test_data): Likewise.
26140 (atan2_test_data): Likewise.
26141 (cbrt_test_data): Likewise.
26142 (cos_test_data): Likewise.
26143 (cosh_test_data): Likewise.
26144 (erf_test_data): Likewise.
26145 (erfc_test_data): Likewise.
26146 (exp_test_data): Likewise.
26147 (exp10_test_data): Likewise.
26148 (exp2_test_data): Likewise.
26149 (expm1_test_data): Likewise.
26150 (hypot_test_data): Likewise.
26151 (j0_test_data): Likewise.
26152 (j1_test_data): Likewise.
26153 (jn_test_data): Likewise.
26154 (lgamma_test_data): Likewise.
26155 (log_test_data): Likewise.
26156 (log10_test_data): Likewise.
26157 (log1p_test_data): Likewise.
26158 (log2_test_data): Likewise.
26159 (pow_test_data): Likewise.
26160 (scalb_test_data): Likewise.
26161 (sin_test_data): Likewise.
26162 (sincos_test_data): Likewise.
26163 (sinh_test_data): Likewise.
26164 (tan_test_data): Likewise.
26165 (tanh_test_data): Likewise.
26166 (tgamma_test_data): Likewise.
26167 (y0_test_data): Likewise.
26168 (y1_test_data): Likewise.
26169 (yn_test_data): Likewise.
26172 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26173 argument being NaN and avoid computations with second argument in
26175 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26176 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26177 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26179 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26181 * locale/iso-639.def: Add Chitwani Tharu (the).
26183 2013-11-14 Andreas Schwab <schwab@suse.de>
26185 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26186 word instead of empty string.
26188 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26191 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26193 (__fe_nomask_env): Likewise.
26195 2013-11-13 Steve Ellcey <sellcey@mips.com>
26197 * benchtests/bench-timing.h: Include time.h.
26199 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26202 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26204 * sysdeps/unix/sysv/linux/configure: Regenerated.
26206 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26209 * stdlib/strtod_l.c (round_and_return): Do not consider
26210 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26211 exponent one less than half the least subnormal exponent.
26212 * stdlib/test-strtod-round-data: Add more tests.
26213 * stdlib/tst-strtod-round.c (tests): Regenerated.
26215 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26218 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26219 (__fe_mask_env): Likewise.
26220 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26221 libm_hidden_proto and add function prototype.
26222 (__fe_mask_env): Add function prototype.
26223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26224 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26226 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26228 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26230 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26232 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26233 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26235 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26237 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26238 of htab_find_slot().
26240 2013-11-11 David S. Miller <davem@davemloft.net>
26243 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26244 symbol in the non-vis3 case in static builds.
26245 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26246 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26247 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26248 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26250 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26253 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26256 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26258 * benchtests/Makefile: Add bench-strtod.
26259 * benchtests/bench-strtod.c: New file: strtod benchtest
26261 2013-11-11 Andreas Schwab <schwab@suse.de>
26264 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26265 terminating NUL in key length.
26267 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26269 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26270 Add artificial ODP entry for vDSO symbol for PPC64.
26271 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26272 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26274 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26277 * nss/getent.c (services_keys): Recognize services starting with digit.
26279 2013-11-06 David S. Miller <davem@davemloft.net>
26282 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26283 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26285 2013-11-06 Will Newton <will.newton@linaro.org>
26287 * manual/memory.texi (Malloc Examples): Remove register
26288 keyword from examples.
26290 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26292 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26294 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26297 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26298 depending on [__GCC_IEC_559 > 0].
26299 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26300 depending on [__GCC_IEC_559_COMPLEX > 0].
26302 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26304 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26307 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26309 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26311 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26314 * malloc/malloc (malloc_info): Do not handle first bin as
26317 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26319 * locale/iso-639.def: Add Central Nahuatl (nhn).
26321 2013-11-01 Bruno Haible <bruno@clisp.org>
26324 * manual/math.texi (BSD Random): Specify range upper bound as
26327 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26329 * locale/iso-639.def: Add Meadow Mari (mhr).
26331 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26333 [BZ #14752], [BZ #15763]
26334 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26336 * rt/tst_shm.c: Add test for escaping directory.
26338 2013-10-31 Andreas Schwab <schwab@suse.de>
26341 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26342 followed by 'x' as part of digit sequence.
26343 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26345 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26348 * configure.ac: allow GNU Make 4.0 and greater.
26349 * configure: Regenerated.
26351 2013-10-30 Will Newton <will.newton@linaro.org>
26354 * malloc/hooks.c (memalign_check): Limit alignment to the
26355 maximum representable power of two.
26356 * malloc/malloc.c (__libc_memalign): Likewise.
26357 * malloc/tst-memalign.c (do_test): Add test for very
26358 large alignment values.
26359 * malloc/tst-posix_memalign.c (do_test): Likewise.
26361 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26364 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26365 (munmap_chunk): Likewise.
26366 (mremap_chunk): Likewise.
26368 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26371 * stdlib/div.c (div): Remove obsolete code.
26372 * stdlib/ldiv.c (ldiv): Likewise.
26373 * stdlib/lldiv.c (lldiv): Likewise.
26375 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26378 * nss/nss_files/files-XXX.c (get_contents_ret): New
26380 (get_contents): New function.
26381 (internal_getent): Use it. Expand size of LINEBUFLEN.
26383 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26385 * configure.in: Moved to ...
26386 * configure.ac: ... here. Change reference to configure.in
26388 * sysdeps/arm/preconfigure.ac: ... here.
26389 configure.in to configure.ac.
26390 * sysdeps/gnu/configure.in: Moved to ...
26391 * sysdeps/gnu/configure.ac: ... here.
26392 * sysdeps/i386/configure.in: Moved to ...
26393 * sysdeps/i386/configure.ac: ... here.
26394 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26395 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26396 * sysdeps/mach/configure.in: Moved to ...
26397 * sysdeps/mach/configure.ac: ... here.
26398 * sysdeps/mach/hurd/configure.in: Moved to ...
26399 * sysdeps/mach/hurd/configure.ac: ... here.
26400 * sysdeps/powerpc/configure.in: Moved to ...
26401 * sysdeps/powerpc/configure.ac: ... here.
26402 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26403 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26404 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26405 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26406 * sysdeps/s390/s390-32/configure.in: Moved to ...
26407 * sysdeps/s390/s390-32/configure.ac: ... here.
26408 * sysdeps/s390/s390-64/configure.in: Moved to ...
26409 * sysdeps/s390/s390-64/configure.ac: ... here.
26410 * sysdeps/sh/configure.in: Moved to ...
26411 * sysdeps/sh/configure.ac: ... here.
26412 * sysdeps/sparc/configure.in: Moved to ...
26413 * sysdeps/sparc/configure.ac: ... here.
26414 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26415 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26416 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26417 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26418 * sysdeps/x86_64/configure.in: Moved to ...
26419 * sysdeps/x86_64/configure.ac: ... here.
26420 * sysdeps/x86_64/preconfigure.in: Moved to ...
26421 * sysdeps/x86_64/preconfigure.ac: ... here.
26422 * aclocal.m4: Change reference to configure.in to configure.ac.
26423 * config.h.in: Likewise.
26424 * manual/install.texi: Likewise.
26425 * manual/maint.texi: Likewise.
26426 * Makefile: Likewise.
26427 * malloc/Makefile: Likewise.
26428 * nscd/Makefile: Likewise.
26429 * Makeconfig: Change reference to configure.in and
26430 preconfigure.in to configure.ac and preconfigure.ac
26432 * INSTALL: Regenerated.
26433 * configure: Likewise.
26434 * sysdeps/gnu/configure: Likewise.
26435 * sysdeps/i386/configure: Likewise.
26436 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26437 * sysdeps/mach/configure: Likewise.
26438 * sysdeps/mach/hurd/configure: Likewise.
26439 * sysdeps/powerpc/configure: Likewise.
26440 * sysdeps/powerpc/powerpc32/configure: Likewise.
26441 * sysdeps/powerpc/powerpc64/configure: Likewise.
26442 * sysdeps/s390/s390-32/configure: Likewise.
26443 * sysdeps/s390/s390-64/configure: Likewise.
26444 * sysdeps/sh/configure: Likewise.
26445 * sysdeps/sparc/configure: Likewise.
26446 * sysdeps/unix/sysv/linux/configure: Likewise.
26447 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26448 * sysdeps/x86_64/configure: Likewise.
26449 * sysdeps/x86_64/preconfigure: Likewise.
26451 2013-10-29 Andreas Schwab <schwab@suse.de>
26453 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26455 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26457 * benchtests/pow-inputs: Add new inputs.
26459 * benchtests/exp-inputs: Add new inputs.
26461 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26462 conditional check for return value.
26463 (__cos32): Likewise.
26465 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26467 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26468 to provide a boost for large inputs with word alignment.
26469 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26470 implementation based on optimized PPC64 strcpy.
26471 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26472 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26473 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26474 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26476 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26479 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26481 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26484 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26485 * time/tst-strptime.c (day_tests): Add testcase.
26487 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26490 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26492 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26495 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26496 MAP_FAILED on error.
26498 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26501 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26502 heap for large requests.
26504 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26507 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26508 result if the result has no associated interface.
26509 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26510 interface for all 127.X.Y.Z addresses.
26512 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26514 * locale/iso-639.def: Add Ligurian (lij)
26516 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26519 * sunrpc/rpc_main.c: Document rpcgen -5.
26521 2013-10-19 Michael Stahl <mstahl@redhat.com>
26523 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26525 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26528 * posix/glob.c: Match only directories when trailing slash is present.
26529 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26530 (main): Add testcase.
26532 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26535 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26537 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26539 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26540 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26541 AUTH_DES and cindex for FIPS 140-2.
26542 (DES Encryption): Add cindex FIPS 46-3.
26544 * locale/locarchive.h (struct locarhandle): Add fname.
26545 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26546 if an optional argument was specified to --list-archive,
26548 * locale/programs/locarchive.c (show_archive_content): Take new
26549 argument fname and pass it via ah.fname to open_archive.
26550 * locale/programs/localedef.h: Update decl.
26551 (open_archive): If AH->fname is non-null, open that file
26552 rather than the default file name, and don't ignore ENOENT.
26553 (create_archive): Set AH.fname to NULL.
26554 (delete_locales_from_archive): Likewise.
26555 (add_locales_to_archive): Likewise.
26556 * locale/programs/locfile.c (write_all_categories): Likewise.
26558 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26559 Aldy Hernandez <aldyh@redhat.com>
26561 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26562 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26563 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26564 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26565 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26566 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26567 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26568 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26569 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26570 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26571 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26572 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26573 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26574 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26575 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26577 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26579 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26581 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26583 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26584 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26586 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26587 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26588 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26589 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26591 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26592 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26593 * sysdeps/powerpc/preconfigure: Likewise.
26594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26596 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26597 Replace contents of file by #include of <fenv_libc.h>.
26598 * sysdeps/powerpc/soft-fp/sfp-machine.h
26599 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26601 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26614 Allow copysignl PLT reference to be missing.
26616 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26617 Joseph Myers <joseph@codesourcery.com
26620 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26622 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26624 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26626 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26627 * elf/tst-tls1.c: Likewise.
26628 * elf/tst-tls10.h: Likewise.
26629 * elf/tst-tls14.c: Likewise.
26630 * elf/tst-tls2.c: Likewise.
26631 * elf/tst-tls3.c: Likewise.
26632 * elf/tst-tls4.c: Likewise.
26633 * elf/tst-tls5.c: Likewise.
26634 * elf/tst-tls6.c: Likewise.
26635 * elf/tst-tls7.c: Likewise.
26636 * elf/tst-tls8.c: Likewise.
26637 * elf/tst-tls9.c: Likewise.
26638 * elf/tst-tlsmod1.c: Likewise.
26639 * elf/tst-tlsmod13.c: Likewise.
26640 * elf/tst-tlsmod13a.c: Likewise.
26641 * elf/tst-tlsmod14a.c: Likewise.
26642 * elf/tst-tlsmod16a.c: Likewise.
26643 * elf/tst-tlsmod16b.c: Likewise.
26644 * elf/tst-tlsmod2.c: Likewise.
26645 * elf/tst-tlsmod3.c: Likewise.
26646 * elf/tst-tlsmod4.c: Likewise.
26647 * elf/tst-tlsmod5.c: Likewise.
26648 * elf/tst-tlsmod6.c: Likewise.
26650 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26653 * malloc/malloc.c: remove checks for statistics.
26655 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26658 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26659 * inet/tst-network.c: Add testcase.
26661 2013-10-17 Andreas Schwab <schwab@suse.de>
26664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26665 to determine canonical name.
26667 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26669 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26670 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26688 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26690 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26692 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26693 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26694 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26695 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26696 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26697 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26698 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26699 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26701 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26702 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26703 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26704 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26706 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26707 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26709 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26711 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26713 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26714 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26715 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26728 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26731 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26732 make result into a quiet NaN.
26734 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26736 * soft-fp/adddf3.c: Fix horizontal whitespace.
26737 * soft-fp/addsf3.c: Likewise.
26738 * soft-fp/addtf3.c: Likewise.
26739 * soft-fp/divdf3.c: Likewise.
26740 * soft-fp/divsf3.c: Likewise.
26741 * soft-fp/divtf3.c: Likewise.
26742 * soft-fp/double.h: Likewise.
26743 * soft-fp/eqdf2.c: Likewise.
26744 * soft-fp/eqsf2.c: Likewise.
26745 * soft-fp/eqtf2.c: Likewise.
26746 * soft-fp/extenddftf2.c: Likewise.
26747 * soft-fp/extended.h: Likewise.
26748 * soft-fp/extendsfdf2.c: Likewise.
26749 * soft-fp/extendsftf2.c: Likewise.
26750 * soft-fp/extendxftf2.c: Likewise.
26751 * soft-fp/fixdfdi.c: Likewise.
26752 * soft-fp/fixdfsi.c: Likewise.
26753 * soft-fp/fixdfti.c: Likewise.
26754 * soft-fp/fixsfdi.c: Likewise.
26755 * soft-fp/fixsfsi.c: Likewise.
26756 * soft-fp/fixsfti.c: Likewise.
26757 * soft-fp/fixtfdi.c: Likewise.
26758 * soft-fp/fixtfsi.c: Likewise.
26759 * soft-fp/fixtfti.c: Likewise.
26760 * soft-fp/fixunsdfdi.c: Likewise.
26761 * soft-fp/fixunsdfsi.c: Likewise.
26762 * soft-fp/fixunsdfti.c: Likewise.
26763 * soft-fp/fixunssfdi.c: Likewise.
26764 * soft-fp/fixunssfsi.c: Likewise.
26765 * soft-fp/fixunssfti.c: Likewise.
26766 * soft-fp/fixunstfdi.c: Likewise.
26767 * soft-fp/fixunstfsi.c: Likewise.
26768 * soft-fp/fixunstfti.c: Likewise.
26769 * soft-fp/floatdidf.c: Likewise.
26770 * soft-fp/floatdisf.c: Likewise.
26771 * soft-fp/floatditf.c: Likewise.
26772 * soft-fp/floatsidf.c: Likewise.
26773 * soft-fp/floatsisf.c: Likewise.
26774 * soft-fp/floatsitf.c: Likewise.
26775 * soft-fp/floattidf.c: Likewise.
26776 * soft-fp/floattisf.c: Likewise.
26777 * soft-fp/floattitf.c: Likewise.
26778 * soft-fp/floatundidf.c: Likewise.
26779 * soft-fp/floatundisf.c: Likewise.
26780 * soft-fp/floatunditf.c: Likewise.
26781 * soft-fp/floatunsidf.c: Likewise.
26782 * soft-fp/floatunsisf.c: Likewise.
26783 * soft-fp/floatunsitf.c: Likewise.
26784 * soft-fp/floatuntidf.c: Likewise.
26785 * soft-fp/floatuntisf.c: Likewise.
26786 * soft-fp/floatuntitf.c: Likewise.
26787 * soft-fp/fmadf4.c: Likewise.
26788 * soft-fp/fmasf4.c: Likewise.
26789 * soft-fp/fmatf4.c: Likewise.
26790 * soft-fp/gedf2.c: Likewise.
26791 * soft-fp/gesf2.c: Likewise.
26792 * soft-fp/getf2.c: Likewise.
26793 * soft-fp/ledf2.c: Likewise.
26794 * soft-fp/lesf2.c: Likewise.
26795 * soft-fp/letf2.c: Likewise.
26796 * soft-fp/muldf3.c: Likewise.
26797 * soft-fp/mulsf3.c: Likewise.
26798 * soft-fp/multf3.c: Likewise.
26799 * soft-fp/negdf2.c: Likewise.
26800 * soft-fp/negsf2.c: Likewise.
26801 * soft-fp/negtf2.c: Likewise.
26802 * soft-fp/op-1.h: Likewise.
26803 * soft-fp/op-2.h: Likewise.
26804 * soft-fp/op-4.h: Likewise.
26805 * soft-fp/op-8.h: Likewise.
26806 * soft-fp/op-common.h: Likewise.
26807 * soft-fp/quad.h: Likewise.
26808 * soft-fp/single.h: Likewise.
26809 * soft-fp/soft-fp.h: Likewise.
26810 * soft-fp/sqrtdf2.c: Likewise.
26811 * soft-fp/sqrtsf2.c: Likewise.
26812 * soft-fp/sqrttf2.c: Likewise.
26813 * soft-fp/subdf3.c: Likewise.
26814 * soft-fp/subsf3.c: Likewise.
26815 * soft-fp/subtf3.c: Likewise.
26816 * soft-fp/truncdfsf2.c: Likewise.
26817 * soft-fp/trunctfdf2.c: Likewise.
26818 * soft-fp/trunctfsf2.c: Likewise.
26819 * soft-fp/trunctfxf2.c: Likewise.
26820 * soft-fp/unorddf2.c: Likewise.
26821 * soft-fp/unordsf2.c: Likewise.
26822 * soft-fp/unordtf2.c: Likewise.
26824 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26826 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26827 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26829 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26831 * elf/dl-libc.c: Clear initfini list after freeing.
26833 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26835 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26836 * soft-fp/addsf3.c: Likewise.
26837 * soft-fp/addtf3.c: Likewise.
26838 * soft-fp/divdf3.c: Likewise.
26839 * soft-fp/divsf3.c: Likewise.
26840 * soft-fp/divtf3.c: Likewise.
26841 * soft-fp/double.h: Likewise.
26842 * soft-fp/eqdf2.c: Likewise.
26843 * soft-fp/eqsf2.c: Likewise.
26844 * soft-fp/eqtf2.c: Likewise.
26845 * soft-fp/extenddftf2.c: Likewise.
26846 * soft-fp/extended.h: Likewise.
26847 * soft-fp/extendsfdf2.c: Likewise.
26848 * soft-fp/extendsftf2.c: Likewise.
26849 * soft-fp/extendxftf2.c: Likewise.
26850 * soft-fp/fixdfdi.c: Likewise.
26851 * soft-fp/fixdfsi.c: Likewise.
26852 * soft-fp/fixdfti.c: Likewise.
26853 * soft-fp/fixsfdi.c: Likewise.
26854 * soft-fp/fixsfsi.c: Likewise.
26855 * soft-fp/fixsfti.c: Likewise.
26856 * soft-fp/fixtfdi.c: Likewise.
26857 * soft-fp/fixtfsi.c: Likewise.
26858 * soft-fp/fixtfti.c: Likewise.
26859 * soft-fp/fixunsdfdi.c: Likewise.
26860 * soft-fp/fixunsdfsi.c: Likewise.
26861 * soft-fp/fixunsdfti.c: Likewise.
26862 * soft-fp/fixunssfdi.c: Likewise.
26863 * soft-fp/fixunssfsi.c: Likewise.
26864 * soft-fp/fixunssfti.c: Likewise.
26865 * soft-fp/fixunstfdi.c: Likewise.
26866 * soft-fp/fixunstfsi.c: Likewise.
26867 * soft-fp/fixunstfti.c: Likewise.
26868 * soft-fp/floatdidf.c: Likewise.
26869 * soft-fp/floatdisf.c: Likewise.
26870 * soft-fp/floatditf.c: Likewise.
26871 * soft-fp/floatsidf.c: Likewise.
26872 * soft-fp/floatsisf.c: Likewise.
26873 * soft-fp/floatsitf.c: Likewise.
26874 * soft-fp/floattidf.c: Likewise.
26875 * soft-fp/floattisf.c: Likewise.
26876 * soft-fp/floattitf.c: Likewise.
26877 * soft-fp/floatundidf.c: Likewise.
26878 * soft-fp/floatundisf.c: Likewise.
26879 * soft-fp/floatunsidf.c: Likewise.
26880 * soft-fp/floatunsisf.c: Likewise.
26881 * soft-fp/floatuntidf.c: Likewise.
26882 * soft-fp/floatuntisf.c: Likewise.
26883 * soft-fp/floatuntitf.c: Likewise.
26884 * soft-fp/fmadf4.c: Likewise.
26885 * soft-fp/fmasf4.c: Likewise.
26886 * soft-fp/fmatf4.c: Likewise.
26887 * soft-fp/gedf2.c: Likewise.
26888 * soft-fp/gesf2.c: Likewise.
26889 * soft-fp/getf2.c: Likewise.
26890 * soft-fp/ledf2.c: Likewise.
26891 * soft-fp/lesf2.c: Likewise.
26892 * soft-fp/letf2.c: Likewise.
26893 * soft-fp/muldf3.c: Likewise.
26894 * soft-fp/mulsf3.c: Likewise.
26895 * soft-fp/multf3.c: Likewise.
26896 * soft-fp/negdf2.c: Likewise.
26897 * soft-fp/negsf2.c: Likewise.
26898 * soft-fp/negtf2.c: Likewise.
26899 * soft-fp/op-1.h: Likewise.
26900 * soft-fp/op-2.h: Likewise.
26901 * soft-fp/op-4.h: Likewise.
26902 * soft-fp/op-8.h: Likewise.
26903 * soft-fp/op-common.h: Likewise.
26904 * soft-fp/quad.h: Likewise.
26905 * soft-fp/single.h: Likewise.
26906 * soft-fp/soft-fp.h: Likewise.
26907 * soft-fp/sqrtdf2.c: Likewise.
26908 * soft-fp/sqrtsf2.c: Likewise.
26909 * soft-fp/sqrttf2.c: Likewise.
26910 * soft-fp/subdf3.c: Likewise.
26911 * soft-fp/subsf3.c: Likewise.
26912 * soft-fp/subtf3.c: Likewise.
26913 * soft-fp/truncdfsf2.c: Likewise.
26914 * soft-fp/trunctfdf2.c: Likewise.
26915 * soft-fp/trunctfsf2.c: Likewise.
26916 * soft-fp/trunctfxf2.c: Likewise.
26917 * soft-fp/unorddf2.c: Likewise.
26918 * soft-fp/unordsf2.c: Likewise.
26919 * soft-fp/unordtf2.c: Likewise.
26921 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26924 * misc/error.c (error_tail): Fix possible buffer overflow.
26926 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26929 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26932 2013-10-14 P. J. McDermott <pj@pehjota.net>
26935 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26936 testing pipefail option.
26938 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26940 * soft-fp/double.h: Indent preprocessor directives inside #if.
26941 * soft-fp/extended.h: Likewise.
26942 * soft-fp/op-2.h: Likewise.
26943 * soft-fp/op-4.h: Likewise.
26944 * soft-fp/op-common.h: Likewise.
26945 * soft-fp/quad.h: Likewise.
26946 * soft-fp/single.h: Likewise.
26947 * soft-fp/soft-fp.h: Likewise.
26949 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26951 * iconv/iconv_prog.c: Fix typos.
26952 * stdio-common/psiginfo-data.h: Likewise.
26954 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26957 * locale/setlocale.c: Fix typo.
26959 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26962 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26963 signaling NaN arguments.
26964 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26965 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26968 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26969 unordered operands.
26970 * soft-fp/gesf2.c (__gesf2): Likewise.
26971 * soft-fp/getf2.c (__getf2): Likewise.
26972 * soft-fp/ledf2.c (__ledf2): Likewise.
26973 * soft-fp/lesf2.c (__lesf2): Likewise.
26974 * soft-fp/letf2.c (__letf2): Likewise.
26976 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26977 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26978 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26979 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26980 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26981 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26982 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26983 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26984 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26985 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26986 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26987 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26988 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26989 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26990 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26991 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26992 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26993 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26994 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26995 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26996 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26997 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26998 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26999 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27000 * soft-fp/floattidf.c (__floattidf): Likewise.
27001 * soft-fp/floattisf.c (__floattisf): Likewise.
27002 * soft-fp/floattitf.c (__floattitf): Likewise.
27003 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27004 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27005 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27006 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27007 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27008 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27009 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27010 * soft-fp/gesf2.c (__gesf2): Likewise.
27011 * soft-fp/getf2.c (__getf2): Likewise.
27012 * soft-fp/ledf2.c (__ledf2): Likewise.
27013 * soft-fp/lesf2.c (__lesf2): Likewise.
27014 * soft-fp/letf2.c (__letf2): Likewise.
27016 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27017 Undefine and redefine.
27018 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27019 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27020 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27021 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27022 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27023 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27024 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27025 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27026 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27027 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27028 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27029 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27030 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27031 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27032 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27035 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27036 without decrementing exponent if mantissa >= that for the
27037 denominator, not >.
27038 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27039 denominator, not >. Decrement exponent in < case instead of
27040 incrementing in >= case.
27041 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27042 without decrementing exponent if mantissa >= that for the
27043 denominator, not >.
27045 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27046 computing saturated result for unsigned overflow.
27048 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27049 Jeff Law <law@redhat.com>
27051 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27052 (atan2Mp): Add systemtap probe marker.
27053 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27054 (__ieee754_log): Add systemtap probe marker.
27055 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27056 (atanMp): Add systemtap probe marker.
27057 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27058 (tanMp): Add systemtap probe marker.
27059 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27060 (__slowexp): Add systemtap probe marker.
27061 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27062 (__slowpow): Add systemtap probe marker.
27063 * manual/probes.texi: Document probes.
27065 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27068 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27070 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27072 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27073 written to buffer but not flushed.
27074 * libio/iofwrite_u.c: Likewise.
27075 * libio/iopadn.c: Return bytes returned even if EOF was
27077 * libio/iowpadn.c: Likewise.
27078 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27079 if _IO_padn does not write the whole buffer.
27080 [!COMPILE_WPRINTF] (PAD): Likewise.
27082 2013-10-10 David S. Miller <davem@davemloft.net>
27084 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27087 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27089 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27090 instead of FSF address.
27091 * soft-fp/fixdfti.c: Likewise.
27092 * soft-fp/fixsfti.c: Likewise.
27093 * soft-fp/fixtfti.c: Likewise.
27094 * soft-fp/fixunsdfti.c: Likewise.
27095 * soft-fp/fixunssfti.c: Likewise.
27096 * soft-fp/fixunstfti.c: Likewise.
27097 * soft-fp/floattidf.c: Likewise.
27098 * soft-fp/floattisf.c: Likewise.
27099 * soft-fp/floattitf.c: Likewise.
27100 * soft-fp/floatuntidf.c: Likewise.
27101 * soft-fp/floatuntisf.c: Likewise.
27102 * soft-fp/floatuntitf.c: Likewise.
27103 * soft-fp/trunctfxf2.c: Likewise.
27105 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27106 * soft-fp/fixdfti.c: Likewise.
27107 * soft-fp/fixsfti.c: Likewise.
27108 * soft-fp/fixtfti.c: Likewise.
27109 * soft-fp/fixunsdfti.c: Likewise.
27110 * soft-fp/fixunssfti.c: Likewise.
27111 * soft-fp/fixunstfti.c: Likewise.
27112 * soft-fp/floattidf.c: Likewise.
27113 * soft-fp/floattisf.c: Likewise.
27114 * soft-fp/floattitf.c: Likewise.
27115 * soft-fp/floatuntidf.c: Likewise.
27116 * soft-fp/floatuntisf.c: Likewise.
27117 * soft-fp/floatuntitf.c: Likewise.
27118 * soft-fp/trunctfxf2.c: Likewise.
27120 2013-10-10 David S. Miller <davem@davemloft.net>
27122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27124 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27126 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27127 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27128 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27129 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27130 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27131 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27132 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27135 for NaNs before doing comparisons on argument.
27136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27139 2013-10-10 Will Newton <will.newton@linaro.org>
27141 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27142 passed to _int_memalign does not overflow.
27144 2013-10-10 Torvald Riegel <triegel@redhat.com>
27146 * scripts/bench.pl: Add include-sources directive.
27147 * benchtests/README: Update documentation.
27149 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27151 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27152 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27153 instead of FP_INIT_ROUNDMODE.
27154 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27155 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27158 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27159 copy class of input value.
27160 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27161 not handle exceptions.
27162 * soft-fp/negsf2.c (__negsf2): Likewise.
27163 * soft-fp/negtf2.c (__negtf2): Likewise.
27164 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27166 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27168 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27169 semicolon. From Linux kernel.
27171 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27173 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27175 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27178 * manual/socket.texi: Added statement about buffer
27179 for gethostbyname2_r.
27181 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27183 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27184 Use .p2align directive instead, throughout.
27185 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27186 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27187 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27188 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27189 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27190 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27191 * sysdeps/x86_64/strchr.S: Likewise.
27192 * sysdeps/x86_64/strrchr.S: Likewise.
27194 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27196 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27198 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27200 * sysdeps/generic/math_private.h (__mpsin1): Remove
27202 (__mpcos1): Likewise.
27203 (__mpsin): New argument __range_reduce.
27204 (__mpcos): Likewise.
27205 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27206 (slow): Use __mpsin and __mpcos.
27210 (sloww1): Likewise.
27211 (sloww2): Likewise.
27212 (bsloww): Likewise.
27213 (bsloww1): Likewise.
27214 (bsloww2): Likewise.
27215 (cslow2): Likewise.
27216 (csloww): Likewise.
27217 (csloww1): Likewise.
27218 (csloww2): Likewise.
27219 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27220 range_reduce. Merge in __mpsin1.
27221 (__mpcos): Likewise.
27222 (__mpsin1): Remove.
27223 (__mpcos1): Likewise.
27225 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27227 * locale/loadlocale.c (_nl_intern_locale_data): Use
27229 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27230 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27231 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27232 obstack data is appropriately aligned.
27233 (obstack_int32_grow_fast): Likewise.
27234 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27235 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27236 (add_locale_uint32_array): Likewise.
27238 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27240 * benchtests/Makefile: Remove ARGLIST and RET variables.
27241 ($(objpfx)bench-%.c): Pass only function name to the script.
27242 * benchtests/README: Update documentation.
27243 * benchtests/acos-inputs: Add new directives.
27244 * benchtests/acosh-inputs: Likewise.
27245 * benchtests/asin-inputs: Likewise.
27246 * benchtests/asinh-inputs: Likewise.
27247 * benchtests/atan-inputs: Likewise.
27248 * benchtests/atanh-inputs: Likewise.
27249 * benchtests/cos-inputs: Likewise.
27250 * benchtests/cosh-inputs: Likewise.
27251 * benchtests/exp-inputs: Likewise.
27252 * benchtests/log-inputs: Likewise.
27253 * benchtests/pow-inputs: Likewise.
27254 * benchtests/rint-inputs: Likewise.
27255 * benchtests/sin-inputs: Likewise.
27256 * benchtests/sinh-inputs: Likewise.
27257 * benchtests/tan-inputs: Likewise.
27258 * benchtests/tanh-inputs: Likewise.
27259 * scripts/bench.pl: Add support for new directives.
27261 2013-10-07 Alan Modra <amodra@gmail.com>
27263 * README: Fix careless merge.
27265 2013-10-05 Alan Modra <amodra@gmail.com>
27267 * NEWS: Mention powerpc64le support and bugs fixed.
27268 * README: Both big-endian and little-endian powerpc64 supported.
27270 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27272 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27273 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27274 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27275 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27277 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27279 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27282 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27284 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27285 Move -mhard-float appending from
27286 ports/sysdeps/powerpc/powerpc32/Makefile.
27287 [$(with-fp) = yes] (ASFLAGS): Likewise.
27288 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27289 * sysdeps/powerpc/nofpu: Move directory from
27290 ports/sysdeps/powerpc/nofpu.
27291 * sysdeps/powerpc/soft-fp: Move directory from
27292 ports/sysdeps/powerpc/soft-fp.
27293 * sysdeps/powerpc/powerpc32/405: Move directory from
27294 ports/sysdeps/powerpc/powerpc32/405.
27295 * sysdeps/powerpc/powerpc32/440: Move directory from
27296 ports/sysdeps/powerpc/powerpc32/440.
27297 * sysdeps/powerpc/powerpc32/464: Move directory from
27298 ports/sysdeps/powerpc/powerpc32/464.
27299 * sysdeps/powerpc/powerpc32/476: Move directory from
27300 ports/sysdeps/powerpc/powerpc32/476.
27301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27302 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27304 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27306 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27308 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27310 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27311 * README: Update for powerpc-*-linux-gnu software floating point
27314 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27315 case to powerpc/powerpc32*.
27316 * sysdeps/unix/sysv/linux/configure: Regenerated.
27318 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27319 (_FPU_MASK_OM): Define as 0x04.
27320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27328 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27331 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27334 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27335 and setcontext_e500.
27337 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27339 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27341 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27343 * manual/threads.texi (Default Thread Attributes): Fix typo.
27345 2013-10-04 Will Newton <will.newton@linaro.org>
27347 * malloc/Makefile: Add tst-memalign.
27348 * malloc/tst-memalign.c: New file.
27350 * malloc/tst-posix_memalign.c: Add comments.
27351 (do_test): Add comments and call free on all potentially
27352 allocated pointers. Add space after cast.
27354 * malloc/tst-pvalloc.c: Add comments.
27355 (do_test): Add comments and call free on all potentially
27356 allocated pointers. Remove duplicate check for NULL pointer.
27357 Add space after cast.
27359 * malloc/tst-valloc.c: Add comments.
27360 (do_test): Add comments and call free on all potentially
27361 allocated pointers. Remove duplicate check for NULL pointer.
27362 Add space after cast.
27364 2013-10-04 Alan Modra <amodra@gmail.com>
27366 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27367 Use stdint types in rather than __attribute__((mode())).
27368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27370 2013-10-04 Alan Modra <amodra@gmail.com>
27372 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27373 Correct handling of unaligned relocs for little-endian.
27374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27376 2013-10-04 Alan Modra <amodra@gmail.com>
27378 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27379 * configure: Regenerate.
27380 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27381 * shlib-versions: Likewise.
27383 2013-10-04 Alan Modra <amodra@gmail.com>
27385 * string/tester.c (test_memrchr): Increment reported test cycle.
27387 2013-10-04 Alan Modra <amodra@gmail.com>
27389 * string/test-memcpy.c (do_one_test): When reporting errors, print
27390 string address and don't overrun end of string.
27392 2013-10-04 Alan Modra <amodra@gmail.com>
27394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27395 insrdi. Make better use of reg selection to speed exit slightly.
27396 Schedule entry path a little better. Remove useless "are we done"
27397 checks on entry to main loop. Handle wrapping around zero address.
27398 Correct main loop count. Handle single left-over word from main
27399 loop inline rather than by using loop_small. Remove extra word
27400 case in loop_small caused by wrong loop count. Add little-endian
27402 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27403 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27405 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27406 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27407 support. Avoid rlwimi.
27408 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27410 2013-10-04 Alan Modra <amodra@gmail.com>
27412 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27413 insrdi. Formatting.
27414 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27415 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27416 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27417 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27418 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27419 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27421 2013-10-04 Alan Modra <amodra@gmail.com>
27423 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27424 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27426 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27427 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27428 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27429 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27430 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27431 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27432 use of regs. Use power7 mtocrf. Tidy function tails.
27434 2013-10-04 Alan Modra <amodra@gmail.com>
27436 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27437 Formatting. Consistently use rXXX register defines or rN defines.
27438 Use early exit labels that avoid restoring unused non-volatile regs.
27439 Make cr field use more consistent with rWORDn compares. Rename
27440 regs used as shift registers for unaligned loop, using rN defines
27441 for short lifetime/multiple use regs.
27442 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27443 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27444 addi 1,1,64 to pop stack frame. Simplify return value code.
27445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27447 2013-10-04 Alan Modra <amodra@gmail.com>
27449 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27450 support. Correct typos, formatting. Optimize tail. Use insrdi
27451 rather than rlwimi.
27452 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27454 little-endian support. Correct typos.
27455 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27456 rather than rlwimi.
27457 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27458 in loop and entry code to keep "and." results.
27459 (strchr): Add little-endian support. Comment. Move cntlzd
27461 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27463 2013-10-04 Alan Modra <amodra@gmail.com>
27465 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27466 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27467 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27468 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27470 2013-10-04 Alan Modra <amodra@gmail.com>
27472 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27473 (rTMP): Define as r11.
27474 (strcmp): Add little-endian support. Optimise tail.
27475 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27476 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27477 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27478 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27479 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27480 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27483 2013-10-04 Alan Modra <amodra@gmail.com>
27485 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27486 little-endian support. Remove unnecessary "are we done" tests.
27487 Handle "s" wrapping around zero and extremely large "size".
27488 Correct main loop count. Handle single left-over word from main
27489 loop inline rather than by using small_loop. Correct comments.
27490 Delete "zero" tail, use "end_max" instead.
27491 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27493 2013-10-04 Alan Modra <amodra@gmail.com>
27495 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27496 support. Don't branch over align.
27497 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27498 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27499 support. Rearrange tmp reg use to suit. Comment.
27500 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27502 2013-10-04 Alan Modra <amodra@gmail.com>
27504 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27506 2013-10-04 Alan Modra <amodra@gmail.com>
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27509 conditional form of branch and link when obtaining pc.
27510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27512 2013-10-04 Alan Modra <amodra@gmail.com>
27514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27519 2013-10-04 Alan Modra <amodra@gmail.com>
27521 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27522 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27523 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27524 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27525 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27526 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27527 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27528 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27529 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27530 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27532 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27533 Alistair Popple <alistair@ozlabs.au.ibm.com>
27534 Alan Modra <amodra@gmail.com>
27537 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27538 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27539 _dl_hwcap access for little-endian.
27540 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27541 destroy vmx regs when saving unaligned.
27542 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27543 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27544 destroy vmx regs when saving unaligned.
27546 2013-10-04 Alan Modra <amodra@gmail.com>
27548 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27549 Don't use a union to pack hi/low value.
27551 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27553 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27555 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27556 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27557 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27558 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27559 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27561 2013-10-04 Alan Modra <amodra@gmail.com>
27563 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27564 constants to usual value for .cst8 section, and remove redundant
27566 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27567 constant for 0x1p52. Load little-endian words of double from
27568 correct stack offsets.
27570 2013-10-04 Alan Modra <amodra@gmail.com>
27572 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27573 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27574 words of double from correct stack offsets.
27575 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27576 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27577 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27582 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27583 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27584 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27586 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27587 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27588 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27589 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27590 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27591 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27593 2013-10-04 Alan Modra <amodra@gmail.com>
27595 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27596 64-bit int/double union.
27597 (_FPU_SETCW): Likewise.
27598 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27599 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27601 2013-10-04 Alan Modra <amodra@gmail.com>
27603 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27604 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27606 2013-10-04 Alan Modra <amodra@gmail.com>
27608 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27609 use vector int constants.
27610 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27612 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27614 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27615 array with long long.
27616 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27617 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27618 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27619 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27620 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27621 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27622 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27623 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27624 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27625 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27626 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27627 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27628 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27630 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27632 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27633 (__signbit): Likewise. Correct for little-endian.
27634 (__signbitl): Call __signbit.
27635 (lrint): Correct for little-endian.
27636 (lrintf): Call lrint.
27638 2013-10-04 Alan Modra <amodra@gmail.com>
27640 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27641 union 32-bit int array member with 64-bit int array.
27642 (t515, tm256): Double rather than long double.
27643 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27645 2013-10-04 Alan Modra <amodra@gmail.com>
27647 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27649 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27651 version of math_ldbl.h.
27653 2013-10-04 Alan Modra <amodra@gmail.com>
27655 [BZ #15734], [BZ #15735]
27656 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27657 all uses of ieee875 long double macros and unions. Simplify test
27658 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27659 ldbl_extract_mantissa value for ix,iy exponents. Properly
27660 normalize after ldbl_extract_mantissa, and don't add hidden bit
27661 already handled. Don't treat low word of ieee854 mantissa like
27662 low word of IBM long double and mask off bit when testing for
27664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27665 all uses of ieee875 long double macros and unions. Simplify tests
27666 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27667 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27668 two1022, instead use their values. Recognise that tests for large
27669 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27670 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27671 Rewrite all uses of ieee875 long double macros and unions. Simplify
27672 test for 0.0L and nan. Correct negation.
27673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27674 ieee875 long double macros and unions. Correct output for large
27675 magnitude x. Correct absolute value calculation.
27676 (__erfcl): Likewise.
27677 * math/libm-test.inc: Add tests for errors discovered in IBM long
27678 double versions of fmodl, remainderl, erfl and erfcl.
27680 2013-10-04 Alan Modra <amodra@gmail.com>
27682 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27683 all uses of ieee854 long double macros and unions. Simplify tests
27684 for long doubles that are fully specified by the high double.
27685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27687 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27688 Remove dead code too.
27689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27690 (__ieee754_ynl): Likewise.
27691 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27694 Remove dead code too.
27695 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27696 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27698 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27700 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27702 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27703 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27704 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27705 Comment on variable precision.
27706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27709 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27712 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27713 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27715 2013-10-04 Alan Modra <amodra@gmail.com>
27717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27718 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27719 all uses of ieee854 long double macros and unions.
27720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27724 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27729 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27730 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27732 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27733 Simplify sign and nan test too.
27734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27737 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27739 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27740 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27743 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27744 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27745 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27749 2013-10-04 Alan Modra <amodra@gmail.com>
27751 * stdio-common/printf_size.c (__printf_size): Don't use
27752 union ieee854_long_double in fpnum union.
27753 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27754 signbit macro to retrieve sign from long double.
27755 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27756 retrieve sign from long double.
27757 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27758 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27759 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27760 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27761 * math/test-misc.c (main): Don't use union ieee854_long_double.
27763 2013-10-04 Alan Modra <amodra@gmail.com>
27766 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27767 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27768 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27769 calculation. Remove unnecessary test for denormal exponent.
27770 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27771 Correct handling of denormals. Avoid undefined shift behaviour.
27772 Correct normalisation of low mantissa when low double is denormal.
27773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27774 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27775 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27776 Correct normalisation of low mantissa. Test for overflow of high
27777 mantissa and normalise.
27778 (ldbl_nearbyint): Use more readable constant for two52.
27779 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27780 (__mpn_construct_long_double): Fix test for overflow of high
27781 mantissa and correct normalisation. Avoid undefined shift.
27783 2013-10-04 Alan Modra <amodra@gmail.com>
27785 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27786 (union ibm_extended_long_double): Define as an array of ieee754_double.
27787 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27788 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27789 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27790 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27794 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27799 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27801 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27802 page size instead of calling getpagesize.
27804 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27805 (LOCFILE_ALIGN_MASK): Likewise.
27806 (LOCFILE_ALIGN_UP): Likewise.
27807 (LOCFILE_ALIGNED_P): Likewise.
27808 * locale/programs/ld-collate.c (collate_output): Use the new
27809 macros instead of __alignof__ (int32_t).
27810 * locale/weight.h (findidx): Likewise.
27812 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27815 * manual/string.texi: Fix strncat and wcsncat.
27817 2013-10-03 Brooks Moses <bmoses@google.com>
27820 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27821 * Makerules: ...here, and adjust associated comments.
27823 2013-10-02 Will Newton <will.newton@linaro.org>
27825 * malloc/Makefile: Add tst-pvalloc.
27826 * malloc/tst-pvalloc.c: New file.
27828 2013-10-02 Will Newton <will.newton@linaro.org>
27830 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27831 improve test coverage.
27833 2013-10-02 Will Newton <will.newton@linaro.org>
27835 * malloc/Makefile: Add tst-posix_memalign.
27836 * malloc/tst-posix_memalign.c: New file.
27838 2013-10-01 Eric Blake <eblake@redhat.com>
27840 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27841 Use __THROWNL rather than __THROW on static functions.
27843 2013-09-30 Petr Machata <pmachata@redhat.com>
27845 * elf/elf.h (R_AARCH64_ABS16): New macro.
27846 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27847 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27848 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27849 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27850 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27851 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27852 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27853 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27854 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27855 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27856 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27857 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27858 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27859 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27860 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27861 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27862 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27863 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27864 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27865 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27866 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27867 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27868 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27869 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27870 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27871 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27872 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27873 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27874 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27875 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27876 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27877 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27878 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27879 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27880 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27881 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27882 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27883 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27884 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27885 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27886 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27887 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27888 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27889 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27890 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27891 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27892 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27893 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27894 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27895 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27896 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27897 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27898 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27899 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27900 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27901 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27902 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27903 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27904 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27905 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27906 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27907 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27908 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27909 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27910 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27911 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27912 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27913 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27914 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27915 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27916 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27917 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27918 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27919 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27920 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27921 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27922 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27923 (R_AARCH64_TLSDESC_LDR): Likewise.
27924 (R_AARCH64_TLSDESC_ADD): Likewise.
27925 (R_AARCH64_TLSDESC_CALL): Likewise.
27927 2013-09-30 Andreas Schwab <schwab@suse.de>
27930 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27931 the nss database lookup.
27932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27935 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27937 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27939 2013-09-28 P. J. McDermott <pj@pehjota.net>
27941 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27942 ${Bash-specific parameter/pattern/string} parameter expansion.
27943 * sysdeps/unix/make-syscalls.sh: Likewise.
27945 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27947 * sysdeps/sh/stackguard-macros.h: New file.
27949 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27953 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27954 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27955 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27956 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27958 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27960 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27961 Fix thread ID register.
27963 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27965 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27966 [POSIX || UNIX98]: Require rather than permitting all symbols from
27968 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27969 element of struct sched_param.
27970 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27971 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27972 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27973 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27976 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27978 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27979 argument calculation.
27981 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27983 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27985 [POSIX] (pthread_attr_t): Do not require type.
27986 [POSIX] (pthread_cond_t): Likewise.
27987 [POSIX] (pthread_condattr_t): Likewise.
27988 [POSIX] (pthread_key_t): Likewise.
27989 [POSIX] (pthread_mutex_t): Likewise.
27990 [POSIX] (pthread_mutexattr_t): Likewise.
27991 [POSIX] (pthread_once_t): Likewise.
27992 [POSIX] (pthread_t): Likewise.
27993 [POSIX-based standards] (pthread_atfork): Expect function.
27995 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27996 Richard Sandiford <richard@codesourcery.com>
27998 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27999 (swap_endianness_p): New extern variable.
28000 (set_big_endian): New inline function.
28001 (maybe_swap_uint32): Likewise.
28002 (maybe_swap_uint32_array): Likewise.
28003 (maybe_swap_uint32_obstack): Likewise.
28004 * locale/programs/locfile.c: Include <stdbool.h>.
28005 (swap_endianness_p): New variable.
28006 (add_locale_uint32): Call maybe_swap_uint32.
28007 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28008 (write_locale_data): Call maybe_swap_uint32_array.
28009 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28011 (obstack_int32_grow_fast): Likewise.
28012 (output_weightwc): Call maybe_swap_uint32_obstack.
28013 (collate_output): Likewise.
28014 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28015 (OPT_LITTLE_ENDIAN): Likewise.
28016 (options): Add --little-endian and --big-endian options.
28017 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28018 * locale/programs/locarchive.c: Include "locfile.h".
28022 (create_archive): Use the new macros to access fields of
28023 structures directly mapped from or written to locale archives.
28024 (oldlocrecentcmp): Likewise.
28025 (enlarge_archive): Likewise.
28026 (insert_name): Likewise.
28027 (add_alias): Likewise.
28028 (add_locale): Likewise.
28029 (delete_locales_from_archive): Likewise.
28030 (show_archive_content): Likewise.
28031 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28034 2013-09-24 Roland McGrath <roland@hack.frob.com>
28036 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28037 http://www.gnu.org/doc/freemanuals.texi.
28038 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28040 2013-09-24 Will Newton <will.newton@linaro.org>
28042 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28045 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28047 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28050 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28052 * manual/threads.texi (POSIX Threads): Fix a typo.
28054 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28057 * string/tst-strcoll-overflow.c: New test case.
28058 * string/Makefile (xtests): Add tst-strcoll-overflow.
28059 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28060 cache if string sizes may cause integer overflow.
28063 * string/strcoll_l.c (coll_seq): New members rule, idx,
28064 save_idx and back_us.
28065 (get_next_seq_nocache): New function.
28066 (do_compare_nocache): New function.
28067 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28070 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28073 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28074 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28075 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28078 * elf/Makefile (tests): Add tst-ptrguard1.
28079 (tests-static): Add tst-ptrguard1-static.
28080 (tst-ptrguard1-ARGS): Define.
28081 (tst-ptrguard1-static-ARGS): Define.
28082 * elf/tst-ptrguard1.c: New file.
28083 * elf/tst-ptrguard1-static.c: New file.
28084 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28085 * sysdeps/i386/stackguard-macros.h: Likewise.
28086 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28087 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28088 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28089 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28090 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28091 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28093 2013-09-23 Hector Marco <hecmargi@upv.es>
28094 Ismael Ripoll <iripoll@disca.upv.es>
28095 Carlos O'Donell <carlos@redhat.com>
28098 * sysdeps/generic/stackguard-macros.h: Define
28099 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28100 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28101 Define __pointer_chk_guard_local.
28102 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28103 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28105 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28108 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28110 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28112 * include/string.h (__ffs): Declare as hidden.
28113 * string/ffs.c (__ffs): Define as hidden.
28114 * sysdeps/i386/ffs.c (__ffs): Likewise.
28115 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28116 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28117 * sysdeps/s390/ffs.c (__ffs): Likewise.
28118 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28120 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28122 * NEWS: Mention malloc probes.
28124 * malloc/arena.c (new_heap): New memory_heap_new probe.
28125 (grow_heap): New memory_heap_more probe.
28126 (shrink_heap): New memory_heap_less probe.
28127 (heap_trim): New memory_heap_free probe.
28128 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28129 (systrim): New memory_sbrk_less probe.
28130 * manual/probes.texi: Document them.
28132 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28133 * manual/probes.texi: Document it.
28135 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28136 (__libc_realloc): Add memory_realloc_retry probe.
28137 (__libc_memalign): Add memory_memalign_retry probe.
28138 (__libc_valloc): Add memory_valloc_retry probe.
28139 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28140 (__libc_calloc): Add memory_calloc_retry probe.
28141 * manual/probes.texi: Document them.
28143 * malloc/arena.c (get_free_list): Add probe
28144 memory_arena_reuse_free_list.
28145 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28146 and memory_arena_reuse.
28147 (arena_get2) [!PER_THREAD]: Likewise.
28148 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28149 memory_arena_reuse_realloc.
28150 * manual/probes.texi: Document them.
28152 * malloc/malloc.c (__libc_free): Add
28153 memory_mallopt_free_dyn_thresholds probe.
28154 (__libc_mallopt): Add multiple memory_mallopt probes.
28155 * manual/probes.texi: Document them.
28157 * malloc/malloc.c: Include stap-probe.h.
28158 (__libc_mallopt): Add memory_mallopt probe.
28159 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28160 * manual/probes.texi: New.
28161 * manual/Makefile (chapters): Add probes.
28162 * manual/threads.texi: Set next node.
28164 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28166 [BZ #15963, #13985]
28167 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28168 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28169 Add `Chinese' to `nan' entry name.
28171 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28173 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28174 (POLYNOMIAL): Likewise.
28175 (TAYLOR_SINCOS): Likewise.
28176 (TAYLOR_SLOW): Likewise.
28177 (__sin): Use TAYLOR_SINCOS.
28179 (slow): Use TAYLOR_SLOW.
28181 (bsloww): Likewise.
28182 (csloww): Likewise.
28184 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28186 * stdlib/strtod_l.c: Fix buffer overrun.
28188 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28190 * benchtests/Makefile (bench): Add sincos.
28191 * benchtests/bench-sincos.c: New file.
28193 * math/libm-test.inc (cos_test_data): New test inputs.
28194 (sin_test_data): Likewise.
28196 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28202 (sloww1): Likewise.
28203 (sloww2): Likewise.
28204 (bsloww1): Likewise.
28205 (bsloww2): Likewise.
28206 (cslow2): Likewise.
28207 (csloww1): Likewise.
28208 (csloww2): Likewise.
28210 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28219 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28221 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28222 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28223 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28224 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28225 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28226 * elf/cache.c (print_entry): Handle the new cache flags.
28228 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28229 Aldy Hernandez <aldyh@redhat.com>
28231 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28232 Change condition to [_SOFT_FLOAT].
28233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28245 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28248 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28251 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28253 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28254 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28255 (__longjmp): Use LOAD_GP to load saved GPRs.
28256 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28257 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28258 (__sigsetjmp): Use SAVE_GP to save GPRs.
28260 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28261 Do not append -msoft-float.
28262 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28264 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28266 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28268 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28271 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28272 (_FPU_GETCW): Use initial "__" on variable and field names but not
28273 on macro parameter name.
28274 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28275 parentheses around reference to macro parameter.
28277 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28279 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28281 (ctype_startup): Use uint32_t in cast and sizeof for
28284 2013-09-11 Jia Liu <proljc@gmail.com>
28286 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28288 [__FreeBSD__]: Likewise.
28290 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28293 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28294 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28295 (strchr): Remove __strchr_sse42 ifunc selection.
28296 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28297 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28299 2013-09-11 Will Newton <will.newton@linaro.org>
28301 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28302 parameter to RES. Remove hardcoded 1000 value.
28303 * benchtests/bench-skeleton.c (main): Pass RES parameter
28304 to TIMING_INIT and multiply result by 1000.
28306 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28310 2013-09-11 Andreas Schwab <schwab@suse.de>
28312 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28314 (O_TMPFILE) [__USE_GNU]: Define.
28315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28318 2013-09-11 Will Newton <will.newton@linaro.org>
28321 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28324 2013-09-11 Will Newton <will.newton@linaro.org>
28327 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28330 2013-09-11 Will Newton <will.newton@linaro.org>
28333 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28336 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28338 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28339 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28340 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28342 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28344 2013-09-10 Allan McRae <allan@archlinux.org>
28347 * manual/arith.texi (Parsing of Floats): Clarify
28351 * manual/install.texi (Running make install): Mention
28353 * INSTALL: Regenerated.
28355 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28357 * csu/init-first.c (_init): Remove the !SHARED condition around
28358 FPU control word initialization.
28359 * elf/dl-support.c (_dl_fpu_control): New variable.
28360 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28361 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28362 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28363 * math/test-fpucw-static.c: New file.
28364 * math/test-fpucw-ieee.c: New file.
28365 * math/test-fpucw-ieee-static.c: New file.
28366 * math/Makefile (tests): Add `test-fpucw-ieee' and
28368 (tests-static): New variable.
28369 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28371 [($(build-shared),yes)]
28372 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28374 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28377 2013-09-09 Allan McRae <allan@archlinux.org>
28380 * manual/string.texi (Collation Functions): Fix typo in
28382 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28385 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28388 * libio/memstream.c (open_memstream): Fix memory leak.
28389 * libio/wmemstream.c (open_wmemstream): Likewise.
28392 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28394 2013-09-09 Will Newton <will.newton@linaro.org>
28396 * malloc/Makefile: Add tst-realloc to tests.
28397 * malloc/tst-realloc.c: New file.
28399 2013-09-09 Allan McRae <allan@archlinux.org>
28402 * COPYING: Update from GNU website to fix FSF address.
28403 * COPYING.LIB: Likewise.
28405 2013-09-06 David S. Miller <davem@davemloft.net>
28407 * po/zh_TW.po: Update Chinese (traditional) translation from
28408 translation project.
28410 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28411 Joseph Myers <joseph@codesourcery.com>
28413 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28415 (obstack_chunk_alloc): New macro.
28416 (obstack_chunk_free): Likewise.
28417 (record_offset): New function.
28418 (init_locale_data): Likewise.
28419 (align_locale_data): Likewise.
28420 (add_locale_empty): Likewise.
28421 (add_locale_raw_data): Likewise.
28422 (add_locale_raw_obstack): Likewise.
28423 (add_locale_string): Likewise.
28424 (add_locale_wstring): Likewise.
28425 (add_locale_uint32): Likewise.
28426 (add_locale_uint32_array): Likewise.
28427 (add_locale_char): Likewise.
28428 (start_locale_structure): Likewise.
28429 (end_locale_structure): Likewise.
28430 (start_locale_prelude): Likewise.
28431 (end_locale_prelude): Likewise.
28432 (write_locale_data): Take locale_file structure rather than an
28434 * locale/programs/locfile.h: Include "obstack.h".
28435 (struct locale_file): Change to store locale file contents instead
28437 (init_locale_data): New prototype.
28438 (align_locale_data): Likewise.
28439 (add_locale_empty): Likewise.
28440 (add_locale_raw_data): Likewise.
28441 (add_locale_raw_obstack): Likewise.
28442 (add_locale_string): Likewise.
28443 (add_locale_wstring): Likewise.
28444 (add_locale_uint32): Likewise.
28445 (add_locale_uint32_array): Likewise.
28446 (add_locale_char): Likewise.
28447 (start_locale_structure): Likewise.
28448 (end_locale_structure): Likewise.
28449 (start_locale_prelude): Likewise.
28450 (end_locale_prelude): Likewise.
28451 (write_locale_data): Update prototype.
28452 * locale/programs/3level.h (struct TABLE): Remove result field.
28453 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28454 Use new locale_file interface.
28455 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28456 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28457 * locale/programs/ld-address.c (address_output): Use new
28458 locale_file interface.
28459 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28461 (collate_finish): Don't call collseq_table_finalize.
28462 (collate_output): Use new locale_file interface.
28463 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28465 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28466 (TABLE): Move defines earlier in file.
28467 (ELEMENT): Likewise.
28468 (DEFAULT): Likewise.
28469 (wctrans_table_add): Move macro and inline function earlier in
28471 (struct wctype_table): Move type earlier in file.
28472 (add_locale_wctype_table): New static prototype.
28473 (struct locale_ctype_t): Use logical types instead of struct iovec
28474 pointers for members.
28475 (ctype_output): Use new locale_file interface.
28476 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28477 new locale_file interface.
28478 (allocate_arrays): Update for use of new locale_file interface.
28479 * locale/programs/ld-identification.c (identification_output): Use
28480 new locale_file interface.
28481 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28482 * locale/programs/ld-messages.c (messages_output): Likewise.
28483 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28484 * locale/programs/ld-name.c (name_output): Likewise.
28485 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28486 * locale/programs/ld-paper.c (paper_output): Likewise.
28487 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28488 * locale/programs/ld-time.c (time_output): Likewise.
28490 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28492 * benchtests/Makefile: Add memrchr benchmark.
28493 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28494 benchmark as memrchr.
28495 * benchtests/bench-memrchr-ifunc.c: New file.
28496 * benchtests/bench-memrchr.c: New file.
28498 2013-09-06 Will Newton <will.newton@linaro.org>
28500 * benchtests/Makefile (string-bench): Add memcpy.
28502 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28503 Cong Wang <amwang@redhat.com>
28506 * sysdeps/unix/sysv/linux/bits/in.h
28507 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28508 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28509 before __USE_KERNEL_IPV6_DEFS uses.
28510 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28512 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28513 sockaddr_in6, or ipv6_mreq.
28515 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28517 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28518 memory access for final bytes in some large inputs.
28519 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28521 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28523 * string/test-memrchr.c: New file.
28524 * string/test-memrchr-ifunc.c: New file.
28525 * string/Makefile: Add new memrchr testcase.
28527 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28529 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28530 fanotify_init returns EPERM.
28532 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28534 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28536 (top level): Treat second token from macro or constant entries for
28537 allowed headers as allowed.
28538 * include/complex.h: Condition internal declarations on
28540 * include/fenv.h: Condition include of <stdbool.h> and internal
28541 declarations on [!_ISOMAC].
28543 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28546 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28548 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28550 * configure.in (--enable-versioning): Remove configure option.
28551 (libc_cv_asm_symver_directive): Remove configure test.
28552 (libc_cv_ld_version_script_option): Likewise.
28553 (VERSIONING): Remove variable and AC_SUBST.
28554 (DO_VERSIONING): Remove AC_DEFINE.
28555 * configure: Regenerated.
28556 * config.h.in (DO_VERSIONING): Remove macro.
28557 * Makerules [$(versioning) = yes]: Change conditionals to
28558 [$(build-shared) = yes].
28559 * config.make.in (versioning): Remove variable.
28560 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28561 [$(build-shared) = yes].
28562 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28563 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28564 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28565 [$(build-shared) = yes].
28566 * extra-lib.mk [$(versioning) = yes]: Likewise.
28567 * hurd/Makefile [$(versioning) = yes]: Likewise.
28568 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28570 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28572 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28573 [SHARED && !NO_HIDDEN].
28574 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28576 [SHARED && DO_VERSIONING]: Likewise..
28577 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28578 [$(build-shared) = yes].
28579 * manual/install.texi (--disable-versioning): Remove
28581 * INSTALL: Regenerated.
28582 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28584 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28585 [$(build-shared) = yes].
28586 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28587 * sysdeps/i386/i686/multiarch/strstr-c.c
28588 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28589 [SHARED && !NO_HIDDEN].
28590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28591 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28592 * sysdeps/powerpc/powerpc32/dl-machine.c
28593 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28594 * sysdeps/powerpc/powerpc32/sysdep.h
28595 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28596 to [SHARED && PIC && !NO_HIDDEN].
28597 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28598 conditional to [SHARED].
28600 2013-09-04 Will Newton <will.newton@linaro.org>
28602 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28603 * benchtests/bench-string.h: Include bench-timing.h instead
28604 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28605 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28606 call to HP_TIMING_DIFF_INIT.
28607 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28608 instead of hp-timing.h macros.
28609 * benchtests/bench-memchr.c: Likewise.
28610 * benchtests/bench-memcmp.c: Likewise.
28611 * benchtests/bench-memcpy.c: Likewise.
28612 * benchtests/bench-memmem.c: Likewise.
28613 * benchtests/bench-memmove.c: Likewise.
28614 * benchtests/bench-memset.c: Likewise.
28615 * benchtests/bench-rawmemchr.c: Likewise.
28616 * benchtests/bench-strcasecmp.c: Likewise.
28617 * benchtests/bench-strcasestr.c: Likewise.
28618 * benchtests/bench-strcat.c: Likewise.
28619 * benchtests/bench-strchr.c: Likewise.
28620 * benchtests/bench-strcmp.c: Likewise.
28621 * benchtests/bench-strcpy.c: Likewise.
28622 * benchtests/bench-strcpy_chk.c: Likewise.
28623 * benchtests/bench-strlen.c: Likewise.
28624 * benchtests/bench-strncasecmp.c: Likewise.
28625 * benchtests/bench-strncat.c: Likewise.
28626 * benchtests/bench-strncmp.c: Likewise.
28627 * benchtests/bench-strncpy.c: Likewise.
28628 * benchtests/bench-strnlen.c: Likewise.
28629 * benchtests/bench-strpbrk.c: Likewise.
28630 * benchtests/bench-strrchr.c: Likewise.
28631 * benchtests/bench-strspn.c: Likewise.
28632 * benchtests/bench-strstr.c: Likewise.
28634 2013-09-04 Will Newton <will.newton@linaro.org>
28636 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28638 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28641 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28642 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28643 * math/libm-test.inc (lgamma_test_data): Add more tests.
28644 * sysdeps/i386/fpu/libm-test-ulps: Update.
28645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28647 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28649 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28653 Add strcmp-sse2-unaligned
28654 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28656 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28658 * Versions.def (libc): Add GLIBC_2.19.
28660 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28662 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28663 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28665 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28668 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28669 intermediate calculations in recurrence.
28670 (__ieee754_ynf): Likewise.
28671 * math/libm-test.inc (jn_test_data): Do not allow spurious
28672 underflow exception. Add more tests.
28673 (yn_test_data): Add more tests.
28674 * sysdeps/i386/fpu/libm-test-ulps: Update.
28675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28677 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28679 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28681 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28683 * csu/init-first.c: Fix then/than typos.
28684 * locale/programs/ld-collate.c: Likewise.
28685 * locale/programs/linereader.h: Likewise.
28686 * manual/charset.texi: Likewise.
28687 * manual/filesys.texi: Likewise.
28688 * manual/stdio.texi: Likewise.
28689 * manual/string.texi: Likewise.
28690 * stdlib/fmtmsg.c: Likewise.
28691 * sysdeps/i386/stpncpy.S: Likewise.
28692 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28693 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28694 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28695 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28697 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28699 * elf/dl-open.c: Fix typos.
28700 * iconvdata/gbbig5.c: Likewise.
28701 * iconvdata/iso-2022-jp.c: Likewise.
28702 * iconv/gconv_int.h: Likewise.
28703 * iconv/loop.c: Likewise.
28704 * nis/rpcsvc/nis.h: Likewise.
28705 * resolv/ns_name.c: Likewise.
28706 * stdio-common/vfscanf.c: Likewise.
28707 * streams/stropts.h: Likewise.
28708 * sunrpc/rpc_thread.c: Likewise.
28709 * sysdeps/i386/strpbrk.S: Likewise.
28710 * sysdeps/ieee754/k_standard.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28713 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28714 * sysdeps/mach/hurd/profil.c: Likewise.
28715 * sysdeps/s390/dl-procinfo.h: Likewise.
28716 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28717 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28718 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28719 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28720 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28722 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28724 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28727 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28729 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28730 aix specific files.
28731 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28732 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28733 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28734 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28735 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28736 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28737 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28738 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28740 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28741 Roland McGrath <roland@hack.frob.com>
28743 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28744 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28746 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28748 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28749 __executable_start symbol instead of _start.
28751 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28753 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28754 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28756 * sysdeps/gnu/ldsodefs.h: ... this new file.
28758 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28759 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28760 instead of ELFOSABI_LINUX.
28762 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28763 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28764 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28765 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28767 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28768 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28771 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28772 (ibm_extended_long_double): Add ieee_nan member.
28773 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28774 (do_test): New function.
28776 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28778 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28779 functions, renamed from truncdfsf_test, trunctfsf_test,
28781 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28783 (do_test): Run all these.
28785 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28787 * argp/argp-help.c: Fix typos.
28788 * argp/argp-parse.c: Likewise.
28789 * debug/backtracesyms.c: Likewise.
28790 * elf/elf.h: Likewise.
28791 * malloc/malloc.c: Likewise.
28792 * nis/nis_print.c: Likewise.
28793 * resolv/res_comp.c: Likewise.
28794 * stdlib/stdlib.h: Likewise.
28795 * sunrpc/clnt_tcp.c: Likewise.
28796 * sunrpc/clnt_udp.c: Likewise.
28797 * sunrpc/clnt_unix.c: Likewise.
28798 * sysdeps/unix/bsd/ptsname.c: Likewise.
28799 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28807 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28809 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28811 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28814 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28817 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28818 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28819 ($(objpfx)bug-dl-leaf): New rule.
28820 ($(objpfx)bug-dl-leaf.so): Likewise.
28821 ($(objpfx)bug-dl-leaf.out): Likewise.
28822 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28823 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28824 * dlfcn/bug-dl-leaf.c: New test.
28825 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28826 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28827 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28828 (dlclose): Likewise.
28829 (dlmopen): Likewise.
28831 2013-08-27 Roland McGrath <roland@hack.frob.com>
28833 * include/netdb.h [!_ISOMAC]:
28834 Don't include <tls.h>.
28835 (h_errno, __libc_h_errno): Move declaration and macros out of
28838 * include/resolv.h [_RESOLV_H_]:
28839 Don't include <tls.h>.
28840 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28841 * resolv/res_libc.c: Don't include <tls.h>.
28842 (_res): Use __attribute__ ((nocommon)) in place of
28843 __attribute__ ((section (".bss"))).
28845 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28846 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28848 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28850 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28851 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28853 * resolv/res_mkquery.c: Include <sys/time.h>.
28855 * inet/ifreq.c: Moved to ...
28856 * sysdeps/unix/ifreq.c: ... here.
28857 * inet/ifreq.c: New file, true stub version.
28859 * socket/sa_len.c: New file.
28860 * socket/Makefile (aux): Add it.
28861 * sysdeps/unix/sysv/linux/Makefile
28862 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28863 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28864 and #include <socket/sa_len.c>.
28865 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28866 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28868 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28869 * bits/socket.h: ... here.
28871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28872 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28873 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28875 2013-08-27 Andreas Schwab <schwab@suse.de>
28878 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28879 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28880 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28881 * string/test-strcasecmp.c (test_main): Run tests in several
28883 * string/test-strncasecmp.c (test_main): Likewise.
28885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28886 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28887 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28889 (__strncasecmp_ssse3) [PIC]: Likewise.
28891 2013-08-26 Roland McGrath <roland@hack.frob.com>
28893 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28895 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28896 instead of explicitly declaring xdecrypt.
28897 * nis/nss_nis/nis-publickey.c: Likewise.
28899 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28902 * nscd/aicache.c: Include res_hconf.h.
28903 (addhstaiX): Initialize res_hconf.
28905 2013-08-26 Andreas Schwab <schwab@suse.de>
28907 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28908 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28910 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28912 * nscd/aicache.c (addhstaiX): Fix indentation.
28914 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28916 * configure.ac: Quote $build_pt_chown test.
28917 * configure: Regenerated.
28919 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28922 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28923 * math/s_cexpf.c (__cexpf): Likewise.
28924 * math/s_cexpl.c (__cexpl): Likewise.
28925 * math/libm-test.inc (cexp_test_data): Correct expected return
28926 value for NaN + i0. Add another test.
28928 2013-08-22 David S. Miller <davem@davemloft.net>
28930 * po/ca.po: Update Catalan translation from translation project.
28931 * po/uk.po: Add Ukrainian translations from translation project.
28933 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28936 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28937 is infinite, not alongside NaN test.
28938 * math/s_fdimf.c (__fdimf): Likewise.
28939 * math/s_fdiml.c (__fdiml): Likewise.
28940 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28941 errno is unchanged.
28943 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28945 * argp/argp-help.c: Fix typos.
28946 * crypt/speeds.c: Likewise.
28947 * csu/check_fds.c: Likewise.
28948 * elf/dl-load.c: Likewise.
28949 * elf/dl-open.c: Likewise.
28950 * elf/reldep3.c: Likewise.
28951 * elf/reldep.c: Likewise.
28952 * elf/sprof.c: Likewise.
28953 * iconv/iconv_charmap.c: Likewise.
28954 * iconv/skeleton.c: Likewise.
28955 * iconv/strtab.c: Likewise.
28956 * io/lockf64.c: Likewise.
28957 * libio/libioP.h: Likewise.
28958 * resolv/gai_notify.c: Likewise.
28959 * resolv/ns_name.c: Likewise.
28960 * resolv/ns_samedomain.c: Likewise.
28961 * resolv/res_send.c: Likewise.
28962 * stdlib/random.c: Likewise.
28963 * sunrpc/rpc/xdr.h: Likewise.
28964 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28965 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28966 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28967 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28968 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28972 * sysdeps/mach/hurd/check_fds.c: Likewise.
28973 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28974 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28976 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28977 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28978 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28979 * sysdeps/pthread/aio_notify.c: Likewise.
28980 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28981 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28982 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28983 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28984 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28986 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28988 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28989 version if bit_Slow_SSE4_2 is set.
28990 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28993 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28996 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28997 trampoline stack frame information.
28998 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28999 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29000 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29001 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29002 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29003 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29004 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29005 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29007 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29008 interrupting a syscall and set with option SA_SIGINFO.
29010 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29013 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29014 argument is infinite.
29015 * math/s_cprojf.c (__cprojf): Likewise.
29016 * math/s_cprojl.c (__cprojl): Likewise.
29017 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29018 * math/libm-test.inc (cproj_test_data): Add more tests.
29020 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29022 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29023 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29024 size. Use __ffs to determine corresponding shift.
29026 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29027 Roland McGrath <roland@hack.frob.com>
29029 * Makefile (INSTALL): Remove trailing blank lines from output of
29032 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29034 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29035 Align 32 bit compat elf_greg to 8 bytes.
29037 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29039 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29041 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29043 * string/strcoll_l.c (coll_seq): New structure.
29044 (get_next_seq_cached): New function.
29045 (get_next_seq): New function.
29046 (do_compare): New function.
29047 (STRCOLL): Use GNU style definition. Simplify implementation
29048 by using get_next_seq, get_next_seq_cached and do_compare.
29050 2013-08-16 Florian Weimer <fweimer@redhat.com>
29054 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29056 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29058 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29059 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29060 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29062 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29063 GETDENTS_64BIT_ALIGNED.
29064 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29065 * manual/filesys.texi (Reading/Closing Directory): Document
29066 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29068 * manual/conf.texi (Limits for Files): Add portability note to
29069 NAME_MAX, PATH_MAX.
29070 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29072 2013-08-13 Andreas Schwab <schwab@suse.de>
29075 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29077 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29078 LDBL_MAX_EXP >= 16384]: Add tests for it.
29080 2013-08-12 David S. Miller <davem@davemloft.net>
29082 * version.h (RELEASE): Set to "development".
29083 (VERSION): Set to "2.18.90".
29084 * NEWS: Add 2.19 section.
29086 2013-08-03 David S. Miller <davem@davemloft.net>
29088 * po/ko.po: Update Korean translation from translation project.
29090 2013-08-01 David S. Miller <davem@davemloft.net>
29092 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29093 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29096 2013-07-30 David S. Miller <davem@davemloft.net>
29098 * po/fr.po: Update French translation from translation project.
29100 2013-07-28 David S. Miller <davem@davemloft.net>
29102 * po/cs.po: Update Czech translation from translation project.
29104 * po/sv.po: Update Swedish translation from translation project.
29106 2013-07-27 David S. Miller <davem@davemloft.net>
29108 * po/eo.po: Update Esperanto translation from translation project.
29110 * po/vi.po: Update Vietnamese translation from translation project.
29112 * po/de.po: Update German translation from translation project.
29114 2013-07-26 David S. Miller <davem@davemloft.net>
29116 * po/bg.po: Update Bulgarian translation from translation project.
29118 * po/nl.po: Update Dutch translation from translation project.
29119 * po/pl.po: Update Polish translation from translation project.
29120 * po/ru.po: Update Russian translation from translation project.
29122 2013-07-24 David S. Miller <davem@davemloft.net>
29124 * po/libc.pot: Update.
29126 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29128 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29129 variable page size.
29130 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29131 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29132 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29134 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29136 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29138 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29139 Andreas Schwab <schwab@suse.de>
29140 Roland McGrath <roland@hack.frob.com>
29141 Joseph Myers <joseph@codesourcery.com>
29142 Carlos O'Donell <carlos@redhat.com>
29145 * config.h.in: Define HAVE_PT_CHOWN.
29146 * config.make.in (build-pt-chown): New variable.
29147 * configure.in (--enable-pt_chown): New configure option.
29148 * configure: Regenerate.
29149 * login/Makefile: Include Makeconfig. Build pt_chown only if
29150 build-pt-chown is enabled.
29151 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29152 pt_chown to fix pty ownership.
29153 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29155 * manual/install.texi (Configuring and compiling): Mention
29156 --enable-pt_chown. Add @findex for grantpt.
29157 * INSTALL: Regenerate.
29159 2013-07-20 David S. Miller <davem@davemloft.net>
29161 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29162 difference between 32-bit and 64-bit.
29164 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29167 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29168 Avoid system header dependency with -ffreestanding.
29169 ($(objpfx)bits/syscall%d): Likewise.
29171 2013-07-13 David S. Miller <davem@davemloft.net>
29173 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29174 underflows from atanl/atan2l due to bug 15319.
29175 (casinh_test_data): Likewise.
29177 2013-07-07 David S. Miller <davem@davemloft.net>
29179 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29181 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29183 * sysdeps/i386/fpu/libm-test-ulps: Update.
29184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29186 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29188 * configure.in (--enable-lock-elision): Fix message text.
29189 * INSTALL: Regenerate.
29190 * configure: Regenerate.
29192 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29196 2013-07-03 Andreas Jaeger <aj@suse.de>
29198 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29200 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29201 (ptrace_peeksiginfo_args): Add.
29202 (__ptrace_peeksiginfo_flags): Add.
29203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29207 2013-07-03 Allan McRae <allan@archlinux.org>
29209 * sysdeps/i386/fpu/libm-test-ulps: Update.
29211 2013-07-02 David S. Miller <davem@davemloft.net>
29213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29215 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29219 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29221 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29224 2013-07-02 Andi Kleen <ak@linux.intel.com>
29226 * config.h.in (ENABLE_LOCK_ELISION): Add.
29227 * configure.in (--enable-lock-elision): Add option.
29228 * manual/install.texi: Document --enable lock elision.
29229 * configure: Regenerate
29230 * INSTALL: Regenerate.
29232 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29234 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29235 SSE4.2 strcasecmp for libc.a.
29236 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29238 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29241 * soft-fp/op-common.h (_FP_FMA): New macro.
29242 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29243 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29244 (_FP_MUL_MEAT_1_imm): ... here.
29245 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29246 (_FP_MUL_MEAT_1_wide): ... here.
29247 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29248 (_FP_MUL_MEAT_1_hard): ... here.
29249 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29250 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29251 (_FP_MUL_MEAT_2_wide): ... here.
29252 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29253 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29254 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29255 (_FP_MUL_MEAT_2_gmp): ... here.
29256 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29257 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29258 (_FP_MUL_MEAT_4_wide): ... here.
29259 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29260 (_FP_MUL_MEAT_4_gmp): ... here.
29261 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29262 (_FP_WFRACBITS_DW_S): Likewise.
29263 (_FP_WFRACXBITS_DW_S): Likewise.
29264 (_FP_HIGHBIT_DW_S): Likewise.
29265 (FP_FMA_S): Likewise.
29266 (_FP_FRAC_HIGH_DW_S): Likewise.
29267 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29268 (_FP_WFRACBITS_DW_D): Likewise.
29269 (_FP_WFRACXBITS_DW_D): Likewise.
29270 (_FP_HIGHBIT_DW_D): Likewise.
29271 (FP_FMA_D): Likewise.
29272 (_FP_FRAC_HIGH_DW_D): Likewise.
29273 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29274 (_FP_WFRACBITS_DW_E): Likewise.
29275 (_FP_WFRACXBITS_DW_E): Likewise.
29276 (_FP_HIGHBIT_DW_E): Likewise.
29277 (FP_FMA_E): Likewise.
29278 (_FP_FRAC_HIGH_DW_E): Likewise.
29279 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29280 (_FP_WFRACBITS_DW_Q): Likewise.
29281 (_FP_WFRACXBITS_DW_Q): Likewise.
29282 (_FP_HIGHBIT_DW_Q): Likewise.
29283 (FP_FMA_Q): Likewise.
29284 (_FP_FRAC_HIGH_DW_Q): Likewise.
29285 * soft-fp/fmasf4.c: New file.
29286 * soft-fp/fmadf4.c: Likewise.
29287 * soft-fp/fmatf4.c: Likewise.
29289 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29292 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29296 (index_Slow_SSE4_2): Likewise.
29297 (index_Prefer_PMINUB_for_stringop): Likewise.
29298 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29299 bit_Slow_SSE4_2 is set.
29300 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29301 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29303 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29305 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29306 rtld_global._dl_hwcap2.
29307 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29309 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29310 POWER8 feature descriptions defined in _dl_hwcap2.
29311 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29312 string handling for POWER8 feature bits.
29313 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29314 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29315 _dl_powerpc_cap_flags.
29316 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29317 * sysdeps/powerpc/rtld-global-offsets.sym
29318 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29319 _dl_hwcap2 in the rtld_global_ro structure.
29321 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29323 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29324 hardware capabilities in support of AT_HWCAP2.
29325 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29326 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29328 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29329 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29330 explicitly the unknown a_type display mechanism is used.
29331 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29332 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29334 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29335 to macro prototype for AT_HWCAP2 support.
29336 * sysdeps/i386/dl-procinfo.h: Likewise.
29337 * sysdeps/s390/dl-procinfo.h: Likewise.
29338 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29339 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29340 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29341 return -1 for unknown a_type display fallback.
29342 * sysdeps/sparc/dl-procinfo.h: Likewise.
29343 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29344 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29346 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29348 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29349 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29351 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29354 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29355 mprotect making __stack_prot writable.
29357 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29358 Joseph Myers <joseph@codesourcery.com>
29360 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29361 as being properly aligned.
29363 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29365 * dlfcn/modstatic5.c: New file.
29366 * dlfcn/tststatic5.c: New file.
29367 * dlfcn/Makefile (tests): Add tststatic5.
29368 (tests-static): Likewise.
29369 (modules-names): Add modstatic5.
29370 (tststatic5-ENV): New variable.
29371 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29374 * elf/dl-support.c (_dl_main_map): New variable.
29375 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29376 (_dl_nns, _dl_load_adds): Set to 1.
29377 (_dl_initial_searchlist): Refer to _dl_main_map.
29378 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29379 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29380 call to _dl_get_origin.
29381 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29383 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29384 * dlfcn/modstatic3.c: New file.
29385 * dlfcn/tststatic3.c: New file.
29386 * dlfcn/tststatic4.c: New file.
29387 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29388 (tests-static): Likewise.
29389 (modules-names): Add modstatic3.
29390 (tststatic3-ENV, tststatic4-ENV): New variables.
29391 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29392 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29394 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29396 * configure.in (CC): Require GCC version 4.4 or later.
29397 * configure: Regenerated.
29398 * manual/install.texi (Tools for Compilation): Update GCC version
29400 * INSTALL: Regenerated.
29402 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29405 * string/test-memcmp.c (check2): New.
29406 (main): Call check2.
29408 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29410 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29413 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29415 (dl_open_worker) [!SHARED]: ... here.
29417 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29419 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29421 2013-06-25 Richard Henderson <rth@redhat.com>
29423 * locale/programs/locarchive.c: Include <libc-internal.h>
29425 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29427 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29428 trailing whitespace removed.
29430 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29433 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29434 * locale/programs/locarchive.c: Include libc-mmap.h.
29435 (prepare_address_space): Take two new outputs (the mmap base and len).
29436 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29438 (create_archive): Declare new mmap base and len values for
29439 prepare_address_space, and store the result in ah.
29440 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29441 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29442 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29443 Declare new mmap base and len values for
29444 prepare_address_space, and store the result in new_ah.
29445 (open_archive): Declare new mmap base and len values for
29446 prepare_address_space, and store the result in ah.
29447 (close_archive): If ah->mmap_base is not NULL, use that and
29448 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29449 * sysdeps/generic/libc-mmap.h: New file.
29451 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29453 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29454 (ALIGN_UP): Likewise.
29455 (PTR_ALIGN_DOWN): Likewise.
29456 (PTR_ALIGN_UP): Likewise.
29458 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29460 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29461 entry mapped to PPC_PLATFORM_POWER8.
29462 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29464 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29465 (_dl_string_platform): Add case for exporting platform position for
29467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29468 search path to sysdeps/powerpc/powerpc32/power8 directory.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29470 search path to sysdeps/powerpc/powerpc64/power8 directory.
29471 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29472 power7 directories.
29473 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29474 power7 directories.
29476 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29478 * INSTALL: Regenerate.
29480 * nscd/connections.c (nscd_init): Fix comment.
29482 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29484 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29487 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29488 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29490 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29492 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29494 (DL_DST_REQ_STATIC): Remove macro.
29496 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29499 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29500 with a shift of 0 bits.
29502 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29504 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29507 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29510 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29512 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29514 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29515 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29516 accepts -fno-tree-loop-distribute-patterns.
29517 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29518 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29520 * string/memset.c (memset): Likewise.
29521 * string/test-memmove.c (simple_memmove): Disable loop transformation
29523 * string/test-memset.c (simple_memset): Likewise.
29524 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29525 * benchtests/bench-memset.c (simple_memset): Likewise.
29526 * configure: Regenerated.
29528 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29530 * math/test-misc.c (main): Ignore fesetround failure when failures
29531 of subsequent rounding tests would be ignored.
29534 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29535 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29536 * math/fegetenv.c (__fegetenv): Return 0.
29537 * math/fegetexcept.c (fegetexcept): Return 0.
29538 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29540 * math/feholdexcpt.c (feholdexcept): Return 0.
29541 * math/fesetenv.c (__fesetenv): Return 0.
29542 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29543 argument FE_TONEAREST.
29544 * math/feupdateenv.c (__feupdateenv): Return 0.
29545 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29547 2013-06-18 Roland McGrath <roland@hack.frob.com>
29549 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29550 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29551 ($(objpfx)rtld-%.os rules): Use them.
29553 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29555 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29558 2013-06-17 Roland McGrath <roland@hack.frob.com>
29560 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29561 length of target pattern, then descending length of dependency pattern.
29562 * configure.in (AWK): Require gawk 3.1.2 or newer.
29563 * manual/install.texi (Tools for Compilation): Say that we do.
29564 * configure: Regenerated.
29566 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29567 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29568 * scripts/sysd-rules.awk: ... this new script.
29569 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29570 than a glob-style pattern.
29572 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29574 * math/test-misc.c (main): Do not treat incorrectly rounded
29575 conversions as failure unless ROUNDING_TESTS passes.
29577 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29580 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29581 restore exception state around main square root computation, then
29582 check for inexactness explicitly.
29584 * math/libm-test.inc (fma_test_data): Add another test.
29586 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29588 * manual/threads.texi (Non-POSIX Extensions): New document
29589 node. Document pthread_getattr_default_np and
29590 pthread_setattr_default_np.
29592 * Versions.def (libpthread): Add GLIBC_2.18.
29593 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29602 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29613 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29616 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29618 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29619 H.J. Lu <hjl.tools@gmail.com>
29622 * sysdeps/x86_64/rtld-memset.c: Remove file.
29623 * sysdeps/x86_64/rtld-memset.S: New file.
29625 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29627 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29628 (test_in_one_mode): Take arguments for whether the rounding mode
29629 is supported for each floating-point type.
29630 (do_test): Pass new arguments to test_in_one_mode using
29633 2013-06-13 Roland McGrath <roland@hack.frob.com>
29635 * posix/tst-waitid.c (do_test): Distinguish different instances of
29636 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29637 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29638 before entering the kernel for waitpid.
29640 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29642 * NEWS: Fix note on clock function precision. Text by Roland
29645 2013-06-13 Roland McGrath <roland@hack.frob.com>
29647 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29648 it into place only when and if the sanity check passes.
29650 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29652 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29653 output for whether conversion result is exact. Take argument
29654 indicating whether type is IBM long double.
29655 (round_for_all): Change need_exact field to ibm_ld.
29656 * stdlib/tst-strtod-round.c (struct exactness): New type.
29657 (struct test): Change bool ld_ok field to struct exactness exact.
29658 (TEST): Update all definitions for change to field.
29659 (tests): Regenerate array contents.
29660 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29661 field value. Check for IBM long double here.
29662 (do_test): Update calls to test_in_one_mode.
29664 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29667 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29668 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29670 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29673 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29674 generated by the compiler on loop optimizations.
29675 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29676 general definitions.
29678 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29680 * math/bug-nextafter.c: Include <math-tests.h>.
29681 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29683 * math/bug-nexttoward.c: Include <math-tests.h>.
29684 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29686 * math/test-misc.c: Include <math-tests.h>.
29687 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29690 2013-06-12 Andreas Jaeger <aj@suse.de>
29692 * po/ia.po: Update Interlingua translation from translation
29695 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29697 * include/fenv.h: Include stdbool.h.
29698 (struct rm_ctx): New structure.
29699 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29701 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29702 (SET_RESTORE_ROUNDF): Likewise.
29703 (SET_RESTORE_ROUNDL): Likewise.
29704 (SET_RESTORE_ROUND_NOEX): Likewise.
29705 (SET_RESTORE_ROUND_NOEXF): Likewise.
29706 (SET_RESTORE_ROUND_NOEXL): Likewise.
29707 (SET_RESTORE_ROUND_53BIT): Likewise.
29708 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29709 (libc_feresetround_noexf_ctx): Likewise.
29710 (libc_feresetround_noexl_ctx): Likewise.
29711 (libc_feholdsetround_53bit_ctx): Likewise.
29712 (libc_feresetround_53bit_ctx): Likewise.
29713 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29714 (libc_feholdexcept_setround_sse_ctx): New function.
29715 (libc_fesetenv_sse_ctx): Likewise.
29716 (libc_feupdateenv_sse_ctx): Likewise.
29717 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29718 (libc_feholdexcept_setround_387_ctx): Likewise.
29719 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29720 (libc_feholdsetround_387_prec_ctx): Likewise.
29721 (libc_feholdsetround_387_ctx): Likewise.
29722 (libc_feholdsetround_387_53bit_ctx): Likewise.
29723 (libc_feholdsetround_sse_ctx): Likewise.
29724 (libc_feresetround_sse_ctx): Likewise.
29725 (libc_feresetround_387_ctx): Likewise.
29726 (libc_feupdateenv_387_ctx): Likewise.
29727 (libc_feholdexcept_setroundf_ctx): Define macro.
29728 (libc_fesetenvf_ctx): Likewise.
29729 (libc_feupdateenvf_ctx): Likewise.
29730 (libc_feholdsetroundf_ctx): Likewise.
29731 (libc_feresetroundf_ctx): Likewise.
29732 (libc_feholdexcept_setround_ctx): Likewise.
29733 (libc_fesetenv_ctx): Likewise.
29734 (libc_feupdateenv_ctx): Likewise.
29735 (libc_feholdsetround_ctx): Likewise.
29736 (libc_feresetround_ctx): Likewise.
29737 (libc_feholdexcept_setroundl_ctx): Likewise.
29738 (libc_feupdateenvl_ctx): Likewise.
29739 (libc_feholdsetroundl_ctx): Likewise.
29740 (libc_feresetroundl_ctx): Likewise.
29741 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29742 (libc_feresetround_53bit_ctx): Likewise.
29744 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29746 * locale/iso-639.def: Convert to UTF-8.
29748 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29750 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29751 (EXCEPTION_TESTS_double): Likewise.
29752 (EXCEPTION_TESTS_long_double): Likewise.
29753 (EXCEPTION_TESTS): Likewise.
29754 * math/libm-test.inc (test_exceptions): Only test exceptions if
29755 EXCEPTION_TESTS (FLOAT).
29757 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29759 * benchtests/Makefile (string-bench): Add strcpy_chk and
29761 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29762 * benchtests/bench-stpcpy_chk.c: New file.
29763 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29764 * benchtests/bench-strcpy_chk.c: New file.
29765 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29767 (do_test): Likewise.
29769 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29771 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29772 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29773 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29774 with tabs where appropriate.
29775 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29777 [PPC_PLATFORM_PPC440]: Likewise.
29778 [PPC_PLATFORM_PPC464]: Likewise.
29779 [PPC_PLATFORM_PPC476]: Likewise.
29780 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29781 ppc464, and ppc476 platform strings merging from ports/
29784 2013-06-11 Andreas Schwab <schwab@suse.de>
29787 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29788 (from_ucs4_idx): Regenerate.
29789 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29790 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29791 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29792 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29793 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29794 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29795 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29796 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29797 from FROM_LOOP and TO_LOOP specific macros.
29798 (BODY): Handle combining characters.
29799 * iconvdata/BIG5HKSCS.irreversible: Update.
29800 * iconvdata/BIG5HKSCS.precomposed: New file.
29801 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29803 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29805 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29807 * include/sys/time.h: Fix indentation and add copyright header.
29809 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29810 (do_test): Likewise.
29811 * string/test-memchr.c (do_one_test): Likewise.
29812 (do_test): Likewise.
29813 * string/test-memcmp.c (do_one_test): Likewise.
29814 (do_test): Likewise.
29815 * string/test-memcpy.c (do_one_test): Likewise.
29816 (do_test): Likewise.
29817 * string/test-memmem.c (do_one_test): Likewise.
29818 (do_test): Likewise.
29819 (do_random_tests): Likewise.
29820 * string/test-memmove.c (do_one_test): Likewise.
29821 (do_test): Likewise.
29822 * string/test-memset.c (do_one_test): Likewise.
29823 (do_test): Likewise.
29824 * string/test-rawmemchr.c (do_one_test): Likewise.
29825 (do_test): Likewise.
29826 * string/test-strcasecmp.c (do_one_test): Likewise.
29827 (do_test): Likewise.
29828 * string/test-strcasestr.c (do_one_test): Likewise.
29829 (do_test): Likewise.
29830 * string/test-strcat.c (do_one_test): Likewise.
29831 (do_test): Likewise.
29832 * string/test-strchr.c (do_one_test): Likewise.
29833 (do_test): Likewise.
29834 * string/test-strcmp.c (do_one_test): Likewise.
29835 (do_test): Likewise.
29836 * string/test-strcpy.c (do_one_test): Likewise.
29837 (do_test): Likewise.
29838 * string/test-string.h: Likewise.
29839 (test_init): Likewise.
29840 * string/test-strlen.c (do_one_test): Likewise.
29841 (do_test): Likewise.
29842 * string/test-strncasecmp.c (do_one_test): Likewise.
29843 (do_test): Likewise.
29844 * string/test-strncat.c (do_one_test): Likewise.
29845 (do_test): Likewise.
29846 * string/test-strncmp.c (do_one_test): Likewise.
29847 (do_test_limit): Likewise.
29848 (do_test): Likewise.
29849 * string/test-strncpy.c (do_one_test): Likewise.
29850 (do_test): Likewise.
29851 * string/test-strnlen.c (do_one_test): Likewise.
29852 (do_test): Likewise.
29853 * string/test-strpbrk.c (do_one_test): Likewise.
29854 (do_test): Likewise.
29855 * string/test-strrchr.c (do_one_test): Likewise.
29856 (do_test): Likewise.
29857 * string/test-strspn.c (do_one_test): Likewise.
29858 (do_test): Likewise.
29859 * string/test-strstr.c (do_one_test): Likewise.
29860 (do_test): Likewise.
29862 * benchtests/Makefile (string-bench): Add string benchmarks.
29863 * benchtests/bench-bcopy-ifunc.c: New file.
29864 * benchtests/bench-bcopy.c: New file.
29865 * benchtests/bench-bzero-ifunc.c: New file.
29866 * benchtests/bench-bzero.c: New file.
29867 * benchtests/bench-memccpy-ifunc.c: New file.
29868 * benchtests/bench-memccpy.c: New file.
29869 * benchtests/bench-memchr-ifunc.c: New file.
29870 * benchtests/bench-memchr.c: New file.
29871 * benchtests/bench-memcmp-ifunc.c: New file.
29872 * benchtests/bench-memcmp.c: New file.
29873 * benchtests/bench-memmem-ifunc.c: New file.
29874 * benchtests/bench-memmem.c: New file.
29875 * benchtests/bench-memmove-ifunc.c: New file.
29876 * benchtests/bench-memmove.c: New file.
29877 * benchtests/bench-mempcpy-ifunc.c: New file.
29878 * benchtests/bench-mempcpy.c: New file.
29879 * benchtests/bench-memset-ifunc.c: New file.
29880 * benchtests/bench-memset.c: New file.
29881 * benchtests/bench-rawmemchr-ifunc.c: New file.
29882 * benchtests/bench-rawmemchr.c: New file.
29883 * benchtests/bench-stpcpy-ifunc.c: New file.
29884 * benchtests/bench-stpcpy.c: New file.
29885 * benchtests/bench-stpncpy-ifunc.c: New file.
29886 * benchtests/bench-stpncpy.c: New file.
29887 * benchtests/bench-strcasecmp-ifunc.c: New file.
29888 * benchtests/bench-strcasecmp.c: New file.
29889 * benchtests/bench-strcasestr-ifunc.c: New file.
29890 * benchtests/bench-strcasestr.c: New file.
29891 * benchtests/bench-strcat-ifunc.c: New file.
29892 * benchtests/bench-strcat.c: New file.
29893 * benchtests/bench-strchr-ifunc.c: New file.
29894 * benchtests/bench-strchr.c: New file.
29895 * benchtests/bench-strchrnul-ifunc.c: New file.
29896 * benchtests/bench-strchrnul.c: New file.
29897 * benchtests/bench-strcmp-ifunc.c: New file.
29898 * benchtests/bench-strcmp.c: New file.
29899 * benchtests/bench-strcpy-ifunc.c: New file.
29900 * benchtests/bench-strcpy.c: New file.
29901 * benchtests/bench-strcspn-ifunc.c: New file.
29902 * benchtests/bench-strcspn.c: New file.
29903 * benchtests/bench-strlen-ifunc.c: New file.
29904 * benchtests/bench-strlen.c: New file.
29905 * benchtests/bench-strncasecmp-ifunc.c: New file.
29906 * benchtests/bench-strncasecmp.c: New file.
29907 * benchtests/bench-strncat-ifunc.c: New file.
29908 * benchtests/bench-strncat.c: New file.
29909 * benchtests/bench-strncmp-ifunc.c: New file.
29910 * benchtests/bench-strncmp.c: New file.
29911 * benchtests/bench-strncpy-ifunc.c: New file.
29912 * benchtests/bench-strncpy.c: New file.
29913 * benchtests/bench-strnlen-ifunc.c: New file.
29914 * benchtests/bench-strnlen.c: New file.
29915 * benchtests/bench-strpbrk-ifunc.c: New file.
29916 * benchtests/bench-strpbrk.c: New file.
29917 * benchtests/bench-strrchr-ifunc.c: New file.
29918 * benchtests/bench-strrchr.c: New file.
29919 * benchtests/bench-strspn-ifunc.c: New file.
29920 * benchtests/bench-strspn.c: New file.
29921 * benchtests/bench-strstr-ifunc.c: New file.
29922 * benchtests/bench-strstr.c: New file.
29924 * benchtests/Makefile: Disable parallel execution of targets.
29925 (string-bench): Add memcpy.
29926 (benchset): New variable to store a list of benchmark sets.
29927 (bench-func): Renamed from bench.
29928 (bench-set): New target.
29929 (bench): Depend on bench-func and bench-set.
29930 * benchtests/README: Add section on benchmark sets.
29931 * benchtests/bench-memcpy-ifunc.c: New file.
29932 * benchtests/bench-memcpy.c: New file.
29933 * benchtests/bench-string.h: New file.
29935 2013-06-11 Andreas Schwab <schwab@suse.de>
29938 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29939 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29940 values in the triple.
29941 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29942 terminator in the group key.
29944 2013-06-11 Andreas Jaeger <aj@suse.de>
29946 * po/zh_TW.po: Update Chinese (traditional) translation from
29947 translation project.
29949 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29951 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29952 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29953 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29954 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29955 (clock_getcpuclockid): Likewise.
29956 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29957 Add weak_alias and libc_hidden_def.
29958 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29959 * rt/clock_gettime.c (clock_gettime): Rename to
29960 __clock_gettime. Add weak_alias and libc_hidden_def.
29961 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29962 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29963 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29964 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29965 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29967 * rt/clock_settime.c (clock_settime): Rename to
29968 __clock_settime. Add weak_alias and libc_hidden_def.
29969 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29971 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29973 * mach/err_boot.sub: Remove trailing whitespace.
29974 * mach/err_ipc.sub: Likewise.
29975 * mach/err_mach.sub: Likewise.
29977 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29978 (ROUNDING_TESTS_double): Likewise.
29979 (ROUNDING_TESTS_long_double): Likewise.
29980 (ROUNDING_TESTS): Likewise.
29981 * math/libm-test.inc: Include <math-tests.h>.
29982 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29983 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29984 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29985 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29987 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29989 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29992 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29994 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29995 otherwise empty TRANS lines.
29996 * sysdeps/gnu/errlist.c: Regenerated.
29998 * catgets/gencat.c (error_print): Use (void) in function
30000 * crypt/crypt_util.c (__init_des): Likewise.
30001 * crypt/speeds.c (Stop): Likewise.
30003 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30004 * inet/ruserpass.c (token): Likewise.
30005 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30006 * intl/localealias.c (extend_alias_table): Likewise.
30007 * intl/plural-exp.c (init_germanic_plural): Likewise.
30008 * libio/fcloseall.c (__fcloseall): Likewise.
30009 * libio/genops.c (_IO_flush_all): Likewise.
30010 (_IO_flush_all_linebuffered): Likewise.
30011 (_IO_cleanup): Likewise.
30012 (_IO_iter_begin): Likewise.
30013 (_IO_iter_end): Likewise.
30014 (_IO_list_lock): Likewise.
30015 (_IO_list_unlock): Likewise.
30016 (_IO_list_resetlock): Likewise.
30017 * libio/getchar.c (getchar): Likewise.
30018 * libio/getchar_u.c (getchar_unlocked): Likewise.
30019 * libio/getwchar.c (getwchar): Likewise.
30020 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30021 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30022 * login/getpt.c (__getpt): Likewise.
30023 * login/tst-utmp.c (main): Likewise.
30024 * malloc/hooks.c (__malloc_check_init): Likewise.
30025 * malloc/malloc.c (__malloc_stats): Likewise.
30026 * malloc/mtrace.c (tr_break): Likewise.
30027 (mtrace): Likewise.
30028 (muntrace): Likewise.
30029 * misc/fstab.c (endfsent): Likewise.
30030 * misc/getclktck.c (__getclktck): Likewise.
30031 * misc/getdtsz.c (__getdtablesize): Likewise.
30032 * misc/gethostid.c (gethostid): Likewise.
30033 * misc/getpagesize.c (__getpagesize): Likewise.
30034 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30035 (__get_nprocs): Likewise.
30036 (__get_phys_pages): Likewise.
30037 (__get_avphys_pages): Likewise.
30038 * misc/getttyent.c (getttyent): Likewise.
30039 (setttyent): Likewise.
30040 (endttyent): Likewise.
30041 * misc/getusershell.c (getusershell): Likewise.
30042 (endusershell): Likewise.
30043 (setusershell): Likewise.
30044 (initshells): Likewise.
30045 * misc/hsearch.c (__hdestroy): Likewise.
30046 * misc/sync.c (sync): Likewise.
30047 * misc/syslog.c (closelog_internal): Likewise.
30048 (closelog): Likewise.
30049 * misc/ttyslot.c (ttyslot): Likewise.
30050 * misc/vhangup.c (vhangup): Likewise.
30051 * posix/fork.c (__fork): Likewise.
30052 * posix/getegid.c (__getegid): Likewise.
30053 * posix/geteuid.c (__geteuid): Likewise.
30054 * posix/getgid.c (__getgid): Likewise.
30055 * posix/getpid.c (__getpid): Likewise.
30056 * posix/getppid.c (__getppid): Likewise.
30057 * posix/getuid.c (__getuid): Likewise.
30058 * posix/pause.c (pause): Likewise.
30059 * posix/setpgrp.c (setpgrp): Likewise.
30060 * posix/setsid.c (__setsid): Likewise.
30061 * posix/test-vfork.c (noop): Likewise.
30062 * resolv/gethnamaddr.c (_endhtent): Likewise.
30063 (_gethtent): Likewise.
30064 (ht_endhostent): Likewise.
30065 (gethostent): Likewise.
30066 (dns_service): Likewise.
30067 * stdlib/drand48.c (drand48): Likewise.
30068 * stdlib/lrand48.c (lrand48): Likewise.
30069 * stdlib/mrand48.c (mrand48): Likewise.
30070 * stdlib/rand.c (rand): Likewise.
30071 * stdlib/random.c (__random): Likewise.
30072 * stdlib/setenv.c (clearenv): Likewise.
30073 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30074 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30075 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30076 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30077 (__get_nprocs): Likewise.
30078 (__get_phys_pages): Likewise.
30079 (__get_avphys_pages): Likewise.
30080 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30081 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30082 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30083 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30084 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30085 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30086 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30087 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30088 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30089 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30090 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30091 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30092 * sysdeps/posix/clock.c (clock): Likewise.
30093 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30094 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30095 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30096 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30097 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30099 (__get_nprocs_conf): Likewise.
30100 (__get_phys_pages): Likewise.
30101 (__get_avphys_pages): Likewise.
30102 * time/clock.c (clock): Likewise.
30103 * time/tzset.c (__tzname_max): Likewise.
30105 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30107 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30108 (__bswap_32): Do not use "register".
30109 * crypt/crypt.c (_ufc_doit_r): Likewise.
30110 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30111 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30112 * gmon/gmon.c (__monstartup): Likewise.
30113 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30114 * hurd/hurdmalloc.c (more_memory): Likewise.
30115 (malloc): Likewise.
30117 (realloc): Likewise.
30118 (malloc_fork_prepare): Likewise.
30119 (malloc_fork_parent): Likewise.
30120 (malloc_fork_child): Likewise.
30121 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30122 (_svcauth_des): Likewise.
30123 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30124 * inet/inet_net.c (inet_network): Likewise.
30125 * inet/inet_netof.c (inet_netof): Likewise.
30126 * inet/rcmd.c (__validuser2_sa): Likewise.
30127 * io/fts.c (fts_open): Likewise.
30128 (fts_load): Likewise.
30129 (fts_close): Likewise.
30130 (fts_read): Likewise.
30131 (fts_children): Likewise.
30132 (fts_build): Likewise.
30133 (fts_stat): Likewise.
30134 (fts_sort): Likewise.
30135 (fts_alloc): Likewise.
30136 (fts_lfree): Likewise.
30137 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30138 (_IO_file_xsgetn): Likewise.
30139 (_IO_file_xsgetn_mmap): Likewise.
30140 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30141 (_IO_cookie_write): Likewise.
30142 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30143 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30144 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30145 * malloc/obstack.c (_obstack_begin): Likewise.
30146 (_obstack_begin_1): Likewise.
30147 (_obstack_newchunk): Likewise.
30148 (_obstack_allocated_p): Likewise.
30149 (obstack_free): Likewise.
30150 (_obstack_memory_used): Likewise.
30151 * misc/getttyent.c (getttynam): Likewise.
30152 (getttyent): Likewise.
30155 * misc/getusershell.c (initshells): Likewise.
30156 * misc/syslog.c (__vsyslog_chk): Likewise.
30157 * misc/ttyslot.c (ttyslot): Likewise.
30158 * nis/nis_hash.c (__nis_hash): Likewise.
30159 * posix/fnmatch_loop.c (FCT): Likewise.
30160 * posix/getconf.c (print_all): Likewise.
30162 * posix/getopt.c (exchange): Likewise.
30163 * posix/glob.c (globfree): Likewise.
30164 (prefix_array): Likewise.
30165 (__glob_pattern_type): Likewise.
30166 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30167 (NS_GET32): Likewise.
30168 (NS_PUT16): Likewise.
30169 (NS_PUT32): Likewise.
30170 * resolv/gethnamaddr.c (getanswer): Likewise.
30171 (gethostbyname2): Likewise.
30172 (gethostbyaddr): Likewise.
30173 (_gethtent): Likewise.
30174 (_gethtbyname2): Likewise.
30175 (_gethtbyaddr): Likewise.
30176 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30177 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30178 * resolv/res_init.c (__res_vinit): Likewise.
30179 (net_mask): Likewise.
30180 * resolv/res_mkquery.c (outchar): Likewise.
30182 * stdio-common/printf_fp.c (outchar): Likewise.
30184 * stdio-common/printf_fphex.c (outchar): Likewise.
30186 * stdio-common/printf_size.c (outchar): Likewise.
30188 * stdio-common/test_rdwr.c (main): Likewise.
30189 * stdio-common/tfformat.c (matches): Likewise.
30190 * stdio-common/vfprintf.c (outchar): Likewise.
30191 (printf_unknown): Likewise.
30192 (buffered_vfprintf): Likewise.
30193 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30194 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30195 (ReadFile): Likewise.
30196 * stdlib/qsort.c (SWAP): Likewise.
30197 (_quicksort): Likewise.
30198 * stdlib/setenv.c (__add_to_environ): Likewise.
30199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30200 * stdlib/strtol_l.c (__strtol_l): Likewise.
30201 * stdlib/tst-strtod.c (main): Likewise.
30202 * stdlib/tst-strtol.c (main): Likewise.
30203 * stdlib/tst-strtoll.c (main): Likewise.
30204 * string/bits/string2.h (__strcmp_cc): Likewise.
30205 (__strcmp_cg): Likewise.
30206 (__strcspn_c1): Likewise.
30207 (__strcspn_c2): Likewise.
30208 (__strcspn_c3): Likewise.
30209 (__strspn_c1): Likewise.
30210 (__strspn_c2): Likewise.
30211 (__strspn_c3): Likewise.
30212 (__strsep_1c): Likewise.
30213 (__strsep_2c): Likewise.
30214 (__strsep_3c): Likewise.
30215 * string/memccpy.c (__memccpy): Likewise.
30216 * string/stpcpy.c (__stpcpy): Likewise.
30217 * string/strcmp.c (strcmp): Likewise.
30218 * string/strrchr.c (strrchr): Likewise.
30219 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30221 * sysdeps/mach/hurd/getcwd.c
30222 (_hurd_canonicalize_directory_name_internal): Likewise.
30223 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30224 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30225 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30226 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30227 Likewise, in both definitions.
30228 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30230 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30231 64] (__bswap_64): Likewise.
30232 * time/test_time.c (main): Likewise.
30233 * time/tzfile.c (__tzfile_read): Likewise.
30234 (__tzfile_compute): Likewise.
30235 * time/tzset.c (__tzset_parse_tz): Likewise.
30236 (tzset_internal): Likewise.
30237 (compute_change): Likewise.
30238 * wcsmbs/wcscat.c (__wcscat): Likewise.
30239 * wcsmbs/wcschr.c (wcschr): Likewise.
30240 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30241 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30242 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30243 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30244 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30245 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30246 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30247 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30248 * wcsmbs/wmemset.c (wmemset): Likewise.
30250 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30252 * scripts/config.guess: Update to version 2013-05-16.
30253 * scripts/config.sub: Update to version 2013-04-24.
30254 * scripts/install-sh: Update to version 2011-11-20.07.
30255 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30256 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30258 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30260 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30261 * elf/sln.c: Likewise.
30262 * hurd/hurd/ioctl.h: Likewise.
30263 * hurd/hurdmalloc.c: Likewise.
30264 * hurd/xattr.c: Likewise.
30265 * include/shlib-compat.h: Likewise.
30266 * inet/ruserpass.c: Likewise.
30267 * libio/iofgets_u.c: Likewise.
30268 * libio/iofgetws_u.c: Likewise.
30269 * locale/programs/ld-identification.c: Likewise.
30270 * locale/programs/ld-time.c: Likewise.
30271 * mach/msg-destroy.c: Likewise.
30272 * nss/nss_files/files-netgrp.c: Likewise.
30273 * resolv/res_data.c: Likewise.
30274 * soft-fp/op-1.h: Likewise.
30275 * soft-fp/op-2.h: Likewise.
30276 * soft-fp/op-4.h: Likewise.
30277 * soft-fp/op-common.h: Likewise.
30278 * stdio-common/printf_fphex.c: Likewise.
30279 * stdlib/strtod_l.c: Likewise.
30280 * sunrpc/rpc/clnt.h: Likewise.
30281 * sysdeps/generic/framestate.c: Likewise.
30282 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30283 * sysdeps/i386/bsd-setjmp.S: Likewise.
30284 * sysdeps/i386/__longjmp.S: Likewise.
30285 * sysdeps/i386/setjmp.S: Likewise.
30286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30289 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30291 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30296 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30297 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30298 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30299 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30300 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30301 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30302 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30303 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30304 * sysdeps/ieee754/support.c: Likewise.
30305 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30306 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30307 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30308 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30309 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30310 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30311 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30312 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30313 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30314 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30315 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30316 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30317 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30318 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30319 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30320 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30321 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30324 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30326 * posix/transbug.c: Remove executable mode.
30328 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30330 * crypt/speeds.c: Remove trailing whitespace.
30331 * dlfcn/default.c: Likewise.
30332 * elf/ifuncdep2.c: Likewise.
30333 * elf/ifuncmain1.c: Likewise.
30334 * elf/ifuncmain1vis.c: Likewise.
30335 * elf/testobj.h: Likewise.
30336 * elf/tst-stackguard1.c: Likewise.
30337 * gmon/sys/gmon.h: Likewise.
30338 * hurd/hurdmsg.c: Likewise.
30339 * hurd/new-fd.c: Likewise.
30340 * hurd/ports-get.c: Likewise.
30341 * iconvdata/ibm1008_420.c: Likewise.
30342 * inet/tst-getni1.c: Likewise.
30343 * inet/tst-getni2.c: Likewise.
30344 * libio/ioungetc.c: Likewise.
30345 * libio/wfiledoalloc.c: Likewise.
30346 * manual/libm-err-tab.pl: Likewise.
30347 * math/w_dremf.c: Likewise.
30348 * misc/ftruncate.c: Likewise.
30349 * posix/bug-glob2.c: Likewise.
30350 * posix/tst-pcre.c: Likewise.
30351 * posix/wait4.c: Likewise.
30352 * resolv/README: Likewise.
30353 * resolv/res_debug.h: Likewise.
30354 * resolv/tst-inet_ntop.c: Likewise.
30355 * setjmp/bug269-setjmp.c: Likewise.
30356 * soft-fp/extended.h: Likewise.
30357 * soft-fp/op-1.h: Likewise.
30358 * soft-fp/op-2.h: Likewise.
30359 * soft-fp/op-4.h: Likewise.
30360 * soft-fp/op-8.h: Likewise.
30361 * soft-fp/testit.c: Likewise.
30362 * stdio-common/bug16.c: Likewise.
30363 * stdlib/random.c: Likewise.
30364 * sunrpc/rpcsvc/rquota.x: Likewise.
30365 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30366 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30368 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30369 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30370 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30371 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30372 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30373 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30374 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30376 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30378 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30380 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30381 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30383 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30386 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30387 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30388 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30389 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30390 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30392 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30393 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30394 * sysdeps/ieee754/s_lib_version.c: Likewise.
30395 * sysdeps/mach/hurd/check_fds.c: Likewise.
30396 * sysdeps/mach/hurd/getsockname.c: Likewise.
30397 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30398 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30399 * sysdeps/powerpc/bits/link.h: Likewise.
30400 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30401 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30402 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30403 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30404 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30405 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30406 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30407 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30408 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30409 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30410 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30411 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30412 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30413 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30414 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30415 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30416 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30417 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30418 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30419 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30420 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30421 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30423 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30424 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30425 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30426 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30427 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30428 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30429 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30430 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30431 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30434 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30435 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30436 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30437 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30438 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30439 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30440 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30441 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30442 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30443 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30444 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30445 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30446 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30447 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30448 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30449 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30452 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30453 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30454 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30455 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30456 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30458 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30459 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30460 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30461 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30462 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30463 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30464 * sysdeps/powerpc/sysdep.h: Likewise.
30465 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30466 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30467 * sysdeps/sh/dl-trampoline.S: Likewise.
30468 * sysdeps/sh/memset.S: Likewise.
30469 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30470 * sysdeps/sh/strlen.S: Likewise.
30471 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30472 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30473 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30474 * sysdeps/sparc/sparc32/rem.S: Likewise.
30475 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30476 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30477 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30478 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30479 * sysdeps/sparc/sparc32/urem.S: Likewise.
30480 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30481 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30482 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30483 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30485 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30486 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30487 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30488 * sysdeps/unix/bsd/times.c: Likewise.
30489 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30490 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30494 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30495 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30496 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30497 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30498 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30499 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30500 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30501 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30502 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30503 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30504 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30505 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30506 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30507 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30508 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30509 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30510 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30511 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30512 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30513 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30514 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30515 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30517 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30518 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30519 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30520 * sysdeps/x86_64/strcspn.S: Likewise.
30522 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30524 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30525 generated file. Regenerate properly from gen-translit.pl.
30526 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30527 locale/C-translit.h.
30529 2013-06-05 Andreas Schwab <schwab@suse.de>
30532 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30533 week as 6 instead of -1.
30534 * time/tst-strptime.c (day_tests): Add test case.
30536 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30538 * sysdeps/generic/math_private.h
30539 (libc_feholdexcept_setround_53bit): Replace with
30540 libc_feholdsetround_53bit.
30541 (libc_feupdateenv_53bit): Replace with
30542 libc_feresetround_53bit.
30543 (SET_RESTORE_ROUND_53BIT): Adjust.
30545 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30547 * string/test-strchrnul.c: Add copyright header.
30549 * posix/tst-getaddrinfo4.c: Increase test timeout.
30551 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30554 * math/libm-test.inc (MAX_EXP): Remove
30556 (ulp): Use MIN_EXP - MANT_DIG.
30557 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30559 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30561 * po/be.po: Revert last change.
30562 * po/zh_CN.po: Likewise.
30563 * po/header.pot: Likewise.
30565 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30567 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30568 link-libc-deps to empty as target-specific variable.
30569 * Makerules (link-libc-args): New variable.
30570 (libc-for-link): Likewise.
30571 (link-libc-deps): Likewise.
30572 (lib%.so): Depend on $(link-libc-deps). Link with
30574 (build-module): Link with $(link-libc-args).
30575 (build-module-asneeded): Likewise.
30576 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30578 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30579 target-specific variable.
30580 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30581 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30582 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30584 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30586 ($(objpfx)libpcprofile.so): Likewise.
30587 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30589 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30590 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30591 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30593 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30594 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30595 * login/Makefile ($(objpfx)libutil.so): Likewise.
30596 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30597 * math/Makefile ($(objpfx)libm.so): Likewise.
30598 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30599 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30600 variable instead of depending directly on libc.
30601 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30602 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30604 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30606 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30607 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30608 ($(objpfx)libanl.so): Likewise.
30609 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30611 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30613 * sysdeps/i386/fpu/Makefile: Remove file.
30614 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30615 ($(objpfx)libm.so): Remove dependency on ld.so.
30617 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30620 * nis/yp_xdr.c (XDRMAXNAME): Define.
30621 (XDRMAXRECORD): Define.
30622 (xdr_domainname): Use XDRMAXNAME.
30623 (xdr_mapname): Likewise.
30624 (xdr_peername): Likewise.
30625 (xdr_keydat): Use XDRMAXRECORD.
30626 (xdr_valdat): Likewise.
30628 2013-05-30 Jeff Law <law@redhat.com>
30631 * manual/errno.texi (ESTALE): Update to account for more than
30632 just NFS file systems.
30633 * sysdeps/gnu/errlist.c: Regenerated.
30635 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30638 * elf/Makefile (tests): Add tst-null-argv.
30639 (modules-names): Add tst-null-argv-lib.
30640 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30641 (tst-null-argv-ENV): Set environment for tst-null-argv.
30642 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30643 (RTLD_PROGNAME): New macro.
30644 * elf/tst-null-argv.c: New test case.
30645 * elf/tst-null-argv-lib.c: Library for test case.
30646 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30647 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30648 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30649 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30650 * elf/dl-init.c (call_init): Likewise.
30651 (_dl_init): Likewise.
30652 * elf/dl-load.c (print_search_path): Likewise.
30653 (_dl_map_object): Likewise.
30654 * elf/dl-lookup.c (do_lookup_x): Likewise.
30655 (add_dependency): Likewise.
30656 (_dl_lookup_symbol_x): Likewise.
30657 (_dl_debug_bindings): Likewise.
30658 * elf/dl-open.c (_dl_show_scope): Likewise.
30659 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30660 * elf/dl-version.c (match_symbol): Likewise.
30661 (_dl_check_map_versions): Likewise.
30662 * elf/rtld.c (dl_main): Likewise.
30663 (print_unresolved): Use RTLD_PROGNAME.
30664 (print_missing_version): Likewise.
30665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30666 (elf_machine_rela): Likewise.
30667 * sysdeps/powerpc/powerpc32/dl-machine.c
30668 (__process_machine_rela): Likewise.
30669 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30671 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30673 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30675 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30682 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30684 * po/be.po: Add descriptive title.
30685 * po/zh_CN.po: Likewise.
30686 * po/header.pot: Likewise.
30688 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30690 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30692 (enlarge_archive): Likewise.
30694 2013-05-28 Ben North <ben@redfrontdoor.org>
30696 * manual/arith.texi (frexp): It is the magnitude of the return
30697 value which lies in [0.5, 1), not the return value itself.
30699 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30703 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30705 * stdio-common/bug26.c (main): Correct fscanf template.
30707 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30708 declare _dl_skip_args.
30710 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30713 * manual/platform.texi: Add missing @end deftypefun.
30715 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30719 bit of mantissa of 2^16382.
30720 * math/libm-test.inc (hypot_test_data): Add more tests.
30722 * math/libm-test.inc: Add drem and pow10 to list of tested
30724 (pow10_test): New function.
30725 (drem_test): Likewise.
30726 (drem_test_tonearest): Likewise.
30727 (drem_test_towardzero): Likewise.
30728 (drem_test_downward): Likewise.
30729 (drem_test_upward): Likewise.
30730 (main): Call the new functions.
30732 * math/libm-test.inc (finite_test_data): Remove.
30733 (finite_test): Run tests from isfinite_test_data.
30734 (gamma_test_data): Remove.
30735 (gamma_test): Run tests from lgamma_test_data.
30736 * sysdeps/i386/fpu/libm-test-ulps: Update.
30737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30739 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30741 * manual/platform.texi: Add PowerPC PPR function set documentation.
30742 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30745 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30747 * math/libm-test.inc (MAX_EXP): Define.
30749 (ulp): New function.
30750 (check_float_internal): Use ULPDIFF.
30751 (cpow_test): Disable failing test.
30752 (check_ulp): Test ulp() implemetnation.
30753 (main): Call check_ulp before starting tests.
30755 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30757 * math/gen-libm-test.pl (generate_testfile): Do not handle
30758 START_DATA and END_DATA.
30759 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30761 (acos_tonearest_test_data): Likewise.
30762 (acos_towardzero_test_data): Likewise.
30763 (acos_downward_test_data): Likewise.
30764 (acos_upward_test_data): Likewise.
30765 (acosh_test_data): Likewise.
30766 (asin_test_data): Likewise.
30767 (asin_tonearest_test_data): Likewise.
30768 (asin_towardzero_test_data): Likewise.
30769 (asin_downward_test_data): Likewise.
30770 (asin_upward_test_data): Likewise.
30771 (asinh_test_data): Likewise.
30772 (atan_test_data): Likewise.
30773 (atanh_test_data): Likewise.
30774 (atan2_test_data): Likewise.
30775 (cabs_test_data): Likewise.
30776 (cacos_test_data): Likewise.
30777 (cacosh_test_data): Likewise.
30778 (carg_test_data): Likewise.
30779 (casin_test_data): Likewise.
30780 (casinh_test_data): Likewise.
30781 (catan_test_data): Likewise.
30782 (catanh_test_data): Likewise.
30783 (cbrt_test_data): Likewise.
30784 (ccos_test_data): Likewise.
30785 (ccosh_test_data): Likewise.
30786 (ceil_test_data): Likewise.
30787 (cexp_test_data): Likewise.
30788 (cimag_test_data): Likewise.
30789 (clog_test_data): Likewise.
30790 (clog10_test_data): Likewise.
30791 (conj_test_data): Likewise.
30792 (copysign_test_data): Likewise.
30793 (cos_test_data): Likewise.
30794 (cos_tonearest_test_data): Likewise.
30795 (cos_towardzero_test_data): Likewise.
30796 (cos_downward_test_data): Likewise.
30797 (cos_upward_test_data): Likewise.
30798 (cosh_test_data): Likewise.
30799 (cosh_tonearest_test_data): Likewise.
30800 (cosh_towardzero_test_data): Likewise.
30801 (cosh_downward_test_data): Likewise.
30802 (cosh_upward_test_data): Likewise.
30803 (cpow_test_data): Likewise.
30804 (cproj_test_data): Likewise.
30805 (creal_test_data): Likewise.
30806 (csin_test_data): Likewise.
30807 (csinh_test_data): Likewise.
30808 (csqrt_test_data): Likewise.
30809 (ctan_test_data): Likewise.
30810 (ctan_tonearest_test_data): Likewise.
30811 (ctan_towardzero_test_data): Likewise.
30812 (ctan_downward_test_data): Likewise.
30813 (ctan_upward_test_data): Likewise.
30814 (ctanh_test_data): Likewise.
30815 (ctanh_tonearest_test_data): Likewise.
30816 (ctanh_towardzero_test_data): Likewise.
30817 (ctanh_downward_test_data): Likewise.
30818 (ctanh_upward_test_data): Likewise.
30819 (erf_test_data): Likewise.
30820 (erfc_test_data): Likewise.
30821 (exp_test_data): Likewise.
30822 (exp_tonearest_test_data): Likewise.
30823 (exp_towardzero_test_data): Likewise.
30824 (exp_downward_test_data): Likewise.
30825 (exp_upward_test_data): Likewise.
30826 (exp10_test_data): Likewise.
30827 (exp2_test_data): Likewise.
30828 (expm1_test_data): Likewise.
30829 (fabs_test_data): Likewise.
30830 (fdim_test_data): Likewise.
30831 (finite_test_data): Likewise.
30832 (floor_test_data): Likewise.
30833 (fma_test_data): Likewise.
30834 (fma_towardzero_test_data): Likewise.
30835 (fma_downward_test_data): Likewise.
30836 (fma_upward_test_data): Likewise.
30837 (fmax_test_data): Likewise.
30838 (fmin_test_data): Likewise.
30839 (fmod_test_data): Likewise.
30840 (fpclassify_test_data): Likewise.
30841 (frexp_test_data): Likewise.
30842 (gamma_test_data): Likewise.
30843 (hypot_test_data): Likewise.
30844 (ilogb_test_data): Likewise.
30845 (isfinite_test_data): Likewise.
30846 (isgreater_test_data): Likewise.
30847 (isgreaterequal_test_data): Likewise.
30848 (isinf_test_data): Likewise.
30849 (isless_test_data): Likewise.
30850 (islessequal_test_data): Likewise.
30851 (islessgreater_test_data): Likewise.
30852 (isnan_test_data): Likewise.
30853 (isnormal_test_data): Likewise.
30854 (issignaling_test_data): Likewise.
30855 (isunordered_test_data): Likewise.
30856 (j0_test_data): Likewise.
30857 (j1_test_data): Likewise.
30858 (jn_test_data): Likewise.
30859 (ldexp_test_data): Likewise.
30860 (lgamma_test_data): Likewise.
30861 (lrint_test_data): Likewise.
30862 (lrint_tonearest_test_data): Likewise.
30863 (lrint_towardzero_test_data): Likewise.
30864 (lrint_downward_test_data): Likewise.
30865 (lrint_upward_test_data): Likewise.
30866 (llrint_test_data): Likewise.
30867 (llrint_tonearest_test_data): Likewise.
30868 (llrint_towardzero_test_data): Likewise.
30869 (llrint_downward_test_data): Likewise.
30870 (llrint_upward_test_data): Likewise.
30871 (log_test_data): Likewise.
30872 (log10_test_data): Likewise.
30873 (log1p_test_data): Likewise.
30874 (log2_test_data): Likewise.
30875 (logb_test_data): Likewise.
30876 (logb_downward_test_data): Likewise.
30877 (lround_test_data): Likewise.
30878 (llround_test_data): Likewise.
30879 (modf_test_data): Likewise.
30880 (nearbyint_test_data): Likewise.
30881 (nextafter_test_data): Likewise.
30882 (nexttoward_test_data): Likewise.
30883 (pow_test_data): Likewise.
30884 (pow_tonearest_test_data): Likewise.
30885 (pow_towardzero_test_data): Likewise.
30886 (pow_downward_test_data): Likewise.
30887 (pow_upward_test_data): Likewise.
30888 (remainder_test_data): Likewise.
30889 (remainder_tonearest_test_data): Likewise.
30890 (remainder_towardzero_test_data): Likewise.
30891 (remainder_downward_test_data): Likewise.
30892 (remainder_upward_test_data): Likewise.
30893 (remquo_test_data): Likewise.
30894 (rint_test_data): Likewise.
30895 (rint_tonearest_test_data): Likewise.
30896 (rint_towardzero_test_data): Likewise.
30897 (rint_downward_test_data): Likewise.
30898 (rint_upward_test_data): Likewise.
30899 (round_test_data): Likewise.
30900 (scalb_test_data): Likewise.
30901 (scalbn_test_data): Likewise.
30902 (scalbln_test_data): Likewise.
30903 (signbit_test_data): Likewise.
30904 (sin_test_data): Likewise.
30905 (sin_tonearest_test_data): Likewise.
30906 (sin_towardzero_test_data): Likewise.
30907 (sin_downward_test_data): Likewise.
30908 (sin_upward_test_data): Likewise.
30909 (sincos_test_data): Likewise.
30910 (sinh_test_data): Likewise.
30911 (sinh_tonearest_test_data): Likewise.
30912 (sinh_towardzero_test_data): Likewise.
30913 (sinh_downward_test_data): Likewise.
30914 (sinh_upward_test_data): Likewise.
30915 (sqrt_test_data): Likewise.
30916 (tan_test_data): Likewise.
30917 (tan_tonearest_test_data): Likewise.
30918 (tan_towardzero_test_data): Likewise.
30919 (tan_downward_test_data): Likewise.
30920 (tan_upward_test_data): Likewise.
30921 (tanh_test_data): Likewise.
30922 (tgamma_test_data): Likewise.
30923 (trunc_test_data): Likewise.
30924 (y0_test_data): Likewise.
30925 (y1_test_data): Likewise.
30926 (yn_test_data): Likewise.
30927 (significand_test_data): Likewise.
30929 * math/gen-libm-test.pl (@functions): Remove variable.
30930 (generate_testfile): Don't handle START and END lines.
30931 * math/libm-test.inc (START): New macro.
30933 (END_COMPLEX): Likewise.
30934 (acos_test): Use END macro without arguments.
30935 (acos_test_tonearest): Likewise.
30936 (acos_test_towardzero): Likewise.
30937 (acos_test_downward): Likewise.
30938 (acos_test_upward): Likewise.
30939 (acosh_test): Likewise.
30940 (asin_test): Likewise.
30941 (asin_test_tonearest): Likewise.
30942 (asin_test_towardzero): Likewise.
30943 (asin_test_downward): Likewise.
30944 (asin_test_upward): Likewise.
30945 (asinh_test): Likewise.
30946 (atan_test): Likewise.
30947 (atanh_test): Likewise.
30948 (atan2_test): Likewise.
30949 (cabs_test): Likewise.
30950 (cacos_test): Use END_COMPLEX macro without arguments.
30951 (cacosh_test): Likewise.
30952 (carg_test): Use END macro without arguments.
30953 (casin_test): Use END_COMPLEX macro without arguments.
30954 (casinh_test): Likewise.
30955 (catan_test): Likewise.
30956 (catanh_test): Likewise.
30957 (cbrt_test): Use END macro without arguments.
30958 (ccos_test): Use END_COMPLEX macro without arguments.
30959 (ccosh_test): Likewise.
30960 (ceil_test): Use END macro without arguments.
30961 (cexp_test): Use END_COMPLEX macro without arguments.
30962 (cimag_test): Use END macro without arguments.
30963 (clog_test): Use END_COMPLEX macro without arguments.
30964 (clog10_test): Likewise.
30965 (conj_test): Likewise.
30966 (copysign_test): Use END macro without arguments.
30967 (cos_test): Likewise.
30968 (cos_test_tonearest): Likewise.
30969 (cos_test_towardzero): Likewise.
30970 (cos_test_downward): Likewise.
30971 (cos_test_upward): Likewise.
30972 (cosh_test): Likewise.
30973 (cosh_test_tonearest): Likewise.
30974 (cosh_test_towardzero): Likewise.
30975 (cosh_test_downward): Likewise.
30976 (cosh_test_upward): Likewise.
30977 (cpow_test): Use END_COMPLEX macro without arguments.
30978 (cproj_test): Likewise.
30979 (creal_test): Use END macro without arguments.
30980 (csin_test): Use END_COMPLEX macro without arguments.
30981 (csinh_test): Likewise.
30982 (csqrt_test): Likewise.
30983 (ctan_test): Likewise.
30984 (ctan_test_tonearest): Likewise.
30985 (ctan_test_towardzero): Likewise.
30986 (ctan_test_downward): Likewise.
30987 (ctan_test_upward): Likewise.
30988 (ctanh_test): Likewise.
30989 (ctanh_test_tonearest): Likewise.
30990 (ctanh_test_towardzero): Likewise.
30991 (ctanh_test_downward): Likewise.
30992 (ctanh_test_upward): Likewise.
30993 (erf_test): Use END macro without arguments.
30994 (erfc_test): Likewise.
30995 (exp_test): Likewise.
30996 (exp_test_tonearest): Likewise.
30997 (exp_test_towardzero): Likewise.
30998 (exp_test_downward): Likewise.
30999 (exp_test_upward): Likewise.
31000 (exp10_test): Likewise.
31001 (exp2_test): Likewise.
31002 (expm1_test): Likewise.
31003 (fabs_test): Likewise.
31004 (fdim_test): Likewise.
31005 (finite_test): Likewise.
31006 (floor_test): Likewise.
31007 (fma_test): Likewise.
31008 (fma_test_towardzero): Likewise.
31009 (fma_test_downward): Likewise.
31010 (fma_test_upward): Likewise.
31011 (fmax_test): Likewise.
31012 (fmin_test): Likewise.
31013 (fmod_test): Likewise.
31014 (fpclassify_test): Likewise.
31015 (frexp_test): Likewise.
31016 (gamma_test): Likewise.
31017 (hypot_test): Likewise.
31018 (ilogb_test): Likewise.
31019 (isfinite_test): Likewise.
31020 (isgreater_test): Likewise.
31021 (isgreaterequal_test): Likewise.
31022 (isinf_test): Likewise.
31023 (isless_test): Likewise.
31024 (islessequal_test): Likewise.
31025 (islessgreater_test): Likewise.
31026 (isnan_test): Likewise.
31027 (isnormal_test): Likewise.
31028 (issignaling_test): Likewise.
31029 (isunordered_test): Likewise.
31030 (j0_test): Likewise.
31031 (j1_test): Likewise.
31032 (jn_test): Likewise.
31033 (ldexp_test): Likewise.
31034 (lgamma_test): Likewise.
31035 (lrint_test): Likewise.
31036 (lrint_test_tonearest): Likewise.
31037 (lrint_test_towardzero): Likewise.
31038 (lrint_test_downward): Likewise.
31039 (lrint_test_upward): Likewise.
31040 (llrint_test): Likewise.
31041 (llrint_test_tonearest): Likewise.
31042 (llrint_test_towardzero): Likewise.
31043 (llrint_test_downward): Likewise.
31044 (llrint_test_upward): Likewise.
31045 (log_test): Likewise.
31046 (log10_test): Likewise.
31047 (log1p_test): Likewise.
31048 (log2_test): Likewise.
31049 (logb_test): Likewise.
31050 (logb_test_downward): Likewise.
31051 (lround_test): Likewise.
31052 (llround_test): Likewise.
31053 (modf_test): Likewise.
31054 (nearbyint_test): Likewise.
31055 (nextafter_test): Likewise.
31056 (nexttoward_test): Likewise.
31057 (pow_test): Likewise.
31058 (pow_test_tonearest): Likewise.
31059 (pow_test_towardzero): Likewise.
31060 (pow_test_downward): Likewise.
31061 (pow_test_upward): Likewise.
31062 (remainder_test): Likewise.
31063 (remainder_test_tonearest): Likewise.
31064 (remainder_test_towardzero): Likewise.
31065 (remainder_test_downward): Likewise.
31066 (remainder_test_upward): Likewise.
31067 (remquo_test): Likewise.
31068 (rint_test): Likewise.
31069 (rint_test_tonearest): Likewise.
31070 (rint_test_towardzero): Likewise.
31071 (rint_test_downward): Likewise.
31072 (rint_test_upward): Likewise.
31073 (round_test): Likewise.
31074 (scalb_test): Likewise.
31075 (scalbn_test): Likewise.
31076 (scalbln_test): Likewise.
31077 (signbit_test): Likewise.
31078 (sin_test): Likewise.
31079 (sin_test_tonearest): Likewise.
31080 (sin_test_towardzero): Likewise.
31081 (sin_test_downward): Likewise.
31082 (sin_test_upward): Likewise.
31083 (sincos_test): Likewise.
31084 (sinh_test): Likewise.
31085 (sinh_test_tonearest): Likewise.
31086 (sinh_test_towardzero): Likewise.
31087 (sinh_test_downward): Likewise.
31088 (sinh_test_upward): Likewise.
31089 (sqrt_test): Likewise.
31090 (tan_test): Likewise.
31091 (tan_test_tonearest): Likewise.
31092 (tan_test_towardzero): Likewise.
31093 (tan_test_downward): Likewise.
31094 (tan_test_upward): Likewise.
31095 (tanh_test): Likewise.
31096 (tgamma_test): Likewise.
31097 (trunc_test): Likewise.
31098 (y0_test): Likewise.
31099 (y1_test): Likewise.
31100 (yn_test): Likewise.
31101 (significand_test): Likewise.
31103 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31106 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31108 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31111 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31112 __ppc_mdoio and __ppc_mdoom.
31113 * manual/platform.texi: Document new functions __ppc_yield,
31114 __ppc_mdoio and __ppc_mdoom.
31116 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31118 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31119 (main): Mention "tls" pseudo-hwcap is legacy.
31120 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31122 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31124 * math/gen-libm-test.pl (parse_args): Output only string of
31125 arguments as text for test name, not full call or descriptions of
31126 tests for extra outputs.
31127 (generate_testfile): Do not pass function name to parse_args.
31128 Generate this_func variable from START.
31129 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31131 (struct test_ff_f_data): Likewise.
31132 (test_ff_f_data_nexttoward): Likewise.
31133 (struct test_fi_f_data): Likewise.
31134 (struct test_fl_f_data): Likewise.
31135 (struct test_if_f_data): Likewise.
31136 (struct test_fff_f_data): Likewise.
31137 (struct test_c_f_data): Likewise.
31138 (struct test_f_f1_data): Likewise. Remove field extra_name.
31139 (struct test_fF_f1_data): Likewise.
31140 (struct test_ffI_f1_data): Likewise.
31141 (struct test_c_c_data): Rename test_name field to arg_str.
31142 (struct test_cc_c_data): Likewise.
31143 (struct test_f_i_data): Likewise.
31144 (struct test_ff_i_data): Likewise.
31145 (struct test_f_l_data): Likewise.
31146 (struct test_f_L_data): Likewise.
31147 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31149 (COMMON_TEST_SETUP): New macro.
31150 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31151 (COMMON_TEST_CLEANUP): Likewise.
31152 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31153 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31155 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31156 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31158 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31159 (RUN_TEST_fff_f): Take argument string. Call new setup and
31161 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31162 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31164 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31165 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31167 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31168 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31170 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31171 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31173 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31174 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31176 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31177 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31179 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31180 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31182 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31183 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31185 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31186 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31188 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31189 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31191 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31192 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31194 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31195 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31197 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31198 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31200 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31201 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31203 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31204 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31206 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31208 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31210 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31211 to _sifields.sigfault.
31212 (si_addr_lsb): Define new macro.
31213 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31215 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31217 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31220 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31222 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31224 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31225 loading the domain.
31227 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31229 * math/gen-libm-test.pl (parse_args): Do not include expected
31230 result in test name.
31231 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31232 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31233 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31234 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31235 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31238 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31240 * benchtests/Makefile: Sort function entries.
31242 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31243 tanh, asinh, acosh, atanh.
31244 * benchtests/acos-inputs: New file.
31245 * benchtests/acosh-inputs: New file.
31246 * benchtests/asin-inputs: New file.
31247 * benchtests/asinh-inputs: New file.
31248 * benchtests/atanh-inputs: New file.
31249 * benchtests/cosh-inputs: New file.
31250 * benchtests/log-inputs: New file.
31251 * benchtests/sinh-inputs: New file.
31252 * benchtests/tanh-inputs: New file.
31254 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31257 * posix/tst-getaddrinfo4.c: New test.
31258 * posix/Makefile (tests): Add it.
31260 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31263 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31264 when no services were used.
31265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31266 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31268 2013-05-21 Andreas Schwab <schwab@suse.de>
31271 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31272 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31274 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31275 redundant variable declarations and reallocation of buffer when
31276 parsing as IPv6 address. Always set NSS status when called from
31277 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31278 buffer too small. Correct computation of needed size.
31279 * nss/Makefile (tests): Add test-digits-dots.
31280 * nss/test-digits-dots.c: New test.
31282 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31284 * benchtests/Makefile: Remove instructions for adding
31286 * benchtests/README: New file to explain how to execute and
31287 enhance the benchmark tests.
31289 2013-05-21 Andreas Schwab <schwab@suse.de>
31292 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31293 * setjmp/tst-sigsetjmp.c: New test.
31295 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31297 * sysdeps/x86_64/memset.S (memset): New implementation.
31298 (__bzero): Likewise.
31299 (__memset_tail): New function.
31301 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31303 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31304 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31305 __memcpy_sse2_unaligned ifunc selection.
31306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31307 Add memcpy-sse2-unaligned.S.
31308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31309 Add: __memcpy_sse2_unaligned.
31311 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31314 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31315 math_force_eval before restoring floating-point envrionment.
31316 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31319 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31321 (__nearbyintl): Use math_force_eval before restoring
31322 floating-point environment.
31323 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31325 * math/gen-libm-test.pl (special_functions): Remove.
31326 (parse_args): Don't handle TEST_extra. Handle functions with no
31328 * math/libm-test.inc (struct test_sincos_data): Replace with
31329 struct test_fFF_11_data.
31330 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31331 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31332 (sincos_test_data): Change element type to struct
31333 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31334 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31335 RUN_TEST_LOOP_sincos.
31336 * math/README.libm-test: Don't mention special handling of
31337 individual functions.
31338 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31339 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31340 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31341 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31342 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31345 * math/gen-libm-test.pl (get_variable): Remove function.
31346 (parse_args): Don't show pointer parameters to call in test
31347 names. Use "extra output N" in test names for extra outputs
31348 rather than naming variables.
31350 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31353 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31354 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31355 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31357 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31359 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31362 * math/gen-libm-test.pl (@tests): Remove variable.
31363 ($count): Likewise.
31364 (new_test): Remove function.
31365 (show_exceptions): New function.
31366 (special_functions): Use show_exceptions instead of new_test.
31367 (parse_args): Likewise.
31368 (generate_testfile): Pass only function name in generated call to
31369 print_max_error or print_complex_max_error.
31370 (get_ulps): Do not handle complex tests specially.
31371 (output_test): Rename to ...
31372 (get_all_ulps_for_test): ... this. Return a string rather than
31373 printing to a file. Require ulps to be present.
31374 (output_ulps): Generate arrays rather than #defines.
31375 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31376 (struct ulp_data): New type.
31377 (BUILD_COMPLEX_ULP): Remove macro.
31378 (compare_ulp_data): New function.
31379 (find_ulps): Likewise.
31380 (find_test_ulps): Likewise.
31381 (find_function_ulps): Likewise.
31382 (find_complex_function_ulps): Likewise.
31383 (print_max_error): Determine allowed ulps using
31384 find_function_ulps.
31385 (print_complex_max_error): Determine allowed ulps using
31386 find_complex_function_ulps.
31387 (check_float_internal): Determine max ulps using find_test_ulps.
31388 (check_float): Do not take max_ulp parameter. Update call to
31389 check_float_internal.
31390 (check_complex): Likewise.
31391 (check_int): Do not take max_ulp parameter.
31392 (check_long): Likewise.
31393 (check_bool): Likewise.
31394 (check_longlong): Likewise.
31395 (struct test_f_f_data): Remove max_ulp field.
31396 (struct test_ff_f_data): Likewise.
31397 (struct test_ff_f_data_nexttoward): Likewise.
31398 (struct test_fi_f_data): Likewise.
31399 (struct test_fl_f_data): Likewise.
31400 (struct test_if_f_data): Likewise.
31401 (struct test_fff_f_data): Likewise.
31402 (struct test_c_f_data): Likewise.
31403 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31404 (struct test_fF_f1_data): Likewise.
31405 (struct test_ffI_f1_data): Likewise.
31406 (struct test_c_c_data): Remove max_ulp field.
31407 (struct test_cc_c_data): Likewise.
31408 (struct test_f_i_data): Likewise.
31409 (struct test_ff_i_data): Likewise.
31410 (struct test_f_l_data): Likewise.
31411 (struct test_f_L_data): Likewise.
31412 (struct test_sincos_data): Likewise.
31413 (RUN_TEST_f_f): Do not handle ulps.
31414 (RUN_TEST_LOOP_f_f): Likewise.
31415 (RUN_TEST_2_f): Likewise.
31416 (RUN_TEST_LOOP_2_f): Likewise.
31417 (RUN_TEST_fff_f): Likewise.
31418 (RUN_TEST_LOOP_fff_f): Likewise.
31419 (RUN_TEST_c_f): Likewise.
31420 (RUN_TEST_LOOP_c_f): Likewise.
31421 (RUN_TEST_f_f1): Likewise.
31422 (RUN_TEST_LOOP_f_f1): Likewise.
31423 (RUN_TEST_fF_f1): Likewise.
31424 (RUN_TEST_LOOP_fF_f1): Likewise.
31425 (RUN_TEST_fI_f1): Likewise.
31426 (RUN_TEST_LOOP_fI_f1): Likewise.
31427 (RUN_TEST_ffI_f1): Likewise.
31428 (RUN_TEST_LOOP_ffI_f1): Likewise.
31429 (RUN_TEST_c_c): Likewise.
31430 (RUN_TEST_LOOP_c_c): Likewise.
31431 (RUN_TEST_cc_c): Likewise.
31432 (RUN_TEST_LOOP_cc_c): Likewise.
31433 (RUN_TEST_f_i): Likewise.
31434 (RUN_TEST_LOOP_f_i): Likewise.
31435 (RUN_TEST_f_i_tg): Likewise.
31436 (RUN_TEST_LOOP_f_i_tg): Likewise.
31437 (RUN_TEST_ff_i_tg): Likewise.
31438 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31439 (RUN_TEST_f_b): Likewise.
31440 (RUN_TEST_LOOP_f_b): Likewise.
31441 (RUN_TEST_f_b_tg): Likewise.
31442 (RUN_TEST_LOOP_f_b_tg): Likewise.
31443 (RUN_TEST_f_l): Likewise.
31444 (RUN_TEST_LOOP_f_l): Likewise.
31445 (RUN_TEST_f_L): Likewise.
31446 (RUN_TEST_LOOP_f_L): Likewise.
31447 (RUN_TEST_sincos): Likewise.
31448 (RUN_TEST_LOOP_sincos): Likewise.
31450 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31454 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31455 main case of finite arguments, set rounding mode to FE_TONEAREST
31456 and discard exceptions.
31457 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31459 (remainder_tonearest_test_data): New variable.
31460 (remainder_test_tonearest): New function.
31461 (remainder_towardzero_test_data): New variable.
31462 (remainder_test_towardzero): New function.
31463 (remainder_downward_test_data): New variable.
31464 (remainder_test_downward): New function.
31465 (remainder_upward_test_data): New variable.
31466 (remainder_test_upward): New function.
31467 (main): Call the new test functions.
31469 * math/libm-test.inc (struct test_f_f1_data): Remove field
31471 (struct test_fF_f1_data): Likewise.
31472 (struct test_ffI_f1_data): Likewise.
31473 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31474 based on value of EXTRA_EXPECTED.
31475 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31476 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31477 EXTRA_VAR based on value of EXTRA_EXPECTED.
31478 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31479 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31480 EXTRA_VAR based on value of EXTRA_EXPECTED.
31481 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31482 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31483 EXTRA_VAR based on value of EXTRA_EXPECTED.
31484 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31485 * math/gen-libm-test.pl (parse_args): Don't output initializers
31486 for extra output values.
31488 * math/libm-test.inc (check_int): Expect result to be exactly
31489 equal to expected value and do not handle ulps.
31490 (check_long): Likewise.
31491 (check_longlong): Likewise.
31493 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31495 (cimag_test_data): Likewise.
31496 (conj_test_data): Likewise.
31497 (copysign_test_data): Likewise.
31498 (cproj_test_data): Likewise.
31499 (creal_test_data): Likewise.
31500 (fabs_test_data): Likewise.
31501 (fdim_test_data): Likewise.
31502 (finite_test_data): Likewise.
31503 (floor_test_data): Likewise.
31504 (fmax_test_data): Likewise.
31505 (fmin_test_data): Likewise.
31506 (fmod_test_data): Likewise.
31507 (fpclassify_test_data): Likewise.
31508 (frexp_test_data): Likewise.
31509 (ilogb_test_data): Likewise.
31510 (isfinite_test_data): Likewise.
31511 (isgreater_test_data): Likewise.
31512 (isgreaterequal_test_data): Likewise.
31513 (isinf_test_data): Likewise.
31514 (isless_test_data): Likewise.
31515 (islessequal_test_data): Likewise.
31516 (islessgreater_test_data): Likewise.
31517 (isnan_test_data): Likewise.
31518 (isnormal_test_data): Likewise.
31519 (issignaling_test_data): Likewise.
31520 (isunordered_test_data): Likewise.
31521 (ldexp_test_data): Likewise.
31522 (lrint_test_data): Likewise.
31523 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31524 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31525 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31526 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31527 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31528 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31530 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31531 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31532 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31533 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31535 (lrint_downward_test_data): Test for "inexact" exceptions.
31536 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31537 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31538 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31540 (lrint_upward_test_data): Test for "inexact" exceptions.
31541 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31543 (llrint_test_data): Test for "inexact" exceptions.
31544 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31545 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31546 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31547 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31548 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31549 (llrint_downward_test_data): Test for "inexact" exceptions.
31550 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31551 (llrint_upward_test_data): Test for "inexact" exceptions.
31552 (logb_test_data): Likewise.
31553 (logb_downward_test_data): Likewise.
31554 (nextafter_test_data): Likewise.
31555 (nexttoward_test_data): Likewise.
31556 (remainder_test_data): Likewise.
31557 (remquo_test_data): Likewise.
31558 (scalbn_test_data): Likewise.
31559 (scalbln_test_data): Likewise.
31560 (signbit_test_data): Likewise.
31561 (sqrt_test_data): Likewise.
31562 (significand_test_data): Likewise.
31564 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31567 * benchtests/bench-modf.c (struct args): Mark arg0 as
31569 * scripts/bench.pl: Mark members of struct args as volatile.
31571 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31574 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31575 negative infinity on POWER6 or lower.
31576 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31578 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31581 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31582 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31583 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31584 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31585 (_FP_SETQNAN): New macro.
31586 (_FP_SETQNAN_SEMIRAW): Likewise.
31587 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31588 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31589 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31590 (FP_EXTEND): Use _FP_FRAC_SNANP.
31591 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31592 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31594 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31596 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31599 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31601 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31602 with DIVIDE_BY_ZERO_EXCEPTION.
31603 (gamma_test_data): Likewise.
31604 (lgamma_test_data): Likewise.
31605 (log_test_data): Likewise.
31606 (log10_test_data): Likewise.
31607 (log2_test_data): Likewise.
31608 (tgamma_test_data): Likewise.
31610 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31611 (acos_test_tonearest): Likewise.
31612 (acos_test_towardzero): Likewise.
31613 (acos_test_downward): Likewise.
31614 (acos_test_upward): Likewise.
31615 (acosh_test): Likewise.
31616 (asin_test): Likewise.
31617 (asin_test_tonearest): Likewise.
31618 (asin_test_towardzero): Likewise.
31619 (asin_test_downward): Likewise.
31620 (asin_test_upward): Likewise.
31621 (asinh_test): Likewise.
31622 (atan_test): Likewise.
31623 (atanh_test): Likewise.
31624 (atan2_test): Likewise.
31625 (cabs_test): Likewise.
31626 (cacos_test): Likewise.
31627 (cacosh_test): Likewise.
31628 (casin_test): Likewise.
31629 (casinh_test): Likewise.
31630 (catan_test): Likewise.
31631 (catanh_test): Likewise.
31632 (cbrt_test): Likewise.
31633 (ccos_test): Likewise.
31634 (ccosh_test): Likewise.
31635 (cexp_test): Likewise.
31636 (clog_test): Likewise.
31637 (clog10_test): Likewise.
31638 (cos_test): Likewise.
31639 (cos_test_tonearest): Likewise.
31640 (cos_test_towardzero): Likewise.
31641 (cos_test_downward): Likewise.
31642 (cos_test_upward): Likewise.
31643 (cosh_test): Likewise.
31644 (cosh_test_tonearest): Likewise.
31645 (cosh_test_towardzero): Likewise.
31646 (cosh_test_downward): Likewise.
31647 (cosh_test_upward): Likewise.
31648 (cpow_test): Likewise.
31649 (csin_test): Likewise.
31650 (csinh_test): Likewise.
31651 (csqrt_test): Likewise.
31652 (ctan_test): Likewise.
31653 (ctan_test_tonearest): Likewise.
31654 (ctan_test_towardzero): Likewise.
31655 (ctan_test_downward): Likewise.
31656 (ctan_test_upward): Likewise.
31657 (ctanh_test): Likewise.
31658 (ctanh_test_tonearest): Likewise.
31659 (ctanh_test_towardzero): Likewise.
31660 (ctanh_test_downward): Likewise.
31661 (ctanh_test_upward): Likewise.
31662 (erf_test): Likewise.
31663 (erfc_test): Likewise.
31664 (exp_test): Likewise.
31665 (exp_test_tonearest): Likewise.
31666 (exp_test_towardzero): Likewise.
31667 (exp_test_downward): Likewise.
31668 (exp_test_upward): Likewise.
31669 (exp10_test): Likewise.
31670 (exp2_test): Likewise.
31671 (expm1_test): Likewise.
31672 (fmod_test): Likewise.
31673 (gamma_test): Likewise.
31674 (hypot_test): Likewise.
31675 (j0_test): Likewise.
31676 (j1_test): Likewise.
31677 (jn_test): Likewise.
31678 (lgamma_test): Likewise.
31679 (log_test): Likewise.
31680 (log10_test): Likewise.
31681 (log1p_test): Likewise.
31682 (log2_test): Likewise.
31683 (logb_test_downward): Likewise.
31684 (pow_test): Likewise.
31685 (pow_test_tonearest): Likewise.
31686 (pow_test_towardzero): Likewise.
31687 (pow_test_downward): Likewise.
31688 (pow_test_upward): Likewise.
31689 (remainder_test): Likewise.
31690 (remquo_test): Likewise.
31691 (sin_test): Likewise.
31692 (sin_test_tonearest): Likewise.
31693 (sin_test_towardzero): Likewise.
31694 (sin_test_downward): Likewise.
31695 (sin_test_upward): Likewise.
31696 (sincos_test): Likewise.
31697 (sinh_test): Likewise.
31698 (sinh_test_tonearest): Likewise.
31699 (sinh_test_towardzero): Likewise.
31700 (sinh_test_downward): Likewise.
31701 (sinh_test_upward): Likewise.
31702 (sqrt_test): Likewise.
31703 (tan_test): Likewise.
31704 (tan_test_tonearest): Likewise.
31705 (tan_test_towardzero): Likewise.
31706 (tan_test_downward): Likewise.
31707 (tan_test_upward): Likewise.
31708 (tanh_test): Likewise.
31709 (tgamma_test): Likewise.
31710 (y0_test): Likewise.
31711 (y1_test): Likewise.
31712 (yn_test): Likewise.
31714 * math/gen-libm-test.pl (adjust_arg): Remove function.
31715 (special_function): Remove argument $in_func. Only handle
31716 generating output for tables of tests, not inside functions.
31717 (parse_args): Likewise.
31718 (generate_testfile): Remove variable $in_func. Update call to
31720 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31721 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31722 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31723 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31724 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31725 (MAX_VALUE_INIT): Rename macro to max_value.
31726 (MIN_VALUE_INIT): Rename macro to min_value.
31727 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31728 (plus_zero): Remove variable.
31729 (minus_zero): Likewise.
31730 (plus_infty): Likewise.
31731 (minus_infty): Likewise.
31732 (qnan_value): Likewise.
31733 (max_value): Likewise.
31734 (min_value): Likewise.
31735 (min_subnorm_value): Likewise.
31737 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31739 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31740 uint64_t or uint32_t usage.
31741 * crypt/sha256-block.c: Likewise.
31742 * crypt/sha256-crypt.c: Likewise.
31743 * crypt/sha256.c: Likewise.
31744 * crypt/sha512-block.c: Likewise.
31745 * crypt/sha512-crypt.c: Likewise.
31746 * crypt/sha512.c: Likewise.
31747 * debug/backtrace-tst.c: Likewise.
31748 * debug/pcprofiledump.c: Likewise.
31749 * elf/cache.c: Likewise.
31750 * elf/dl-cache.c: Likewise.
31751 * elf/dl-misc.c: Likewise.
31752 * elf/dl-profile.c: Likewise.
31753 * elf/dl-support.c: Likewise.
31754 * elf/ldconfig.c: Likewise.
31755 * elf/sprof.c: Likewise.
31756 * iconv/dummy-repertoire.c: Likewise.
31757 * iconv/iconv_charmap.c: Likewise.
31758 * iconv/skeleton.c: Likewise.
31759 * iconvdata/8bit-generic.c: Likewise.
31760 * iconvdata/cp737.h: Likewise.
31761 * iconvdata/cp775.h: Likewise.
31762 * iconvdata/ibm1008.h: Likewise.
31763 * iconvdata/ibm1025.h: Likewise.
31764 * iconvdata/ibm1046.h: Likewise.
31765 * iconvdata/ibm1097.h: Likewise.
31766 * iconvdata/ibm1112.h: Likewise.
31767 * iconvdata/ibm1122.h: Likewise.
31768 * iconvdata/ibm1123.h: Likewise.
31769 * iconvdata/ibm1124.h: Likewise.
31770 * iconvdata/ibm1129.h: Likewise.
31771 * iconvdata/ibm1130.h: Likewise.
31772 * iconvdata/ibm1132.h: Likewise.
31773 * iconvdata/ibm1133.h: Likewise.
31774 * iconvdata/ibm1137.h: Likewise.
31775 * iconvdata/ibm1140.h: Likewise.
31776 * iconvdata/ibm1141.h: Likewise.
31777 * iconvdata/ibm1142.h: Likewise.
31778 * iconvdata/ibm1143.h: Likewise.
31779 * iconvdata/ibm1144.h: Likewise.
31780 * iconvdata/ibm1145.h: Likewise.
31781 * iconvdata/ibm1146.h: Likewise.
31782 * iconvdata/ibm1147.h: Likewise.
31783 * iconvdata/ibm1148.h: Likewise.
31784 * iconvdata/ibm1149.h: Likewise.
31785 * iconvdata/ibm1153.h: Likewise.
31786 * iconvdata/ibm1154.h: Likewise.
31787 * iconvdata/ibm1155.h: Likewise.
31788 * iconvdata/ibm1156.h: Likewise.
31789 * iconvdata/ibm1157.h: Likewise.
31790 * iconvdata/ibm1158.h: Likewise.
31791 * iconvdata/ibm1160.h: Likewise.
31792 * iconvdata/ibm1161.h: Likewise.
31793 * iconvdata/ibm1162.h: Likewise.
31794 * iconvdata/ibm1163.h: Likewise.
31795 * iconvdata/ibm1164.h: Likewise.
31796 * iconvdata/ibm1166.h: Likewise.
31797 * iconvdata/ibm1167.h: Likewise.
31798 * iconvdata/ibm12712.h: Likewise.
31799 * iconvdata/ibm1390.h: Likewise.
31800 * iconvdata/ibm1399.h: Likewise.
31801 * iconvdata/ibm16804.h: Likewise.
31802 * iconvdata/ibm4517.h: Likewise.
31803 * iconvdata/ibm4899.h: Likewise.
31804 * iconvdata/ibm4909.h: Likewise.
31805 * iconvdata/ibm4971.h: Likewise.
31806 * iconvdata/ibm5347.h: Likewise.
31807 * iconvdata/ibm803.h: Likewise.
31808 * iconvdata/ibm856.h: Likewise.
31809 * iconvdata/ibm901.h: Likewise.
31810 * iconvdata/ibm902.h: Likewise.
31811 * iconvdata/ibm9030.h: Likewise.
31812 * iconvdata/ibm9066.h: Likewise.
31813 * iconvdata/ibm921.h: Likewise.
31814 * iconvdata/ibm922.h: Likewise.
31815 * iconvdata/ibm9448.h: Likewise.
31816 * iconvdata/isiri-3342.h: Likewise.
31817 * iconvdata/jis0201.h: Likewise.
31818 * include/link.h: Likewise.
31819 * include/netdb.h: Likewise.
31820 * inet/check_native.c: Likewise.
31821 * inet/check_pf.c: Likewise.
31822 * inet/getipv4sourcefilter.c: Likewise.
31823 * inet/getnameinfo.c: Likewise.
31824 * inet/getsourcefilter.c: Likewise.
31825 * inet/htonl.c: Likewise.
31826 * inet/setipv4sourcefilter.c: Likewise.
31827 * inet/setsourcefilter.c: Likewise.
31828 * inet/test-inet6_opt.c: Likewise.
31829 * inet/tst-network.c: Likewise.
31830 * locale/C-collate.c: Likewise.
31831 * locale/C-ctype.c: Likewise.
31832 * locale/C-time.c: Likewise.
31833 * locale/C-translit.h: Likewise.
31834 * locale/loadarchive.c: Likewise.
31835 * locale/programs/3level.h: Likewise.
31836 * locale/programs/charmap.c: Likewise.
31837 * locale/programs/charmap.h: Likewise.
31838 * locale/programs/ld-address.c: Likewise.
31839 * locale/programs/ld-collate.c: Likewise.
31840 * locale/programs/ld-ctype.c: Likewise.
31841 * locale/programs/ld-identification.c: Likewise.
31842 * locale/programs/ld-measurement.c: Likewise.
31843 * locale/programs/ld-messages.c: Likewise.
31844 * locale/programs/ld-monetary.c: Likewise.
31845 * locale/programs/ld-name.c: Likewise.
31846 * locale/programs/ld-numeric.c: Likewise.
31847 * locale/programs/ld-paper.c: Likewise.
31848 * locale/programs/ld-telephone.c: Likewise.
31849 * locale/programs/ld-time.c: Likewise.
31850 * locale/programs/linereader.c: Likewise.
31851 * locale/programs/locale.c: Likewise.
31852 * locale/programs/locarchive.c: Likewise.
31853 * locale/programs/locfile.h: Likewise.
31854 * locale/programs/repertoire.c: Likewise.
31855 * locale/programs/simple-hash.c: Likewise.
31856 * locale/programs/simple-hash.h: Likewise.
31857 * malloc/memusage.c: Likewise.
31858 * malloc/memusagestat.c: Likewise.
31859 * nis/nis_defaults.c: Likewise.
31860 * nis/nis_hash.c: Likewise.
31861 * nis/nis_print.c: Likewise.
31862 * nis/nis_xdr.c: Likewise.
31863 * nscd/connections.c: Likewise.
31864 * nscd/hstcache.c: Likewise.
31865 * nscd/nscd_gethst_r.c: Likewise.
31866 * nscd/nscd_getserv_r.c: Likewise.
31867 * nscd/nscd_helper.c: Likewise.
31868 * nscd/servicescache.c: Likewise.
31869 * nss/makedb.c: Likewise.
31870 * nss/nss_db/db-XXX.c: Likewise.
31871 * nss/nss_db/db-initgroups.c: Likewise.
31872 * nss/nss_db/db-netgrp.c: Likewise.
31873 * nss/nss_files/files-network.c: Likewise.
31874 * nss/nss_files/files-parse.c: Likewise.
31875 * posix/bug-regex5.c: Likewise.
31876 * posix/fnmatch_loop.c: Likewise.
31877 * posix/regcomp.c: Likewise.
31878 * posix/regexec.c: Likewise.
31879 * posix/tst-rfc3484-2.c: Likewise.
31880 * posix/tst-rfc3484-3.c: Likewise.
31881 * posix/tst-rfc3484.c: Likewise.
31882 * resolv/nss_dns/dns-canon.c: Likewise.
31883 * resolv/nss_dns/dns-network.c: Likewise.
31884 * resolv/res_init.c: Likewise.
31885 * resolv/res_mkquery.c: Likewise.
31886 * resolv/tst-aton.c: Likewise.
31887 * stdlib/cxa_atexit.c: Likewise.
31888 * stdlib/cxa_finalize.c: Likewise.
31889 * stdlib/gen-fpioconst.c: Likewise.
31890 * stdlib/strtol_l.c: Likewise.
31891 * string/tst-endian.c: Likewise.
31892 * sunrpc/auth_des.c: Likewise.
31893 * sunrpc/clnt_udp.c: Likewise.
31894 * sunrpc/rtime.c: Likewise.
31895 * sunrpc/svcauth_des.c: Likewise.
31896 * sunrpc/xdr.c: Likewise.
31897 * sunrpc/xdr_intXX_t.c: Likewise.
31898 * sunrpc/xdr_rec.c: Likewise.
31899 * sysdeps/generic/ldconfig.h: Likewise.
31900 * sysdeps/generic/ldsodefs.h: Likewise.
31901 * sysdeps/generic/memusage.h: Likewise.
31902 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31904 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31905 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31908 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31911 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31912 * sysdeps/posix/getaddrinfo.c: Likewise.
31913 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31914 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31915 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31917 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31918 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31919 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31920 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31921 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31922 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31923 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31924 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31925 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31926 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31927 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31928 * sysdeps/x86_64/dl-tls.h: Likewise.
31929 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31930 * time/alt_digit.c: Likewise.
31931 * time/era.c: Likewise.
31932 * wcsmbs/tst-c16c32-1.c: Likewise.
31934 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31936 * math/libm-test.inc (struct test_sincos_data): New type.
31937 (RUN_TEST_LOOP_sincos): New macro.
31938 (sincos_test_data): New variable.
31939 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31941 2013-05-16 Richard Henderson <rth@redhat.com>
31943 * math/atest-exp2.c (LIMB64): New macro.
31944 (CONSTSZ): New macro.
31945 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31947 (print_mpn_fp): ... to function scope.
31948 (read_mpn_hex): Remove.
31949 (get_log2): Remove.
31950 (exp2_mpn): Use mp_log2.
31951 (main): Use mp_exp1.
31953 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31955 * math/libm-test.inc: Remove comment about not testing "inexact"
31957 (INEXACT_EXCEPTION): New macro.
31958 (NO_INEXACT_EXCEPTION): Likewise.
31959 (INVALID_EXCEPTION_OK): Update value.
31960 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31961 (OVERFLOW_EXCEPTION_OK): Likewise.
31962 (UNDERFLOW_EXCEPTION_OK): Likewise.
31963 (IGNORE_ZERO_INF_SIGN): Likewise.
31964 (ERRNO_UNCHANGED): Likewise.
31965 (ERRNO_EDOM): Likewise.
31966 (ERRNO_ERANGE): Likewise.
31967 (test_exceptions): Handle testing "inexact" exceptions.
31968 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31969 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31970 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31971 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31973 (rint_towardzero_test_data): Likewise.
31974 (rint_downward_test_data): Likewise.
31975 (rint_upward_test_data): Likewise.
31977 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31978 with OVERFLOW_EXCEPTION.
31979 (exp10_test_data): Likewise.
31980 (exp2_test_data): Likewise.
31981 (expm1_test_data): Likewise.
31982 (lgamma_test_data): Likewise.
31983 (pow_test_data): Likewise.
31984 (tgamma_test_data): Likewise.
31985 (yn_test_data): Remove duplicate test of overflow.
31987 * math/libm-test.inc (struct test_cc_c_data): New type.
31988 (RUN_TEST_LOOP_cc_c): New macro.
31989 (cpow_test_data): New variable.
31990 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31992 * math/libm-test.inc (struct test_f_L_data): New type.
31993 (RUN_TEST_LOOP_f_L): New macro.
31994 (llrint_test_data): New variable.
31995 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31996 (llrint_tonearest_test_data): New variable.
31997 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31998 (llrint_towardzero_test_data): New variable.
31999 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32000 (llrint_downward_test_data): New variable.
32001 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32002 (llrint_upward_test_data): New variable.
32003 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32004 (llround_test_data): New variable.
32005 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32007 2013-05-13 Peter Collingbourne <pcc@google.com>
32009 * math/atest-exp2.c (get_log2): Remove const attribute.
32011 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32013 * math/libm-test.inc (struct test_f_l_data): New type.
32014 (RUN_TEST_LOOP_f_l): New macro.
32015 (lrint_test_data): New variable.
32016 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32017 (lrint_tonearest_test_data): New variable.
32018 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32019 (lrint_towardzero_test_data): New variable.
32020 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32021 (lrint_downward_test_data): New variable.
32022 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32023 (lrint_upward_test_data): New variable.
32024 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32025 (lround_test_data): New variable.
32026 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32028 2013-05-15 Peter Collingbourne <pcc@google.com>
32030 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32031 (EXTRACT_WORDS64) Use where appropriate.
32032 (INSERT_WORDS64) Likewise.
32034 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32035 constraints with x constraints.
32036 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32038 * malloc/obstack.c (_obstack_compat): Add initializer.
32040 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32042 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32043 si_trapno and add si_addr_lsb to _sifields.sigfault.
32044 (si_trapno): Remove macro.
32045 (si_addr_lsb): Define new macro.
32046 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32048 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32050 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32051 instead of TEST_f_l.
32052 (llrint_test_tonearest): Likewise.
32053 (llrint_test_towardzero): Likewise.
32054 (llrint_test_downward): Likewise.
32055 (llrint_test_upward): Likewise.
32056 (llround_test): Likewise.
32058 * math/libm-test.inc (struct test_f_i_data): Add comment.
32059 (RUN_TEST_LOOP_f_b): New macro.
32060 (RUN_TEST_LOOP_f_b_tg): Likewise.
32061 (finite_test_data): New variable.
32062 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32063 (isfinite_test_data): New variable.
32064 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32065 (isinf_test_data): New variable.
32066 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32067 (isnan_test_data): New variable.
32068 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32069 (isnormal_test_data): New variable.
32070 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32071 (issignaling_test_data): New variable.
32072 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32073 (signbit_test_data): New variable.
32074 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32076 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32077 with INVALID_EXCEPTION.
32078 (acosh_test_data): Likewise.
32079 (asin_test_data): Likewise.
32080 (atanh_test_data): Likewise.
32081 (fmod_test_data): Likewise.
32082 (log_test_data): Likewise.
32083 (log10_test_data): Likewise.
32084 (log2_test_data): Likewise.
32085 (pow_test_data): Likewise.
32086 (sqrt_test_data): Likewise.
32087 (y0_test_data): Likewise.
32088 (y1_test_data): Likewise.
32089 (yn_test_data): Likewise.
32091 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32094 * math/libm-test.inc (struct test_ff_i_data): New type.
32095 (RUN_TEST_LOOP_ff_i_tg): New macro.
32096 (isgreater_test_data): New variable.
32097 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32098 (isgreaterequal_test_data): New variable.
32099 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32100 (isless_test_data): New variable.
32101 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32102 (islessequal_test_data): New variable.
32103 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32104 (islessgreater_test_data): New variable.
32105 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32106 (isunordered_test_data): New variable.
32107 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32109 2013-05-14 David S. Miller <davem@davemloft.net>
32111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32113 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32115 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32117 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32119 (struct test_f_i_data): Change type of max_ulp to int.
32121 * math/libm-test.inc (test_ffI_f1_data): New type.
32122 (RUN_TEST_LOOP_ffI_f1): New macro.
32123 (remquo_test_data): New variable.
32124 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32126 * setjmp/tst-setjmp-fp.c: New file.
32127 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32128 (link-libm): New variable.
32129 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32131 * math/libm-test.inc (struct test_f_i_data): New type.
32132 (RUN_TEST_LOOP_f_i): New macro.
32133 (RUN_TEST_LOOP_f_i_tg): Likewise.
32134 (fpclassify_test_data): New variable.
32135 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32136 (ilogb_test_data): New variable.
32137 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32139 * math/libm-test.inc (scalbln_test): Correct function name in END
32142 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32143 (RUN_TEST_LOOP_fI_f1): New macro.
32144 (frexp_test_data): New variable.
32145 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32147 * math/libm-test.inc (struct test_fF_f1_data): New type.
32148 (RUN_TEST_LOOP_fF_f1): New macro.
32149 (modf_test_data): New variable.
32150 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32152 * math/libm-test.inc (struct test_f_f1_data): New type.
32153 (RUN_TEST_LOOP_f_f1): New macro.
32154 (gamma_test_data): New variable.
32155 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32156 (lgamma_test_data): New variable.
32157 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32159 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32161 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32162 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32163 (main): Comment "tls" pseudo-hwcap.
32165 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32167 * math/libm-test.inc (struct test_fl_f_data): New type.
32168 (RUN_TEST_LOOP_fl_f): New variable.
32169 (scalbln_test_data): New variable.
32170 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32172 * math/libm-test.inc (struct test_fi_f_data): New type.
32173 (RUN_TEST_LOOP_fi_f): New macro.
32174 (ldexp_test_data): New variable.
32175 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32176 (scalbn_test_data): New variable.
32177 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32179 * math/libm-test.inc (struct test_c_f_data): New type.
32180 (RUN_TEST_LOOP_c_f): New macro.
32181 (cabs_test_data): New variable.
32182 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32183 (carg_test_data): New variable.
32184 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32185 (cimag_test_data): New variable.
32186 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32187 (creal_test_data): New variable.
32188 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32190 * math/libm-test.inc (struct test_if_f_data): New type.
32191 (RUN_TEST_LOOP_if_f): New macro.
32192 (jn_test_data): New variable.
32193 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32194 (yn_test_data): New variable.
32195 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32197 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32199 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32201 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32202 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32204 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32206 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32207 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32208 (bench-deps): Add bench-timing.h.
32209 * benchtests-bench-skeleton.c: Include bench-timing.h.
32210 (main): Use TIMING_* macros instead of clock_gettime.
32211 * benchtests/bench-timing.h: New file.
32214 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32215 Renamed from _LIB_VERSION.
32216 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32218 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32220 * math/libm-test.inc (struct test_fff_f_data): New type.
32221 (RUN_TEST_LOOP_fff_f): New macro.
32222 (fma_test_data): New variable.
32223 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32224 (fma_towardzero_test_data): New variable.
32225 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32226 (fma_downward_test_data): New variable.
32227 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32228 (fma_upward_test_data): New variable.
32229 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32231 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32232 (struct test_c_c_data): New type.
32233 (RUN_TEST_LOOP_c_c): New macro.
32234 (cacos_test_data): New variable.
32235 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32236 (cacosh_test_data): New variable.
32237 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32238 (casin_test_data): New variable.
32239 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32240 (casinh_test_data): New variable.
32241 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32242 (catan_test_data): New variable.
32243 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32244 (catanh_test_data): New variable.
32245 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32246 (ccos_test_data): New variable.
32247 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32248 (ccosh_test_data): New variable.
32249 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32250 (cexp_test_data): New variable.
32251 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32252 (clog_test_data): New variable.
32253 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32254 (clog10_test_data): New variable.
32255 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32256 (conj_test_data): New variable.
32257 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32258 (cproj_test_data): New variable.
32259 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32260 (csin_test_data): New variable.
32261 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32262 (csinh_test_data): New variable.
32263 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32264 (csqrt_test_data): New variable.
32265 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32266 (ctan_test_data): New variable.
32267 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32268 (ctan_tonearest_test_data): New variable.
32269 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32270 (ctan_towardzero_test_data): New variable.
32271 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32272 (ctan_downward_test_data): New variable.
32273 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32274 (ctan_upward_test_data): New variable.
32275 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32276 (ctanh_test_data): New variable.
32277 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32278 (ctanh_tonearest_test_data): New variable.
32279 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32280 (ctanh_towardzero_test_data): New variable.
32281 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32282 (ctanh_downward_test_data): New variable.
32283 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32284 (ctanh_upward_test_data): New variable.
32285 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32286 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32289 * math/libm-test.inc (struct test_ff_f_data): New type.
32290 (struct test_ff_f_data_nexttoward): Likewise.
32291 (RUN_TEST_LOOP_2_f): New macro.
32292 (RUN_TEST_LOOP_ff_f): Likewise.
32293 (atan2_test_data): New variable.
32294 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32295 (copysign_test_data): New variable.
32296 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32297 (fdim_test_data): New variable.
32298 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32299 (fmax_test_data): New variable.
32300 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32301 (fmin_test_data): New variable.
32302 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32303 (fmod_test_data): New variable.
32304 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32305 (hypot_test_data): New variable.
32306 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32307 (nextafter_test_data): New variable.
32308 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32309 (nexttoward_test_data): New variable.
32310 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32311 (pow_test_data): New variable.
32312 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32313 (pow_tonearest_test_data): New variable.
32314 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32315 (pow_towardzero_test_data): New variable.
32316 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32317 (pow_downward_test_data): New variable.
32318 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32319 (pow_upward_test_data): New variable.
32320 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32321 (remainder_test_data): New variable.
32322 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32323 (scalb_test_data): New variable.
32324 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32325 * sysdeps/i386/fpu/libm-test-ulps: Update.
32327 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32329 * math/libm-test.inc (fma_test): Use max_value instead of local
32331 (nextafter_test): Likewise.
32333 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32334 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32335 (acos_downward_test_data): New variable.
32336 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32337 (acos_upward_test_data): New variable.
32338 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32339 (acosh_test_data): New variable.
32340 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32341 (asin_test_data): New variable.
32342 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32343 (asin_tonearest_test_data): New variable.
32344 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32345 (asin_towardzero_test_data): New variable.
32346 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32347 (asin_downward_test_data): New variable.
32348 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32349 (asin_upward_test_data): New variable.
32350 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32351 (asinh_test_data): New variable.
32352 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32353 (atan_test_data): New variable.
32354 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32355 (atanh_test_data): New variable.
32356 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32357 (cbrt_test_data): New variable.
32358 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32359 (ceil_test_data): New variable.
32360 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32361 (cos_test_data): New variable.
32362 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32363 (cos_tonearest_test_data): New variable.
32364 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32365 (cos_towardzero_test_data): New variable.
32366 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32367 (cos_downward_test_data): New variable.
32368 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32369 (cos_upward_test_data): New variable.
32370 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32371 (cosh_test_data): New variable.
32372 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32373 (cosh_tonearest_test_data): New variable.
32374 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32375 (cosh_towardzero_test_data): New variable.
32376 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32377 (cosh_downward_test_data): New variable.
32378 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32379 (cosh_upward_test_data): New variable.
32380 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32381 (erf_test_data): New variable.
32382 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32383 (erfc_test_data): New variable.
32384 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32385 (exp_test_data): New variable.
32386 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32387 (exp_tonearest_test_data): New variable.
32388 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32389 (exp_towardzero_test_data): New variable.
32390 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32391 (exp_downward_test_data): New variable.
32392 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32393 (exp_upward_test_data): New variable.
32394 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32395 (exp10_test_data): New variable.
32396 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32397 (exp2_test_data): New variable.
32398 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32399 (expm1_test_data): New variable.
32400 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32401 (fabs_test_data): New variable.
32402 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32403 (floor_test_data): New variable.
32404 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32405 (j0_test_data): New variable.
32406 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32407 (j1_test_data): New variable.
32408 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32409 (log_test_data): New variable.
32410 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32411 (log10_test_data): New variable.
32412 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32413 (log1p_test_data): New variable.
32414 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32415 (log2_test_data): New variable.
32416 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32417 (logb_test_data): New variable.
32418 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32419 (logb_downward_test_data): New variable.
32420 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32421 (nearbyint_test_data): New variable.
32422 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32423 (rint_test_data): New variable.
32424 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32425 (rint_tonearest_test_data): New variable.
32426 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32427 (rint_towardzero_test_data): New variable.
32428 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32429 (rint_downward_test_data): New variable.
32430 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32431 (rint_upward_test_data): New variable.
32432 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32433 (round_test_data): New variable.
32434 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32435 (sin_test_data): New variable.
32436 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32437 (sin_tonearest_test_data): New variable.
32438 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32439 (sin_towardzero_test_data): New variable.
32440 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32441 (sin_downward_test_data): New variable.
32442 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32443 (sin_upward_test_data): New variable.
32444 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32445 (sinh_test_data): New variable.
32446 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32447 (sinh_tonearest_test_data): New variable.
32448 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32449 (sinh_towardzero_test_data): New variable.
32450 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32451 (sinh_downward_test_data): New variable.
32452 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32453 (sinh_upward_test_data): New variable.
32454 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32455 (sqrt_test_data): New variable.
32456 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32457 (tan_test_data): New variable.
32458 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32459 (tan_tonearest_test_data): New variable.
32460 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32461 (tan_towardzero_test_data): New variable.
32462 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32463 (tan_downward_test_data): New variable.
32464 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32465 (tan_upward_test_data): New variable.
32466 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32467 (tanh_test_data): New variable.
32468 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32469 (tgamma_test_data): New variable.
32470 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32471 (trunc_test_data): New variable.
32472 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32473 (y0_test_data): New variable.
32474 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32475 (y1_test_data): New variable.
32476 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32477 (significand_test_data): New variable.
32478 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32480 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32483 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32485 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32487 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32489 2013-05-10 Andreas Jaeger <aj@suse.de>
32492 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32493 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32495 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32497 * math/gen-libm-test.pl (adjust_arg): New function.
32498 (special_functions): Handle generating output in both functions
32500 (parse_args): Likewise.
32501 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32502 $in_func argument to parse_args.
32503 * math/libm-test.inc (struct test_f_f_data): New type.
32504 (IF_ROUND_INIT_): New macro.
32505 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32506 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32507 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32508 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32509 (ROUND_RESTORE_): Likewise.
32510 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32511 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32512 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32513 (ROUND_RESTORE_FE_UPWARD): Likewise.
32514 (RUN_TEST_LOOP_f_f): New macro.
32515 (acos_test_data): New variable.
32516 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32517 (acos_tonearest_test_data): New variable.
32518 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32520 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32522 * benchtests/bench-skeleton.c (startup): Fix coding style.
32524 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32527 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32528 negative infinity argument.
32529 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32530 negative infinity argument.
32531 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32532 negative infinity argument.
32533 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32536 2013-05-10 Florian Weimer <fweimer@redhat.com>
32538 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32539 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32540 * iconv/iconv_prog.c (main): Likewise.
32541 * locale/programs/charmap-dir.c (charmap_readdir)
32542 (fopen_uncompressed): Likewise.
32543 * locale/programs/locfile.c (siblings_uncached)
32544 (write_locale_data): Use lstat64 instead of lstat.
32545 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32548 2013-05-10 Andreas Jaeger <aj@suse.de>
32551 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32553 Include <locale.h>.
32555 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32557 * elf/dl-close.c (_dl_close_worker): Add comments.
32559 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32564 (__ieee754_rem_pio2l): Update comments.
32567 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32569 (__ieee754_rem_pio2l): Update comments.
32571 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32572 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32574 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32577 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32578 (M_PI_34_LOG10El): Likewise.
32579 (M_PI2_LOG10El): Likewise.
32580 (M_PI4_LOG10El): Likewise.
32581 (M_PI_LOG10El): Likewise.
32583 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32587 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32589 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32590 (MINUS_ZERO_INIT): Likewise.
32591 (PLUS_INFTY_INIT): Likewise.
32592 (MINUS_INFTY_INIT): Likewise.
32593 (QNAN_VALUE_INIT): Likewise.
32594 (MAX_VALUE_INIT): Likewise.
32595 (MIN_VALUE_INIT): Likewise.
32596 (MIN_SUBNORM_VALUE_INIT): Likewise.
32597 (plus_zero): Initialize with PLUS_ZERO_INIT.
32598 (minus_zero): Initialize with MINUS_ZERO_INIT.
32599 (plus_infty): Initialize with PLUS_INFTY_INIT.
32600 (minus_infty): Initialize with MINUS_INFTY_INIT.
32601 (qnan_value): Initialize with QNAN_VALUE_INIT.
32602 (max_value): Initialize with MAX_VALUE_INIT.
32603 (min_value): Initialize with MIN_VALUE_INIT.
32604 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32606 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32607 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32608 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32609 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32611 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32612 (RUN_TEST_2_f): Likewise.
32613 (RUN_TEST_ff_f): Likewise.
32614 (RUN_TEST_fi_f): Likewise.
32615 (RUN_TEST_fl_f): Likewise.
32616 (RUN_TEST_fff_f): Likewise.
32617 (RUN_TEST_c_f): Likewise.
32618 (RUN_TEST_f_f1): Likewise.
32619 (RUN_TEST_fF_f1): Likewise.
32620 (RUN_TEST_fI_f1): Likewise.
32621 (RUN_TEST_ffI_f1): Likewise.
32622 (RUN_TEST_c_c): Likewise.
32623 (RUN_TEST_cc_c): Likewise.
32624 (RUN_TEST_f_i): Likewise.
32625 (RUN_TEST_f_i_tg): Likewise.
32626 (RUN_TEST_ff_i_tg): Likewise.
32627 (RUN_TEST_f_b): Likewise.
32628 (RUN_TEST_f_b_tg): Likewise.
32629 (RUN_TEST_f_l): Likewise.
32630 (RUN_TEST_f_L): Likewise.
32631 (RUN_TEST_sincos): Likewise.
32632 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32633 whether to show exceptions. Do not include ");\n" in return
32635 (special_functions): Output call to RUN_TEST_sincos instead of
32636 check_float calls. Update calls to new_test.
32637 (parse_args): Output call to single RUN_TEST_* macro instead of
32638 check_* calls and other assignments. Update calls to new_test.
32644 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32645 input to result for tgamma overflow.
32646 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32647 (gamma_coeff): New variable.
32648 (NCOEFF): New macro.
32649 (gamma_positive): New function.
32650 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32651 underflow here. Use gamma_positive instead of exp (lgamma) for
32653 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32654 (gamma_coeff): New variable.
32655 (NCOEFF): New macro.
32656 (gammaf_positive): New function.
32657 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32658 underflow here. Use gamma_positive instead of exp (lgamma) for
32660 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32661 (gamma_coeff): New variable.
32662 (NCOEFF): New macro.
32663 (gammal_positive): New function.
32664 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32665 underflow here. Use gamma_positive instead of exp (lgamma) for
32667 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32668 (gamma_coeff): New variable.
32669 (NCOEFF): New macro.
32670 (gammal_positive): New function.
32671 (__ieee754_gammal_r): Handle positive infinity, overflow and
32672 underflow here. Handle NaN the same as positive infinity. Remove
32673 check x < 0xffffffff for negative integers. Use gamma_positive
32674 instead of exp (lgamma) for other arguments.
32675 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32676 (gamma_coeff): New variable.
32677 (NCOEFF): New macro.
32678 (gammal_positive): New function.
32679 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32680 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32681 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32682 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32683 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32684 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32685 * sysdeps/generic/math_private.h (__gamma_productf): New
32687 (__gamma_product): Likewise.
32688 (__gamma_productl): Likewise.
32689 * math/Makefile (libm-calls): Add gamma_product.
32690 * math/libm-test.inc (tgamma_test): Add more tests.
32691 * sysdeps/i386/fpu/libm-test-ulps: Update.
32692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32694 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32696 * benchtests/bench-skeleton.c (main): Preheat CPU.
32698 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32700 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32702 2013-05-07 Roland McGrath <roland@hack.frob.com>
32704 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32705 and _dl_skip_args_internal.
32707 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32709 * manual/message.texi (Message Translation): Talk about users.
32710 Message to key mapping impacts design.
32712 2013-05-06 Roland McGrath <roland@hack.frob.com>
32714 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32716 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32718 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32719 * sysdeps/wordsize-64/glob64.c: ... here.
32721 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32722 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32725 * debug/getlogin_r_chk.c: Moved to ...
32726 * login/getlogin_r_chk.c: ... here.
32727 * debug/Makefile (routines): Move getlogin_r_chk to ...
32728 * login/Makefile (routines): ... here.
32729 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32730 * login/Versions (libc: GLIBC_2.4): ... here.
32732 * io/poll.c (__poll): Renamed from poll.
32733 Add libc_hidden_def.
32734 (poll): Define as weak alias.
32736 * debug/ptsname_r_chk.c: Moved to ...
32737 * login/ptsname_r_chk.c: ... here.
32738 * debug/Makefile (routines): Move ptsname_r_chk to ...
32739 * login/Makefile (routines): ... here.
32740 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32741 * login/Versions (libc: GLIBC_2.4): ... here.
32743 * posix/getlogin.c: Moved to ...
32744 * login/getlogin.c: ... here.
32745 * posix/getlogin_r.c: Moved to ...
32746 * login/getlogin_r.c: ... here.
32747 * posix/getlogin_r.c: Moved to ...
32748 * login/getlogin_r.c: ... here.
32749 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32750 * login/Makefile (routines): ... here.
32751 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32752 * login/Versions (libc: GLIBC_2.0): ... here.
32754 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32755 (setrlimit): Define as weak alias.
32757 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32758 Call __ names for open, ftruncate, and close.
32759 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32760 (truncate): Define as weak alias.
32762 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32764 * math/gen-libm-test.pl (parse_args): Initialize x before each
32765 test of frexp, modf and remquo.
32767 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32768 test signgam value.
32770 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32774 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32776 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32778 2013-05-06 Roland McGrath <roland@hack.frob.com>
32780 * elf/dl-writev.h: New file.
32781 * elf/dl-misc.c: Include it.
32782 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32783 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32785 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32787 * math/libm-test.inc (noXFails): Remove variable.
32788 (noXPasses): Likewise.
32789 (BUILD_COMPLEX_INT): Remove macro.
32790 (print_screen): Remove xfail argument.
32791 (print_screen_max_error): Likewise.
32792 (update_stats): Likewise.
32793 (print_max_error): Likewise. Update calls to other affected
32795 (print_complex_max_error): Likewise.
32796 (test_single_exception): Update calls to print_screen.
32797 (test_single_errno): Likewise.
32798 (check_float_internal): Remove xfail argument. Update calls to
32799 other affected functions.
32800 (check_float): Likewise.
32801 (check_complex): Likewise.
32802 (check_int): Likewise.
32803 (check_long): Likewise.
32804 (check_bool): Likewise.
32805 (check_longlong): Likewise.
32806 (main): Don't print noXFails and noXPasses.
32807 * math/gen-libm-test.pl (top level): Don't mention expected
32808 failure handling in comment.
32809 (new_test): Don't handle expected failures.
32810 (parse_args): Don't mention expected failure handling in comment.
32811 (generate_testfile): Don't handle expected failures.
32812 (parse_ulps): Likewise.
32813 (print_ulps_file): Likewise.
32814 (get_failure): Remove function.
32815 (output_test): Don't handle expected failures.
32816 * make/README.libm-test: Don't mention expected failure handling.
32818 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32819 (minus_zero): Likewise.
32820 (plus_infty): Likewise.
32821 (minus_infty): Likewise.
32822 (qnan_value): Likewise.
32823 (max_value): Likewise.
32824 (min_value): Likewise.
32825 (min_subnorm_value): Likewise.
32826 (initialize): Do not initialize those variables dynamically.
32828 2013-05-03 Roland McGrath <roland@hack.frob.com>
32830 * io/open.c (__open_2): Moved to ...
32831 * io/open_2.c: ... this new file.
32832 * io/open64.c (__open64_2): Moved to ...
32833 * io/open64_2.c: ... this new file.
32834 * io/openat.c (__openat_2): Moved to ...
32835 * io/openat_2.c: ... this new file.
32836 * io/openat64.c (__openat64_2): Moved to ...
32837 * io/openat64_2.c: ... this new file.
32838 * io/Makefile (routines): Add them.
32839 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32840 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32841 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32842 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32843 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32844 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32845 (__openat64): Add hidden_ver.
32846 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32847 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32849 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32850 Separately conditionalize setting of GLRO(dl_sysinfo) so
32851 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32852 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32854 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32856 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32857 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32859 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32860 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32861 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32862 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32863 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32865 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32867 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32868 test signgam value.
32870 * math/libm-test.inc (hypot_test): Do not use
32871 IGNORE_ZERO_INF_SIGN.
32873 2013-05-03 Andreas Jaeger <aj@suse.de>
32875 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32878 (PF_MAX): Adjust for VSOCK change.
32880 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32884 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32887 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32888 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32889 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32891 2013-05-02 David S. Miller <davem@davemloft.net>
32893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32895 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32897 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32899 2013-05-01 Roland McGrath <roland@hack.frob.com>
32901 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32903 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32906 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32907 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32908 Use __attribute__ ((__gnu_inline__)).
32909 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32910 Don't use __attribute__ ((__gnu_inline__)).
32912 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32915 * math/s_catan.c (__catan): Handle small real or imaginary part of
32916 input specially to avoid spurious underflow.
32917 * math/s_catanf.c (__catanf): Likewise.
32918 * math/s_catanh.c (__catanh): Likewise.
32919 * math/s_catanhf.c (__catanhf): Likewise.
32920 * math/s_catanhl.c (__catanhl): Likewise.
32921 * math/s_catanl.c (__catanl): Likewise.
32922 * math/libm-test.inc (catan_test): Add more tests.
32923 (catanh_test): Likewise.
32924 * sysdeps/i386/fpu/libm-test-ulps: Update.
32925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32927 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32931 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32934 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32935 accurately for denominator in atan2.
32936 * math/s_catanf.c (__catanf): Likewise.
32937 * math/s_catanh.c (__catanh): Likewise.
32938 * math/s_catanhf.c (__catanhf): Likewise.
32939 * math/s_catanhl.c (__catanhl): Likewise.
32940 * math/s_catanl.c (__catanl): Likewise.
32941 * math/libm-test.inc (catan_test): Add more tests.
32942 (catanh_test): Likewise.
32943 * sysdeps/i386/fpu/libm-test-ulps: Update.
32944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32946 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32948 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32950 * benchtests/Makefile (bench): Remove slow benchmarks.
32951 * benchtests/atan-inputs: Add slow benchmark inputs.
32952 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32953 (BENCH_FUNC): Accept variant offset.
32955 * benchtests/bench-skeleton.c (main): Run benchmark for each
32957 * benchtests/cos-inputs: Add slow benchmark inputs.
32958 * benchtests/exp-inputs: Likewise.
32959 * benchtests/pow-inputs: Likewise.
32960 * benchtests/sin-inputs: Likewise.
32961 * benchtests/slowatan-inputs: Remove.
32962 * benchtests/slowatan.c: Remove.
32963 * benchtests/slowcos-inputs: Remove.
32964 * benchtests/slowcos.c: Remove.
32965 * benchtests/slowexp-inputs: Remove.
32966 * benchtests/slowexp.c: Remove.
32967 * benchtests/slowpow-inputs: Remove.
32968 * benchtests/slowpow.c: Remove.
32969 * benchtests/slowsin-inputs: Remove.
32970 * benchtests/slowsin.c: Remove.
32971 * benchtests/slowtan-inputs: Remove.
32972 * benchtests/slowtan.c: Remove.
32973 * benchtests/tan-inputs: Add slow benchmark inputs.
32974 * scripts/bench.pl: Parse comments and directives.
32976 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32978 ($(objpfx)bench-%.c): Remove *-ITER.
32979 * benchtests/bench-modf.c: Remove definition of ITER.
32980 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32981 (main): Loop for DURATION seconds instead of fixed number of
32983 * scripts/bench.pl: Don't expect iterations in parameters.
32985 2013-04-29 Roland McGrath <roland@hack.frob.com>
32987 * io/fchdir.c (__fchdir): Renamed from fchdir.
32988 (fchdir): Define as weak alias.
32990 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32992 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32993 (ERRNO_EDOM): Likewise.
32994 (ERRNO_ERANGE): Likewise.
32995 (noErrnoTests): New variable.
32996 (init_max_error): Set errno to 0.
32997 (test_single_errno): New function.
32998 (test_errno): Likewise.
32999 (check_float_internal): Call test_errno. Set errno to 0.
33000 (check_complex): Refer to errno tests in comment.
33001 (check_int): Call test_errno. Set errno to 0.
33002 (check_long): Likewise.
33003 (check_bool): Likewise.
33004 (check_longlong): Likewise.
33005 (cos_test): Use ERRNO_* flags for errno tests instead of
33007 (expm1_test): Likewise.
33008 (fmod_test): Likewise.
33009 (ilogb_test): Likewise.
33010 (lgamma_test): Likewise.
33011 (pow_test): Likewise.
33012 (remainder_test): Likewise.
33013 (sin_test): Likewise.
33014 (tan_test): Likewise.
33015 (yn_test): Likewise.
33016 (initialize): Set errno to 0.
33017 (main): Print number of errno tests.
33018 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33020 2013-04-29 Andreas Jaeger <aj@suse.de>
33023 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33027 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33028 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33032 * stdlib/random.c (__initstate): Return NULL if
33036 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33037 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33040 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33044 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33046 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33047 of individual tests.
33048 (casin_test): Likewise.
33049 (casinh_test): Likewise.
33051 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33054 * math/s_catan.c (__catan): Handle arguments with large real or
33055 imaginary part separately without squaring.
33056 * math/s_catanf.c (__catanf): Likewise.
33057 * math/s_catanh.c (__catanh): Likewise.
33058 * math/s_catanhf.c (__catanhf): Likewise.
33059 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33061 (__catanhl): Handle arguments with large real or imaginary part
33062 separately without squaring.
33063 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33065 (__catanl): Handle arguments with large real or imaginary part
33066 separately without squaring.
33067 * math/libm-test.inc (catan_test): Add more tests.
33068 (catanh_test): Likewise.
33069 * sysdeps/i386/fpu/libm-test-ulps: Update.
33070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33072 2013-04-27 Andreas Jaeger <aj@suse.de>
33075 * stdlib/stdlib.h: Update guards for qecvt.
33076 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33079 2013-04-27 Allan McRae <allan@archlinux.org>
33081 * sysdeps/i386/fpu/libm-test-ulps: Update.
33083 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33086 * math/s_catan.c: Include <float.h>.
33087 (__catan): Ensure underflow exception occurs for underflowed
33089 * math/s_catanf.c: Include <float.h>.
33090 (__catanf): Ensure underflow exception occurs for underflowed
33092 * math/s_catanh.c: Include <float.h>.
33093 (__catanh): Ensure underflow exception occurs for underflowed
33095 * math/s_catanhf.c: Include <float.h>.
33096 (__catanhf): Ensure underflow exception occurs for underflowed
33098 * math/s_catanhl.c: Include <float.h>.
33099 (__catanhl): Ensure underflow exception occurs for underflowed
33101 * math/s_catanl.c: Include <float.h>.
33102 (__catanl): Ensure underflow exception occurs for underflowed
33104 * math/libm-test.inc (catan_test): Add more tests.
33105 (catanh_test): Likewise.
33108 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33109 underflowed result.
33110 * math/s_ccoshf.c (__ccoshf): Likewise.
33111 * math/s_ccoshl.c (__ccoshl): Likewise.
33112 * math/s_csin.c (__csin): Likewise.
33113 * math/s_csinf.c (__csinf): Likewise.
33114 * math/s_csinh.c (__csinh): Likewise.
33115 * math/s_csinhf.c (__csinhf): Likewise.
33116 * math/s_csinhl.c (__csinhl): Likewise.
33117 * math/s_csinl.c (__csinl): Likewise.
33118 * math/libm-test.inc (ccos_test): Add more tests.
33119 (ccosh_test): Likewise.
33120 (csin_test): Likewise.
33121 (csinh_test): Likewise.
33123 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33125 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33126 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33127 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33128 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33129 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33130 powerpc/power5+/fpu folders.
33131 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33134 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33138 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33140 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33141 additions to variable.
33142 [$(config-machine) = x86_64] (modules-names): Likewise.
33143 ($(objpfx)tst-audit3): Remove dependency.
33144 ($(objpfx)tst-audit3.out): Likewise.
33145 ($(objpfx)tst-audit4): Likewise.
33146 ($(objpfx)tst-audit4.out): Likewise.
33147 ($(objpfx)tst-audit5): Likewise.
33148 ($(objpfx)tst-audit5.out): Likewise.
33149 ($(objpfx)tst-audit6): Likewise.
33150 ($(objpfx)tst-audit6.out): Likewise.
33151 ($(objpfx)tst-audit7): Likewise.
33152 ($(objpfx)tst-audit7.out): Likewise.
33153 (tst-audit3-ENV): Remove variable.
33154 (tst-audit4-ENV): Likewise.
33155 (tst-audit5-ENV): Likewise.
33156 (tst-audit6-ENV): Likewise.
33157 (tst-audit7-ENV): Likewise.
33158 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33159 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33160 addition to variable.
33161 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33162 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33163 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33164 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33165 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33166 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33167 tst-audit3, tst-audit4 and tst-audit5.
33168 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33169 tst-audit6 and tst-audit7.
33170 [$(subdir) = elf] (modules-names): Add audit modules for those
33172 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33173 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33174 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33175 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33176 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33177 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33178 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33179 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33180 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33181 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33182 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33183 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33184 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33185 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33186 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33187 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33189 [$(subdir) = elf && $(config-cflags-avx) = yes]
33190 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33191 [$(subdir) = elf && $(config-cflags-avx) = yes]
33192 (CFLAGS-tst-auditmod4a.c): Likewise.
33193 [$(subdir) = elf && $(config-cflags-avx) = yes]
33194 (CFLAGS-tst-auditmod4b.c): Likewise.
33195 [$(subdir) = elf && $(config-cflags-avx) = yes]
33196 (CFLAGS-tst-auditmod6b.c): Likewise.
33197 [$(subdir) = elf && $(config-cflags-avx) = yes]
33198 (CFLAGS-tst-auditmod6c.c): Likewise.
33199 [$(subdir) = elf && $(config-cflags-avx) = yes]
33200 (CFLAGS-tst-auditmod7b.c): Likewise.
33201 * elf/tst-audit3.c: Move to ...
33202 * sysdeps/x86_64/tst-audit3.c: ... here.
33203 * elf/tst-audit4.c: Move to ...
33204 * sysdeps/x86_64/tst-audit4.c: ... here.
33205 * elf/tst-audit5.c: Move to ...
33206 * sysdeps/x86_64/tst-audit5.c: ... here.
33207 * elf/tst-audit6.c: Move to ...
33208 * sysdeps/x86_64/tst-audit6.c: ... here.
33209 * elf/tst-audit7.c: Move to ...
33210 * sysdeps/x86_64/tst-audit7.c: ... here.
33211 * elf/tst-auditmod3a.c: Move to ...
33212 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33213 * elf/tst-auditmod3b.c: Move to ...
33214 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33215 * elf/tst-auditmod4a.c: Move to ...
33216 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33217 * elf/tst-auditmod4b.c: Move to ...
33218 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33219 * elf/tst-auditmod5a.c: Move to ...
33220 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33221 * elf/tst-auditmod5b.c: Move to ...
33222 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33223 * elf/tst-auditmod6a.c: Move to ...
33224 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33225 * elf/tst-auditmod6b.c: Move to ...
33226 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33227 * elf/tst-auditmod6c.c: Move to ...
33228 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33229 * elf/tst-auditmod7a.c: Move to ...
33230 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33231 * elf/tst-auditmod7b.c: Move to ...
33232 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33234 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33237 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33238 define unconditionally.
33239 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33240 define unconditionally.
33241 (INT8_C, INT16_C, etc.): Likewise.
33243 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33245 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33246 __ehdr_start with hidden visibility.
33248 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33250 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33252 * math/libm-test.inc (cos_test): Use accurate hex constants.
33253 (sincost_test): Likewise.
33255 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33257 * math/libm-test.inc (catan_test): Add more tests.
33258 (catanh_test): Likewise.
33260 * math/s_catanf.c (__catanf): Use suffixed floating-point
33262 * math/s_catanhf.c (__catanhf): Likewise.
33263 * math/s_catanhl.c (__catanhl): Likewise.
33264 * math/s_catanl.c (__catanl): Likewise.
33267 * math/s_catan.c (__catan): Calculate imaginary part of result
33268 with log1p not log unless computing log of number close to 0.
33269 * math/s_catanf.c (__catanf): Likewise.
33270 * math/s_catanl.c (__catanl): Likewise.
33271 * math/s_catanh.c (__catanh): Calculate real part of result with
33272 log1p not log unless computing log of number close to 0.
33273 * math/s_catanhf.c (__catanhf): Likewise.
33274 * math/s_catanhl.c (__catanhl): Likewise.
33275 * math/libm-test.inc (catan_test): Add more tests.
33276 (catanh_test): Likewise.
33277 * sysdeps/i386/fpu/libm-test-ulps: Update.
33278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33280 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33282 * benchtests/Makefile: Mention files in which fast and slow
33283 paths of math functions are implemented.
33285 2013-04-23 Roland McGrath <roland@hack.frob.com>
33287 * sysdeps/posix/timespec_get.c: New file.
33289 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33291 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33293 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33295 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33296 powerpc/power5/fpu folders.
33297 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33298 * benchtests/Makefile: Add modf testcase.
33299 * benchtests/bench-modf.c: New file: Benchmark test for mo
33301 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33304 * time/Makefile (tests): Add tst-strptime-whitespace.
33305 * time/strptime_l.c (get_number): Use ISSPACE.
33306 (__strptime_internal): Likewise.
33307 * time/tst-strptime-whitespace.c: New test case.
33309 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33311 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33313 (_nss_files_init): Set it here.
33315 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33317 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33318 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33321 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33323 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33325 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33330 2013-04-21 David S. Miller <davem@davemloft.net>
33332 * po/ru.po: Update Russion translation from translation project.
33334 2013-04-17 Adam Conrad <adconrad@0c3.net>
33336 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33339 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33341 * configure.in: Remove i386 configure warning. Remove i386 case.
33342 * configure: Regenerate.
33343 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33344 Add example to error message.
33345 * sysdeps/i386/configure: Regenerate.
33347 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33349 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33351 * benchtests/cos-inputs: New file.
33352 * benchtests/slowcos-inputs: New file.
33353 * benchtests/slowcos.c: New file.
33354 * benchtests/slowtan-inputs: New file.
33355 * benchtests/slowtan.c: New file.
33356 * benchtests/tan-inputs: New file.
33358 2013-04-16 Roland McGrath <roland@hack.frob.com>
33360 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33363 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33365 * benchtests/Makefile: Include cppflags-iterator.mk to add
33366 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33368 * Makefile.in (bench-clean): New target.
33369 * benchtests/Makefile (bench-clean): Likewise.
33371 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33373 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33375 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33377 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33379 2013-04-15 Andreas Schwab <schwab@suse.de>
33381 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33383 * nscd/pwdcache.c (cache_addpw): Likewise.
33384 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33387 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33389 * benchtests/Makefile (bench): Write all output to
33390 bench-out.tmp together.
33392 2013-04-15 Andreas Schwab <schwab@suse.de>
33394 * nscd/nscd.c (main): Don't fork again after closing files.
33396 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33398 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33400 * benchtests/Rules (bench-deps): Collect dependencies into a
33401 single variable. Add Makefile to dependencies.
33402 ($(objpfx)bench-%.c): Depend on bench-deps.
33404 2013-04-12 Roland McGrath <roland@hack.frob.com>
33405 Xavier Roche <roche+kml2@exalead.com>
33408 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33409 just that it's a file descriptor.
33410 * manual/llio.texi (Synchronizing AIO Operations): Update description
33411 for EBADF error from aio_fsync.
33413 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33415 * Rules (bench): Move target definition...
33416 * benchtests/Makefile: ... here.
33418 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33420 * math/libm-test.inc (cos_test): Fix PI/2 test.
33421 (sincos_test): Likewise.
33422 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33423 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33425 2013-04-11 Andreas Schwab <schwab@suse.de>
33428 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33429 accept exponent character only when digits were seen.
33430 * stdio-common/Makefile (tests): Add bug26.
33431 * stdio-common/bug26.c: New file.
33434 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33437 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33439 * Makeconfig (rtld-prefix): Define built linker prefix.
33440 * Rules (run-bench): Use it.
33441 * math/Makefile (run-regen-ulps): Likewise.
33443 * Rules (bench): Remove eval.
33445 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33446 Roland McGrath <roland@hack.frob.com>
33447 Ondrej Bilka <neleai@seznam.cz>
33450 * time/getdate.c: Include ctype.h and alloca.h.
33451 (__getdate_r): Trim leading and trailing spaces of input.
33452 * time/tst-getdate.c (tests): Add tests with leading and
33455 2013-04-08 Roland McGrath <roland@hack.frob.com>
33458 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33459 when computing value.
33461 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33463 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33464 Use testrun.sh to run libm tests.
33467 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33469 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33472 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33474 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33476 * Makefile.in (regen-ulps): New target.
33477 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33478 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33479 [ifneq (no,$(PERL)] (regen-ulps): New target.
33480 [ifeq (no,$(PERL)] (regen-ulps): New target.
33481 * math/libm-test.inc (ulps_file_name): Define.
33482 (output_dir): New variable.
33483 (options): Add "output-dir" option.
33484 (parse_opt): Handle 'o' case.
33485 (main): If output_dir is non-NULL use it as a prefix
33487 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33489 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33491 [BZ #10060, #10062]
33492 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33493 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33494 fail configure if __sync_val_compare_and_swap is not inlined.
33495 * sysdeps/i386/configure: Regenerate.
33496 * configure.in: Build for i686 when configured for i386.
33497 * configure: Regenerate.
33498 * README: Remove i386 reference.
33500 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33502 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33503 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33505 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33507 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33508 (lmsnanval): New variables.
33509 (F): Add conversion tests.
33510 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33511 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33513 * stdio-common/tstdiomisc.c (F): Properly collect individual
33516 [BZ #14686, #15336]
33517 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33518 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33519 Instead, use input NaN values or generate a qNaN by arithmetic
33520 operation. Also fix bugs to comply with the standard.
33521 * math/libm-test.inc (remainder_test): Add more tests.
33523 [BZ #15335, #15342]
33524 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33526 input NaN values or generate a qNaN by arithmetic operation.
33528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33531 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33534 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33537 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33538 underflowed result.
33539 * math/s_cexpf.c (__cexpf): Likewise.
33540 * math/s_cexpl.c (__cexpl): Likewise.
33541 * math/libm-test.inc (cexp_test): Add more tests.
33543 2013-04-03 Andreas Schwab <schwab@suse.de>
33546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33547 order arrays from heap if bigger than alloca cutoff.
33549 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33551 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33552 (SNAN_TESTS_double): Refer to GCC PR56831.
33553 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33556 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33558 * Rules (bench): Move bench.out after the run is complete.
33560 * Rules (bench): Echo currently running benchmark.
33562 * benchtests/Makefile (bench): Add atan and slowatan.
33563 * benchtests/atan-inputs: New file.
33564 * benchtests/slowatan-inputs: New file.
33565 * benchtests/slowatan.c: New file.
33567 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33572 * sysdeps/unix/sysv/linux/kernel-features.h
33573 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33574 __ASSUME_XFS_RESTRICTED_CHOWN.
33575 * sysdeps/unix/sysv/linux/pathconf.c
33576 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33577 Save and restore errno.
33579 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33582 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33583 arguments using __kernel_casinh.
33584 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33585 arguments using __kernel_casinhf.
33586 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33587 arguments using __kernel_casinhl.
33588 * math/libm-test.inc (cacosh_test): Add more tests.
33589 * sysdeps/i386/fpu/libm-test-ulps: Update.
33590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33592 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33594 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33597 * bench/Makefile (bench): Add sin and slowsin.
33598 * benchtests/sin-inputs: New file.
33599 * benchtests/slowsin-inputs: New file.
33600 * benchtests/slowsin.c: New file.
33602 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33603 (bench): Add slowexp and slowpow.
33604 (exp-ITER): Increase iterations.
33605 (pow-ITER): Likewise.
33606 * benchtests/exp-inputs: Change input.
33607 * benchtests/pow-inputs: Likewise.
33608 * benchtests/slowexp-inputs: New file.
33609 * benchtests/slowexp.c: New file.
33610 * benchtests/slowpow-inputs: New file.
33611 * benchtests/slowpow.c: New file.
33613 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33615 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33617 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33618 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33619 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33620 * benchtests/Makefile: Add rint benchtest.
33621 * benchtests/rint-inputs: Input for rint benchtest.
33623 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33625 * Versions.def (libm): Add GLIBC_2.18.
33626 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33627 hidden libm prototypes.
33628 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33629 * math/Makefile (libm-calls): Add s_issignaling.
33630 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33631 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33632 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33634 * math/math.h [__USE_GNU] (issignaling): New macro.
33635 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33636 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33638 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33641 * manual/arith.texi (issignaling): New section.
33642 * manual/libm-err-tab.pl (@all_functions): Update comment.
33643 * math/gen-libm-test.pl (parse_args): Apply special handling for
33645 * math/libm-test.inc (print_float, issignaling_test): New
33647 (check_float_internal): Add issignaling checks.
33648 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33649 default definition.
33650 * sysdeps/powerpc/math-tests.h: New file.
33651 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33653 * math/test-snan.c (TEST_FUNC): Likewise.
33655 2013-03-30 David S. Miller <davem@davemloft.net>
33657 * po/de.po: Update from translation team.
33659 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33662 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33663 imaginary part less than 1.0 and real part less than 0.5
33665 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33666 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33667 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33668 (cacos_test): Add more tests.
33669 (casin_test): Likewise.
33670 (casinh_test): Likewise.
33671 * sysdeps/i386/fpu/libm-test-ulps: Update.
33672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33674 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33676 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33677 ONE with its value.
33679 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33680 (__pow_mp): Replace ONE and MONE with their values.
33681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33682 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33684 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33685 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33686 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33688 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33690 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33691 (__pow_mp): Replace ZERO and MZERO with their values.
33692 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33694 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33696 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33697 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33700 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33702 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33704 2013-03-28 Roland McGrath <roland@hack.frob.com>
33706 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33707 Declare with __attribute__ ((weak)).
33708 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33709 Call __call_tls_dtors only if it's not NULL.
33711 2013-03-28 Roland McGrath <roland@hack.frob.com>
33713 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33714 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33715 magic __ehdr_start linker symbol if it's defined.
33716 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33717 them up here if it was already done.
33719 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33720 (_dl_aux_init): Use const in cast when setting it.
33721 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33722 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33723 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33725 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33727 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33728 * csu/libc-tls.c: Nor here.
33729 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33731 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33732 (__libc_message): Never call vsyslog.
33734 2013-03-28 Alan Modra <amodra@gmail.com>
33736 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33738 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33741 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33744 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33748 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33751 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33752 Don't add gid passed as argument.
33754 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33756 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33759 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33760 imaginary part between 1.0 and 1.5 and real part less than 0.5
33762 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33763 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33764 * math/libm-test.inc (cacos_test): Add more tests.
33765 (casin_test): Likewise.
33766 (casinh_test): Likewise.
33767 * sysdeps/i386/fpu/libm-test-ulps: Update.
33768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33770 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33772 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33775 (denorm): Likewise.
33776 (__dbl_mp): Likewise.
33777 (add_magnitudes): Likewise.
33778 (sub_magnitudes): Likewise.
33786 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33788 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33789 (__dubcos): Likewise.
33790 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33791 (__ieee754_acos): Likewise.
33792 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33793 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33794 (__exp1): Likewise.
33795 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33798 (my_log2): Likewise.
33799 (checkint): Likewise.
33800 * sysdeps/ieee754/dbl-64/e_remainder.c
33801 (__ieee754_remainder): Likewise.
33802 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33804 (bsloww): Likewise.
33805 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33807 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33808 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33809 MANTISSA_STORE_T to store computations on mantissa. Use
33810 macros for rounding and division.
33811 (denorm): Likewise.
33812 (__dbl_mp): Likewise.
33813 (add_magnitudes): Likewise.
33814 (sub_magnitudes): Likewise.
33817 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33818 powers of two in terms of TWOPOW macro.
33819 (mp_no): Make type of mantissa as MANTISSA_T.
33820 [!RADIXI]: Define RADIXI.
33821 [!TWO52]: Define TWO52.
33822 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33824 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33826 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33827 llroundl symbol when building for PPC32.
33829 2013-03-24 Mark H Weaver <mhw@netris.org>
33831 * manual/arith.texi (Normalization Functions): Fix prototypes for
33832 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33834 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33838 high value to check if expl overflow.
33839 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33840 to check for underflow and overflow.
33841 * math/libm-test.inc: Add exp test.
33843 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33846 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33849 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33851 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33854 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33856 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33857 wrap blocks consisting of several statements.
33859 * sysdeps/generic/math-tests.h: New file.
33860 * sysdeps/i386/fpu/math-tests.h: Likewise.
33861 * math/test-snan.c: Include it.
33862 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33864 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33867 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33868 (__ieee754_j0l): Do not improve calculations using cos of twice
33869 input for inputs above LDBL_MAX / 2.0L.
33870 (__ieee754_y0l): Likewise.
33871 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33872 (__ieee754_j1l): Do not improve calculations using cos of twice
33873 input for inputs above LDBL_MAX / 2.0L.
33874 (__ieee754_y1l): Likewise.
33875 * math/libm-test.inc (j0_test): Add another test.
33876 (j1_test): Likewise.
33877 (y0_test): Likewise.
33878 (y1_test): Likewise.
33879 * sysdeps/i386/fpu/libm-test-ulps: Update.
33881 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33883 * Rules ($(objpfx)bench-%.c): Include code from a C source
33886 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33889 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33890 imaginary part 1.0 and real part less than 0.5 specially.
33891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33893 * math/libm-test.inc (cacos_test): Add more tests.
33894 (casin_test): Likewise.
33895 (casinh_test): Likewise.
33896 * sysdeps/i386/fpu/libm-test-ulps: Update.
33897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33899 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33901 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33902 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33904 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33906 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33907 * config.make.in (config-cflags-sse4): Remove variable.
33908 (config-cflags-avx): Likewise.
33909 (config-cflags-sse2avx): Likewise.
33910 (config-cflags-novzeroupper): Likewise.
33911 (config-asflags-i686): Likewise.
33912 (have-mfma4): Likewise.
33913 (have-as-vis3): Likewise.
33915 * configure.in (MIG): Do not AC_SUBST.
33916 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33917 (libc_cv_cc_sse4): Do not AC_SUBST.
33918 (libc_cv_cc_avx): Likewise.
33919 (libc_cv_cc_sse2avx): Likewise.
33920 (libc_cv_cc_novzeroupper): Likewise.
33921 (libc_cv_cc_fma4): Likewise.
33922 (libc_cv_as_i686): Likewise.
33923 (libc_cv_sparc_as_vis3): Likewise.
33924 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33926 (config-asflags-i686): Likewise.
33927 (config-cflags-avx): Likewise.
33928 (config-cflags-sse2avx): Likewise.
33929 (have-mfma4): Likewise.
33930 (config-cflags-novzeroupper): Likewise.
33931 * sysdeps/mach/configure.in (MIG): Likewise.
33932 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33933 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33935 (config-cflags-avx): Likewise.
33936 (config-cflags-sse2avx): Likewise.
33937 (have-mfma4): Likewise.
33938 (config-cflags-novzeroupper): Likewise.
33939 * configure: Regenerated.
33940 * sysdeps/i386/configure: Likewise.
33941 * sysdeps/mach/configure: Likewise.
33942 * sysdeps/sparc/configure: Likewise.
33943 * sysdeps/x86_64/configure: Likewise.
33945 2013-03-20 Roland McGrath <roland@hack.frob.com>
33948 * locale/programs/localedef.c (options): Put N_ translation marker
33949 on argument names, not just descriptions.
33951 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33953 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33955 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33958 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33960 2013-03-19 Roland McGrath <roland@hack.frob.com>
33962 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33963 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33964 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33965 [!BEFORE_ABORT] (before_abort): New function.
33966 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33967 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33968 (writev_for_fatal): New function.
33969 (WRITEV_FOR_FATAL): New macro; call that.
33970 (backtrace_and_maps): New function.
33971 (BEFORE_ABORT): New macro; call that.
33972 (struct str_list): Type removed.
33973 (__libc_message, __libc_fatal): Functions removed.
33974 Include <sysdeps/posix/libc_fatal.c> instead.
33976 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33978 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33980 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33983 2013-03-19 Andreas Schwab <schwab@suse.de>
33985 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33986 * sysdeps/gnu/configure: Regenerate.
33988 * configure.in: Substitute libc_cv_rtlddir.
33989 * configure: Regenerate.
33990 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33991 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33992 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33993 * elf/Makefile (install-others, CFLAGS-interp.c)
33994 (ldso_install, common-ldd-rewrite): Likewise.
33995 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33996 $(inst_slibdir)/$(rtld-installed-name).
33997 * scripts/rellns-sh: Add -p option.
33998 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34001 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34003 * manual/nptl.texi: Renamed to ...
34004 * manual/threads.texi: ... this.
34005 * manual/Makefile (chapters): Update.
34007 2013-03-18 Roland McGrath <roland@hack.frob.com>
34010 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34011 on argument names, not just descriptions.
34012 * malloc/memusagestat.c (options): Likewise.
34013 * nss/getent.c (options): Likewise.
34015 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34018 * iconv/iconv_prog.c (options): Put N_ translation marker
34019 on argument names, not just descriptions.
34020 * iconv/iconvconfig.c (options): Likewise.
34022 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34024 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34025 implementation which is faster on all x86_64 architectures.
34026 Tested on AMD, Intel Nehalem, SNB, IVB.
34027 * sysdeps/x86_64/strnlen.S: Likewise.
34029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34030 Remove all multiarch strlen and strnlen versions.
34031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34032 Remove strlen and strnlen related parts.
34034 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34035 Inline strlen part.
34036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34038 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34039 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34040 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34041 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34042 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34043 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34045 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34047 * manual/memory.texi (Malloc Tunable Parameters):
34048 Sort parameters alphabetically. Add comments for missing entries.
34050 2013-03-17 David S. Miller <davem@davemloft.net>
34052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34054 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34057 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34058 for arguments at most half maximum finite value.
34059 * math/libm-test.inc (j0_test): Add more tests.
34060 (j1_test): Likewise.
34061 (y0_test): Likewise.
34062 (y1_test): Likewise.
34063 * sysdeps/i386/fpu/libm-test-ulps: Update.
34064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34067 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34068 1 / x and functions P and Q for arguments above 0x1p256L.
34069 (__ieee754_y0l): Likewise.
34070 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34071 (__ieee754_y1l): Likewise.
34072 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34073 (j1_test): Likewise.
34074 (y0_test): Likewise.
34075 (y1_test): Likewise.
34077 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34079 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34082 2013-03-15 Roland McGrath <roland@hack.frob.com>
34084 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34085 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34086 zero since it's initialized to EXEC_PAGESIZE.
34088 * sysdeps/unix/sysv/linux/ldsodefs.h
34089 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34090 * sysdeps/generic/ldsodefs.h: ... here.
34092 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34094 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34096 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34098 * math/test-snan.c: Renamed from
34099 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34100 * math/Makefile (tests): Add test-snan.
34101 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34104 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34105 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34107 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34108 __builtin_nan family of functions.
34109 * math/libm-test.inc (initialize): Initialize qnan_value with
34110 __builtin_nan family of functions.
34111 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34113 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34115 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34116 storage class. Initialize qNaN_var and sNaN_var with
34117 __builtin_nan and __builtin_nans families of functions,
34120 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34121 (sqrt_test): Remove duplicate test with qNaN input.
34122 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34123 (round_test, signbit_test, significand_test): Note missing +/-Inf
34124 as well as qNaN tests.
34126 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34127 qNaN_var. Fix a few strings, too.
34128 * math/libm-test.inc (nan_value): Rename to qnan_value.
34129 * math/gen-libm-test.pl (%beautify): Adjust to that.
34130 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34131 * math/test-misc.c (main): Likewise.
34132 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34133 to __qnan_bytes, and __qnan_union, respectively.
34134 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34136 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34137 and lqnanval, respectively.
34138 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34139 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34140 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34141 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34143 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34144 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34147 * math/test-misc.c (main): Fix copy'n'pastos.
34148 * misc/tst-efgcvt.c (special): Likewise.
34150 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34151 Remove declarations.
34153 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34155 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34156 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34157 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34158 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34160 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34163 macro to return vdso values correctly in IFUNC implementations.
34164 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34165 Optimization by using IFUNC.
34167 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34168 Richard Henderson <rth@redhat.com>
34169 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34171 * Makefile.in (bench): New target.
34172 * NEWS: Mention the benchmark framework.
34173 * Rules (bench): Likewise.
34174 (binaries-bench): Generate binaries for functions to
34176 * benchtests/Makefile: New makefile for benchmark tests.
34177 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34179 * benchtests/exp-inputs: New input file for EXP function.
34180 * benchtests/pow-inputs: New input file for POW function.
34181 * scripts/bench.pl: New script to generate source files for
34182 benchmark programs.
34184 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34186 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34187 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34188 computations on mantissa. Use macros for rounding and
34190 (denorm): Likewise.
34191 (__dbl_mp): Likewise.
34192 (add_magnitudes): Likewise.
34193 (sub_magnitudes): Likewise.
34196 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34197 powers of two in terms of TWOPOW macro.
34198 (mp_no): Make type of mantissa as MANTISSA_T.
34199 [!RADIXI]: Define RADIXI.
34200 [!TWO52]: Define TWO52.
34201 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34203 * manual/nptl.texi (cindex): Modify threads to pthreads.
34205 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34207 * sysdeps/x86_64/preconfigure: Regenerated.
34209 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34212 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34214 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34215 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34217 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34218 * math/libm-test.inc (j0_test): Do not allow one spurious
34219 underflow exception.
34220 (y1_test): Likewise.
34222 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34224 * manual/Makefile (chapters): Add nptl.
34225 * manual/debug.texi (Debugging Support): Add link to Threads
34227 * manual/nptl.texi: New file.
34229 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34231 2013-03-14 Petr Baudis <pasky@ucw.cz>
34233 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34234 for non-NULL pointer before the memory validity test. Pointed
34235 out by Holger Brunck <holger.brunck@keymile.com>.
34237 2013-03-13 Andreas Schwab <schwab@suse.de>
34239 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34242 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34244 * timezone/zic.c: Update from tzcode 2013b.
34246 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34248 * manual/install.texi (Configuring and compiling):
34249 Mention i686 and i586.
34250 * INSTALL: Regenerate.
34252 2013-03-12 Roland McGrath <roland@hack.frob.com>
34254 * sysdeps/init_array/elf-init.c: New file.
34256 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34257 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34259 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34260 __gmon_start__ as global, but as static with a .preinit_array pointer.
34261 * sysdeps/init_array/gmon-start.c: New file. Use that.
34262 * sysdeps/init_array/crti.S: New file, empty except for comments.
34263 * sysdeps/init_array/crtn.S: Likewise.
34265 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34267 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34270 Remove Prefer_SSE_for_memop.
34271 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34272 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34273 HAS_PREFER_SSE_FOR_MEMOP.
34274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34277 Remove bzero, memset ifunc support.
34278 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34279 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34280 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34281 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34283 2013-03-11 Andreas Schwab <schwab@suse.de>
34286 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34289 (GLIBC_2.16): Remove pthread_atfork.
34291 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34293 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34294 (ptestcases.h): Likewise.
34296 2013-03-08 Roland McGrath <roland@hack.frob.com>
34298 * Makeconfig ($(common-objpfx)config.status): Depend on
34299 sysdeps/*/preconfigure{,.in} too.
34301 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34303 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34304 (__free_hook): Use void * instead of __malloc_ptr_t.
34305 (__malloc_hook): Likewise.
34306 (__realloc_hook): Likewise.
34307 (__memalign_hook): Likewise.
34308 (__after_morecore_hook): Likewise.
34309 * malloc/arena.c (save_malloc_hook): Likewise.
34310 (save_free_hook): Likewise.
34311 * malloc/hooks.c (malloc_hook_ini): Likewise.
34312 (realloc_hook_ini): Likewise.
34313 (memalign_hook_ini): Likewise.
34314 * malloc/malloc.c (malloc_hook_ini): Likewise.
34315 (realloc_hook_ini): Likewise.
34316 (memalign_hook_ini): Likewise.
34317 (__free_hook): Likewise.
34318 (__malloc_hook): Likewise.
34319 (__realloc_hook): Likewise.
34320 (__memalign_hook): Likewise.
34321 (__libc_malloc): Likewise.
34322 (__libc_free): Likewise.
34323 (__libc_realloc): Likewise.
34324 (__libc_memalign): Likewise.
34325 (__libc_valloc): Likewise.
34326 (__libc_pvalloc): Likewise.
34327 (__libc_calloc): Likewise.
34328 (__posix_memalign): Likewise.
34329 * malloc/morecore.c (__sbrk): Likewise.
34330 (__default_morecore): Likewise.
34332 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34334 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34335 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34336 __malloc_ptrdiff_t.
34338 * malloc/malloc.h (__malloc_size_t): Remove macro.
34339 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34341 (old_memalign_hook): Likewise.
34342 (old_realloc_hook): Likewise.
34343 (struct hdr): Likewise.
34345 (mallochook): Likewise.
34346 (memalignhook): Likewise.
34347 (reallochook): Likewise.
34348 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34349 (tr_old_realloc_hook): Likewise.
34350 (tr_old_memalign_hook): Likewise.
34351 (tr_mallochook): Likewise.
34352 (tr_reallochook): Likewise.
34353 (tr_memalignhook): Likewise.
34355 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34358 default_ldbl_pack and using as default implementation.
34359 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34361 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34362 redundant definition.
34363 (ldbl_insert_mantissa): Likewise.
34364 (ldbl_canonicalize): Likewise.
34365 (ldbl_nearbyint): Likewise.
34366 (ldbl_pack): Rename to ldbl_pack_ppc.
34367 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34368 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34369 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34371 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34374 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34375 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34376 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34378 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34379 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34380 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34382 2013-03-07 Andreas Jaeger <aj@suse.de>
34384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34387 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34389 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34390 Include mpa.h and declare __MPEXP.
34391 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34392 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34393 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34394 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34395 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34396 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34397 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34399 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34400 (__slowpow): Use long double EXPL and LOGL functions to
34402 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34403 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34404 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34405 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34406 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34407 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34410 intermediate variable to calculate exponent.
34412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34416 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34417 [!NO__SQR]: Define __sqr.
34418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34419 and NO__SQR. Remove all code except __mul and __sqr. Include
34420 sysdeps/ieee754/dbl-64/mpa.c.
34421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34424 * posix/Makefile (tests): Add tst-pathconf.
34425 * posix/tst-pathconf.c: New test case.
34426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34428 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34430 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34432 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34434 2013-03-06 Andreas Jaeger <aj@suse.de>
34436 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34437 definition via __MAP_ANONYMOUS.
34439 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34440 it's not part of Linux headers.
34442 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34443 (MAP_HUGE_MASK): Define.
34445 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34447 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34448 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34450 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34451 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34453 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34454 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34458 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34459 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34460 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34461 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34462 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34463 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34465 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34469 Handle f2fs and efivarfs.
34471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34474 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34475 (EFIVARFS_MAGIC): Add.
34476 (F2FS_LINK_MAX): Add.
34478 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34480 * stdio-common/vfprintf.c: Replace __builtin_expect with
34483 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34486 * sysdeps/generic/bp-sym.h: Remove file.
34487 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34488 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34489 <bp-sym.h> and <bp-asm.h>.
34490 (__longjmp): Don't use BP_SYM.
34491 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34493 (memcpy): Don't use BP_SYM.
34494 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34495 <bp-sym.h> and <bp-asm.h>.
34496 (memcpy): Don't use BP_SYM.
34497 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34499 (memcpy): Don't use BP_SYM.
34500 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34502 (memset): Don't use BP_SYM.
34503 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34504 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34505 (__bzero): Don't use BP_SYM.
34506 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34507 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34508 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34509 <bp-sym.h> and <bp-asm.h>.
34510 (memcmp): Don't use BP_SYM. Remove comment about bounded
34512 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34513 <bp-sym.h> and <bp-asm.h>.
34514 (memcpy): Don't use BP_SYM.
34515 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34516 <bp-sym.h> and <bp-asm.h>.
34517 (memset): Don't use BP_SYM.
34518 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34519 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34520 (__bzero): Don't use BP_SYM.
34521 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34522 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34524 <bp-sym.h> and <bp-asm.h>.
34525 (strncmp): Don't use BP_SYM. Remove comment about bounded
34527 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34528 <bp-sym.h> and <bp-asm.h>.
34529 (memcpy): Don't use BP_SYM.
34530 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34531 <bp-sym.h> and <bp-asm.h>.
34532 (memset): Don't use BP_SYM.
34533 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34534 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34535 (__bzero): Don't use BP_SYM.
34536 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34537 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34538 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34539 <bp-sym.h> and <bp-asm.h>.
34540 (__memchr): Don't use BP_SYM.
34541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34542 <bp-sym.h> and <bp-asm.h>.
34543 (memcmp): Don't use BP_SYM. Remove comment about bounded
34545 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34546 <bp-sym.h> and <bp-asm.h>.
34547 (memcpy): Don't use BP_SYM.
34548 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34549 <bp-sym.h> and <bp-asm.h>.
34550 (__mempcpy): Don't use BP_SYM.
34551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34552 <bp-sym.h> and <bp-asm.h>.
34553 (__memrchr): Don't use BP_SYM.
34554 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34555 <bp-sym.h> and <bp-asm.h>.
34556 (memset): Don't use BP_SYM.
34557 (__bzero): Likewise.
34558 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34559 <bp-sym.h> and <bp-asm.h>.
34560 (__rawmemchr): Don't use BP_SYM.
34561 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34562 <bp-sym.h> and <bp-asm.h>.
34563 (__STRCMP): Don't use BP_SYM.
34564 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34565 <bp-sym.h> and <bp-asm.h>.
34566 (strchr): Don't use BP_SYM.
34567 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34568 <bp-sym.h> and <bp-asm.h>.
34569 (__strchrnul): Don't use BP_SYM.
34570 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34571 <bp-sym.h> and <bp-asm.h>.
34572 (strlen): Don't use BP_SYM.
34573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34574 <bp-sym.h> and <bp-asm.h>.
34575 (strncmp): Don't use BP_SYM. Remove comment about bounded
34577 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34578 <bp-sym.h> and <bp-asm.h>.
34579 (__strnlen): Don't use BP_SYM.
34580 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34581 <bp-sym.h> and <bp-asm.h>.
34582 (__GI__setjmp): Don't use BP_SYM.
34583 (_setjmp): Likewise.
34584 (__sigsetjmp): Likewise.
34585 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34586 (L(start_addresses)): Don't use BP_SYM.
34587 (_start): Likewise.
34588 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34590 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34591 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34592 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34593 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34594 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34596 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34597 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34598 about bounded pointers.
34599 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34600 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34601 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34603 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34604 about bounded pointers. Remove GKM FIXME comments.
34605 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34606 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34608 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34609 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34610 Remove GKM FIXME comments.
34611 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34612 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34613 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34615 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34616 about bounded pointers. Remove GKM FIXME comment.
34617 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34619 (strncmp): Don't use BP_SYM. Remove comment about bounded
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34622 <bp-sym.h> and <bp-asm.h>.
34623 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34625 <bp-sym.h> and <bp-asm.h>.
34626 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34629 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34631 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34634 2013-03-05 David S. Miller <davem@davemloft.net>
34636 * po/es.po: Update from translation team.
34638 2013-03-05 Andreas Jaeger <aj@suse.de>
34640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34641 <bits/mman-linux.h>.
34642 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34644 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34645 <bits/mman-linux.h> to end of file.
34646 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34648 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34649 <bits/mman-linux.h> to end of file.
34650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34653 <bits/mman-linux.h> to end of file.
34655 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34656 (MCL_CURRENT, MCL_FUTURE): Define here.
34658 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34661 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34663 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34665 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34667 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34668 fourth parameter needed for rt_sigprocmask syscall.
34669 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34670 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34671 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34672 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34673 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34674 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34676 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34679 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34680 comment about bounded pointers.
34681 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34682 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34684 2013-03-04 Andreas Jaeger <aj@suse.de>
34686 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34687 common definitions.
34689 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34690 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34691 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34692 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34693 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34694 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34696 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34700 __ieee754_sqrl instead of __sqrl.
34702 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34704 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34705 * sysdeps/powerpc/fpu_control.h: ... here.
34706 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34707 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34708 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34709 * sysdeps/powerpc/bits/mathinline.h: ... here.
34711 2013-03-01 Roland McGrath <roland@hack.frob.com>
34713 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34714 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34715 to just [NEED_DL_SYSINFO_DSO].
34716 * elf/dl-support.c: Likewise.
34717 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34718 * elf/rtld.c (dl_main): Likewise.
34719 * elf/setup-vdso.h (setup_vdso): Likewise.
34720 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34721 * sysdeps/unix/sysv/linux/dl-sysdep.c
34722 (_dl_discover_osversion): Likewise.
34724 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34726 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34727 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34729 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34731 * NEWS: Mention libm performance improvements and non-x86 PI
34734 * csu/libc-start.c (__pthread_initialize_minimal): Change
34735 function arguments.
34736 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34738 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34741 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34742 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34743 <bp-sym.h> and <bp-asm.h>.
34744 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34745 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34747 (memcpy): Don't use BP_SYM.
34748 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34750 (__mpn_add_n): Don't use BP_SYM.
34751 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34752 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34754 (__mpn_addmul_1): Don't use BP_SYM.
34755 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34756 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34758 (_setjmp): Don't use BP_SYM.
34759 (__novmx_setjmp): Likewise.
34760 (__GI__setjmp): Likewise.
34761 (__vmx_setjmp): Likewise.
34762 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34764 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34765 (__bzero): Don't use BP_SYM.
34766 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34767 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34768 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34769 <bp-sym.h> and <bp-asm.h>.
34770 (memcpy): Don't use BP_SYM.
34771 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34772 <bp-sym.h> and <bp-asm.h>.
34773 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34774 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34775 <bp-sym.h> and <bp-asm.h>.
34776 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34777 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34779 (__mpn_lshift): Don't use BP_SYM.
34780 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34781 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34783 (memset): Don't use BP_SYM.
34784 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34785 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34786 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34788 (__mpn_mul_1): Don't use BP_SYM.
34789 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34791 <bp-sym.h> and <bp-asm.h>.
34792 (memcmp): Don't use BP_SYM.
34793 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34794 <bp-sym.h> and <bp-asm.h>.
34795 (memcpy): Don't use BP_SYM.
34796 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34797 <bp-sym.h> and <bp-asm.h>.
34798 (memset): Don't use BP_SYM.
34799 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34800 <bp-sym.h> and <bp-asm.h>.
34801 (strncmp): Don't use BP_SYM.
34802 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34803 <bp-sym.h> and <bp-asm.h>.
34804 (memcpy): Don't use BP_SYM.
34805 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34806 <bp-sym.h> and <bp-asm.h>.
34807 (memset): Don't use BP_SYM.
34808 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34809 <bp-sym.h> and <bp-asm.h>.
34810 (__memchr): Don't use BP_SYM.
34811 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34812 <bp-sym.h> and <bp-asm.h>.
34813 (memcmp): Don't use BP_SYM.
34814 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34815 <bp-sym.h> and <bp-asm.h>.
34816 (memcpy): Don't use BP_SYM.
34817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34818 <bp-sym.h> and <bp-asm.h>.
34819 (__mempcpy): Don't use BP_SYM.
34820 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34821 <bp-sym.h> and <bp-asm.h>.
34822 (__memrchr): Don't use BP_SYM.
34823 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34824 <bp-sym.h> and <bp-asm.h>.
34825 (memset): Don't use BP_SYM.
34826 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34827 <bp-sym.h> and <bp-asm.h>.
34828 (__rawmemchr): Don't use BP_SYM.
34829 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34830 <bp-sym.h> and <bp-asm.h>.
34831 (__STRCMP): Don't use BP_SYM.
34832 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34833 <bp-sym.h> and <bp-asm.h>.
34834 (strchr): Don't use BP_SYM.
34835 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34836 <bp-sym.h> and <bp-asm.h>.
34837 (__strchrnul): Don't use BP_SYM.
34838 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34839 <bp-sym.h> and <bp-asm.h>.
34840 (strlen): Don't use BP_SYM.
34841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34842 <bp-sym.h> and <bp-asm.h>.
34843 (strncmp): Don't use BP_SYM.
34844 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34845 <bp-sym.h> and <bp-asm.h>.
34846 (__strnlen): Don't use BP_SYM.
34847 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34849 (__mpn_rshift): Don't use BP_SYM.
34850 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34851 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34852 <bp-sym.h> and <bp-asm.h>.
34853 (__sigsetjmp): Don't use BP_SYM.
34854 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34855 (L(start_addresses)): Don't use BP_SYM.
34856 (_start): Likewise.
34857 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34859 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34860 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34861 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34862 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34864 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34865 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34866 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34867 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34869 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34871 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34872 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34874 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34876 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34877 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34878 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34880 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34882 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34884 (strncmp): Don't use BP_SYM,
34885 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34887 (__mpn_sub_n): Don't use BP_SYM.
34888 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34889 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34891 (__mpn_submul_1): Don't use BP_SYM.
34892 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34894 <bp-sym.h> and <bp-asm.h>.
34895 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34897 <bp-sym.h> and <bp-asm.h>.
34898 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34901 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34904 Use ZK to minimize writes to Z.
34905 (sub_magnitudes): Simplify code a bit.
34906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34907 Use ZK to minimize writes to Z.
34908 (sub_magnitudes): Simplify code a bit.
34910 2013-02-27 Roland McGrath <roland@hack.frob.com>
34912 * csu/gmon-start.c: Add special exception to license text.
34914 2013-02-27 Richard Henderson <rth@redhat.com>
34916 * scripts/config.guess: Update from config.git.
34917 * scripts/config.sub: Likewise.
34919 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34921 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34923 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34925 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34927 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34929 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34931 2013-02-26 Roland McGrath <roland@hack.frob.com>
34933 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34934 [$(build-shared = yes].
34936 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34938 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34939 (__mul): Reduce iterations for calculating mantissa.
34941 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34943 (__mpranred): Likewise.
34946 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34947 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34949 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34951 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34952 Define __attribute__.
34954 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34956 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34958 * posix/regex_internal.h (__attribute): Remove.
34959 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34960 (re_string_context_at): Likewise.
34961 (bitset_not): Use __attribute__ and mark function as possibly
34963 (bitset_merge): Likewise.
34964 (bitset_mask): Likewise.
34965 (re_string_char_size_at): Likewise.
34966 (re_string_wchar_at): Likewise.
34967 (re_string_elem_size_at): Likewise.
34969 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34971 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34975 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34979 (denorm): Likewise.
34980 (__dbl_mp): Likewise.
34981 (add_magnitudes): Likewise.
34982 (sub_magnitudes): Likewise.
34986 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34989 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34992 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34996 up changes with default code.
34997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35000 2013-02-24 Allan McRae <allan@archlinux.org>
35002 * manual/socket.texi (The Internet Namespace): Order menu items
35003 to match that in the file.
35005 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35006 node listing of the info page menu.
35008 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35011 * sysdeps/i386/bp-asm.h: Remove file.
35012 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35013 (PARMS): Do not use macros from bp-asm.h.
35017 (__mpn_add_n): Do not use BP_SYM
35018 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35020 (PARMS): Do not use macros from bp-asm.h.
35023 (__mpn_addmul_1): Do not use BP_SYM
35024 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35026 (PARMS): Do not use macros from bp-asm.h.
35027 (SIGMSK): Likewise.
35028 (_setjmp): Likewise. Do not use BP_SYM.
35029 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35031 (PARMS): Do not use macros from bp-asm.h.
35032 (SIGMSK): Likewise.
35033 (setjmp): Likewise. Do not use BP_SYM.
35034 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35036 (PARMS): Do not use macros from bp-asm.h.
35037 (__frexp): Do not use BP_SYM.
35039 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35041 (PARMS): Do not use macros from bp-asm.h.
35042 (__frexpf): Do not use BP_SYM.
35043 (frexpf): Likewise.
35044 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35046 (PARMS): Do not use macros from bp-asm.h.
35047 (__frexpl): Do not use BP_SYM.
35048 (frexpl): Likewise.
35049 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35051 (PARMS): Do not use macros from bp-asm.h.
35052 (__remquo): Do not use BP_SYM.
35053 (remquo): Likewise.
35054 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35056 (PARMS): Do not use macros from bp-asm.h.
35057 (__remquof): Do not use BP_SYM.
35058 (remquof): Likewise.
35059 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35061 (PARMS): Do not use macros from bp-asm.h.
35062 (__remquol): Do not use BP_SYM.
35063 (remquol): Likewise.
35064 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35066 (PARMS): Do not use macros from bp-asm.h.
35069 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35070 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35072 (PARMS): Do not use macros from bp-asm.h.
35073 (strlen): Do not use BP_SYM.
35074 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35076 (PARMS): Do not use macros from bp-asm.h.
35080 (__mpn_add_n): Do not use BP_SYM.
35081 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35083 (PARMS): Do not use macros from bp-asm.h.
35086 (__mpn_addmul_1): Do not use BP_SYM.
35087 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35090 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35092 (PARMS): Do not use macros from bp-asm.h.
35095 (__mpn_lshift): Do not use BP_SYM.
35096 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35098 (PARMS): Do not use macros from bp-asm.h.
35102 (memcpy): Likewise. Do not use BP_SYM.
35103 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35104 libc_hidden_def and weak_alias.
35105 (mempcpy): Do not use BP_SYM in weak_alias.
35106 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35108 (PARMS): Do not use macros from bp-asm.h.
35111 [!BZERO_P] (CHR): Likewise.
35112 (memset): Likewise. Do not use BP_SYM.
35113 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35115 (PARMS): Do not use macros from bp-asm.h.
35118 (__mpn_mul_1): Do not use BP_SYM.
35119 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35121 (PARMS): Do not use macros from bp-asm.h.
35124 (__mpn_rshift): Do not use BP_SYM.
35125 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35127 (PARMS): Do not use macros from bp-asm.h.
35130 (strchr): Likewise. Do not use BP_SYM.
35131 (index): Do not use BP_SYM in weak_alias.
35132 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35134 (PARMS): Do not use macros from bp-asm.h.
35137 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35138 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35140 (PARMS): Do not use macros from bp-asm.h.
35141 (strlen): Do not use BP_SYM.
35142 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35144 (PARMS): Do not use macros from bp-asm.h.
35148 (__mpn_sub_n): Do not use BP_SYM.
35149 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35151 (PARMS): Do not use macros from bp-asm.h.
35154 (__mpn_submul_1): Do not use BP_SYM.
35155 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35157 (PARMS): Do not use macros from bp-asm.h.
35161 (__mpn_add_n): Do not use BP_SYM.
35162 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35165 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35167 (PARMS): Do not use macros from bp-asm.h.
35170 (memcmp): Do not use BP_SYM.
35171 (bcmp): Do not use BP_SYM in weak_alias.
35172 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35174 (PARMS): Do not use macros from bp-asm.h.
35178 (memcpy): Likewise. Do not use BP_SYM.
35179 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35181 (PARMS): Do not use macros from bp-asm.h.
35185 (memmove): Likewise. Do not use BP_SYM.
35186 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35188 (PARMS): Do not use macros from bp-asm.h.
35192 (__mempcpy): Likewise. Do not use BP_SYM.
35193 (mempcpy): Do not use BP_SYM in weak_alias.
35194 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35196 (PARMS): Do not use macros from bp-asm.h.
35199 [!BZERO_P] (CHR): Likewise.
35200 (memset): Likewise. Do not use BP_SYM.
35201 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35203 (PARMS): Do not use macros from bp-asm.h.
35205 (strcmp): Do not use BP_SYM.
35206 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35208 (PARMS): Do not use macros from bp-asm.h.
35211 [USE_AS_STRTOK_R] (SAVE): Likewise.
35212 (FUNCTION): Likewise. Do not use BP_SYM.
35213 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35215 (strtok_r): Likewise.
35216 (__GI___strtok_r): Likewise.
35217 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35218 (PARMS): Do not use macros from bp-asm.h.
35221 (__mpn_lshift): Do not use BP_SYM.
35222 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35223 (PARMS): Do not use macros from bp-asm.h.
35226 (__memchr): Do not use BP_SYM.
35227 (memchr): Do not use BP_SYM in weak_alias.
35228 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35229 (PARMS): Do not use macros from bp-asm.h.
35232 (memcmp): Do not use BP_SYM.
35233 (bcmp): Do not use BP_SYM in weak_alias.
35234 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35235 (PARMS): Do not use macros from bp-asm.h.
35238 (__mpn_mul_1): Do not use BP_SYM.
35239 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35241 (PARMS): Do not use macros from bp-asm.h.
35244 (__rawmemchr): Do not use BP_SYM.
35245 (rawmemchr): Do not use BP_SYM in weak_alias.
35246 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35247 (PARMS): Do not use macros from bp-asm.h.
35250 (__mpn_rshift): Do not use BP_SYM.
35251 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35252 (PARMS): Do not use macros from bp-asm.h.
35253 (SIGMSK): Likewise.
35254 (__sigsetjmp): Likewise. Do not use BP_SYM.
35255 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35256 (_start): Do not use BP_SYM.
35257 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35258 (PARMS): Do not use macros from bp-asm.h.
35261 (__stpcpy): Likewise. Do not use BP_SYM.
35262 (stpcpy): Do not use BP_SYM in weak_alias.
35263 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35265 (PARMS): Do not use macros from bp-asm.h.
35269 (__stpncpy): Likewise. Do not use BP_SYM.
35270 (stpncpy): Do not use BP_SYM in weak_alias.
35271 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35272 (PARMS): Do not use macros from bp-asm.h.
35275 (strchr): Likewise. Do not use BP_SYM.
35276 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35278 (PARMS): Do not use macros from bp-asm.h.
35281 (__strchrnul): Likewise. Do not use BP_SYM.
35282 (strchrnul): Do not use BP_SYM in weak_alias.
35283 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35285 (PARMS): Do not use macros from bp-asm.h.
35287 (strcspn): Do not use BP_SYM.
35288 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35290 (PARMS): Do not use macros from bp-asm.h.
35293 (strpbrk): Likewise. Do not use BP_SYM.
35294 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35296 (PARMS): Do not use macros from bp-asm.h.
35299 (strrchr): Likewise. Do not use BP_SYM.
35300 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35301 (PARMS): Do not use macros from bp-asm.h.
35303 (strspn): Do not use BP_SYM.
35304 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35305 (PARMS): Do not use macros from bp-asm.h.
35309 (FUNCTION): Likewise. Do not use BP_SYM.
35310 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35312 (strtok_r): Likewise.
35313 (__GI___strtok_r): Likewise.
35314 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35315 (PARMS): Do not use macros from bp-asm.h.
35319 (__mpn_sub_n): Do not use BP_SYM.
35320 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35322 (PARMS): Do not use macros from bp-asm.h.
35325 (__mpn_submul_1): Do not use BP_SYM.
35326 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35328 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35330 (PARMS): Do not use macros from bp-asm.h.
35335 (__clone): Do not use BP_SYM.
35336 (clone): Do not use BP_SYM in weak_alias.
35337 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35339 (PARMS): Do not use macros from bp-asm.h.
35341 (__mmap64): Do not use BP_SYM.
35342 (mmap64): Do not use BP_SYM in weak_alias.
35343 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35344 <bp-sym.h> and <bp-asm.h>.
35345 (PARMS): Do not use macros from bp-asm.h.
35346 (__posix_fadvise64_l64): Do not use BP_SYM.
35347 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35348 (PARMS): Do not use macros from bp-asm.h.
35350 (semtimedop): Do not use BP_SYM.
35351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35354 2013-02-21 Allan McRae <allan@archlinux.org>
35356 * manual/message.texi (Charset conversion in gettext):
35357 Move @end statement to beginning of line.
35359 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35366 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35367 (denorm): Likewise.
35368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35371 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35373 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35374 tail-call to the resolved function if pltexit isn't needed.
35376 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35379 or Y being zero as being unlikely.
35380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35383 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35385 * manual/nss.texi (System Databases and Name Service Switch):
35386 Remove frobnicate @pxref.
35388 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35390 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35391 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35393 2013-02-20 Petr Machata <pmachata@redhat.com>
35395 * elf/elf.h (R_ARM_TARGET1): New macro.
35396 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35397 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35398 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35399 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35400 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35401 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35402 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35403 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35404 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35405 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35406 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35407 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35408 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35409 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35410 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35411 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35412 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35413 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35414 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35415 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35416 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35417 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35418 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35419 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35420 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35421 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35422 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35423 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35424 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35425 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35426 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35427 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35428 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35429 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35430 (R_ARM_THM_GOT_BREL12): Likewise.
35431 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35432 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35433 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35434 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35435 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35436 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35437 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35438 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35439 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35441 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35443 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35444 __attribute_used__ to __attribute__ ((unused)).
35446 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35448 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35451 comment formatting.
35452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35454 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35457 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35459 (ENTER): Remove both macro definitions.
35461 (CHECK_BOUNDS_LOW): Likewise.
35462 (CHECK_BOUNDS_HIGH): Likewise.
35463 (CHECK_BOUNDS_BOTH): Likewise.
35464 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35465 (RETURN_BOUNDED_POINTER): Likewise.
35466 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35467 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35468 (POP_ERRNO_LOCATION_RETURN): Likewise.
35469 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35470 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35471 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35473 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35474 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35475 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35476 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35477 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35478 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35479 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35480 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35481 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35482 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35483 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35484 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35485 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35486 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35488 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35489 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35491 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35492 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35493 * sysdeps/i386/i586/memset.S (memset): Likewise.
35494 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35495 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35496 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35498 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35499 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35500 Change uses of L(2) to L(out).
35501 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35502 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35503 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35504 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35505 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35507 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35508 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35510 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35511 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35512 (RETURN): Do not use macro LEAVE.
35513 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35514 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35515 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35516 * sysdeps/i386/i686/memset.S (memset): Likewise.
35517 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35518 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35519 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35520 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35522 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35523 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35524 L(1_2) and L(1_3) into L(1).
35525 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35526 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35527 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35528 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35529 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35530 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35531 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35532 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35533 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35535 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35536 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35537 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35538 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35539 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35540 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35541 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35542 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35543 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35544 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35545 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35546 * sysdeps/i386/strspn.S (strspn): Likewise.
35547 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35549 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35550 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35551 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35552 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35553 L(1_3) into L(1_1).
35554 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35555 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35556 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35558 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35560 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35562 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35565 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35567 * math/atest-exp.c (exp_mpn): Remove ROUND.
35568 * math/atest-exp2.c (exp_mpn): Likewise.
35569 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35571 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35572 * stdlib/tst-tls-atexit-lib.c: Likewise.
35573 * stdlib/tst-tls-atexit.c: Likewise.
35575 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35577 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35578 and __attribute_alloc_size__.
35580 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35582 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35583 __attribute_alloc_size__.
35584 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35585 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35587 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35589 * include/programs/xmalloc.h: New file.
35590 * catgets/gencat.c: Include it.
35591 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35592 * elf/pldd.c: Likewise.
35593 * iconv/iconv_charmap.c: Likewise.
35594 * iconv/iconvconfig.c: Likewise.
35595 * iconv/strtab.c: Likewise.
35596 * locale/programs/locale.c: Likewise.
35597 * locale/programs/localedef.h: Likewise.
35598 * locale/programs/simple-hash.c: Likewise.
35599 * nscd/nscd.h: Likewise.
35600 * nss/makedb.c: Likewise.
35601 * sysdeps/generic/ldconfig.h: Likewise.
35603 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35605 * Versions.def: Add GLIBC_2.18.
35606 * include/link.h (struct link_map): New member l_tls_dtor_count.
35607 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35608 (__call_tls_dtors): Likewise.
35609 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35610 __cxa_thread_atexit_impl.
35611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35627 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35628 (tests): Add test case tst-tls-atexit.
35629 (modules-names): Add shared library for tst-tls-atexit.
35630 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35631 (GLIBC_PRIVATE): Add __call_tls_dtors.
35632 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35634 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35635 * stdlib/tst-tls-atexit.c: New test case.
35636 * stdlib/tst-tls-atexit-lib.c: New test case.
35638 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35640 * elf/Versions (ld): Add _dl_find_dso_for_object.
35641 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35642 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35643 (dl_open_worker): Use _dl_find_dso_for_object.
35644 * elf/dl-sym.c (do_sym): Likewise.
35645 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35647 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35649 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35650 Syntactic changes only.
35651 (_dl_runtime_profile): Do a tail-call to the resolved function.
35653 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35656 * sysdeps/x86_64/bp-asm.h: Remove file.
35657 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35658 <bp-sym.h> and <bp-asm.h>.
35659 (__clone): Do not use BP_SYM.
35660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35661 <bp-sym.h> and <bp-asm.h>.
35662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35663 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35665 (_setjmp): Do not use BP_SYM.
35666 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35668 (setjmp): Do not use BP_SYM.
35669 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35671 (mempcpy): Do not use BP_SYM in weak_alias.
35672 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35674 (strchr): Do not use BP_SYM.
35675 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35677 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35678 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35679 (_start): Do not use BP_SYM.
35680 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35682 (strcat): Do not use BP_SYM.
35683 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35685 (STRCMP): Do not use BP_SYM.
35686 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35688 (STRCPY): Do not use BP_SYM.
35689 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35691 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35693 (FUNCTION): Do not use BP_SYM.
35694 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35696 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35698 2013-02-17 Andreas Jaeger <aj@suse.de>
35700 * time/Versions: Sort entries.
35701 * string/Versions: Likewise.
35702 * resolv/Versions: Likewise.
35703 * posix/Versions: Likewise.
35704 * iconv/Versions: Likewise.
35705 * elf/Versions: Likewise.
35706 * wcsmbs/Versions: Likewise.
35708 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35710 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35711 loop termination condition.
35713 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35714 variable to calculate EZ.
35717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35718 the lower precision input.
35720 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35723 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35724 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35725 (run-via-rtld-prefix): Do not handle %-bp tests.
35726 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35727 (all-object-suffixes): Remove .ob.
35728 (bppfx): Remove variable.
35729 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35730 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35731 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35732 [$(build-bounded) = yes] (libtype.ob): Likewise.
35733 * Makerules (elide-routines.ob): Remove variable.
35734 (do-tests-clean): Do not handle *-bp.out.
35735 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35736 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35737 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35738 (tests): Do not include $(tests-bp.out).
35739 (xtests): Do not include $(xtests-bp.out).
35740 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35741 [$(build-bounded) = yes] ($(addprefix
35742 $(objpfx),$(binaries-bounded))): Remove rule.
35743 ($(objpfx)%-bp.out): Remove rule.
35744 * config.make.in (build-bounded): Remove variable.
35745 * crypt/Makefile [$(build-bounded) = yes]
35746 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35747 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35748 append to variable.
35749 [$(build-bounded) = yes] (install-lib): Likewise.
35750 [$(build-bounded) = yes] (generated): Likewise.
35751 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35753 * intl/Makefile [$(build-bounded) = yes]
35754 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35755 * math/Makefile [$(build-bounded) = yes]
35756 ($(tests:%=$(objpfx)%-bp): Likewise.
35757 * misc/Makefile [$(build-bounded) = yes]
35758 ($(objpfx)tst-tsearch-bp): Likewise.
35759 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35760 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35762 * string/Makefile (o-objects.ob): Remove variable.
35763 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35764 (CFLAGS-.ob): Remove variable.
35765 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35766 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35767 both definitions of variable.
35768 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35769 (ASFLAGS-.ob): Remove variable.
35771 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35774 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35775 Remove __BOUNDED_POINTERS__ from condition.
35776 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35777 * string/bits/string2.h [!__NO_STRING_INLINES &&
35778 !__BOUNDED_POINTERS__]: Likewise.
35779 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35781 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35782 Remove conditional code.
35783 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35784 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35785 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35789 * csu/libc-start.c: Do not include <bp-sym.h>.
35790 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35791 * elf/dl-open.c: Do not include <bp-sym.h>.
35792 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35793 * math/fegetenv.c: Do not include <bp-sym.h>.
35794 (fegetenv): Do not use BP_SYM in versioned symbols.
35795 * nptl/sysdeps/pthread/bits/libc-lockP.h
35796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35799 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35801 (__pthread_mutex_destroy): Likewise.
35802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35803 (__pthread_mutex_lock): Likewise.
35804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35805 (__pthread_mutex_trylock): Likewise.
35806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35807 (__pthread_mutex_unlock): Likewise.
35808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35809 (__pthread_mutexattr_init): Likewise.
35810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35811 (__pthread_mutexattr_destroy): Likewise.
35812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35813 (__pthread_mutexattr_settype): Likewise.
35814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35815 (__pthread_rwlock_init): Likewise.
35816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35817 (__pthread_rwlock_destroy): Likewise.
35818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35819 (__pthread_rwlock_rdlock): Likewise.
35820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35821 (__pthread_rwlock_tryrdlock): Likewise.
35822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35823 (__pthread_rwlock_wrlock): Likewise.
35824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35825 (__pthread_rwlock_trywrlock): Likewise.
35826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35827 (__pthread_rwlock_unlock): Likewise.
35828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35829 (__pthread_key_create): Likewise.
35830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35831 (__pthread_setspecific): Likewise.
35832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35833 (__pthread_getspecific): Likewise.
35834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35837 (_pthread_cleanup_push_defer): Likewise.
35838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35839 (_pthread_cleanup_pop_restore): Likewise.
35840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35841 (pthread_setcancelstate): Likewise.
35842 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35844 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35845 (memchr): Do not use BP_SYM in weak_alias.
35846 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35847 (fegetenv): Do not use BP_SYM in versioned symbols.
35848 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35849 (fesetenv): Do not use BP_SYM in versioned symbols.
35850 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35851 (feupdateenv): Do not use BP_SYM in versioned symbols.
35852 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35853 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35854 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35855 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35856 (open64): Do not use BP_SYM in weak_alias.
35857 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35858 (fegetenv): Do not use BP_SYM in versioned symbols.
35859 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35860 (fesetenv): Do not use BP_SYM in versioned symbols.
35861 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35862 (feupdateenv): Do not use BP_SYM in versioned symbols.
35863 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35864 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35865 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35866 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35867 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35868 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35869 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35871 (__libc_start_main): Do not use BP_SYM.
35873 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35876 redundant return line.
35878 (denorm): Likewise.
35879 (dbl_mp): Likewise.
35880 (sub_magnitudes): Likewise.
35886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35888 (denorm): Likewise.
35889 (dbl_mp): Likewise.
35890 (sub_magnitudes): Likewise.
35897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35899 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35900 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35903 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35904 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35906 of __mul for squares.
35907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35911 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35912 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35914 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35917 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35919 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35920 prototype or function definition. Rename ubp_* variables and
35921 parameters. Remove argv definitions conditional on
35922 [__BOUNDED_POINTERS__].
35923 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35924 * elf/dl-runtime.c (_dl_fixup): Likewise.
35925 * include/set-hooks.h (RUN_HOOK): Likewise.
35926 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35928 * string/strcpy.c (strcpy): Do not use __unbounded.
35929 * sysdeps/generic/frame.h (struct layout): Likewise.
35930 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35931 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35932 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35933 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35934 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35935 (__backtrace): Likewise.
35936 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35938 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35939 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35940 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35942 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35943 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35944 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35945 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35946 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35947 Do not use __unbounded.
35948 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35949 Rename __unboundedrlimits parameter to rlimits in prototype.
35950 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35951 Do not use __unbounded.
35952 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35953 not use __ptrvalue.
35954 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35955 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35957 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35958 __ptrvalue or __unbounded.
35959 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35960 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35962 (__new_msgctl): Do not use __ptrvalue.
35963 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35965 (__libc_msgrcv): Do not use __ptrvalue.
35966 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35967 startup_info): Do not use __unbounded.
35968 (__libc_start_main): Likewise. Rename ubp_* variables and
35969 parameters. Remove argv definitions conditional on
35970 [__BOUNDED_POINTERS__].
35971 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35973 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35975 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35977 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35979 (__new_shmctl): Do not use __ptrvalue.
35980 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35981 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35983 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35984 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35985 (__libc_sigaction): Likewise.
35986 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35987 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35989 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35991 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35993 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35995 * string/mempcpy.c: Implement by calling memcpy.
35997 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36004 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36005 values in the mantissa.
36007 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36008 minimize writes to Z.
36009 (sub_magnitudes): Simplify code a bit.
36011 2013-02-12 Roland McGrath <roland@hack.frob.com>
36013 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36014 from the message. The linker prefixes all warnings with that already.
36016 2013-02-12 Andreas Schwab <schwab@suse.de>
36019 * posix/regexec.c (extend_buffers): Add parameter min_len.
36020 (check_matching): Pass minimum needed length.
36021 (clean_state_log_if_needed): Likewise.
36022 (get_subexp): Likewise.
36023 * posix/Makefile (tests): Add bug-regex34.
36024 (bug-regex34-ENV): Define.
36025 * posix/bug-regex34.c: New file.
36028 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36029 elements compare against the byte sequence of it, not its name.
36030 * posix/Makefile (tests): Add bug-regex35.
36031 (bug-regex35-ENV): Define.
36032 * posix/bug-regex35.c: New file.
36034 2013-02-11 Tom de Vries <tom@codesourcery.com>
36036 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36038 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36039 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36040 (CHECK_EOL): Add undef.
36042 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36044 * bits/stdlib-bsearch.h: New file.
36045 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36046 * stdlib/stdlib.h: Likewise.
36048 2013-02-11 Roland McGrath <roland@hack.frob.com>
36050 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36051 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36053 * manual/search.texi (Array Search Function): Add missing const in
36055 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36056 declaration to use rlim_t.
36057 (Basic Scheduling Functions): Remove erroneous const from
36058 sched_getparam prototype. Remove erroneous * from
36059 sched_get_priority_max and sched_get_priority_min prototypes.
36060 (Resource Usage): Fix summary @comment on vtimes to refer to
36061 sys/vtimes.h rather than vtimes.h.
36062 Add missing *s in vtimes prototype.
36063 (Limits on Resources): Fix ulimit prototype to return long int.
36064 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36065 prototypes to use long int rather than double.
36066 (BSD Random): Fix initstate and setstate to use char *, not void *.
36067 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36068 prototype to make second argument 'struct aiocb64 *const[]'.
36069 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36070 (Status of AIO Operations): Remove erroneous const in aio_return and
36071 aio_return64 prototypes.
36072 (Synchronizing I/O): Fix sync prototype to return void.
36073 * manual/startup.texi (Suboptions): Remove an erroneous const in
36074 getsubopt prototype.
36075 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36076 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36077 use size_t rather than int.
36078 (Scanning All Users): Likewise for getpwent_r.
36079 (Setting Groups): Add missing const to setgroups prototype.
36080 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36081 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36082 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36083 'const void *' rather than 'const char *'.
36084 (Host Address Functions): Likewise for inet_ntop.
36085 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36086 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36087 ssize_t for return value.
36088 (Sending Data): Likewise for send, sendto, sendmsg.
36089 (Socket Option Functions): Add a missing const in setsockopt prototype.
36090 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36091 use wchar_t for the argument.
36092 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36093 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36095 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36096 double/float/long double for second argument.
36097 Fix return types of significand, significandf, significandl.
36098 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36099 argument in fchmod prototype.
36100 (File Owner): Use uid_t and gid_t in fchown prototype.
36101 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36102 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36103 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36104 use 'const struct dirent **' as argument types to CMP function pointer
36106 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36107 (File Times): Fix summary magic @comment for struct utimbuf and utime
36108 to refer to utime.h, not time.h.
36109 * manual/string.texi (Argz Functions): Add missing const in
36110 argz_extract and argz_next prototypes.
36111 (Finding Tokens in a String): Likewise for basename.
36112 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36113 (Copying and Concatenation): Fix typo in wmemmove prototype.
36114 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36115 (Signal Stack): Remove erroneous const in sigstack prototype.
36116 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36118 (Simple Calendar Time): Likewise for stime.
36119 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36121 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36122 say sys/sysctl.h instead.
36123 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36124 and vsyslog prototypes.
36126 2013-02-11 Tom de Vries <tom@codesourcery.com>
36128 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36131 2013-02-11 Roland McGrath <roland@hack.frob.com>
36133 * misc/sys/mman.h: Fix typo in mremap comment.
36135 2013-02-08 Roland McGrath <roland@hack.frob.com>
36137 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36138 the '\0' terminator.
36140 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36143 * debug/segfault.c: Don't include <bp-checks.h>.
36144 * sysdeps/generic/bp-checks.h: Remove file.
36145 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36146 (__GETDENTS): Don't use CHECK_N.
36147 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36148 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36149 (__getgroups): Don't use CHECK_N.
36150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36151 (setgroups): Don't use CHECK_N.
36152 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36153 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36154 (__libc_msgrcv): Don't use CHECK_N.
36155 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36156 (__libc_msgsnd): Don't use CHECK_N.
36157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36159 (__libc_pread): Don't use CHECK_N.
36160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36161 include <bp-checks.h>.
36162 (__libc_pread64): Don't use CHECK_N.
36163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36164 include <bp-checks.h>.
36165 (__libc_pwrite): Don't use CHECK_N.
36166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36167 include <bp-checks.h>.
36168 (__libc_pwrite64): Don't use CHECK_N.
36169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36171 (__libc_pread): Don't use CHECK_N.
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36173 include <bp-checks.h>.
36174 (__libc_pread64): Don't use CHECK_N.
36175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36176 include <bp-checks.h>.
36177 (__libc_pwrite): Don't use CHECK_N.
36178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36179 include <bp-checks.h>.
36180 (__libc_pwrite64): Don't use CHECK_N.
36181 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36182 (do_pread): Don't use CHECK_N.
36183 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36184 (do_pread64): Don't use CHECK_N.
36185 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36186 (do_pwrite): Don't use CHECK_N.
36187 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36188 (do_pwrite64): Don't use CHECK_N.
36189 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36190 (__libc_readv): Don't use CHECK_N.
36191 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36192 (semop): Don't use CHECK_N.
36193 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36195 (semtimedop): Don't use CHECK_N.
36196 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36197 (__libc_pread): Don't use CHECK_N.
36198 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36200 (__libc_pread64): Don't use CHECK_N.
36201 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36203 (__libc_pwrite): Don't use CHECK_N.
36204 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36206 (__libc_pwrite64): Don't use CHECK_N.
36207 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36209 (__libc_msgrcv): Don't use CHECK_N.
36210 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36211 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36212 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36213 (__libc_writev): Don't use CHECK_N.
36215 2013-02-08 Roland McGrath <roland@hack.frob.com>
36217 * string/strcpy.c: Removed unused variable.
36219 * Makeconfig (+sysdep-includes): Define with := rather than =.
36220 Use an existing include/ subdir of each sysdeps dir before it.
36222 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36224 * nscd/connection.c (register_traced_file): Comment function.
36225 [HAVE_INOTIFY] (union __inev): Define.
36226 [HAVE_INOTIFY] (inotify_check_files): New function.
36227 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36228 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36230 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36232 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36234 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36235 loaded if not already and that a failure is permanent.
36237 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36240 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36241 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36243 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36246 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36247 (CHECK_1_NULL_OK): Likewise.
36248 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36249 (__fxstat): Do not use CHECK_1.
36250 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36252 (___fxstat64): Do not use CHECK_1.
36253 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36255 (__fxstatat): Do not use CHECK_1.
36256 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36258 (__fxstatat64): Do not use CHECK_1.
36259 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36261 (__fxstat): Do not use CHECK_1.
36262 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36264 (__fxstatat): Do not use CHECK_1.
36265 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36267 (__getresgid): Do not use CHECK_1.
36268 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36270 (__getresuid): Do not use CHECK_1.
36271 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36273 (__lxstat): Do not use CHECK_1.
36274 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36276 (__old_msgctl): Do not use CHECK_1.
36277 (__new_msgctl): Likewise.
36278 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36280 (__new_setrlimit): Do not use CHECK_1.
36281 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36283 (__old_shmctl): Do not use CHECK_1.
36284 (__new_shmctl): Likewise.
36285 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36287 (__xstat): Do not use CHECK_1.
36288 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36289 (__lxstat): Do not use CHECK_1.
36290 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36292 (___lxstat64): Do not use CHECK_1.
36293 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36294 (__old_msgctl): Do not use CHECK_1.
36295 (__new_msgctl): Likewise.
36296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36298 (__gettimeofday): Do not use CHECK_1.
36299 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36300 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36301 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36303 (__gettimeofday): Do not use CHECK_1.
36304 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36305 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36306 (__new_shmctl): Do not use CHECK_1.
36307 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36309 (do_sigtimedwait): Do not use CHECK_1.
36310 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36312 (do_sigwaitinfo): Do not use CHECK_1.
36313 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36315 (msgctl): Do not use CHECK_1.
36316 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36318 (shmctl): Do not use CHECK_1.
36319 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36320 (ustat): Do not use CHECK_1.
36321 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36323 (__fxstat): Do not use CHECK_1.
36324 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36326 (__fxstatat): Do not use CHECK_1.
36327 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36329 (__lxstat): Do not use CHECK_1.
36330 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36332 (__xstat): Do not use CHECK_1.
36333 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36334 (__xstat): Do not use CHECK_1.
36335 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36336 (___xstat64): Do not use CHECK_1.
36339 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36341 (CHECK_BOUNDS_HIGH): Likewise.
36342 * string/strcpy.c: Do not include <bp-checks.h>.
36343 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36345 2013-02-07 Roland McGrath <roland@hack.frob.com>
36347 * nscd/nscd-client.h (__nscd_drop_map_ref):
36348 Add __attribute__ ((unused)).
36349 * nis/nss-nisplus.h (niserr2nss): Likewise.
36351 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36352 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36354 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36355 Remove inline keyword.
36356 * include/rounding-mode.h (round_away): Likewise.
36357 * libio/wfileops.c (adjust_wide_data): Likewise.
36358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36359 (__m128i_strloadu_tolower): Likewise.
36360 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36361 (__m128i_strloadu_tolower): Likewise.
36362 * time/mktime.c (ydhms_diff): Likewise.
36363 * locale/elem-hash.h (elem_hash): Likewise.
36364 * locale/setlocale.c (setdata): Likewise.
36365 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36366 (re_string_wchar_at): Likewise.
36367 (bitset_not, bitset_merge, bitset_mask): Likewise.
36368 [!(__GNUC__ > 3)] (inline): Remove macro.
36369 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36370 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36371 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36372 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36373 * string/memcmp.c (memcmp_bytes): Likewise.
36374 * locale/programs/locarchive.c (compute_hashval): Likewise.
36375 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36376 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36377 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36378 * nss/getent.c (print_rpc, print_protocols): Likewise.
36379 (print_passwd, print_group, print_aliases): Likewise.
36380 * nis/nss-nisplus.h (niserr2nss): Likewise.
36381 * nscd/connections.c (restart_p): Likewise.
36382 Change return type to bool.
36384 2013-02-05 Roland McGrath <roland@hack.frob.com>
36386 * Makeconfig (all-Depend-files): Add existing
36387 $(sorted-subdirs:=/Depend) files.
36388 (all-subdirs): Remove nss.
36389 * sysdeps/unix/inet/Subdirs: Add it here instead.
36390 * hesiod/Depend: New file.
36392 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36393 instead of calling alloca.
36395 * io/lseek.c (__lseek): Rename to __libc_lseek.
36396 Define __lseek as an alias.
36398 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36400 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36402 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36403 else clause and remove check for non-standard endianness.
36405 2013-02-04 David S. Miller <davem@davemloft.net>
36407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36409 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36412 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36413 (__ubp_memchr): Remove prototype.
36414 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36415 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36416 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36417 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36418 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36420 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36421 (__ubp_memchr): Likewise.
36422 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36423 (__ubp_memchr): Likewise.
36424 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36425 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36426 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36429 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36430 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36431 (__getcwd): Do not use CHECK_STRING.
36432 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36434 (__real_chown): Do not use CHECK_STRING.
36435 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36437 (fchownat): Do not use CHECK_STRING.
36438 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36440 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36442 (__lchown): Do not use CHECK_STRING.
36443 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36444 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36445 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36446 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36448 include <bp-checks.h>.
36449 (truncate64): Do not use CHECK_STRING.
36450 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36452 (__real_chown): Do not use CHECK_STRING.
36453 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36455 (__lchown): Do not use CHECK_STRING.
36456 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36458 (__chown): Do not use CHECK_STRING.
36459 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36461 (truncate64): Do not use CHECK_STRING.
36462 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36464 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36465 (__xmknod): Do not use CHECK_STRING.
36466 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36468 (__xmknodat): Do not use CHECK_STRING.
36469 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36470 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36472 2013-02-04 Andreas Schwab <schwab@suse.de>
36475 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36476 * include/netdb.h: Likewise for h_errno.
36477 * elf/tst-stackguard1.c: Include <tls.h>.
36479 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36481 * elf/link.h (struct link_map): Extend the l_addr comment.
36482 * include/link.h (struct link_map): Likewise.
36484 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36487 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36488 (BOUNDED_1): Remove macro.
36489 * debug/backtrace.c: Don't include <bp-checks.h>.
36490 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36491 (__backtrace): Likewise.
36492 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36494 (__backtrace): Don't use BOUNDED_1.
36495 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36497 (__backtrace): Don't use BOUNDED_1.
36498 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36499 (__backtrace): Don't use BOUNDED_1.
36500 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36501 (shmat): Don't use BOUNDED_N.
36503 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36506 * sysdeps/generic/bp-start.h: Remove file.
36507 * csu/libc-start.c: Don't include <bp-start.h>.
36508 (LIBC_START_MAIN): Set up __environ directly instead of using
36509 INIT_ARGV_and_ENVIRON.
36510 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36514 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36516 (CHECK_FCNTL): Likewise.
36517 (CHECK_N_PAGES): Likewise.
36520 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36522 (CHECK_SIGSET_NULL_OK): Likewise.
36523 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36525 (sigpending): Don't use CHECK_SIGSET.
36526 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36528 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36529 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36531 (do_sigsuspend): Don't use CHECK_SIGSET.
36532 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36534 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36535 (do_sigwait): Don't use CHECK_SIGSET.
36536 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36538 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36539 include <bp-checks.h>.
36540 (sigpending): Don't use CHECK_SIGSET.
36541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36542 include <bp-checks.h>.
36543 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36544 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36546 (sigpending): Don't use CHECK_SIGSET.
36547 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36549 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36552 * sysdeps/generic/bp-semctl.h: Remove file.
36553 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36554 <bp-checks.h> and <bp-semctl.h>.
36555 (__old_semctl): Don't use CHECK_SEMCTL.
36556 (__new_semctl): Likewise.
36557 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36559 (__old_semctl): Don't use CHECK_SEMCTL.
36560 (__new_semctl): Likewise.
36561 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36562 <bp-checks.h> and <bp-semctl.h>.
36563 (__old_semctl): Don't use CHECK_SEMCTL.
36564 (__new_semctl): Likewise.
36565 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36566 <bp-checks.h> and <bp-semctl.h>.
36567 (semctl): Don't use CHECK_SEMCTL.
36570 * Makerules (elide-bp-thunks): Remove variable.
36571 (elide-routines.oS): Don't use $(elide-bp-thunks).
36572 (elide-routines.os): Likewise.
36573 (elide-routines.o): Likewise.
36574 (elide-routines.op): Likewise.
36575 (elide-routines.og): Likewise.
36576 (objects): Don't use $(bp-thunks).
36577 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36579 (common-generated): Do not add s-proto-bp.d.
36580 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36583 Do not generate makefile rules for bounded-pointer thunks.
36584 * sysdeps/generic/bp-thunks.h: Remove file.
36585 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36586 * sysdeps/unix/s-proto-bp.S: Likewise.
36589 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36590 parts of result separately when argument is not close to line from
36591 -i to i and one part of argument is small.
36592 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36593 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36594 * math/libm-test.inc (cacos_test): Add more tests.
36595 (casin_test): Likewise.
36596 (casinh_test): Likewise.
36597 * sysdeps/i386/fpu/libm-test-ulps: Update.
36598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36600 2013-01-31 David S. Miller <davem@davemloft.net>
36602 * po/de.po: Update from translation team.
36604 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36606 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36608 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36610 * configure.in (_AC_PROG_CC_C89): New definition.
36611 * configure: Regenerate.
36613 * configure.in (AC_PROG_CPP): New definition.
36614 * configure: Regenerate.
36616 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36618 * debug/tst-backtrace.h: New file.
36619 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36620 (ret): Remove variable.
36622 (FAIL): Remove macro.
36623 (NO_INLINE): Likewise.
36624 (fn1): Use match function instead of strstr.
36625 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36626 (ret): Remove variable.
36628 (FAIL): Remove macro.
36629 (NO_INLINE): Likewise.
36630 (fn): Use match function instead of strstr.
36631 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36632 (ret): Remove variable.
36634 (FAIL): Remove macro.
36635 (NO_INLINE): Likewise.
36636 (handle_signal): Use match function instead of strstr.
36637 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36638 (ret): Remove variable.
36640 (FAIL): Remove macro.
36641 (NO_INLINE): Likewise.
36642 (handle_signal): Use match function instead of strstr.
36644 2013-01-23 Roland McGrath <roland@hack.frob.com>
36646 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36648 2013-01-23 David S. Miller <davem@davemloft.net>
36650 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36651 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36652 argument of CAS if possible.
36653 * sysdeps/sparc/sparc64/bits/atomic.h
36654 (__arch_compare_and_exchange_val_32_acq): Likewise.
36655 (__arch_compare_and_exchange_val_64_acq): Likewise.
36657 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36659 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36660 * sysdeps/posix/ulimit.c: ... this.
36661 Include <limits.h>.
36662 * sysdeps/unix/bsd/ulimit.c: Remove file.
36664 2013-01-23 Adam Conrad <adconrad@0c3.net>
36666 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36667 (LDFLAGS-tst-array5): Likewise.
36669 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36672 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36673 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36674 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36675 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36677 2013-01-21 David S. Miller <davem@davemloft.net>
36679 * sysdeps/sparc/backtrace.c: New file.
36680 * sysdeps/sparc/sparc32/backtrace.h: New file.
36681 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36682 * sysdeps/sparc/sparc64/backtrace.h: New file.
36683 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36684 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36687 2013-01-21 Andreas Schwab <schwab@suse.de>
36690 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36693 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36699 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36700 Mark Mitchell <mark@codesourcery.com>
36701 Tom de Vries <tom@codesourcery.com>
36702 Paul Pluzhnikov <ppluzhnikov@google.com>
36704 * debug/tst-backtrace2.c: New file.
36705 * debug/tst-backtrace3.c: Likewise.
36706 * debug/tst-backtrace4.c: Likewise.
36707 * debug/tst-backtrace5.c: Likewise.
36708 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36709 (CFLAGS-tst-backtrace3.c): Likewise.
36710 (CFLAGS-tst-backtrace4.c): Likewise.
36711 (CFLAGS-tst-backtrace5.c): Likewise.
36712 (LDFLAGS-tst-backtrace2): Likewise.
36713 (LDFLAGS-tst-backtrace3): Likewise.
36714 (LDFLAGS-tst-backtrace4): Likewise.
36715 (LDFLAGS-tst-backtrace5): Likewise.
36716 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36717 tst-backtrace4 and tst-backtrace5.
36719 2013-01-18 Anton Blanchard <anton@samba.org>
36720 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36722 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36723 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36724 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36725 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36727 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36728 "+r" and remove output regs list as redundant. Add explicit inline
36729 asm to specify register of return val to work around compiler codegen
36730 bug. Remove (int) cast on return value. Add return type parameter to
36731 use in macro so that this macro does not truncate return value for
36733 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36734 pass to INTERNAL_VSYSCALL_NCS.
36735 (INLINE_VSYSCALL): Add 'long int' as return type to
36736 INTERNAL_VSYSCALL_NCS macro invocation.
36737 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36738 INTERNAL_VSYSCALL_NCS macro invocation.
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36741 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36744 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36745 Fix application of SIMD FP exception mask.
36747 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36748 mp_no from a power of two.
36749 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36750 __mpexp_twomm1. Use __pow_mp.
36752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36755 2013-01-17 David S. Miller <davem@davemloft.net>
36757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36759 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36762 * include/complex.h: Condition contents on [!_COMPLEX_H].
36763 (__kernel_casinhf): New prototype.
36764 (__kernel_casinh): Likewise.
36765 (__kernel_casinhl): Likewise.
36766 * math/Makefile (libm_calls): Add k_casinh.
36767 * math/k_casinh.c: New file.
36768 * math/k_casinhf.c: Likewise.
36769 * math/k_casinhl.c: Likewise.
36770 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36771 finite nonzero arguments.
36772 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36773 finite nonzero arguments.
36774 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36775 finite nonzero arguments.
36776 * math/s_casinh.c: Do not include <float.h>.
36777 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36778 * math/s_casinhf.c: Do not include <float.h>.
36779 (__casinhf): Move code for finite nonzero arguments to
36781 * math/s_casinhl.c: Do not include <float.h>.
36782 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36784 (__casinhl): Move code for finite nonzero arguments to
36786 * math/libm-test.inc (cacos_test): Add more tests.
36787 * sysdeps/i386/fpu/libm-test-ulps: Update.
36788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36790 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36792 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36793 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36794 [!HAVE_MREMAP]: Remove [defined linux] case.
36795 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36797 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36799 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36801 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36803 * elf/elf.h (R_386_SIZE32): New relocation.
36804 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36806 (elf_machine_rela): Likewise.
36807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36808 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36810 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36812 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36813 (FP_FAST_FMA): Do not define.
36814 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36815 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36816 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36817 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36818 !_SOFT_FLOAT]: Likewise.
36819 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36820 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36822 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36823 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36824 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36825 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36826 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36827 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36830 2013-01-16 Andreas Schwab <schwab@suse.de>
36833 * include/stdlib.h (__mktemp): Add declaration.
36834 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36835 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36837 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36839 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36841 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36842 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36843 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36845 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36846 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36848 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36850 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36851 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36852 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36854 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36855 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36857 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36859 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36861 2013-01-15 David S. Miller <davem@davemloft.net>
36863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36864 trunc{,f} to libm-sysdep_routes.
36865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36875 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36876 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36877 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36878 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36879 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36880 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36883 nearbyint{,f} to libm-sysdep_routes.
36884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36897 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36901 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36902 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36904 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36905 libc_feholdexcept and libc_fesetenv.
36907 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36909 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36911 2013-01-14 David S. Miller <davem@davemloft.net>
36913 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36914 (SPARC_ASM_VIS2_IFUNC): Likewise.
36915 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36917 use of 'siam' instruction.
36918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36951 routines to libm-sysdep_routines.
36952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36955 fdim/fdimf to libm-sysdep_routines.
36956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36964 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36965 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36966 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36967 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36969 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36971 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36972 to optimize copies.
36974 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36979 local variable MPTWO.
36980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36983 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36985 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36988 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36990 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36992 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36994 * manual/pattern.texi (glob_t): Document gl_flags.
36995 (glob64_t): Likewise.
36997 2013-01-11 David S. Miller <davem@davemloft.net>
36999 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37000 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37001 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37002 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37003 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37004 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37005 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37006 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37007 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37008 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37009 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37010 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37011 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37013 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37014 sparc V9 rather than using V8 code.
37015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37018 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37020 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37023 2013-01-11 Roland McGrath <roland@hack.frob.com>
37025 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37026 not in the main loop.
37027 * configure: Regenerated.
37029 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37031 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37032 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37034 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37035 [!__GLIBC_HAVE_LONG_LONG] case.
37036 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37037 condition to just #else.
37038 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37039 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37040 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37041 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37043 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37044 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37045 #elif condition to just #else.
37046 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37047 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37048 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37049 #elif condition to just #else.
37051 2013-01-11 Steve Ellcey <sellcey@mips.com>
37053 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37054 (EF_MIPS_ARCH_64): Fix value.
37055 (EF_MIPS_ARCH_32R2): New.
37056 (EF_MIPS_ARCH_64R2): New.
37058 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37060 * Makeconfig (+link-pie-before-libc): New.
37061 (+link-pie-after-libc): Likewise.
37062 (+link-pie-tests): Likewise.
37063 (+link-pie): Rewritten.
37064 (link-before-libc): Remove $(config-LDFLAGS).
37065 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37066 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37067 (config-LDFLAGS): Renamed to ...
37068 (rtld-LDFLAGS): This.
37069 (rtld-tests-LDFLAGS): New macro.
37070 (link-libc-rpath-link): Likewise.
37071 (link-libc-tests-rpath-link): Likewise.
37072 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37073 (link-libc): Prepand $(link-libc-rpath-link).
37074 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37075 (test-program-prefix): New macro.
37076 (test-via-rtld-prefix): Likewise.
37077 (test-program-cmd): Likewise.
37078 (host-test-program-cmd): Likewise.
37079 * Makefile ($(common-objpfx)testrun.sh): Replace
37080 $(run-program-prefix) with $(test-program-prefix).
37081 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37083 ($(common-objpfx)shlib.lds): Likewise.
37084 (build-module-helper): Likewise.
37085 ($(common-objpfx)format.lds): Likewise.
37086 * Rules (binaries-pie-tests): New.
37087 (binaries-pie-notests): Likewise.
37088 (binaries-pie): Rewritten.
37089 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37090 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37091 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37092 (make-test-out): Replace $(host-built-program-cmd) with
37093 $(host-test-program-cmd).
37094 * config.make.in (build-hardcoded-path-in-tests): New variable.
37095 * configure.in (--enable-hardcoded-path-in-tests): New configure
37097 (hardcoded_path_in_tests): New AC_SUBST.
37098 * configure: Regenerated.
37099 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37100 $(built-program-cmd) with $(test-program-cmd).
37101 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37102 (test_program_cmd): This.
37103 * elf/Makefile ($(objpfx)order.out): Run test with
37104 $(test-program-prefix).
37105 ($(objpfx)order2.out): Likewise.
37106 ($(objpfx)tst-initorder.out): Likewise.
37107 ($(objpfx)tst-initorder2.out): Likewise.
37108 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37109 $(test-program-cmd).
37110 ($(objpfx)tst-array1-static.out): Likewise.
37111 ($(objpfx)tst-array2.out): Likewise.
37112 ($(objpfx)tst-array3.out): Likewise.
37113 ($(objpfx)tst-array4.out): Likewise.
37114 ($(objpfx)tst-array5.out): Likewise.
37115 ($(objpfx)tst-array5-static.out): Likewise.
37116 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37117 $(test-program-cmd).
37118 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37119 $(run-program-prefix) with $(test-program-prefix).
37120 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37121 (test_program_prefix): This.
37122 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37123 $(run-program-prefix) with $(test-program-prefix).
37124 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37125 (test_program_prefix): This.
37126 * iconvdata/tst-tables.sh: Likewise.
37127 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37128 $(run-program-prefix) with $(test-program-prefix).
37129 ($(objpfx)tst-translit.out): Likewise.
37130 ($(objpfx)tst-gettext2.out): Likewise.
37131 ($(objpfx)tst-gettext4.out): Likewise.
37132 ($(objpfx)tst-gettext6.out): Likewise.
37133 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37134 (test_program_prefix): This.
37135 * intl/tst-gettext2.sh: Likewise.
37136 * intl/tst-gettext4.sh Likewise.
37137 * intl/tst-gettext6.sh: Likewise.
37138 * intl/tst-translit.sh: Likewise.
37139 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37140 with $(test-program-cmd).
37141 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37142 $(run-program-prefix) with $(test-program-prefix).
37143 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37144 (test_program_prefix): This.
37145 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37146 $(run-program-prefix) with $(test-program-prefix).
37147 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37148 (test_program_prefix): This.
37149 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37150 * posix/Makefile ($(objpfx)globtest.out): Replace
37151 $(run-via-rtld-prefix) and $(test-wrapper) with
37152 $(test-program-prefix) and $(test-via-rtld-prefix).
37153 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37154 $(test-program-prefix).
37155 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37156 $(host-test-program-cmd).
37157 (tst-spawn-ARGS): Likewise.
37158 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37159 $(test-program-prefix).
37160 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37161 (test_via_rtld_prefix): This.
37162 (test_wrapper): Renamed to ...
37163 (test_program_prefix): This.
37164 (run_program_prefix): Replaced by test_program_prefix.
37165 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37166 (test_program_prefix): This.
37167 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37168 with $(host-test-program-cmd).
37169 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37170 $(run-program-prefix) with $(test-program-prefix).
37171 ($(objpfx)tst-printf.out): Likewise.
37172 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37173 $(test-program-cmd).
37174 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37175 (test_program_prefix): This.
37176 * stdio-common/tst-unbputc.sh: Likewise.
37177 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37178 $(run-program-prefix) with $(test-program-prefix).
37179 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37180 (test_program_prefix): This.
37181 * string/Makefile ($(objpfx)tst-svc.out): Replace
37182 $(built-program-cmd) with $(test-program-cmd).
37184 2013-01-11 Andreas Jaeger <aj@suse.de>
37187 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37188 value. Sync with Linux 3.7.
37190 2013-01-10 David S. Miller <davem@davemloft.net>
37192 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37196 2013-01-10 Roland McGrath <roland@hack.frob.com>
37198 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37200 * configure: Regenerated.
37202 2013-01-10 David S. Miller <davem@davemloft.net>
37204 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37205 sparc V9 rather than using V8 code.
37206 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37207 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37209 2013-01-10 Roland McGrath <roland@hack.frob.com>
37211 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37212 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37213 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37214 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37215 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37216 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37217 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37218 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37219 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37220 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37221 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37222 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37223 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37224 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37225 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37226 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37227 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37228 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37229 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37230 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37231 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37232 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37233 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37234 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37235 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37236 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37237 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37239 2013-01-10 David S. Miller <davem@davemloft.net>
37241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37243 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37245 * posix/Makefile (tests-static): New variable.
37246 (tests): Add $(tests-static).
37247 (tst-exec-static-ARGS): New variable.
37248 (tst-spawn-static-ARGS): Likewise.
37249 * posix/tst-exec-static.c: New file.
37250 * posix/tst-spawn-static.c: Likewise.
37251 * posix/tst-exec.c: Support run directly.
37252 * posix/tst-spawn.c: Likewise.
37254 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37256 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37258 * math/bits/mathcalls.h (llrint): Likewise.
37259 (llround): Likewise.
37260 * stdlib/stdlib.h (struct drand48_data): Likewise.
37261 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37262 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37263 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37265 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37267 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37268 (elf_greg_t): Likewise.
37269 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37270 (__jmp_buf): Likewise.
37271 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37273 (llrint): Likewise, for all definitions.
37274 (llrintl): Likewise.
37276 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37277 Remove [__GNUC__] condition.
37278 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37279 condition to just [__USE_ISOC99].
37280 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37282 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37285 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37286 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37288 (_POSIX_V6_ILP32_OFF32): Likewise.
37289 (_XBS5_ILP32_OFF32): Likewise.
37290 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37291 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37293 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37295 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37298 doubles __mpexp_twomm1. Adjust usage.
37299 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37302 2013-01-10 Andreas Schwab <schwab@suse.de>
37305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37306 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37308 2013-01-09 David S. Miller <davem@davemloft.net>
37311 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37312 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37313 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37314 (TCP_FASTOPEN): Define.
37315 (tcp_repair_opt): New structure.
37316 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37318 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37319 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37320 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37321 (tcp_cookie_transactions): New structure.
37323 2013-01-09 Anton Blanchard <anton@samba.org>
37325 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37326 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37328 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37330 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37332 * include/features.h (__USE_ANSI): Remove.
37334 2013-01-09 Roland McGrath <roland@hack.frob.com>
37336 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37338 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37340 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37342 * sysdeps/s390/fpu/libm-test-ulps: Update.
37344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37346 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37350 (denorm): Likewise.
37351 (__mp_dbl): Likewise.
37352 (__dbl_mp): Likewise.
37353 (add_magnitudes): Likewise.
37354 (sub_magnitudes): Likewise.
37360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37364 (denorm): Likewise.
37365 (__mp_dbl): Likewise.
37366 (__dbl_mp): Likewise.
37367 (add_magnitudes): Likewise.
37368 (sub_magnitudes): Likewise.
37374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37378 (denorm): Likewise.
37379 (__mp_dbl): Likewise.
37380 (__dbl_mp): Likewise.
37381 (add_magnitudes): Likewise.
37382 (sub_magnitudes): Likewise.
37389 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37391 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37392 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37393 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37394 2 && __USE_EXTERN_INLINES]: Likewise.
37396 2013-01-08 Andreas Jaeger <aj@suse.de>
37399 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37401 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37402 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37404 2013-01-07 Anton Blanchard <anton@samba.org>
37406 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37407 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37408 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37409 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37410 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37411 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37412 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37413 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37415 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37416 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37417 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37418 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37419 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37420 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37421 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37422 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37423 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37424 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37427 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37428 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37429 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37430 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37431 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37432 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37433 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37434 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37435 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37438 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37439 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37440 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37441 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37442 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37444 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37448 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37450 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37452 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37453 (__MALLOC_PMT): Likewise.
37454 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37455 [__GNUC__], only on [_LIBC].
37456 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37457 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37458 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37459 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37460 forward declaration.
37461 (realloc_hook_ini): Likewise.
37462 (memalign_hook_ini): Likewise.
37463 (__libc_memalign): Do not use __MALLOC_PMT in variable
37465 (__libc_valloc): Likewise.
37466 (__libc_pvalloc): Likewise.
37467 (__libc_calloc): Likewise.
37468 (__posix_memalign): Likewise.
37471 * math/s_casinh.c: Include <float.h>.
37472 (__casinh): Do not do computation with squaring and square root
37473 for large arguments.
37474 * math/s_casinhf.c: Include <float.h>.
37475 (__casinhf): Do not do computation with squaring and square root
37476 for large arguments.
37477 * math/s_casinhl.c: Include <float.h>.
37478 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37479 (__casinhl): Do not do computation with squaring and square root
37480 for large arguments.
37481 * math/libm-test.inc (casin_test): Add more tests.
37482 (casinh_test): Likewise.
37483 * sysdeps/i386/fpu/libm-test-ulps: Update.
37484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37486 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37488 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37489 (__x86_64_raw_data_cache_size): Likewise.
37490 (__x86_64_data_cache_size_half): Likewise.
37491 (__x86_64_raw_data_cache_size_half): Likewise.
37492 (__x86_64_shared_cache_size): Likewise.
37493 (__x86_64_raw_shared_cache_size): Likewise.
37494 (__x86_64_shared_cache_size_half): Likewise.
37495 (__x86_64_raw_shared_cache_size_half): Likewise.
37496 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37498 (__x86_data_cache_size): This.
37499 (__x86_64_raw_data_cache_size): Renamed to ...
37500 (__x86_raw_data_cache_size): This.
37501 (__x86_64_data_cache_size_half): Renamed to ...
37502 (__x86_data_cache_size_half): This.
37503 (__x86_64_raw_data_cache_size_half): Renamed to ...
37504 (__x86_raw_data_cache_size_half): This.
37505 (__x86_64_shared_cache_size): Renamed to ...
37506 (__x86_shared_cache_size): This.
37507 (__x86_64_raw_shared_cache_size): Renamed to ...
37508 (__x86_raw_shared_cache_size): This.
37509 (__x86_64_shared_cache_size_half): Renamed to ...
37510 (__x86_shared_cache_size_half): This.
37511 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37512 (__x86_raw_shared_cache_size_half): This.
37513 * sysdeps/x86_64/memcpy.S: Updated.
37514 * sysdeps/x86_64/memset.S: Likewise.
37515 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37519 2013-01-04 David S. Miller <davem@davemloft.net>
37521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37523 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37525 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37526 1 to avoid redefinition warning.
37527 (__USE_GNU): Don't define.
37528 (init_signaling_nan): Protoize.
37530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37532 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37534 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37536 (__cpymn): Likewise.
37537 (norm): Remove commented code.
37538 (denorm): Likewise.
37539 (__mp_dbl): Likewise.
37541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37542 (__cpymn): Likewise.
37543 (norm): Remove commented code.
37544 (denorm): Likewise.
37545 (__mp_dbl): Likewise.
37548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37549 mp_no value for 1.0 and 2.0.
37550 (norm): Use RADIXI instead of radixi.d.
37551 (denorm): Likewise.
37552 (__mul): Use 0.0 instead of zero.d.
37553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37554 mp_no value for 1.0 and 2.0.
37555 (norm): Use RADIXI instead of radixi.d.
37556 (denorm): Likewise.
37557 (__mul): Use 0.0 instead of zero.d.
37559 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37562 * math/s_casinh.c (__casinh): Reduce finite argument to first
37563 quadrant then set signs of results at the end.
37564 * math/s_casinhf.c (__casinhf): Likewise.
37565 * math/s_casinhl.c (__casinhl): Likewise.
37566 * math/libm-test.inc (casin_test): Add more tests.
37567 (casinh_test): Likewise.
37568 * sysdeps/i386/fpu/libm-test-ulps: Update.
37569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37571 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37573 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37575 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37577 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37579 (denorm): Likewise.
37580 (__mp_dbl): Likewise.
37583 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37584 and adjust the header comment.
37586 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37587 variable name from declaration.
37589 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37592 Initialize COMMON_CPUID_INDEX_7 element.
37593 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37594 (CPUID_RTM): Likewise.
37595 (HAS_RTM): Likewise.
37596 (COMMON_CPUID_INDEX_7): New enum.
37598 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37601 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37602 size is zero, record memory as freed.
37604 2013-01-03 Andreas Jaeger <aj@suse.de>
37606 * po/ia.po: Add new Interlingua translation.
37608 2012-01-03 Allan McRae <allan@archlinux.org>
37610 * locale/programs/localedef.c: Fix description of '--posix' flag.
37612 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37614 * NEWS: Update dates in second copyright notice.
37615 * README: Update copyright dates in example.
37616 * manual/libc.texinfo: Update copyright dates.
37617 * scripts/test-installation.pl: Update copyright date in --version
37620 * hurd/ctty-input.c: Fix copyright notice formatting.
37621 * hurd/ctty-output.c: Likewise.
37622 * hurd/dtable.c: Likewise.
37623 * hurd/hurd-raise.c: Likewise.
37624 * hurd/hurdprio.c: Likewise.
37625 * hurd/msgportdemux.c: Likewise.
37626 * misc/sys/file.h: Likewise.
37627 * misc/sys/ioctl.h: Likewise.
37628 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37629 * sysdeps/mach/hurd/chdir.c: Likewise.
37630 * sysdeps/mach/hurd/fchdir.c: Likewise.
37631 * sysdeps/mach/hurd/rename.c: Likewise.
37632 * sysdeps/mach/hurd/rmdir.c: Likewise.
37633 * sysdeps/mach/hurd/seekdir.c: Likewise.
37634 * sysdeps/mach/hurd/setsid.c: Likewise.
37635 * sysdeps/posix/wait3.c: Likewise.
37637 * All files with FSF copyright notices: Update copyright dates
37638 using scripts/update-copyrights.
37639 * intl/plural.c: Regenerated.
37640 * locale/programs/charmap-kw.h: Likewise.
37641 * locale/programs/locfile-kw.h: Likewise.
37643 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37645 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37649 calculation loop and add branch prediction.
37651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37652 check access beyond bounds of m1np.
37654 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37656 (__inv): Remove local variable MPTWO to use the global
37658 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37661 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37662 MP3HALFS static const.
37664 2013-01-01 David S. Miller <davem@davemloft.net>
37666 * po/ca.po: Update from translation team.
37668 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37670 * scripts/update-copyrights: New file.
37671 * Makeconfig: Reformat copyright notice.
37672 * ctype/ctype.h: Likewise.
37673 * debug/swprintf_chk.c: Likewise.
37674 * elf/dl-cache.c: Likewise.
37675 * elf/dl-debug.c: Likewise.
37676 * elf/dl-object.c: Likewise.
37677 * grp/initgroups.c: Likewise.
37678 * hurd/Makefile: Likewise.
37679 * hurd/hurd/signal.h: Likewise.
37680 * hurd/hurdfault.c: Likewise.
37681 * hurd/hurdioctl.c: Likewise.
37682 * hurd/hurdlookup.c: Likewise.
37683 * hurd/intr-msg.c: Likewise.
37684 * iconv/gconv_open.c: Likewise.
37685 * libio/swprintf.c: Likewise.
37686 * locale/lc-ctype.c: Likewise.
37687 * locale/nl_langinfo.c: Likewise.
37688 * mach/Machrules: Likewise.
37689 * mach/Makefile: Likewise.
37690 * malloc/obstack.h: Likewise.
37691 * manual/Makefile: Likewise.
37692 * manual/tsort.awk: Likewise.
37693 * misc/bits/stab.def: Likewise.
37694 * nis/nis_print_group_entry.c: Likewise.
37695 * nis/nis_table.c: Likewise.
37696 * nis/nss_compat/compat-pwd.c: Likewise.
37697 * nis/nss_compat/compat-spwd.c: Likewise.
37698 * po/Makefile: Likewise.
37699 * posix/fnmatch.c: Likewise.
37700 * posix/regex.h: Likewise.
37701 * resolv/Makefile: Likewise.
37702 * resolv/nss_dns/dns-network.c: Likewise.
37703 * resolv/res_hconf.c: Likewise.
37704 * scripts/gen-sorted.awk: Likewise.
37705 * soft-fp/soft-fp.h: Likewise.
37706 * stdio-common/printf.h: Likewise.
37707 * stdlib/monetary.h: Likewise.
37708 * stdlib/random.c: Likewise.
37709 * stdlib/random_r.c: Likewise.
37710 * sysdeps/generic/Makefile: Likewise.
37711 * sysdeps/gnu/Makefile: Likewise.
37712 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37740 * sysdeps/mach/hurd/errnos.awk: Likewise.
37741 * sysdeps/mach/hurd/fork.c: Likewise.
37742 * sysdeps/mach/hurd/getcwd.c: Likewise.
37743 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37744 * sysdeps/mach/hurd/mmap.c: Likewise.
37745 * sysdeps/mach/hurd/utimes.c: Likewise.
37746 * sysdeps/mach/hurd/xmknod.c: Likewise.
37747 * sysdeps/posix/profil.c: Likewise.
37748 * sysdeps/posix/readdir_r.c: Likewise.
37749 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37750 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37751 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37752 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37754 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37756 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37758 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37759 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37760 * sysdeps/pthread/lio_listio.c: Likewise.
37761 * sysdeps/sparc/dl-procinfo.h: Likewise.
37762 * sysdeps/unix/i386/sysdep.S: Likewise.
37763 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37764 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37765 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37766 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37768 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37769 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37770 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37771 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37772 * sysdeps/wordsize-32/divdi3.c: Likewise.
37773 * time/sys/time.h: Likewise.
37774 * wcsmbs/Makefile: Likewise.
37776 2013-01-01 David S. Miller <davem@davemloft.net>
37778 * po/fr.po: Update from translation team.
37780 * catgets/gencat.c: Update copyright year.
37781 * csu/version.c: Likewise.
37782 * debug/catchsegv.sh: Likewise.
37783 * debug/pcprofiledump.c: Likewise.
37784 * debug/xtrace.sh: Likewise.
37785 * elf/ldconfig.c: Likewise.
37786 * elf/ldd.bash.in: Likewise.
37787 * elf/pldd.c: Likewise.
37788 * elf/sotruss.ksh: Likewise.
37789 * elf/sprof.c: Likewise.
37790 * iconv/iconv_prog.c: Likewise.
37791 * iconv/iconvconfig.c: Likewise.
37792 * locale/programs/locale.c: Likewise.
37793 * locale/programs/localedef.c: Likewise.
37794 * login/programs/pt_chown.c: Likewise.
37795 * malloc/memusage.sh: Likewise.
37796 * malloc/memusagestat.c: Likewise.
37797 * malloc/mtrace.pl: Likewise.
37798 * nscd/nscd.c: Likewise.
37799 * nss/getent.c: Likewise.
37800 * nss/makedb.c: Likewise.
37801 * posix/getconf.c: Likewise.
37803 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37805 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37808 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37810 * math/bits/mathcalls.h (modf): Use __nonnull.
37812 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37814 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37815 (split): Use macro CN instead of the bare value.
37816 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37819 instead of the bare value.
37820 (power1): Likewise.
37822 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37824 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37826 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37828 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37830 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37832 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37833 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37835 2012-12-28 Andreas Jaeger <aj@suse.de>
37837 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37838 values are from Linux 3.7.
37840 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37841 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37843 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37845 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37848 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37850 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37851 variables with preprocessor constants.
37852 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37853 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37854 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37856 2012-12-27 Bruno Haible <bruno@clisp.org>
37859 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37862 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37865 and use variable directly.
37866 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37868 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37870 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37873 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37875 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37876 include directive. Remove local variable MPONE.
37877 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37878 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37879 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37881 2012-12-25 David S. Miller <davem@davemloft.net>
37883 * version.h (RELEASE): Set to "development".
37884 (VERSION): Set to "2.17.90".
37885 * NEWS: Add 2.18 section.
37887 2012-12-21 David S. Miller <davem@davemloft.net>
37889 * po/hr.po: Update from translation team.
37891 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37893 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37895 2012-12-19 Steve Ellcey <sellcey@mips.com>
37897 * NEWS: Mention new memcpy for MIPS.
37899 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37901 * manual/contrib.texi (Contributors): Spelling correction.
37903 2012-12-15 David S. Miller <davem@davemloft.net>
37905 * po/ru.po: Update from translation team.
37907 2012-12-13 David S. Miller <davem@davemloft.net>
37909 * NEWS: Mention IFUNC testsuite enhancements.
37911 * po/pl.po: Update from translation team.
37912 * po/bg.po: Likewise.
37914 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37915 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37917 2012-12-11 David S. Miller <davem@davemloft.net>
37919 * po/sv.po: Update from translation team.
37921 * po/vi.po: Update from translation team.
37923 * po/cs.po: Update from translation team.
37925 * po/de.po: Update from translation team.
37926 * po/eo.po: Likewise.
37927 * po/nl.po: Likewise.
37929 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37932 * manual/argp.texi (Argp Helper Functions): Move node to follow
37933 Argp Parsing State.
37936 * manual/conf.texi (Limits on File System Capacity): Mention if
37937 terminating null is included in the max size.
37939 2012-12-10 Andreas Jaeger <aj@suse.de>
37941 * po/cs.po: Update from translation team.
37943 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37945 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37946 void pointer and cast to uintptr_t.
37947 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37949 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37950 * sysdeps/s390/s390-64/memset.S: Likewise.
37952 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37955 * menual/message.texi (Message Translation): Fix typos.
37956 (Helper programs for gettext): Likewise.
37958 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37961 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37964 2012-12-07 David S. Miller <davem@davemloft.net>
37966 * po/libc.pot: Update.
37968 2012-12-07 Richard Henderson <rth@redhat.com>
37971 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37972 normal/normal case to before the switch.
37973 (_FP_DIV): Likewise.
37975 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37976 Mike Frysinger <vapier@gentoo.org>
37978 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37979 check for __NR_fadvise64_64.
37981 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37983 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37984 0, not just to plain "0" as a statement.
37985 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37988 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37990 * NEWS: Use sourceware.org in Bugzilla URL.
37992 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37995 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37997 * stdio-common/tst-put-error.c (do_test): Add newline to the
37998 padded test to ensure flush.
38000 2012-12-05 Jeff Law <law@redhat.com>
38002 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38004 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38006 * README: Don't refer to ports add-on as distributed separately.
38007 Mention AArch64 in list of systems supported in the ports add-on.
38009 * LICENSES: Add more non-FSF copyright and license notices.
38011 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38014 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38016 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38017 10000 as width of padded output.
38019 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38021 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38024 variable LX with __attribute__ ((unused)).
38025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38030 with __attribute__ ((unused)).
38032 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38034 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38036 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38038 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38039 (CFLAGS-nldbl-acos.c): New variable.
38040 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38041 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38042 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38043 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38044 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38045 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38046 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38047 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38048 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38049 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38050 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38051 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38052 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38053 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38054 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38055 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38056 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38057 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38058 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38059 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38060 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38061 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38062 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38063 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38064 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38065 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38066 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38067 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38068 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38069 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38070 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38071 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38072 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38073 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38074 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38075 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38076 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38077 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38078 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38079 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38080 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38081 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38082 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38083 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38084 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38085 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38086 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38087 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38088 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38089 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38090 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38091 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38092 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38093 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38094 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38095 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38096 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38097 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38098 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38099 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38100 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38101 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38102 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38103 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38104 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38105 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38106 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38107 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38108 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38109 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38110 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38111 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38112 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38113 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38114 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38115 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38116 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38117 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38118 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38119 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38120 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38121 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38122 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38123 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38124 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38125 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38126 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38127 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38128 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38129 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38130 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38131 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38132 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38133 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38134 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38135 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38136 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38139 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38143 whole low double instead of just low 47 bits when splitting values
38146 2012-12-03 Allan McRae <allan@archlinux.org>
38148 * manual/stdio.texi (Predefined Printf Handlers): Remove
38149 @hsep and @vsep usage.
38151 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38153 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38154 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38156 2012-12-03 Jeff Law <law@redhat.com>
38158 * time/sys/time.h (settimeofday): Do not mark TV argument
38161 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38163 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38164 when currently writing and seek to current position when not.
38165 * libio/Makefile (tests): Remove bug-fclose1.
38166 * libio/bug-fclose1.c: Delete.
38168 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38170 * manual/arith.texi (feenableexcept): Fix typo.
38171 (fedisableexcept): Likewise.
38173 2012-11-30 Roland McGrath <roland@hack.frob.com>
38175 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38176 second, differently-typed declaration, rather than a cast.
38178 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38180 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38181 * include/rpc/svc.h: ... here.
38183 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38186 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38187 depending n and resplen2 to catch cases where answer
38190 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38192 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38193 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38195 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38199 2012-11-29 Roland McGrath <roland@hack.frob.com>
38201 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38203 2012-11-28 Jeff Law <law@redhat.com>
38206 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38207 dataset_temporary. Track alloca usage into alloca_used.
38208 If dataset is large allocate and release it via malloc/free.
38210 2012-06-04 Florian Weimer <fweimer@redhat.com>
38213 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38215 2012-11-28 David S. Miller <davem@davemloft.net>
38217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38219 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38222 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38223 of pi/2 rounded to nearest to 64 bits.
38224 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38225 nearest to 64 bits.
38226 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38229 2012-11-28 Jeff Law <law@redhat.com>
38230 Martin Osvald <mosvald@redhat.com>
38233 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38234 * sunrpc/svc.c: Include time.h.
38235 (__svc_accept_failed): New function.
38236 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38237 any reason other than EINTR, call __svc_accept_failed.
38238 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38239 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38241 2012-11-28 Andreas Schwab <schwab@suse.de>
38243 * scripts/abilist.awk: Also handle indirect functions in .opd
38246 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38249 * sysdeps/x86/fpu/powl_helper.c: New file.
38250 * sysdeps/x86/fpu/Makefile: Likewise.
38251 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38253 (__ieee754_powl): Use __powl_helper for finite arguments except
38254 integer exponents below 8.
38255 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38257 (__ieee754_powl): Use __powl_helper for finite arguments except
38258 integer exponents below 8.
38259 * math/libm-test.inc (pow_test): Add more tests and enable some
38260 previously disabled tests.
38261 * sysdeps/i386/fpu/libm-test-ulps: Update.
38262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38264 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38265 Carlos O'Donell <carlos_odonell@mentor.com>
38267 * nss/makedb.c (is_prime): Assert that input is odd and greater
38268 than 4. Note that fact in a comment too.
38269 (next_prime): Add 4 to input.
38271 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38274 * libio/Makefile (tests): Add test case tst-fwrite-error.
38275 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38276 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38277 * libio/tst-fwrite-error.c: New test case.
38279 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38281 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38282 before casting to void *.
38283 * include/libc-internal.h (__pointer_type): New macro.
38284 (__integer_if_pointer_type_sub): Likewise.
38285 (__integer_if_pointer_type): Likewise.
38286 (cast_to_integer): Likewise.
38287 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38288 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38289 before casting to atomic64_t.
38290 (atomic_exchange_acq): Likewise.
38291 (__arch_exchange_and_add_body): Likewise.
38292 (__arch_add_body): Likewise.
38293 (atomic_add_negative): Likewise.
38294 (atomic_add_zero): Likewise.
38296 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38298 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38299 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38300 (add_fdes): Likewise.
38301 (linear_search_fdes): Likewise.
38302 (binary_search_unencoded_fdes): Likewise.
38304 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38306 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38308 2012-11-24 Adam Conrad <adconrad@0c3.net>
38310 * configure.in: Autodetect C++ header directories.
38311 * configure: Regenerated.
38313 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38315 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38317 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38321 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38323 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38324 LDBL_MANT_DIG == 106]: Disable some tests.
38325 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38327 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38332 input for small inputs. Return +/- pi/2 for large inputs.
38333 * math/libm-test.inc (atan_test): Add more tests.
38335 * sysdeps/generic/unwind-dw2-fde-glibc.c
38336 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38337 __attribute__ ((unused)).
38340 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38341 x * y if x and y are nonzero and z is zero.
38344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38345 nonzero exponents with absolute value below 0x1p-117 to +/-
38349 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38350 up arguments below 2**-450, not just those below 2**-500.
38351 * math/libm-test.inc (hypot_test): Add another test.
38354 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38355 Return a+b for ratio over 2**120, not 2**60.
38356 * math/libm-test.inc (hypot_test): Add another test.
38358 * math/libm-test.inc (clog_test): Use
38359 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38360 (clog10_test): Likewise.
38363 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38365 2012-11-22 Andreas Schwab <schwab@suse.de>
38367 * sysdeps/i386/fpu/libm-test-ulps: Update.
38369 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38371 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38372 printf output with newline.
38374 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38377 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38378 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38379 -z nodlopen, -z initfirst and -z execstack support.
38380 * configure: Regenerated.
38382 * elf/elf.h (DF_1_NODIRECT): New macro.
38383 (DF_1_IGNMULDEF): Likewise.
38384 (DF_1_NOKSYMS): Likewise.
38385 (DF_1_NOHDR): Likewise.
38386 (DF_1_EDITED): Likewise.
38387 (DF_1_NORELOC): Likewise.
38388 (DF_1_SYMINTPOSE): Likewise.
38389 (DF_1_GLOBAUDIT): Likewise.
38390 (DF_1_SINGLETON): Likewise.
38391 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38392 DT_1_SUPPORTED_MASK bits.
38393 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38395 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38397 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38399 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38401 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38404 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38405 (sendmmsg): Move declarations...
38406 * socket/sys/socket.h: ... here.
38407 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38408 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38410 * socket/recvmmsg.c: ... this new file.
38411 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38412 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38413 definition of __sendmmsg hidden.
38414 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38415 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38416 Move ENOSYS stub into and include it from...
38417 * socket/sendmmsg.c: ... this new file.
38418 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38419 (sysdep_routines): Move recvmmsg and sendmmsg...
38420 * socket/Makefile (routines): ... here.
38421 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38422 (GLIBC_PRIVATE): Add __sendmmsg.
38423 * include/sys/socket.h (__sendmmsg): Add declarations.
38424 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38427 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38429 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38430 variable I1 with __attribute__ ((unused)).
38431 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38433 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38435 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38436 DUMMY variables with __attribute__ ((unused)).
38438 * bits/byteswap.h: Include <bits/types.h>.
38439 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38441 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38443 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38444 string_t. Do not manually set errno.
38445 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38446 length with __strnlen. Make sure to both set errno and return it on
38449 2012-11-19 David S. Miller <davem@davemloft.net>
38451 With help from Joseph Myers.
38452 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38453 very large arguments properly.
38454 * math/libm-test.inc (atan_test): New tests.
38455 (atan2_test): New tests.
38456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38459 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38462 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38465 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38466 [POSIX] (EADDRNOTAVAIL): Likewise.
38467 [POSIX] (EAFNOSUPPORT): Likewise.
38468 [POSIX] (EALREADY): Likewise.
38469 [POSIX] (ECONNABORTED): Likewise.
38470 [POSIX] (ECONNREFUSED): Likewise.
38471 [POSIX] (ECONNRESET): Likewise.
38472 [POSIX] (EDESTADDRREQ): Likewise.
38473 [POSIX] (EDQUOT): Likewise.
38474 [POSIX] (EHOSTUNREACH): Likewise.
38475 [POSIX] (EIDRM): Likewise.
38476 [POSIX] (EISCONN): Likewise.
38477 [POSIX] (ELOOP): Likewise.
38478 [POSIX] (EMULTIHOP): Likewise.
38479 [POSIX] (ENETDOWN): Likewise.
38480 [POSIX] (ENETUNREACH): Likewise.
38481 [POSIX] (ENOBUFS): Likewise.
38482 [POSIX] (ENODATA): Likewise.
38483 [POSIX] (ENOLINK): Likewise.
38484 [POSIX] (ENOMSG): Likewise.
38485 [POSIX] (ENOPROTOOPT): Likewise.
38486 [POSIX] (ENOSR): Likewise.
38487 [POSIX] (ENOSTR): Likewise.
38488 [POSIX] (ENOTCONN): Likewise.
38489 [POSIX] (ENOTSOCK): Likewise.
38490 [POSIX] (EOPNOTSUPP): Likewise.
38491 [POSIX] (EOVERFLOW): Likewise.
38492 [POSIX] (EPROTO): Likewise.
38493 [POSIX] (EPROTONOSUPPORT): Likewise.
38494 [POSIX] (EPROTOTYPE): Likewise.
38495 [POSIX] (ESTALE): Likewise.
38496 [POSIX] (ETIME): Likewise.
38497 [POSIX] (ETXTBSY): Likewise.
38498 [POSIX] (EWOULDBLOCK): Likewise.
38499 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38500 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38501 [POSIX] (SEEK_CUR): Likewise.
38502 [POSIX] (SEEK_END): Likewise.
38503 [POSIX || UNIX98] (mode_t): Do not require.
38504 [POSIX] (off_t): Likewise.
38505 [POSIX] (pid_t): Likewise.
38506 [POSIX] (sys/stat.h): Do not allow header.
38507 [POSIX] (unistd.h): Likewise.
38508 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38509 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38510 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38511 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38513 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38514 sigevent): Specify elements.
38515 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38517 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38518 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38520 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38521 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38522 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38523 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38524 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38525 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38526 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38527 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38528 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38529 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38530 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38531 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38532 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38533 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38535 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38537 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38539 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38541 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38542 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38543 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38544 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38545 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38546 Specify lower bound on value.
38547 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38548 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38549 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38550 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38551 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38552 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38553 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38554 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38556 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38558 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38559 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38560 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38561 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38562 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38563 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38564 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38565 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38566 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38567 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38568 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38569 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38570 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38571 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38572 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38573 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38575 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38577 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38578 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38579 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38580 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38581 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38582 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38584 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38585 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38586 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38587 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38588 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38589 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38590 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38592 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38593 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38594 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38595 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38596 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38597 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38598 specify as optional.
38599 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38600 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38601 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38602 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38603 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38604 [XPG3] (NL_LANGMAX): Likewise.
38605 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38606 [POSIX || XPG3] (NL_NMAX): Likewise.
38607 [POSIX || XPG3] (NL_SETMAX): Likewise.
38608 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38609 [XPG3] (NZERO): Likewise.
38610 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38611 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38612 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38613 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38614 (REG_ERANGE): Expect.
38615 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38617 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38618 Use (void) in prototype.
38619 [POSIX] (*_t): Allow.
38620 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38621 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38622 (WRDE_BADVAL): Expect.
38624 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38626 [XPG3 || XPG4] (O_RSYNC): Likewise.
38627 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38629 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38630 [XPG3 || XPG4] (sigqueue): Likewise.
38631 [XPG3 || XPG4] (sigtimedwait): Likewise.
38632 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38633 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38634 [XPG3 || XPG4] (vsnprintf): Likewise.
38635 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38637 [XPG3 || XPG4] (blksize_t): Likewise.
38638 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38640 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38641 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38642 [XPG3 || XPG4] (struct itimerspec): Likewise.
38643 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38644 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38645 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38646 [XPG3 || XPG4] (clockid_t): Likewise.
38647 [XPG3 || XPG4] (timer_t): Likewise.
38648 [XPG3 || XPG4] (clock_getres): Likewise.
38649 [XPG3 || XPG4] (clock_gettime): Likewise.
38650 [XPG3 || XPG4] (clock_settime): Likewise.
38651 [XPG3 || XPG4] (nanosleep): Likewise.
38652 [XPG3 || XPG4] (timer_create): Likewise.
38653 [XPG3 || XPG4] (timer_delete): Likewise.
38654 [XPG3 || XPG4] (timer_gettime): Likewise.
38655 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38656 [XPG3 || XPG4] (timer_settime): Likewise.
38657 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38658 [XPG3 || XPG4] (getlogin_r): Likewise.
38659 [XPG3 || XPG4] (pread): Likewise.
38660 [XPG3 || XPG4] (pthread_atfork): Likewise.
38661 [XPG3 || XPG4] (pwrite): Likewise.
38664 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38667 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38669 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38670 finalizing MALLSTREAM.
38672 * sysdeps/mach/hurd/syncfs.c: New file.
38674 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38677 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38678 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38679 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38680 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38681 (_nss_dns_gethostbyname4_r): Likewise.
38682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38683 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38685 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38688 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38690 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38692 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38693 * elf/cache.c (print_entry): Print ",AArch64" for
38696 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38697 * elf/cache.c (print_entry): Print ",hard-float" for
38700 2012-11-18 David S. Miller <davem@davemloft.net>
38702 With help from Joseph Myers.
38703 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38705 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38707 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38708 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38710 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38711 * math/libm-test.inc (y0_test): New tests.
38712 (y1_test): New tests.
38713 * sysdeps/i386/fpu/libm-test-ulps: Update.
38714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38717 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38719 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38721 * configure: Regenerated.
38723 2012-11-17 David S. Miller <davem@davemloft.net>
38726 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38727 nonzero exponents with absolute value below 0x1p-128 to +/-
38730 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38732 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38734 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38736 * posix/getconf-speclist.c: New file.
38737 * posix/posix-envs.def: Likewise.
38738 * posix/confstr.c (START_ENV_GROUP): New macro.
38739 (END_ENV_GROUP): Likewise.
38740 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38741 (KNOWN_PRESENT_ENV_STRING): Likewise.
38742 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38743 (UNKNOWN_ENVIRONMENT): Likewise.
38744 (confstr): Include posix-envs.def instead of handling
38745 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38746 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38747 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38748 (END_ENV_GROUP): Likewise.
38749 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38750 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38751 (UNKNOWN_ENVIRONMENT): Likewise.
38752 (__sysconf): Include posix-envs.def instead of handling associated
38753 cases directly here.
38754 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38755 preprocessing getconf-speclist.c rather than running getconf or
38756 generating empty file.
38758 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38760 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38762 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38765 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38767 2012-11-16 David S. Miller <davem@davemloft.net>
38769 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38770 smaller than LDBL_EPSILON/2.0L, just return xm1.
38772 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38774 * elf/tst-array1.c (init): Set constructor priority to 1000.
38775 (fini): Set destructor priority to 1000.
38776 * elf/tst-array2dep.c: Likewise.
38778 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38781 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38782 (_IO_new_file_xsputn): Also return EOF if none of the input
38783 data was written when overflow failed.
38784 * libio/iopadn.c (_IO_padn): Likewise.
38785 * libio/iowpadn.c (_IO_wpadn): Likewise.
38786 * stdio-common/tst-put-error.c: Add copyright notice.
38787 (do_test): Add case for printing padded string.
38788 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38789 _IO_padn returned error.
38790 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38791 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38794 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38796 * libio/libioP.h: Add comment note that the references to C++
38797 bits are now obsolete.
38799 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38801 * math/libm-test.inc (check_complex): Use asprintf.
38803 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38805 * debug/pcprofiledump.c (print_version): Update copyright year.
38806 * malloc/memusagestat.c (print_version): Likewise.
38808 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38811 * elf/Makefile (tests): Add tst-audit8.
38812 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38813 ($(objpfx)tst-audit8.out): New target.
38814 (tst-audit8-ENV): New variable.
38815 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38816 audit if l_reloc_result is NULL.
38817 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38818 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38819 * elf/tst-audit8.c: New file.
38821 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38823 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38824 * misc/Makefile (CFLAGS-select.c): Define.
38825 * posix/Makefile (CFLAGS-pause.c): Define.
38827 2012-11-13 David S. Miller <davem@davemloft.net>
38829 * crypt/Makefile: Move test targets after toplevel Rules
38830 inclusion. Grab any necessary sysdep routines when linking.
38831 * crypt/md5.c (md5_process_block): Remove define, we will always
38832 name it __md5_process_block.
38833 (md5_finish_ctx): Update md5_process_block call.
38834 (md5_stream): Likewise.
38835 (md5_process_bytes): Likewise.
38836 (md5_process_block): Rename to __md5_process_block and move to ...
38837 * crypt/md5-block.c: ... here.
38838 * crypt/sha256.c (sha256_process_block): Move to ...
38839 * crypt/sha256-block.c: ... here.
38840 * crypt/sha512.c (sha512_process_block): Move to ...
38841 * crypt/sha512-block.c: ... here.
38842 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38844 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38845 * sysdeps/sparc/sparc64/multiarch/Makefile
38846 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38848 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38849 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38851 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38852 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38853 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38854 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38855 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38856 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38857 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38858 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38859 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38861 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38862 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38864 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38866 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38868 * timezone/tzselect.ksh: Update from tzcode git revision
38869 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38870 * timezone/zdump.c: Likewise.
38871 * timezone/zic.c: Likewise.
38872 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38873 in TZVERSION setting, not $(PKGVERSION).
38874 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38875 REPORT_BUGS_TO settings.
38878 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38881 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38883 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38884 detection to immediately after _FP_ROUND().
38885 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38888 2012-11-11 David S. Miller <davem@davemloft.net>
38890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38892 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38893 __close rather than their public counterparts.
38895 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38897 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38899 [UNIX98] (sem_timedwait): Do not expect.
38900 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38901 [XPG4 || UNIX98] (sockatmark): Do not expect.
38902 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38903 (clock_getcpuclockid): Do not expect.
38904 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38905 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38907 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38908 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38909 [UNIX98] (vwscanf): Likewise.
38910 [UNIX98] (vswscanf): Likewise.
38912 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38914 * timezone/version.h: Remove file.
38915 * timezone/README: Do not refer to version.h.
38916 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38917 $(objpfx)version.h.
38918 ($(objpfx)zdump.o): Likewise.
38919 ($(objpfx)version.h): New target.
38921 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38923 * timezone/README: Don't mention modification to tzselect.ksh.
38924 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38925 work on unmodified tzselect.ksh. Substitute version numbers in
38928 * Makefile (format-me): Remove.
38929 (INSTALL): Adjust indentation. Use commands directly instead of
38930 using $(format-me).
38932 * aclocal.m4 (ACX_PKGVERSION): New macro.
38933 (ACX_BUGURL): Likewise.
38934 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38935 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38936 (REPORT_BUGS_TO): Likewise.
38937 * configure: Regenerated.
38938 * config.h.in (PKGVERSION): New macro.
38939 (REPORT_BUGS_TO): Likewise.
38940 * config.make.in (PKGVERSION): New variable.
38941 (PKGVERSION_TEXI): Likewise.
38942 (REPORT_BUGS_TO): Likewise.
38943 (REPORT_BUGS_TEXI): Likewise.
38944 * Makefile (format-me): Use -I$(common-objpfx)manual.
38945 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38946 ($(common-objpfx)manual/%): New target.
38947 (manual/%): Remove target.
38948 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38949 (print_version): Use PKGVERSION.
38950 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38951 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38952 and REPORT_BUGS_TO.
38953 ($(objpfx)xtrace): Likewise.
38954 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38955 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38956 (print_version): Use PKGVERSION.
38957 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38958 (do_version): Use PKGVERSION.
38959 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38961 (common-ldd-rewrite): Likewise.
38962 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38963 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38964 (print_version): Use PKGVERSION.
38965 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38966 * elf/pldd.c (argp_program_bug_address): Remove variable.
38967 (more_help): New function.
38968 (argp): Use more_help.
38969 (print_version): Use PKGVERSION.
38970 * elf/sln.c (main): Use PKGVERSION.
38971 (usage): Use REPORT_BUGS_TO.
38972 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38973 (top level): Use PKGVERSION.
38974 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38975 (print_version): Use PKGVERSION.
38976 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38977 (print_version): Use PKGVERSION.
38978 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38979 (print_version): Use PKGVERSION.
38980 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38981 (print_version): Use PKGVERSION.
38982 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38983 (print_version): Use PKGVERSION.
38984 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38985 (print_version): Use PKGVERSION.
38986 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38988 ($(objpfx)memusage): Likewise.
38989 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38990 (do_version): Use PKGVERSION.
38991 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38992 (print_version): Use PKGVERSION.
38993 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38994 ($PKGVERSION): New variable.
38995 ($REPORT_BUGS_TO): Likewise.
38996 (usage): Use $REPORT_BUGS_TO.
38997 (top level): Use $PKGVERSION.
38998 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38999 ($(objpfx)pkgvers.texi): New rule.
39000 ($(objpfx)stamp-pkgvers): Likewise.
39001 * manual/install.texi: Include pkgvers.texi.
39002 (--with-pkgversion): Document new configure option.
39003 (--with-bugurl): Likewise.
39004 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39005 than necessarily for this particular distribution. Use
39006 REPORT_BUGS_TO for where to report bugs.
39007 * INSTALL: Regenerated.
39008 * manual/libc.texinfo: Include pkgvers.texi.
39009 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39010 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39011 (print_version): Use PKGVERSION.
39012 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39013 (print_version): Use PKGVERSION.
39014 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39015 (print_version): Use PKGVERSION.
39016 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39017 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39019 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39020 (print_version): Use PKGVERSION.
39021 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39022 (print_version): Use PKGVERSION.
39023 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39026 * timezone/checktab.awk: Update from tzcode 2012i.
39027 * timezone/ialloc.c: Likewise.
39028 * timezone/private.h: Likewise.
39029 * timezone/scheck.c: Likewise.
39030 * timezone/tzfile.h: Likewise.
39031 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39032 (TZVERSION): Hardcode tzcode version number.
39033 * timezone/zdump.c: Update from tzcode 2012i.
39034 * timezone/zic.c: Likewise.
39035 * timezone/version.h: New file.
39036 * timezone/README: Describe version.h. Update upstream location.
39039 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39040 (mktemp): Enable declaration.
39041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39058 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39059 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39060 for copies of such integer values.
39061 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39062 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39064 2012-11-09 Andreas Jaeger <aj@suse.de>
39066 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39067 definitions and declarations that are provided by
39068 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39070 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39072 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39073 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39074 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39077 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39079 * elf/elf.h: Update comment before AArch64 relocations.
39081 2012-11-07 David S. Miller <davem@davemloft.net>
39083 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39084 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39085 (__start_context): Declare.
39086 (__makecontext_ret): Delete.
39087 (__makecontext): Hook up __start_context instead of
39089 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39090 (sysdep_routines): Add __start_context when in stdlib.
39092 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39094 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39095 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39096 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39098 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39099 (READELF): New variable. Use it instead of hardcoded "readelf".
39101 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39103 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39104 * sysdeps/x86/Makefile: Here.
39105 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39106 * sysdeps/x86/tst-xmmymm.sh: This.
39108 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39110 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39112 [UNIX98] (pthread_barrier_t): Do not expect.
39113 [UNIX98] (pthread_barrierattr_t): Likewise.
39114 [UNIX98] (pthread_spinlock_t): Likewise.
39115 [UNIX98] (pthread_barrier_destroy): Likewise.
39116 [UNIX98] (pthread_barrier_init): Likewise.
39117 [UNIX98] (pthread_barrier_wait): Likewise.
39118 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39119 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39120 [UNIX98] (pthread_barrierattr_init): Likewise.
39121 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39122 [UNIX98] (pthread_getcpuclockid): Likewise.
39123 [UNIX98] (pthread_mutex_timedlock): Likewise.
39124 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39125 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39126 [UNIX98] (pthread_sigmask): Likewise.
39127 [UNIX98] (pthread_spin_destroy): Likewise.
39128 [UNIX98] (pthread_spin_init): Likewise.
39129 [UNIX98] (pthread_spin_lock): Likewise.
39130 [UNIX98] (pthread_spin_trylock): Likewise.
39131 [UNIX98] (pthread_spin_unlock): Likewise.
39132 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39134 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39135 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39136 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39137 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39138 [XPG3 || XPG4] (pthread_key_t): Likewise.
39139 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39140 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39141 [XPG3 || XPG4] (pthread_once_t): Likewise.
39142 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39143 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39144 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39145 [XPG3 || XPG4] (pthread_t): Likewise.
39147 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39149 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39151 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39152 Change function return type to int.
39154 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39155 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39156 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39157 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39158 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39159 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39160 [!POSIX] (posix_madvise): Likewise.
39161 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39163 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39164 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39165 (mode_t): Likewise.
39166 (posix_mem_offset): Likewise.
39167 (posix_typed_mem_get_info): Likewise.
39168 (posix_typed_mem_open): Likewise.
39170 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39171 Change condition to [XOPEN2K8].
39173 * conform/conformtest.pl: Preprocess allow-header data with -x c
39174 instead of from stdin.
39175 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39176 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39177 [C99-based standards] (cerfc): Likewise.
39178 [C99-based standards] (cexp2): Likewise.
39179 [C99-based standards] (cexpm1): Likewise.
39180 [C99-based standards] (clog10): Likewise.
39181 [C99-based standards] (clog1p): Likewise.
39182 [C99-based standards] (clog2): Likewise.
39183 [C99-based standards] (clgamma): Likewise.
39184 [C99-based standards] (ctgamma): Likewise.
39185 [C99-based standards] (cerff): Likewise.
39186 [C99-based standards] (cerfcf): Likewise.
39187 [C99-based standards] (cexp2f): Likewise.
39188 [C99-based standards] (cexpm1f): Likewise.
39189 [C99-based standards] (clog10f): Likewise.
39190 [C99-based standards] (clog1pf): Likewise.
39191 [C99-based standards] (clog2f): Likewise.
39192 [C99-based standards] (clgammaf): Likewise.
39193 [C99-based standards] (ctgammaf): Likewise.
39194 [C99-based standards] (cerfl): Likewise.
39195 [C99-based standards] (cerfcl): Likewise.
39196 [C99-based standards] (cexp2l): Likewise.
39197 [C99-based standards] (cexpm1l): Likewise.
39198 [C99-based standards] (clog10l): Likewise.
39199 [C99-based standards] (clog1pl): Likewise.
39200 [C99-based standards] (clog2l): Likewise.
39201 [C99-based standards] (clgammal): Likewise.
39202 [C99-based standards] (ctgammal): Likewise.
39203 * conform/data/inttypes.h-data [C99-based standards]: Include
39204 stdint.h-data. Remove all expectations for stdint.h contents.
39205 [C99-based standards] (PRI*): Do not allow.
39206 [C99-based standards] (SCN*): Likewise.
39207 [C99-based standards] (*_t): Likewise.
39208 [C99-based-standards] (PRId8): Expect macro.
39209 [C99-based-standards] (PRIi8): Likewise.
39210 [C99-based-standards] (PRIo8): Likewise.
39211 [C99-based-standards] (PRIu8): Likewise.
39212 [C99-based-standards] (PRIx8): Likewise.
39213 [C99-based-standards] (PRIX8): Likewise.
39214 [C99-based-standards] (SCNd8): Likewise.
39215 [C99-based-standards] (SCNi8): Likewise.
39216 [C99-based-standards] (SCNo8): Likewise.
39217 [C99-based-standards] (SCNu8): Likewise.
39218 [C99-based-standards] (SCNx8): Likewise.
39219 [C99-based-standards] (PRIdLEAST8): Likewise.
39220 [C99-based-standards] (PRIiLEAST8): Likewise.
39221 [C99-based-standards] (PRIoLEAST8): Likewise.
39222 [C99-based-standards] (PRIuLEAST8): Likewise.
39223 [C99-based-standards] (PRIxLEAST8): Likewise.
39224 [C99-based-standards] (PRIXLEAST8): Likewise.
39225 [C99-based-standards] (SCNdLEAST8): Likewise.
39226 [C99-based-standards] (SCNiLEAST8): Likewise.
39227 [C99-based-standards] (SCNoLEAST8): Likewise.
39228 [C99-based-standards] (SCNuLEAST8): Likewise.
39229 [C99-based-standards] (SCNxLEAST8): Likewise.
39230 [C99-based-standards] (PRIdFAST8): Likewise.
39231 [C99-based-standards] (PRIiFAST8): Likewise.
39232 [C99-based-standards] (PRIoFAST8): Likewise.
39233 [C99-based-standards] (PRIuFAST8): Likewise.
39234 [C99-based-standards] (PRIxFAST8): Likewise.
39235 [C99-based-standards] (PRIXFAST8): Likewise.
39236 [C99-based-standards] (SCNdFAST8): Likewise.
39237 [C99-based-standards] (SCNiFAST8): Likewise.
39238 [C99-based-standards] (SCNoFAST8): Likewise.
39239 [C99-based-standards] (SCNuFAST8): Likewise.
39240 [C99-based-standards] (SCNxFAST8): Likewise.
39241 [C99-based-standards] (PRId16): Likewise.
39242 [C99-based-standards] (PRIi16): Likewise.
39243 [C99-based-standards] (PRIo16): Likewise.
39244 [C99-based-standards] (PRIu16): Likewise.
39245 [C99-based-standards] (PRIx16): Likewise.
39246 [C99-based-standards] (PRIX16): Likewise.
39247 [C99-based-standards] (SCNd16): Likewise.
39248 [C99-based-standards] (SCNi16): Likewise.
39249 [C99-based-standards] (SCNo16): Likewise.
39250 [C99-based-standards] (SCNu16): Likewise.
39251 [C99-based-standards] (SCNx16): Likewise.
39252 [C99-based-standards] (PRIdLEAST16): Likewise.
39253 [C99-based-standards] (PRIiLEAST16): Likewise.
39254 [C99-based-standards] (PRIoLEAST16): Likewise.
39255 [C99-based-standards] (PRIuLEAST16): Likewise.
39256 [C99-based-standards] (PRIxLEAST16): Likewise.
39257 [C99-based-standards] (PRIXLEAST16): Likewise.
39258 [C99-based-standards] (SCNdLEAST16): Likewise.
39259 [C99-based-standards] (SCNiLEAST16): Likewise.
39260 [C99-based-standards] (SCNoLEAST16): Likewise.
39261 [C99-based-standards] (SCNuLEAST16): Likewise.
39262 [C99-based-standards] (SCNxLEAST16): Likewise.
39263 [C99-based-standards] (PRIdFAST16): Likewise.
39264 [C99-based-standards] (PRIiFAST16): Likewise.
39265 [C99-based-standards] (PRIoFAST16): Likewise.
39266 [C99-based-standards] (PRIuFAST16): Likewise.
39267 [C99-based-standards] (PRIxFAST16): Likewise.
39268 [C99-based-standards] (PRIXFAST16): Likewise.
39269 [C99-based-standards] (SCNdFAST16): Likewise.
39270 [C99-based-standards] (SCNiFAST16): Likewise.
39271 [C99-based-standards] (SCNoFAST16): Likewise.
39272 [C99-based-standards] (SCNuFAST16): Likewise.
39273 [C99-based-standards] (SCNxFAST16): Likewise.
39274 [C99-based-standards] (PRId32): Likewise.
39275 [C99-based-standards] (PRIi32): Likewise.
39276 [C99-based-standards] (PRIo32): Likewise.
39277 [C99-based-standards] (PRIu32): Likewise.
39278 [C99-based-standards] (PRIx32): Likewise.
39279 [C99-based-standards] (PRIX32): Likewise.
39280 [C99-based-standards] (SCNd32): Likewise.
39281 [C99-based-standards] (SCNi32): Likewise.
39282 [C99-based-standards] (SCNo32): Likewise.
39283 [C99-based-standards] (SCNu32): Likewise.
39284 [C99-based-standards] (SCNx32): Likewise.
39285 [C99-based-standards] (PRIdLEAST32): Likewise.
39286 [C99-based-standards] (PRIiLEAST32): Likewise.
39287 [C99-based-standards] (PRIoLEAST32): Likewise.
39288 [C99-based-standards] (PRIuLEAST32): Likewise.
39289 [C99-based-standards] (PRIxLEAST32): Likewise.
39290 [C99-based-standards] (PRIXLEAST32): Likewise.
39291 [C99-based-standards] (SCNdLEAST32): Likewise.
39292 [C99-based-standards] (SCNiLEAST32): Likewise.
39293 [C99-based-standards] (SCNoLEAST32): Likewise.
39294 [C99-based-standards] (SCNuLEAST32): Likewise.
39295 [C99-based-standards] (SCNxLEAST32): Likewise.
39296 [C99-based-standards] (PRIdFAST32): Likewise.
39297 [C99-based-standards] (PRIiFAST32): Likewise.
39298 [C99-based-standards] (PRIoFAST32): Likewise.
39299 [C99-based-standards] (PRIuFAST32): Likewise.
39300 [C99-based-standards] (PRIxFAST32): Likewise.
39301 [C99-based-standards] (PRIXFAST32): Likewise.
39302 [C99-based-standards] (SCNdFAST32): Likewise.
39303 [C99-based-standards] (SCNiFAST32): Likewise.
39304 [C99-based-standards] (SCNoFAST32): Likewise.
39305 [C99-based-standards] (SCNuFAST32): Likewise.
39306 [C99-based-standards] (SCNxFAST32): Likewise.
39307 [C99-based-standards] (PRId64): Likewise.
39308 [C99-based-standards] (PRIi64): Likewise.
39309 [C99-based-standards] (PRIo64): Likewise.
39310 [C99-based-standards] (PRIu64): Likewise.
39311 [C99-based-standards] (PRIx64): Likewise.
39312 [C99-based-standards] (PRIX64): Likewise.
39313 [C99-based-standards] (SCNd64): Likewise.
39314 [C99-based-standards] (SCNi64): Likewise.
39315 [C99-based-standards] (SCNo64): Likewise.
39316 [C99-based-standards] (SCNu64): Likewise.
39317 [C99-based-standards] (SCNx64): Likewise.
39318 [C99-based-standards] (PRIdLEAST64): Likewise.
39319 [C99-based-standards] (PRIiLEAST64): Likewise.
39320 [C99-based-standards] (PRIoLEAST64): Likewise.
39321 [C99-based-standards] (PRIuLEAST64): Likewise.
39322 [C99-based-standards] (PRIxLEAST64): Likewise.
39323 [C99-based-standards] (PRIXLEAST64): Likewise.
39324 [C99-based-standards] (SCNdLEAST64): Likewise.
39325 [C99-based-standards] (SCNiLEAST64): Likewise.
39326 [C99-based-standards] (SCNoLEAST64): Likewise.
39327 [C99-based-standards] (SCNuLEAST64): Likewise.
39328 [C99-based-standards] (SCNxLEAST64): Likewise.
39329 [C99-based-standards] (PRIdFAST64): Likewise.
39330 [C99-based-standards] (PRIiFAST64): Likewise.
39331 [C99-based-standards] (PRIoFAST64): Likewise.
39332 [C99-based-standards] (PRIuFAST64): Likewise.
39333 [C99-based-standards] (PRIxFAST64): Likewise.
39334 [C99-based-standards] (PRIXFAST64): Likewise.
39335 [C99-based-standards] (SCNdFAST64): Likewise.
39336 [C99-based-standards] (SCNiFAST64): Likewise.
39337 [C99-based-standards] (SCNoFAST64): Likewise.
39338 [C99-based-standards] (SCNuFAST64): Likewise.
39339 [C99-based-standards] (SCNxFAST64): Likewise.
39340 [C99-based-standards] (PRIdMAX): Likewise.
39341 [C99-based-standards] (PRIiMAX): Likewise.
39342 [C99-based-standards] (PRIoMAX): Likewise.
39343 [C99-based-standards] (PRIuMAX): Likewise.
39344 [C99-based-standards] (PRIxMAX): Likewise.
39345 [C99-based-standards] (PRIXMAX): Likewise.
39346 [C99-based-standards] (SCNdMAX): Likewise.
39347 [C99-based-standards] (SCNiMAX): Likewise.
39348 [C99-based-standards] (SCNoMAX): Likewise.
39349 [C99-based-standards] (SCNuMAX): Likewise.
39350 [C99-based-standards] (SCNxMAX): Likewise.
39351 [C99-based-standards] (PRIdPTR): Likewise.
39352 [C99-based-standards] (PRIiPTR): Likewise.
39353 [C99-based-standards] (PRIoPTR): Likewise.
39354 [C99-based-standards] (PRIuPTR): Likewise.
39355 [C99-based-standards] (PRIxPTR): Likewise.
39356 [C99-based-standards] (PRIXPTR): Likewise.
39357 [C99-based-standards] (SCNdPTR): Likewise.
39358 [C99-based-standards] (SCNiPTR): Likewise.
39359 [C99-based-standards] (SCNoPTR): Likewise.
39360 [C99-based-standards] (SCNuPTR): Likewise.
39361 [C99-based-standards] (SCNxPTR): Likewise.
39362 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39364 * conform/data/stdint.h-data: Update comments to clarify
39366 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39368 [C99-based standards] (INT8_MAX): Likewise.
39369 [C99-based standards] (INT16_MIN): Likewise.
39370 [C99-based standards] (INT16_MAX): Likewise.
39371 [C99-based standards] (INT32_MIN): Likewise.
39372 [C99-based standards] (INT32_MAX): Likewise.
39373 [C99-based standards] (INT64_MIN): Likewise.
39374 [C99-based standards] (INT64_MAX): Likewise.
39375 [C99-based standards] (UINT8_MAX): Likewise.
39376 [C99-based standards] (UINT16_MAX): Likewise.
39377 [C99-based standards] (UINT32_MAX): Likewise.
39378 [C99-based standards] (UINT64_MAX): Likewise.
39379 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39380 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39381 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39382 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39383 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39384 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39385 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39386 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39387 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39388 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39389 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39390 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39391 [C99-based standards] (INT_FAST8_MIN): Likewise.
39392 [C99-based standards] (INT_FAST8_MAX): Likewise.
39393 [C99-based standards] (INT_FAST16_MIN): Likewise.
39394 [C99-based standards] (INT_FAST16_MAX): Likewise.
39395 [C99-based standards] (INT_FAST32_MIN): Likewise.
39396 [C99-based standards] (INT_FAST32_MAX): Likewise.
39397 [C99-based standards] (INT_FAST64_MIN): Likewise.
39398 [C99-based standards] (INT_FAST64_MAX): Likewise.
39399 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39400 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39401 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39402 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39403 [C99-based standards] (INTPTR_MIN): Likewise.
39404 [C99-based standards] (INTPTR_MAX): Likewise.
39405 [C99-based standards] (UINTPTR_MAX): Likewise.
39406 [C99-based standards] (INTMAX_MIN): Likewise.
39407 [C99-based standards] (INTMAX_MAX): Likewise.
39408 [C99-based standards] (UINTMAX_MAX): Likewise.
39409 [C99-based standards] (PTRDIFF_MIN): Likewise.
39410 [C99-based standards] (PTRDIFF_MAX): Likewise.
39411 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39412 [C99-based standards] (SIZE_MAX): Likewise.
39413 [C99-based standards] (WCHAR_MAX): Likewise.
39414 [C99-based standards] (WINT_MAX): Likewise.
39415 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39416 constraint on value.
39417 [C99-based standards] (WCHAR_MIN): Likewise.
39418 [C99-based standards] (WINT_MIN): Likewise.
39419 [C99-based standards] (*_t): Allow.
39420 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39421 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39422 Include math.h-data and complex.h-data. Remove all expectations
39423 of math.h and complex.h contents.
39424 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39426 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39427 (struct tm): Expect tag.
39428 [C99-based-standards] (wcstof): Expect function.
39429 [C99-based-standards] (wcstold): Likewise.
39430 [C99-based-standards] (wcstoll): Likewise.
39431 [C99-based-standards] (wcstoull): Likewise.
39432 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39433 macro-int-constant. Specify type.
39434 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39435 constraint on value.
39436 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39438 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39440 [ISO C standards]: Do not allow headers.
39441 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39442 wcs[abcdefghijklmnopqrstuvwxyz]*.
39443 [ISO C standards] (*_t): Do not allow.
39444 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39446 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39447 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39449 [ISO C standards]: Do not allow headers.
39450 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39451 is[abcdefghijklmnopqrstuvwxyz]*.
39452 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39453 to[abcdefghijklmnopqrstuvwxyz]*.
39454 [ISO C standards] (*_t): Do not allow.
39455 * conform/data/stdalign.h-data: New file.
39456 * conform/data/stdbool.h-data: Likewise.
39457 * conform/data/stdnoreturn.h-data: Likewise.
39459 2012-11-07 Roland McGrath <roland@hack.frob.com>
39462 * manual/filesys.texi (Directory Entries): Typo fix.
39463 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39465 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39467 * elf/elf.h (EM_AARCH64): New macro.
39468 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39469 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39470 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39471 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39472 (R_AARCH64_TLSDESC): Likewise.
39473 (NT_ARM_TLS): Likewise.
39474 (NT_ARM_HW_BREAK): Likewise.
39475 (NT_ARM_HW_WATCH): Likewise.
39477 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39480 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39481 (__ieee754_powl): Saturate nonzero exponents with absolute value
39482 below 0x1p-79 to +/- 0x1p-79.
39483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39484 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39485 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39486 nonzero exponents with absolute value below 0x1p-32 to +/-
39488 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39489 (__ieee754_powl): Saturate nonzero exponents with absolute value
39490 below 0x1p-79 to +/- 0x1p-79.
39491 * math/libm-test.inc (pow_test): Add more tests.
39493 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39495 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39496 _dl_s390_cap_flags with kernel. Increase string length.
39497 (_dl_s390_platforms): Add z196 and zEC12.
39499 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39501 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39502 Change XOPEN21K to XOPEN2K.
39504 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39506 * string/memmove.c: Use memcpy when possible.
39508 2012-11-06 Andreas Jaeger <aj@suse.de>
39510 * po/eo.po: Update from translation team.
39512 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39516 exponent and small x and y exponents, scale x or y up. Increase
39517 by 2 the exponent used in scaling up.
39518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39520 * math/libm-test.inc (fma_test): Add more tests.
39521 (fma_test_towardzero): Likewise.
39522 (fma_test_downward): Likewise.
39523 (fma_test_upward): Likewise.
39525 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39528 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39532 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39533 namespace for names of struct fields.
39534 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39536 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39537 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39539 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39542 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39544 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39546 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39550 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39553 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39557 definitely overflow as x * y not x * y + z.
39558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39560 * math/libm-test.inc (fma_test): Add more tests.
39561 (fma_test_towardzero): Likewise.
39562 (fma_test_downward): Likewise.
39563 (fma_test_upward): Likewise.
39565 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39569 * include/stub-tag.h: Remove file.
39570 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39572 * manual/maint.texi (Porting): Don't reference it.
39573 * Makerules ($(objpfx)stubs): Likewise.
39574 * dirent/closedir.c: Don't include <stub-tag.h>.
39575 * dirent/dirfd.c: Likewise.
39576 * dirent/fdopendir.c: Likewise.
39577 * dirent/getdents.c: Likewise.
39578 * dirent/getdents64.c: Likewise.
39579 * dirent/opendir.c: Likewise.
39580 * dirent/readdir.c: Likewise.
39581 * dirent/readdir64.c: Likewise.
39582 * dirent/readdir64_r.c: Likewise.
39583 * dirent/readdir_r.c: Likewise.
39584 * dirent/rewinddir.c: Likewise.
39585 * dirent/seekdir.c: Likewise.
39586 * dirent/telldir.c: Likewise.
39587 * gmon/profil.c: Likewise.
39588 * grp/setgroups.c: Likewise.
39589 * inet/if_index.c: Likewise.
39590 * io/access.c: Likewise.
39591 * io/chdir.c: Likewise.
39592 * io/chmod.c: Likewise.
39593 * io/chown.c: Likewise.
39594 * io/close.c: Likewise.
39595 * io/dup.c: Likewise.
39596 * io/dup2.c: Likewise.
39597 * io/dup3.c: Likewise.
39598 * io/euidaccess.c: Likewise.
39599 * io/faccessat.c: Likewise.
39600 * io/fchdir.c: Likewise.
39601 * io/fchmod.c: Likewise.
39602 * io/fchmodat.c: Likewise.
39603 * io/fchown.c: Likewise.
39604 * io/fchownat.c: Likewise.
39605 * io/fcntl.c: Likewise.
39606 * io/flock.c: Likewise.
39607 * io/fstatfs.c: Likewise.
39608 * io/fstatfs64.c: Likewise.
39609 * io/fstatvfs.c: Likewise.
39610 * io/fstatvfs64.c: Likewise.
39611 * io/futimens.c: Likewise.
39612 * io/fxstat.c: Likewise.
39613 * io/fxstat64.c: Likewise.
39614 * io/fxstatat.c: Likewise.
39615 * io/fxstatat64.c: Likewise.
39616 * io/getcwd.c: Likewise.
39617 * io/isatty.c: Likewise.
39618 * io/lchmod.c: Likewise.
39619 * io/lchown.c: Likewise.
39620 * io/link.c: Likewise.
39621 * io/linkat.c: Likewise.
39622 * io/lseek.c: Likewise.
39623 * io/lseek64.c: Likewise.
39624 * io/lxstat64.c: Likewise.
39625 * io/mkdir.c: Likewise.
39626 * io/mkdirat.c: Likewise.
39627 * io/mkfifo.c: Likewise.
39628 * io/mkfifoat.c: Likewise.
39629 * io/open.c: Likewise.
39630 * io/open64.c: Likewise.
39631 * io/openat.c: Likewise.
39632 * io/openat64.c: Likewise.
39633 * io/pipe.c: Likewise.
39634 * io/pipe2.c: Likewise.
39635 * io/poll.c: Likewise.
39636 * io/posix_fadvise.c: Likewise.
39637 * io/posix_fadvise64.c: Likewise.
39638 * io/posix_fallocate.c: Likewise.
39639 * io/posix_fallocate64.c: Likewise.
39640 * io/read.c: Likewise.
39641 * io/readlink.c: Likewise.
39642 * io/readlinkat.c: Likewise.
39643 * io/rmdir.c: Likewise.
39644 * io/sendfile.c: Likewise.
39645 * io/sendfile64.c: Likewise.
39646 * io/statfs.c: Likewise.
39647 * io/statfs64.c: Likewise.
39648 * io/statvfs.c: Likewise.
39649 * io/statvfs64.c: Likewise.
39650 * io/symlink.c: Likewise.
39651 * io/symlinkat.c: Likewise.
39652 * io/ttyname.c: Likewise.
39653 * io/ttyname_r.c: Likewise.
39654 * io/umask.c: Likewise.
39655 * io/unlink.c: Likewise.
39656 * io/unlinkat.c: Likewise.
39657 * io/utime.c: Likewise.
39658 * io/utimensat.c: Likewise.
39659 * io/write.c: Likewise.
39660 * io/xmknod.c: Likewise.
39661 * io/xmknodat.c: Likewise.
39662 * io/xstat.c: Likewise.
39663 * io/xstat64.c: Likewise.
39664 * login/getpt.c: Likewise.
39665 * login/grantpt.c: Likewise.
39666 * login/unlockpt.c: Likewise.
39667 * math/e_acoshl.c: Likewise.
39668 * math/e_acosl.c: Likewise.
39669 * math/e_asinl.c: Likewise.
39670 * math/e_atan2l.c: Likewise.
39671 * math/e_atanhl.c: Likewise.
39672 * math/e_coshl.c: Likewise.
39673 * math/e_expl.c: Likewise.
39674 * math/e_fmodl.c: Likewise.
39675 * math/e_gammal_r.c: Likewise.
39676 * math/e_hypotl.c: Likewise.
39677 * math/e_j0l.c: Likewise.
39678 * math/e_j1l.c: Likewise.
39679 * math/e_jnl.c: Likewise.
39680 * math/e_lgammal_r.c: Likewise.
39681 * math/e_log10l.c: Likewise.
39682 * math/e_log2l.c: Likewise.
39683 * math/e_logl.c: Likewise.
39684 * math/e_powl.c: Likewise.
39685 * math/e_rem_pio2l.c: Likewise.
39686 * math/e_sinhl.c: Likewise.
39687 * math/e_sqrtl.c: Likewise.
39688 * math/fclrexcpt.c: Likewise.
39689 * math/fedisblxcpt.c: Likewise.
39690 * math/feenablxcpt.c: Likewise.
39691 * math/fegetenv.c: Likewise.
39692 * math/fegetexcept.c: Likewise.
39693 * math/fegetround.c: Likewise.
39694 * math/feholdexcpt.c: Likewise.
39695 * math/fesetenv.c: Likewise.
39696 * math/fesetround.c: Likewise.
39697 * math/feupdateenv.c: Likewise.
39698 * math/fgetexcptflg.c: Likewise.
39699 * math/fraiseexcpt.c: Likewise.
39700 * math/fsetexcptflg.c: Likewise.
39701 * math/ftestexcept.c: Likewise.
39702 * math/k_cosl.c: Likewise.
39703 * math/k_rem_pio2l.c: Likewise.
39704 * math/k_sinl.c: Likewise.
39705 * math/k_tanl.c: Likewise.
39706 * math/s_asinhl.c: Likewise.
39707 * math/s_atanl.c: Likewise.
39708 * math/s_cbrtl.c: Likewise.
39709 * math/s_erfl.c: Likewise.
39710 * math/s_expm1l.c: Likewise.
39711 * math/s_log1pl.c: Likewise.
39712 * math/s_tanhl.c: Likewise.
39713 * misc/acct.c: Likewise.
39714 * misc/brk.c: Likewise.
39715 * misc/chflags.c: Likewise.
39716 * misc/chroot.c: Likewise.
39717 * misc/fchflags.c: Likewise.
39718 * misc/fgetxattr.c: Likewise.
39719 * misc/flistxattr.c: Likewise.
39720 * misc/fremovexattr.c: Likewise.
39721 * misc/fsetxattr.c: Likewise.
39722 * misc/fsync.c: Likewise.
39723 * misc/ftruncate.c: Likewise.
39724 * misc/futimes.c: Likewise.
39725 * misc/futimesat.c: Likewise.
39726 * misc/getdomain.c: Likewise.
39727 * misc/getdtsz.c: Likewise.
39728 * misc/gethostid.c: Likewise.
39729 * misc/gethostname.c: Likewise.
39730 * misc/getloadavg.c: Likewise.
39731 * misc/getpagesize.c: Likewise.
39732 * misc/getsysstats.c: Likewise.
39733 * misc/getxattr.c: Likewise.
39734 * misc/gtty.c: Likewise.
39735 * misc/ioctl.c: Likewise.
39736 * misc/lgetxattr.c: Likewise.
39737 * misc/listxattr.c: Likewise.
39738 * misc/llistxattr.c: Likewise.
39739 * misc/lremovexattr.c: Likewise.
39740 * misc/lsetxattr.c: Likewise.
39741 * misc/lutimes.c: Likewise.
39742 * misc/madvise.c: Likewise.
39743 * misc/mincore.c: Likewise.
39744 * misc/mlock.c: Likewise.
39745 * misc/mlockall.c: Likewise.
39746 * misc/mmap.c: Likewise.
39747 * misc/mprotect.c: Likewise.
39748 * misc/msync.c: Likewise.
39749 * misc/munlock.c: Likewise.
39750 * misc/munlockall.c: Likewise.
39751 * misc/munmap.c: Likewise.
39752 * misc/preadv.c: Likewise.
39753 * misc/preadv64.c: Likewise.
39754 * misc/ptrace.c: Likewise.
39755 * misc/pwritev.c: Likewise.
39756 * misc/pwritev64.c: Likewise.
39757 * misc/readv.c: Likewise.
39758 * misc/reboot.c: Likewise.
39759 * misc/remap_file_pages.c: Likewise.
39760 * misc/removexattr.c: Likewise.
39761 * misc/revoke.c: Likewise.
39762 * misc/select.c: Likewise.
39763 * misc/setdomain.c: Likewise.
39764 * misc/setegid.c: Likewise.
39765 * misc/seteuid.c: Likewise.
39766 * misc/sethostid.c: Likewise.
39767 * misc/sethostname.c: Likewise.
39768 * misc/setregid.c: Likewise.
39769 * misc/setreuid.c: Likewise.
39770 * misc/setxattr.c: Likewise.
39771 * misc/sstk.c: Likewise.
39772 * misc/stty.c: Likewise.
39773 * misc/swapoff.c: Likewise.
39774 * misc/swapon.c: Likewise.
39775 * misc/sync.c: Likewise.
39776 * misc/syncfs.c: Likewise.
39777 * misc/syscall.c: Likewise.
39778 * misc/truncate.c: Likewise.
39779 * misc/ualarm.c: Likewise.
39780 * misc/usleep.c: Likewise.
39781 * misc/ustat.c: Likewise.
39782 * misc/utimes.c: Likewise.
39783 * misc/vhangup.c: Likewise.
39784 * misc/writev.c: Likewise.
39785 * posix/_exit.c: Likewise.
39786 * posix/alarm.c: Likewise.
39787 * posix/execve.c: Likewise.
39788 * posix/fexecve.c: Likewise.
39789 * posix/fork.c: Likewise.
39790 * posix/fpathconf.c: Likewise.
39791 * posix/getaddrinfo.c: Likewise.
39792 * posix/getegid.c: Likewise.
39793 * posix/geteuid.c: Likewise.
39794 * posix/getgid.c: Likewise.
39795 * posix/getgroups.c: Likewise.
39796 * posix/getlogin.c: Likewise.
39797 * posix/getlogin_r.c: Likewise.
39798 * posix/getpgid.c: Likewise.
39799 * posix/getpid.c: Likewise.
39800 * posix/getppid.c: Likewise.
39801 * posix/getresgid.c: Likewise.
39802 * posix/getresuid.c: Likewise.
39803 * posix/getsid.c: Likewise.
39804 * posix/getuid.c: Likewise.
39805 * posix/glob64.c: Likewise.
39806 * posix/nanosleep.c: Likewise.
39807 * posix/pathconf.c: Likewise.
39808 * posix/pause.c: Likewise.
39809 * posix/posix_madvise.c: Likewise.
39810 * posix/pread.c: Likewise.
39811 * posix/pread64.c: Likewise.
39812 * posix/pwrite.c: Likewise.
39813 * posix/pwrite64.c: Likewise.
39814 * posix/sched_getaffinity.c: Likewise.
39815 * posix/sched_getp.c: Likewise.
39816 * posix/sched_gets.c: Likewise.
39817 * posix/sched_primax.c: Likewise.
39818 * posix/sched_primin.c: Likewise.
39819 * posix/sched_rr_gi.c: Likewise.
39820 * posix/sched_setaffinity.c: Likewise.
39821 * posix/sched_setp.c: Likewise.
39822 * posix/sched_sets.c: Likewise.
39823 * posix/sched_yield.c: Likewise.
39824 * posix/setgid.c: Likewise.
39825 * posix/setlogin.c: Likewise.
39826 * posix/setpgid.c: Likewise.
39827 * posix/setresgid.c: Likewise.
39828 * posix/setresuid.c: Likewise.
39829 * posix/setsid.c: Likewise.
39830 * posix/setuid.c: Likewise.
39831 * posix/sleep.c: Likewise.
39832 * posix/spawni.c: Likewise.
39833 * posix/sysconf.c: Likewise.
39834 * posix/times.c: Likewise.
39835 * posix/wait.c: Likewise.
39836 * posix/wait3.c: Likewise.
39837 * posix/wait4.c: Likewise.
39838 * posix/waitpid.c: Likewise.
39839 * resolv/gai_sigqueue.c: Likewise.
39840 * resource/getpriority.c: Likewise.
39841 * resource/getrlimit.c: Likewise.
39842 * resource/getrusage.c: Likewise.
39843 * resource/nice.c: Likewise.
39844 * resource/setpriority.c: Likewise.
39845 * resource/setrlimit.c: Likewise.
39846 * resource/ulimit.c: Likewise.
39847 * rt/aio_cancel.c: Likewise.
39848 * rt/aio_fsync.c: Likewise.
39849 * rt/aio_read.c: Likewise.
39850 * rt/aio_sigqueue.c: Likewise.
39851 * rt/aio_suspend.c: Likewise.
39852 * rt/aio_write.c: Likewise.
39853 * rt/clock_getres.c: Likewise.
39854 * rt/clock_gettime.c: Likewise.
39855 * rt/clock_nanosleep.c: Likewise.
39856 * rt/clock_settime.c: Likewise.
39857 * rt/lio_listio.c: Likewise.
39858 * rt/mq_close.c: Likewise.
39859 * rt/mq_getattr.c: Likewise.
39860 * rt/mq_notify.c: Likewise.
39861 * rt/mq_open.c: Likewise.
39862 * rt/mq_receive.c: Likewise.
39863 * rt/mq_send.c: Likewise.
39864 * rt/mq_setattr.c: Likewise.
39865 * rt/mq_timedreceive.c: Likewise.
39866 * rt/mq_timedsend.c: Likewise.
39867 * rt/mq_unlink.c: Likewise.
39868 * rt/shm_open.c: Likewise.
39869 * rt/shm_unlink.c: Likewise.
39870 * rt/timer_create.c: Likewise.
39871 * rt/timer_delete.c: Likewise.
39872 * rt/timer_getoverr.c: Likewise.
39873 * rt/timer_gettime.c: Likewise.
39874 * rt/timer_settime.c: Likewise.
39875 * setjmp/__longjmp.c: Likewise.
39876 * setjmp/setjmp.c: Likewise.
39877 * signal/kill.c: Likewise.
39878 * signal/killpg.c: Likewise.
39879 * signal/raise.c: Likewise.
39880 * signal/sigaction.c: Likewise.
39881 * signal/sigaltstack.c: Likewise.
39882 * signal/sigblock.c: Likewise.
39883 * signal/sigignore.c: Likewise.
39884 * signal/sigintr.c: Likewise.
39885 * signal/signal.c: Likewise.
39886 * signal/sigpause.c: Likewise.
39887 * signal/sigpending.c: Likewise.
39888 * signal/sigqueue.c: Likewise.
39889 * signal/sigreturn.c: Likewise.
39890 * signal/sigset.c: Likewise.
39891 * signal/sigsetmask.c: Likewise.
39892 * signal/sigstack.c: Likewise.
39893 * signal/sigsuspend.c: Likewise.
39894 * signal/sigtimedwait.c: Likewise.
39895 * signal/sigvec.c: Likewise.
39896 * signal/sigwait.c: Likewise.
39897 * signal/sigwaitinfo.c: Likewise.
39898 * signal/sysv_signal.c: Likewise.
39899 * socket/accept.c: Likewise.
39900 * socket/accept4.c: Likewise.
39901 * socket/bind.c: Likewise.
39902 * socket/connect.c: Likewise.
39903 * socket/getpeername.c: Likewise.
39904 * socket/getsockname.c: Likewise.
39905 * socket/getsockopt.c: Likewise.
39906 * socket/isfdtype.c: Likewise.
39907 * socket/listen.c: Likewise.
39908 * socket/recv.c: Likewise.
39909 * socket/recvfrom.c: Likewise.
39910 * socket/recvmsg.c: Likewise.
39911 * socket/send.c: Likewise.
39912 * socket/sendmsg.c: Likewise.
39913 * socket/sendto.c: Likewise.
39914 * socket/setsockopt.c: Likewise.
39915 * socket/shutdown.c: Likewise.
39916 * socket/sockatmark.c: Likewise.
39917 * socket/socket.c: Likewise.
39918 * socket/socketpair.c: Likewise.
39919 * stdio-common/ctermid.c: Likewise.
39920 * stdio-common/cuserid.c: Likewise.
39921 * stdio-common/remove.c: Likewise.
39922 * stdio-common/rename.c: Likewise.
39923 * stdio-common/renameat.c: Likewise.
39924 * stdio-common/tempname.c: Likewise.
39925 * stdlib/getcontext.c: Likewise.
39926 * stdlib/makecontext.c: Likewise.
39927 * stdlib/setcontext.c: Likewise.
39928 * stdlib/swapcontext.c: Likewise.
39929 * stdlib/system.c: Likewise.
39930 * streams/fattach.c: Likewise.
39931 * streams/fdetach.c: Likewise.
39932 * streams/getmsg.c: Likewise.
39933 * streams/getpmsg.c: Likewise.
39934 * streams/putmsg.c: Likewise.
39935 * streams/putpmsg.c: Likewise.
39936 * sysdeps/unix/bsd/getpt.c: Likewise.
39937 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39938 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39939 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39942 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39943 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39944 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39945 * sysvipc/msgctl.c: Likewise.
39946 * sysvipc/msgget.c: Likewise.
39947 * sysvipc/msgrcv.c: Likewise.
39948 * sysvipc/msgsnd.c: Likewise.
39949 * sysvipc/semctl.c: Likewise.
39950 * sysvipc/semget.c: Likewise.
39951 * sysvipc/semop.c: Likewise.
39952 * sysvipc/semtimedop.c: Likewise.
39953 * sysvipc/shmat.c: Likewise.
39954 * sysvipc/shmctl.c: Likewise.
39955 * sysvipc/shmdt.c: Likewise.
39956 * sysvipc/shmget.c: Likewise.
39957 * termios/tcdrain.c: Likewise.
39958 * termios/tcflow.c: Likewise.
39959 * termios/tcflush.c: Likewise.
39960 * termios/tcgetattr.c: Likewise.
39961 * termios/tcgetpgrp.c: Likewise.
39962 * termios/tcsendbrk.c: Likewise.
39963 * termios/tcsetattr.c: Likewise.
39964 * termios/tcsetpgrp.c: Likewise.
39965 * time/adjtime.c: Likewise.
39966 * time/clock.c: Likewise.
39967 * time/getitimer.c: Likewise.
39968 * time/gettimeofday.c: Likewise.
39969 * time/setitimer.c: Likewise.
39970 * time/settimeofday.c: Likewise.
39971 * time/stime.c: Likewise.
39972 * time/time.c: Likewise.
39974 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39976 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39979 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39981 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39983 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39987 FE_TONEAREST before applying Dekker multiplication and Knuth
39988 addition. Clear inexact exceptions and check for exact zero
39989 results afterwards.
39990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39991 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39993 * math/libm-test.inc (fma_test): Add more tests.
39994 (fma_test_towardzero): Likewise.
39995 (fma_test_downward): Likewise.
39996 (fma_test_upward): Likewise.
39997 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39999 (libc_fesetround): New macro.
40000 (libc_fesetroundf): Likewise.
40001 (libc_fesetroundl): Likewise.
40002 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40004 (libc_fesetround_387): Likewise.
40005 (libc_fesetroundf): New macro.
40006 (libc_fesetround): Likewise.
40007 (libc_fesetroundl): Likewise.
40008 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40010 (libc_fesetroundf): New macro.
40011 (libc_fesetround): Likewise.
40012 (libc_fesetroundl): Likewise.
40013 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40014 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40015 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40017 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40018 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40020 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40021 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40023 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40027 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40028 integer constant usable in #if and use that to give value to enum
40030 (FE_DIVBYZERO): Likewise.
40031 (FE_UNDERFLOW): Likewise.
40032 (FE_OVERFLOW): Likewise.
40033 (FE_INVALID): Likewise.
40034 (FE_INVALID_SNAN): Likewise.
40035 (FE_INVALID_ISI): Likewise.
40036 (FE_INVALID_IDI): Likewise.
40037 (FE_INVALID_ZDZ): Likewise.
40038 (FE_INVALID_IMZ): Likewise.
40039 (FE_INVALID_COMPARE): Likewise.
40040 (FE_INVALID_SOFTWARE): Likewise.
40041 (FE_INVALID_SQRT): Likewise.
40042 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40043 (FE_TONEAREST): Likewise.
40044 (FE_TOWARDZERO): Likewise.
40045 (FE_UPWARD): Likewise.
40046 (FE_DOWNWARD): Likewise.
40047 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40048 (FE_DIVBYZERO): Likewise.
40049 (FE_OVERFLOW): Likewise.
40050 (FE_UNDERFLOW): Likewise.
40051 (FE_INEXACT): Likewise.
40052 (FE_TONEAREST): Likewise.
40053 (FE_DOWNWARD): Likewise.
40054 (FE_UPWARD): Likewise.
40055 (FE_TOWARDZERO): Likewise.
40056 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40057 (FE_UNDERFLOW): Likewise.
40058 (FE_OVERFLOW): Likewise.
40059 (FE_DIVBYZERO): Likewise.
40060 (FE_INVALID): Likewise.
40061 (FE_TONEAREST): Likewise.
40062 (FE_TOWARDZERO): Likewise.
40063 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40064 (FE_OVERFLOW): Likewise.
40065 (FE_UNDERFLOW): Likewise.
40066 (FE_DIVBYZERO): Likewise.
40067 (FE_INEXACT): Likewise.
40068 (FE_TONEAREST): Likewise.
40069 (FE_TOWARDZERO): Likewise.
40070 (FE_UPWARD): Likewise.
40071 (FE_DOWNWARD): Likewise.
40072 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40073 (FE_DIVBYZERO): Likewise.
40074 (FE_OVERFLOW): Likewise.
40075 (FE_UNDERFLOW): Likewise.
40076 (FE_INEXACT): Likewise.
40077 (FE_TONEAREST): Likewise.
40078 (FE_DOWNWARD): Likewise.
40079 (FE_UPWARD): Likewise.
40080 (FE_TOWARDZERO): Likewise.
40082 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40084 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40086 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40088 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40089 commands. Quote $PWD.
40090 (blacklist_exports): Don't use remove_newlines. Replace "declare
40092 (remove_newlines): Remove.
40094 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40096 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40097 * stdlib/stdlib.h (atof): Moved to ...
40098 * include/bits/stdlib-float.h: Here. New file.
40099 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40100 * stdlib/bits/stdlib-float.h: New file.
40101 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40106 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40108 * conform/conformtest.pl (@headers): Add fenv.h.
40109 * conform/data/fenv.h-data: New file.
40110 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40111 include of <math/fenv.h>.
40113 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40114 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40115 && !UNIX98]. Enables tests for XOPEN2K8.
40116 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40117 POSIX2008]: Likewise.
40119 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40120 (struct rusage): Do not expect type or its members.
40123 * math/math.h (FP_NAN): Define macro to integer constant usable in
40124 #if and use that to give value to enum constant.
40125 (FP_INFINITE): Likewise.
40126 (FP_ZERO): Likewise.
40127 (FP_SUBNORMAL): Likewise.
40128 (FP_NORMAL): Likewise.
40130 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40132 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40133 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40136 2012-11-02 Roland McGrath <roland@hack.frob.com>
40138 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40139 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40140 autoconf-time if not.
40141 * configure.in: Remove AC_PREREQ.
40143 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40145 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40146 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40147 of the internal implementation.
40149 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40151 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40152 except include of <misc/sys/syslog.h>.
40154 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40157 function returns with a NULL context exit with zero.
40159 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40161 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40163 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40165 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40166 (run_program_cmd): This.
40167 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40168 (tst_langinfo): New variable. Use it.
40170 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40172 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40173 floating point opcodes.
40175 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40177 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40180 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40182 * sysdeps/mach/hurd/powerpc: Remove directory.
40183 * sysdeps/mach/powerpc: Likewise.
40185 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40187 * scripts/check-local-headers.sh: Ignore c++ headers.
40189 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40191 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40192 __libc_cleanup_region_start argument.
40194 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40199 x * y using scaling, not as x * y + z.
40200 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40202 * math/libm-test.inc (fma_test): Add more tests.
40203 (fma_test_towardzero): Likewise.
40204 (fma_test_downward): Likewise.
40205 (fma_test_upward): Likewise.
40207 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40209 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40211 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40213 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40216 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40218 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40220 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40227 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40230 Fix the order of the list for glibc 2.17.
40231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40234 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40238 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40242 for low part of x being zero before using __atanl (y).
40243 * math/libm-test.inc (atan2_test): Add another test.
40245 * manual/install.texi (Configuring and compiling): Document
40246 general use of test-wrapper and test-wrapper-env.
40247 * INSTALL: Regenerated.
40249 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40250 (__fma): Do not extract and scale down low bits on after-rounding
40251 systems when result rounded to normal precision would have normal
40253 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40254 (__fmal): Do not extract and scale down low bits on after-rounding
40255 systems when result rounded to normal precision would have normal
40257 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40258 (__fmal): Do not extract and scale down low bits on after-rounding
40259 systems when result rounded to normal precision would have normal
40261 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40263 (fma_test): Add more tests.
40264 (fma_test_towardzero): Likewise.
40265 (fma_test_downward): Likewise.
40266 (fma_test_upward): Likewise.
40268 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40270 * sysdeps/i386/tininess.h: Renamed to ...
40271 * sysdeps/x86/tininess.h: This.
40272 * sysdeps/x86_64/tininess.h: Removed.
40274 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40276 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40277 input. Use $(build-program-cmd).
40278 ($(objpfx)tst-array1-static.out): Likewise.
40279 ($(objpfx)tst-array2.out): Likewise.
40280 ($(objpfx)tst-array3.out): Likewise.
40281 ($(objpfx)tst-array4.out): Likewise.
40282 ($(objpfx)tst-array5.out): Likewise.
40283 ($(objpfx)tst-array5-static.out): Likewise.
40285 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40287 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40290 * nss/nsswitch.h (nss_interface_function): Provide new
40291 macro for use with NSS functions.
40292 * grp/initgroups.c: Use new macro.
40293 * nss/getXXbyYY.c: Likewise.
40294 * nss/getXXbyYY_r.c: Likewise.
40295 * nss/getXXent.c: Likewise.
40296 * nss/getXXent_r.c: Likewise.
40297 * sysdeps/posix/getaddrinfo.c: Likewise.
40299 2012-10-30 Andreas Jaeger <aj@suse.de>
40301 * po/ru.po: Update Russion translation from translation project.
40303 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40308 result and shift together with sticky bit instead of replicating
40309 round-to-nearest rounding.
40310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40312 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40313 missing underflow exceptions.
40314 (fma_test_towardzero): Add more tests.
40315 (fma_test_downward): Likewise.
40316 (fma_test_upward): Likewise.
40319 * sysdeps/generic/tininess.h: New file.
40320 * sysdeps/i386/tininess.h: Likewise.
40321 * sysdeps/sh/tininess.h: Likewise.
40322 * sysdeps/x86_64/tininess.h: Likewise.
40323 * stdlib/tst-strtod-underflow.c: Likewise.
40324 * stdlib/tst-tininess.c: Likewise.
40325 * stdlib/strtod_l.c: Include <tininess.h>.
40326 (round_and_return): Do not set errno for exact underflow cases.
40327 Force an underflow exception when setting errno for underflow.
40328 Determine underflow based on rounding to normal precision if
40329 TININESS_AFTER_ROUNDING.
40330 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40331 ERANGE for exact underflow cases.
40332 * stdlib/Makefile (tests): Add tst-tininess and
40333 tst-strtod-underflow.
40334 ($(objpfx)tst-tininess): Use $(link-libm).
40335 ($(objpfx)tst-strtod-underflow): Likewise.
40337 2012-10-30 Andreas Jaeger <aj@suse.de>
40340 * elf/Makefile (tests): Remove conditional for have-initfini-array
40341 since this is now always required and the variable does not exist
40343 (tests-static): Likewise.
40344 (modules-names): Likewise.
40346 * po/eo.po: Add Esperanto translation from translation project.
40348 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40349 merged with constructor/destructor.
40350 (init_array): Likewise.
40351 * elf/tst-array2dep.c (fini_array): Likewise.
40352 (init_array): Likewise.
40354 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40356 * manual/message.texi: Delete @cartouche tags.
40358 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40360 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40362 * sysdeps/mach/hurd/fsync.c: Likewise.
40364 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40365 [_POSIX_REALTIME_SIGNALS]: Change condition to
40366 [_POSIX_REALTIME_SIGNALS > 0].
40368 2012-10-27 Andreas Jaeger <aj@suse.de>
40370 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40371 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40372 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40373 [__WORDSIZE != 64]: Likewise.
40375 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40377 * iconvdata/tst-table.sh: Remove ${SHELL}.
40378 * iconvdata/tst-tables.sh: Likewise.
40380 2012-10-25 David S. Miller <davem@davemloft.net>
40382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40383 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40388 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40389 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40390 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40393 2012-10-25 Roland McGrath <roland@hack.frob.com>
40395 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40396 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40399 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40400 Jim Blandy <jimb@codesourcery.com>
40402 * scripts/cross-test-ssh.sh: New file.
40403 * manual/install.texi (Configuring and compiling): Document use of
40405 * INSTALL: Regenerated.
40407 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40409 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40412 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40414 * Makeconfig (run-program-prefix): Fix comment.
40416 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40417 Jim Blandy <jimb@codesourcery.com>
40419 * Makeconfig (test-wrapper): New variable,
40420 (test-wrapper-env): Likewise.
40421 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40422 (run-built-tests): Define to yes.
40423 (run-program-prefix): Use $(test-wrapper).
40424 (built-program-cmd): Likewise.
40425 * Rules (make-test-out): Use $(test-wrapper-env) and
40426 $(host-built-program-cmd).
40427 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40428 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40430 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40431 $(test-wrapper-env) to tst-rtld-load-self.sh.
40432 ($(objpfx)order2.out): Use $(test-wrapper).
40433 ($(objpfx)tst-initorder.out): Likewise.
40434 ($(objpfx)tst-initorder2.out): Likewise.
40435 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40436 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40437 (test_wrapper_env): New variable. Use it to run ld.so.
40438 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40439 Use it to run ld.so.
40440 (test_wrapper_env): Likewise.
40441 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40442 $(test-wrapper) to run-iconv-test.sh.
40443 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40444 (ICONV): Use $test_wrapper.
40445 * posix/Makefile ($(objpfx)globtest.out): Pass
40446 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40447 globtest.sh, not $(run-program-prefix).
40448 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40449 (test_wrapper): Likewise.
40450 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40451 set together with run_via_rtld_prefix.
40452 (run_program_prefix): Define in terms of test_wrapper and
40453 run_via_rtld_prefix.
40455 2012-10-24 Roland McGrath <roland@hack.frob.com>
40457 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40458 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40462 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40463 Declare __clock_getres, __clock_gettime, __clock_settime,
40464 __clock_nanosleep, and __clock_getcpuclockid.
40465 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40466 Remove librt_hidden_def (clock_gettime).
40467 * sysdeps/unix/clock_gettime.c: Likewise.
40468 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40469 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40470 * rt/clock_getres.c: Define __clock_getres as an alias.
40471 * sysdeps/posix/clock_getres.c: Likewise.
40472 * rt/clock_settime.c: Define __clock_settime as an alias.
40473 * sysdeps/unix/clock_settime.c: Likewise.
40474 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40475 * sysdeps/unix/clock_nanosleep.c: Likewise.
40476 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40477 * rt/clock-compat.c: New file.
40478 * rt/Makefile (librt-routines): Add clock-compat and move
40479 $(clock-routines) to ...
40480 (routines): ... here, new variable.
40481 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40482 Don't add get_clockfreq here.
40483 * rt/Versions (libc: GLIBC_2.17): New version set.
40484 Add clock_* symbols here.
40485 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40487 (GLIBC_2.17): Add clock_* symbols.
40488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40499 * NEWS: Mention the move.
40501 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40502 Use __open, __read, __close rather than their public counterparts.
40503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40504 (__get_clockfreq_via_cpuinfo): Likewise.
40505 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40506 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40508 * config.h.in (HAVE_IFUNC): New #undef.
40509 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40511 * configure: Regenerated.
40513 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40515 * configure.in: Move READELF check to start of file.
40516 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40517 libc_cv_asm_gnu_indirect_function in the process.
40518 * configure: Regenerated.
40520 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40522 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40523 send the output to /dev/null.
40524 (libc_cv_cc_with_libunwind): Likewise.
40525 (libc_cv_as_noexecstack): Likewise.
40526 * configure: Regenerate.
40528 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40530 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40532 * posix/globtest.sh (TMPDIR): Do not set.
40533 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40534 (testout): Likewise.
40536 2012-10-24 Andreas Jaeger <aj@suse.de>
40538 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40539 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40540 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40541 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40542 posix_fadvise64, posix_fallocate64.
40544 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40545 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40546 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40548 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40550 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40552 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40553 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40554 <bits/fcntl-linux.h>.
40555 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40558 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40559 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40560 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40561 [__WORDSIZE != 64]: Likewise.
40563 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40565 * Makeconfig (run-built-tests): New variable.
40566 * Rules [$(cross-compiling) = yes]: Change condition to
40567 [$(run-built-tests) = no].
40568 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40569 to [$(run-built-tests) = yes].
40570 * elf/Makefile [$(cross-compiling) = no]: Likewise
40571 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40572 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40573 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40574 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40575 * io/Makefile [$(cross-compiling) = no]: Likewise.
40576 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40577 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40578 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40579 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40580 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40581 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40582 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40583 * string/Makefile [$(cross-compiling) = no]: Likewise.
40585 * posix/Makefile ($(objpfx)globtest.out): Pass
40586 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40587 $(rtld-installed-name).
40588 * posix/globtest.sh (elf_objpfx): Remove variable.
40589 (rtld_installed_name): Likewise.
40590 (library_path): Likewise.
40591 (run_program_prefix): New variable. Use for running globtest
40594 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40595 Joseph Myers <joseph@codesourcery.com>
40597 * Makeconfig (host-built-program-cmd): New variable.
40598 * elf/Makefile (tst-stackguard1-ARGS): Use
40599 $(host-built-program-cmd).
40600 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40601 (tst-spawn-ARGS): Likewise.
40602 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40604 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40605 Jim Blandy <jimb@codesourcery.com>
40607 * Makeconfig (run-via-rtld-prefix): New variable.
40608 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40609 (built-program-cmd): Likewise.
40611 2012-10-22 Andreas Jaeger <aj@suse.de>
40613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40614 __O_RSYNC if it exists, otherwise to O_SYNC.
40616 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40617 Joseph Myers <joseph@codesourcery.com>
40619 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40621 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40623 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40626 2012-10-22 Andreas Jaeger <aj@suse.de>
40628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40630 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40633 bits/fcntl-linux.h.
40635 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40636 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40643 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40644 Joseph Myers <joseph@codesourcery.com>
40646 * config.make.in (NM): New variable.
40648 2012-10-21 Andreas Jaeger <aj@suse.de>
40650 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40651 definitions and declarations that are provided by
40652 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40654 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40657 * elf/Makefile (tests-static): Add tst-leaks1-static.
40658 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40659 ($(objpfx)tst-leaks1-static): New rule.
40660 ($(objpfx)tst-leaks1-static-mem): Likewise.
40661 (tst-leaks1-static-ENV): New macro.
40662 * elf/dl-open.c (dl_open_worker): Check the main application
40663 only if SHARED is defined.
40664 * elf/tst-leaks1-static.c: New file.
40666 2012-10-20 Andreas Jaeger <aj@suse.de>
40668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40669 generic values for Linux.
40670 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40671 and declarations that are provided by <bits/fcntl-linux.h> and
40672 include <bits/fcntl-linux.h>.
40673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40676 2012-10-20 Roland McGrath <roland@hack.frob.com>
40678 * io/fcntl.h: Move include of <bits/types.h> to the top and
40679 include it unconditionally.
40681 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40683 * wcsmbs/Makefile (tests-ifunc): New variable.
40684 (tests): Add $(tests-ifunc).
40685 * wcsmbs/test-wcschr-ifunc.c: New file.
40686 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40687 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40688 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40689 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40690 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40692 * string/Makefile (tests-ifunc): New variable.
40693 (tests): Add $(tests-ifunc).
40694 * string/test-memccpy.c (TEST_NAME): New macro.
40695 * string/test-memchr.c (TEST_NAME): Likewise.
40696 * string/test-memcmp.c (TEST_NAME): Likewise.
40697 * string/test-memcpy.c (TEST_NAME): Likewise.
40698 * string/test-memmem.c (TEST_NAME): Likewise.
40699 * string/test-memmove.c (TEST_NAME): Likewise.
40700 * string/test-memset.c (TEST_NAME): Likewise.
40701 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40702 * string/test-stpcpy.c (TEST_NAME): Likewise.
40703 * string/test-stpncpy.c (TEST_NAME): Likewise.
40704 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40705 * string/test-strcasestr.c (TEST_NAME): Likewise.
40706 * string/test-strcat.c (TEST_NAME): Likewise.
40707 * string/test-strchr.c (TEST_NAME): Likewise.
40708 * string/test-strcmp.c(TEST_NAME): Likewise.
40709 * string/test-strcpy.c (TEST_NAME): Likewise.
40710 * string/test-strcspn.c (TEST_NAME): Likewise.
40711 * string/test-strlen.c (TEST_NAME): Likewise.
40712 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40713 * string/test-strncmp.c (TEST_NAME): Likewise.
40714 * string/test-strncpy.c (TEST_NAME): Likewise.
40715 * string/test-strnlen.c (TEST_NAME): Likewise.
40716 * string/test-strpbrk.c (TEST_NAME): Likewise.
40717 * string/test-strrchr.c (TEST_NAME): Likewise.
40718 * string/test-strspn.c (TEST_NAME): Likewise.
40719 * string/test-strstr.c (TEST_NAME): Likewise.
40720 * string/test-bcopy-ifunc.c: New file.
40721 * string/test-bzero-ifunc.c: Likewise.
40722 * string/test-memccpy-ifunc.c: Likewise.
40723 * string/test-memchr-ifunc.c: Likewise.
40724 * string/test-memcmp-ifunc.c: Likewise.
40725 * string/test-memcpy-ifunc.c: Likewise.
40726 * string/test-memmem-ifunc.c: Likewise.
40727 * string/test-memmove-ifunc.c: Likewise.
40728 * string/test-mempcpy-ifunc.c: Likewise.
40729 * string/test-memset-ifunc.c: Likewise.
40730 * string/test-rawmemchr-ifunc.c: Likewise.
40731 * string/test-stpcpy-ifunc.c: Likewise.
40732 * string/test-stpncpy-ifunc.c: Likewise.
40733 * string/test-strcasecmp-ifunc.c: Likewise.
40734 * string/test-strcasestr-ifunc.c: Likewise.
40735 * string/test-strcat-ifunc.c: Likewise.
40736 * string/test-strchr-ifunc.c: Likewise.
40737 * string/test-strchrnul-ifunc.c: Likewise.
40738 * string/test-strcmp-ifunc.c: Likewise.
40739 * string/test-strcpy-ifunc.c: Likewise.
40740 * string/test-strcspn-ifunc.c: Likewise.
40741 * string/test-strlen-ifunc.c: Likewise.
40742 * string/test-strncasecmp-ifunc.c: Likewise.
40743 * string/test-strncat-ifunc.c: Likewise.
40744 * string/test-strncmp-ifunc.c: Likewise.
40745 * string/test-strncpy-ifunc.c: Likewise.
40746 * string/test-strnlen-ifunc.c: Likewise.
40747 * string/test-strpbrk-ifunc.c: Likewise.
40748 * string/test-strrchr-ifunc.c: Likewise.
40749 * string/test-strspn-ifunc.c: Likewise.
40750 * string/test-strstr-ifunc.c: Likewise.
40752 * debug/Makefile (tests-ifunc): New variable.
40753 (tests): Add $(tests-ifunc).
40754 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40755 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40756 * debug/test-stpcpy_chk-ifunc.c: New file.
40757 * debug/test-strcpy_chk-ifunc.c: Likewise.
40759 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40762 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40763 header is not read in.
40765 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40767 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40768 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40769 directly. Pass built executable to script as
40770 $(built-program-cmd).
40771 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40772 $testprogram without using LD_LIBRARY_PATH and $ldso.
40774 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40775 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40776 $(rtld-installed-name).
40777 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40778 (rtld_installed_name): Likewise.
40779 (library_path): Likewise.
40780 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40781 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40782 $(run-program-prefix) to tst-tables.sh.
40783 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40784 it to run tst-table-from and tst-table-to.
40785 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40786 Pass it to tst-table.sh.
40787 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40788 $(run-program-prefix) to tst-gettext.sh.
40789 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40791 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40793 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40794 to run tst-gettext.
40795 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40796 to run tst-gettext2.
40797 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40798 to run tst-translit.
40799 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40800 $(run-program-prefix) to tst-mtrace.sh.
40801 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40803 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40804 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40805 $(rtld-installed-name).
40806 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40807 (rtld_installed_name): Likewise.
40808 (run_program_prefix): New variable. Use it to run wordexp-test.
40810 * Makeconfig (ARCH): Remove all definitions.
40811 (machine): Likewise.
40812 [ARCH]: Remove conditional code.
40813 [!objdir]: Give error.
40814 [!objdir] (objpfx): Remove.
40815 [!objdir] (common-objpfx): Likewise.
40816 [!objdir] (common-objdir): Likewise.
40817 * configure.in (config_makefile): Remove. Hardcode Makefile in
40818 AC_CONFIG_FILES call.
40819 * configure: Regenerated.
40822 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40824 (testout): Likewise.
40826 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40827 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40828 $(rtld-installed-name).
40829 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40830 (rtld_installed_name): Likwise.
40831 (runit): Remove function.
40832 (run_getconf): New variable, Use it for running getconf binary.
40834 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40837 * string/test-memmem.c (check_result): New function.
40838 (do_one_test): Use it.
40839 (check1): New function.
40840 (test_main): Use it.
40842 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40844 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40846 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40848 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40849 (_G_LSEEK64): Likewise.
40850 (_G_MMAP64): Likewise.
40851 (_G_FSTAT64): Likewise.
40852 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40853 (_G_LSEEK64): Likewise.
40854 (_G_MMAP64): Likewise.
40855 (_G_FSTAT64): Likewise.
40856 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40857 unconditional. Call __mmap64 directly.
40858 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40859 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40860 __lseek64 directly.
40861 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40862 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40864 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40865 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40866 __lseek64 directly.
40867 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40868 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40869 __lseek64 directly.
40870 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40871 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40872 __lseek64 directly.
40873 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40874 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40875 __fxstat64 directly.
40876 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40877 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40879 (freopen64) [!_G_OPEN64]: Remove conditional code.
40880 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40882 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40883 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40885 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40886 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40888 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40889 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40891 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40892 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40894 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40895 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40897 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40898 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40900 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40902 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40905 * manual/memory.texi (Malloc Tunable Parameters): Add note
40906 about free list pointers overwriting some perturb bytes.
40907 Wording suggested by Roland McGrath.
40909 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40911 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40912 (lgamma_test): Likewise.
40913 (tgamma_test): Likewise.
40915 2012-10-16 Florian Weimer <fweimer@redhat.com>
40918 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40919 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40921 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40923 * NEWS: Mention BZ #14716.
40924 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40925 when removing AVAILABLE1_USES_J macro.
40927 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40929 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40930 (__bswap_64): __uint64_t for unsigned 64-bit int.
40932 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40934 * include/string.h (memmem): Declare libc hidden alias.
40935 * string/memmem.c (memmem): Define libc hidden alias.
40936 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40937 __read, __close instead of open, read, close.
40939 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40942 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40944 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40945 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40946 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40948 (__rawmemchr_sse2): Likewise.
40949 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40950 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40951 (__strchr_sse2): Likewise.
40952 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40953 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40954 (__strcasecmp_sse2): Likewise.
40955 (__strncasecmp_sse2): Likewise.
40956 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40957 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40958 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40959 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40960 (__strrchr_sse2): Likewise.
40961 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40963 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40964 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40965 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40966 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40967 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40968 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40969 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40970 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40971 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40972 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40973 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40974 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40975 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40976 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40977 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40978 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40979 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40980 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40981 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40982 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40983 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40984 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40985 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40986 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40987 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40988 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40989 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40990 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40991 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40992 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40994 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40996 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40997 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40998 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40999 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41001 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41003 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41004 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41005 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41006 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41008 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41009 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41010 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41011 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41012 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41013 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41014 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41015 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41016 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41017 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41018 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41019 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41020 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41021 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41022 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41023 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41024 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41025 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41026 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41027 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41028 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41029 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41030 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41031 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41032 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41033 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41034 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41035 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41036 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41037 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41038 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41039 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41040 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41041 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41042 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41043 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41044 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41045 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41046 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41047 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41048 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41050 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41051 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41052 * include/ifunc-impl-list.h: New file.
41053 * misc/ifunc-impl-list.c: Likewise.
41054 * misc/Makefile (routines): Add ifunc-impl-list.
41055 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41056 * string/test-string.h: Include <ifunc-impl-list.h>.
41057 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41058 TEST_NAME]: New variables.
41059 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41061 (test_init): Call __libc_ifunc_impl_list to initialize
41062 func_list if TEST_IFUNC and TEST_NAME are defined.
41064 * string/Makefile (strop-tests): Add bcopy and bzero.
41065 * string/test-bcopy.c: New file.
41066 * string/test-bzero.c: Likewise.
41067 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41069 * string/test-memset.c: Support bzero test if TEST_BZERO is
41071 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41073 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41075 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41078 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41080 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41081 * configure: Regenerated.
41083 * Makeconfig (+link-static-before-libc): Don't include
41084 $(link-static-libc).
41086 * libio/libio.h (_IO_pos_t): Remove.
41088 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41090 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41093 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41095 * crypt/crypt-entry.c: Include fips-private.h.
41096 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41097 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41098 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41099 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41101 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41103 * crypt/crypt-private.h: Include stdbool.h.
41104 (_ufc_setup_salt_r): Return bool.
41105 * crypt/crypt-entry.c: Include errno.h.
41106 (__crypt_r): Return NULL with EINVAL for bad salt.
41107 * crypt/crypt_util.c (bad_for_salt): New.
41108 (_ufc_setup_salt_r): Check that salt is long enough and within
41109 the specified alphabet.
41110 * crypt/badsalttest.c: New file.
41111 * crypt/Makefile (tests): Add it.
41112 ($(objpfx)badsalttest): New.
41114 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41116 * NEWS: Add entry for BZ #14602.
41118 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41120 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41122 * math/libm-test.inc: Update comment listing what functions and
41124 (isgreater_test): New function.
41125 (isgreaterequal_test): Likewise.
41126 (isless_test): Likewise.
41127 (islessequal_test): Likewise.
41128 (islessgreater_test): Likewise.
41129 (isunordered_test): Likewise.
41130 (main): Call the new functions.
41132 2012-10-09 Roland McGrath <roland@hack.frob.com>
41134 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41135 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41136 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41137 * sysdeps/i386/configure: Regenerated.
41138 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41139 * sysdeps/mach/configure: Regenerated.
41140 * sysdeps/mach/hurd/configure: Regenerated.
41141 * sysdeps/powerpc/configure: Regenerated.
41142 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41143 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41144 * sysdeps/s390/s390-32/configure: Regenerated.
41145 * sysdeps/s390/s390-64/configure: Regenerated.
41146 * sysdeps/sh/configure: Regenerated.
41147 * sysdeps/sparc/configure: Regenerated.
41148 * sysdeps/unix/sysv/linux/configure: Regenerated.
41149 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41150 * sysdeps/x86_64/configure: Regenerated.
41152 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41153 defined. Don't check if MAP is NULL.
41155 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41157 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41158 (_G_stat64): Likewise.
41159 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41160 (_G_stat64): Likewise.
41161 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41162 instead of struct _G_stat64.
41163 * libio/fileops.c (mmap_remap_check): Likewise.
41164 (decide_maybe_mmap): Likewise.
41165 (_IO_new_file_seekoff): Likewise.
41166 (_IO_file_stat): Likewise.
41167 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41169 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41170 instead of struct _G_stat64.
41171 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41173 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41176 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41178 (CHECK_EOL): New macro.
41179 (two_way_short_needle): Check beginning of haystack for EOL. Use
41181 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41182 Replace with CHECK_EOL.
41183 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41184 Replace with CHECK_EOL.
41186 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41188 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41190 * math/libm-test.inc: Update comment listing what functions and
41192 (finite_test): New function.
41193 (isinf_test): Likewise.
41194 (isnan_test): Likewise.
41195 (fpclassify_test): Test subnormal input.
41196 (isfinite_test): Likewise.
41197 (isnormal_test): Likewise.
41198 (main): Call the new functions.
41200 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41203 * Makerules (%.dynsym): Force C locale when running
41204 $(OBJDUMP) --dynamic-syms.
41206 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41208 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41211 2012-10-06 David S. Miller <davem@davemloft.net>
41213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41214 upper 32-bits of the length value in %o2 since we use branch-on-register
41215 tests which consider the entire 64-bit register.
41217 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41219 * string/test-strstr.c (check2): Add a test for page boundary.
41221 2012-10-05 David S. Miller <davem@davemloft.net>
41223 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41224 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41226 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41228 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41229 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41230 and bzero when HWCAP_SPARC_CRYPTO is present.
41232 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41235 * string/test-strstr.c (check2): New function.
41236 (test_main): Call check2.
41238 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41240 * string/bug-strcasestr1.c (do_test): Moved to ...
41241 * string/test-strcasestr.c (check1): Here. New function.
41242 (do_one_test): Break out result checking code into ...
41243 (check_result): This. New function.
41244 (do_one_test): Call check_result.
41245 (test_main): Call check1.
41246 * string/bug-strchr1.c (do_test): Moved to ...
41247 * string/test-strchr.c (check1): Here. New function.
41248 (do_one_test): Break out result checking code into ...
41249 (check_result): This. New function.
41250 (do_one_test): Call check_result.
41251 (test_main): Call check1.
41252 * string/bug-strstr1.c (main): Moved to ...
41253 * string/test-strstr.c (check1): Here. New function.
41254 (do_one_test): Break out result checking code into ...
41255 (check_result): This. New function.
41256 (do_one_test): Call check_result.
41257 (test_main): Call check1.
41258 * string/bug-strcasestr1.c: Removed.
41259 * string/bug-strchr1.c: Likewise.
41260 * string/bug-strstr1.c: Likewise.
41262 * elf/Makefile (dl-routines): Add hwcaps.
41263 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41264 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41265 (_dl_important_hwcaps): Moved to ...
41266 * elf/dl-hwcaps.c: Here. New file.
41267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41270 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41271 if IS_IN_rtld isn't defined.
41273 * elf/dl-support.c (_dl_sysinfo_map): New.
41274 Include "get-dynamic-info.h" and "setup-vdso.h".
41275 (_dl_non_dynamic_init): Call setup_vdso.
41276 * elf/dynamic-link.h: Don't include <assert.h>.
41277 (elf_get_dynamic_info): Moved to ...
41278 * elf/get-dynamic-info.h: Here. New file.
41279 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41280 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41281 * elf/setup-vdso.h: Here. New file.
41282 * elf/rtld.c: Include "setup-vdso.h".
41283 (dl_main): Call setup_vdso.
41285 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41287 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41288 creal in comment listing functions tested. List finite, isinf,
41289 isnan, isless, islessequal, isgreater, isgreaterequal,
41290 islessgreater, isunordered, lgamma_r and pow10 as functions and
41291 macros not tested. Mention which functions not tested are aliases
41292 for other functions. Fix typo. Note that signs of NaNs are not
41295 * scripts/config.guess: Update from config.git.
41296 * scripts/config.sub: Likewise.
41298 2012-10-04 Roland McGrath <roland@hack.frob.com>
41300 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41301 * misc/madvise.c (madvise): Renamed to __madvise.
41302 Make madvise a weak alias.
41303 * include/sys/mman.h: Declare __madvise.
41304 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41305 * sysdeps/unix/syscalls.list
41306 (madvise): Make __madvise the strong name, and madvise a weak alias.
41307 * sysdeps/unix/sysv/linux/syscalls.list
41308 (madvise, mmap): Remove redundant entries.
41309 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41310 * malloc/malloc.c (mtrim): Likewise.
41311 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41313 2012-10-03 Roland McGrath <roland@hack.frob.com>
41315 * sysdeps/mach/hurd/dl-cache.c: File removed.
41316 * config.h.in (USE_LDCONFIG): New #undef.
41317 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41318 * configure: Regenerated.
41319 * elf/Makefile (dl-routines): Add dl-cache only under
41320 [$(use-ldconfig) = yes].
41321 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41322 cache on [USE_LDCONFIG].
41323 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41325 * elf/rtld.c (dl_main): Likewise.
41327 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41329 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41330 _SC_LEVEL4_CACHE_LINESIZE.
41332 2012-10-03 Roland McGrath <roland@hack.frob.com>
41334 * sysdeps/unix/bsd/confstr.h: File removed.
41336 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41338 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41341 2012-10-02 Roland McGrath <roland@hack.frob.com>
41343 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41344 Make 'mapoff' field ElfW(Off) rather than off_t.
41346 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41348 * nscd/Makefile: Remove nscd-cflags and all its users.
41349 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41350 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41353 * malloc.c (malloc_printerr): Clarify error message.
41355 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41359 Set bit_FMA_Usable if FMA is supported.
41360 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41362 (bit_FMA4_Usable): Updated.
41363 (index_FMA_Usable): New macro.
41364 (CPUID_FMA): Likewise
41365 (HAS_FMA): Defined with bit_FMA_Usable.
41367 2012-10-01 Roland McGrath <roland@hack.frob.com>
41369 * bits/types.h (__swblk_t): Type removed.
41370 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41371 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41373 (__SWBLK_T_TYPE): Likewise.
41374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41375 (__SWBLK_T_TYPE): Likewise.
41376 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41377 (__SWBLK_T_TYPE): Likewise.
41378 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41379 (__SWBLK_T_TYPE): Likewise.
41381 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41382 Honza Horak <hhorak@redhat.com>
41384 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41385 (xdr_mapname): Use YPMAXMAP as maxsize.
41386 (xdr_peername): Use YPMAXPEER as maxsize.
41387 (xdr_keydat): Use YPAXRECORD as maxsize.
41388 (xdr_valdat): Use YPMAXRECORD as maxsize.
41390 2012-10-01 Roland McGrath <roland@hack.frob.com>
41392 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41394 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41395 * csu/init-first.c: ... here.
41396 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41397 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41398 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41399 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41400 * sysdeps/i386/init-first.c: File removed.
41401 * sysdeps/sh/init-first.c: File removed.
41403 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41407 if x * y might underflow to zero and z is zero.
41408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41410 * math/libm-test.inc (min_subnorm_value): New variable.
41411 (fma_test): Add more tests.
41412 (fma_test_towardzero): Likewise.
41413 (fma_test_downward): Likewise
41414 (fma_test_upward): Likewise.
41415 (initialize): Set min_subnorm_value.
41417 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41422 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41423 mode for addition resulting in exact zero.
41424 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41429 * math/libm-test.inc (fma_test): Add more tests.
41430 (fma_test_towardzero): New function.
41431 (fma_test_downward): Likewise.
41432 (fma_test_upward): Likewise.
41433 (main): Call the new functions.
41435 2012-09-28 David S. Miller <davem@davemloft.net>
41437 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41439 2012-09-28 Roland McGrath <roland@hack.frob.com>
41441 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41442 instead of SIGALRM.
41444 * sysdeps/gnu/_G_config.h: Moved to ...
41445 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41446 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41447 * sysdeps/generic/_G_config.h: ... here.
41449 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41451 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41453 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41454 Conditionalize target on [libnss_test1.so-version].
41456 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41458 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41459 (elfobjdir): Move out of conditionals.
41461 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41462 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41463 (__nss_lookup_function): Conditionalize label remove_from_tree on
41464 [!DO_STATIC_NSS || SHARED], matching its only use.
41466 2012-09-28 David S. Miller <davem@davemloft.net>
41468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41469 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41471 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41473 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41475 when HWCAP_SPARC_CRYPTO is present.
41477 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41479 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41481 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41484 * stdio-common/vfprintf.c (process_string_arg): Revert
41487 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41489 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41491 * stdio-common/tst-sprintf.c: Include <locale.h>
41492 (main): Test sprintf's handling of incomplete multibyte
41495 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41497 * elf/dl-runtime.c (VERSYMIDX): Removed.
41498 * elf/dl-version.c (VERSYMIDX): Likewise.
41499 * elf/do-rel.h (VERSYMIDX): Likewise.
41500 (VALIDX): Likewise.
41501 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41502 * elf/rtld.c (VALIDX): Likewise.
41503 (ADDRIDX): Likewise.
41504 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41505 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41506 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41507 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41508 (VALIDX): Likewise.
41509 (ADDRIDX): Likewise.
41511 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41513 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41515 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41518 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41520 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41521 addresses are in the same scope as 192.0.2/24.
41522 * posix/gai.conf: Document new scope table defaults.
41524 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41527 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41528 for ftell. Compute offsets from write pointers instead.
41529 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41531 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41534 * libio/Makefile (tests): New test case tst-fseek.
41535 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41536 combination works in wide mode.
41537 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41538 state when the external buffer state changes.
41540 2012-09-27 David S. Miller <davem@davemloft.net>
41543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41544 pass reloc->r_addend in as the 'high' argument to
41545 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41549 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41551 * rt/tst-aio2.c: Include <pthread.h>.
41552 * rt/tst-aio3.c: Likewise.
41554 2012-09-27 Steve Ellcey <sellcey@mips.com>
41556 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41558 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41560 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41561 contents on [SHARED].
41563 2012-09-26 Marek Polacek <polacek@redhat.com>
41567 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41568 for C++ and GCC <4.3 as well as for non GCC compilers.
41570 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41574 2012-09-25 Roland McGrath <roland@hack.frob.com>
41576 * Makefile.in (all, install): Declare with .PHONY.
41577 Reported by Michael Hope <michael.hope@linaro.org>.
41579 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41581 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41582 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41584 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41586 (sydep_routines): Add the new and the internal functions.
41587 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41588 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41590 (GLIBC_2.17): Add the new function.
41591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41592 (GLIBC_2.17): Likewise.
41593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41594 (GLIBC_2.17): Likewise.
41595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41596 (GLIBC_2.17): Likewise.
41597 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41599 2012-09-25 Alan Modra <amodra@gmail.com>
41601 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41602 Add release barrier before setting once_control to say
41603 initialisation is done. Add hints on lwarx. Use macro in
41605 (clear_once_control): Add release barrier.
41607 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41610 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41612 * math/s_clog10.c (__clog10): Likewise.
41613 * math/s_clog10f.c (__clog10f): Likewise.
41614 * math/s_clog10l.c (__clog10l): Likewise.
41615 * math/s_clogf.c (__clogf): Likewise.
41616 * math/s_clogl.c (__clogl): Likewise.
41617 * math/Makefile (libm-calls): Add x2y2m1.
41618 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41619 (__x2y2m1): Likewise.
41620 (__x2y2m1l): Likewise.
41621 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41622 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41625 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41626 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41627 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41628 * sysdeps/i386/fpu/libm-test-ulps: Update.
41629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41632 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41633 int as type of variable DEPTH.
41634 (glob): Use size_t instead of int as type of variables NEWCOUNT
41637 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41639 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41640 Add s_sincosf-sse2.
41641 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41642 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41643 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41644 macros for using routine as __sincosf_ia32.
41645 Use macro for function declaration and weak_alias.
41646 * sysdeps/i386/fpu/libm-test-ulps: Update.
41648 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41651 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41652 subnormal argument.
41653 * math/s_cexpf.c (__cexpf): Likewise.
41654 * math/s_csinf.c (__csinf): Likewise.
41655 * math/s_csinhf.c (__csinhf): Likewise.
41656 * math/s_ctanf.c (__ctanf): Likewise.
41657 * math/s_ctanhf.c (__ctanhf): Likewise.
41658 * math/s_ccosh.c (__ccoshf): Likewise.
41659 * math/s_cexp.c (__cexpl): Likewise.
41660 * math/s_csin.c (__csin): Likewise.
41661 * math/s_csinh.c (__csinh): Likewise.
41662 * math/s_ctan.c (__ctan): Likewise.
41663 * math/s_ctanh.c (ctanh): Likewise.
41664 * math/s_ccoshl.c (__ccoshl): Likewise.
41665 * math/s_cexpl.c (__cexpl): Likewise.
41666 * math/s_csinl.c (__csinl): Likewise.
41667 * math/s_csinhl.c (__csinhl): Likewise.
41668 * math/s_ctanl.c (__ctanl): Likewise.
41669 * math/s_ctanhl.c (__ctanhl): Likewise.
41671 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41673 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41674 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41675 (_IO_off_t): Define to __off_t, not _G_off_t.
41676 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41677 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41678 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41679 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41680 type of __dummy and __dummy2 fields.
41681 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41682 (_G_ssize_t): Likewise.
41683 (_G_off_t): Likewise.
41684 (_G_pid_t): Likewise.
41685 (_G_uid_t): Likewise.
41686 (_G_wchar_t): Likewise.
41687 (_G_wint_t): Likewise.
41688 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41689 (_G_ssize_t): Likewise.
41690 (_G_off_t): Likewise.
41691 (_G_pid_t): Likewise.
41692 (_G_uid_t): Likewise.
41693 (_G_wchar_t): Likewise.
41694 (_G_wint_t): Likewise.
41695 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41696 (_G_ssize_t): Likewise.
41697 (_G_off_t): Likewise.
41698 (_G_pid_t): Likewise.
41699 (_G_uid_t): Likewise.
41700 (_G_wchar_t): Likewise.
41701 (_G_wint_t): Likewise.
41703 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41705 * malloc/arena.c: Include malloc-sysdep.h.
41706 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41707 is sufficient to shrink the heap or an unmap is needed.
41708 * sysdeps/generic/malloc-sysdep.h: New file. Define
41709 new function check_may_shrink_heap.
41710 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41711 new function check_may_shrink_heap.
41713 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41715 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41718 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41720 * catgets/test-gencat.sh: Add "set -e".
41721 * elf/tst-pathopt.sh: Likewise.
41722 * grp/tst_fgetgrent.sh: Likewise.
41723 * iconvdata/run-iconv-test.sh: Likewise.
41724 * intl/tst-gettext.sh: Likewise.
41725 * intl/tst-gettext2.sh: Likewise.
41726 * intl/tst-gettext4.sh: Likewise.
41727 * intl/tst-gettext6.sh: Likewise.
41728 * intl/tst-translit.sh: Likewise.
41729 * io/ftwtest-sh: Likewise.
41730 * libio/test-freopen.sh: Likewise.
41731 * malloc/tst-mtrace.sh: Likewise.
41732 * posix/globtest.sh: Likewise.
41733 * posix/tst-getconf.sh: Likewise.
41734 * posix/wordexp-tst.sh: Likewise.
41735 * stdio-common/tst-printf.sh: Likewise.
41736 * stdio-common/tst-unbputc.sh: Likewise.
41737 * stdlib/tst-fmtmsg.sh: Likewise.
41738 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41739 * catgets/Makefile: Do not specify -e option when running
41740 testsuite shell scripts.
41741 * elf/Makefile: Likewise.
41742 * grp/Makefile: Likewise.
41743 * iconvdata/Makefile: Likewise.
41744 * intl/Makefile: Likewise.
41745 * io/Makefile: Likewise.
41746 * libio/Makefile: Likewise.
41747 * malloc/Makefile: Likewise.
41748 * posix/Makefile: Likewise.
41749 * stdio-common/Makefile: Likewise.
41750 * stdlib/Makefile: Likewise.
41751 * sysdeps/x86_64/Makefile: Likewise.
41753 * io/ftwtest-sh: Add copyright header.
41754 * posix/globtest.sh: Likewise.
41755 * posix/tst-getconf.sh: Likewise.
41756 * posix/wordexp-tst.sh: Likewise.
41757 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41759 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41762 * Makeconfig (+link): Defined as $(+link-static) if
41763 $(build-shared) isn't yes.
41764 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41766 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41768 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41771 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41772 new chunk size with MALLOC_ALIGN_MASK.
41774 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41777 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41779 (__printf_fphex): Determine rounding using get_rounding_mode and
41781 * stdio-common/tst-printf-round.c (struct hex_test): New
41783 (hex_tests): New variable.
41784 (test_hex_in_one_mode): New function.
41785 (do_test): Also run tests for hex float output.
41787 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41789 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41790 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41791 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41792 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41793 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41794 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41795 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41796 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41798 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41800 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41801 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41802 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41803 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41805 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41808 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41810 * elf/tst-rtld-load-self.sh: New test.
41811 * elf/Makefile: Run it.
41813 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41815 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41816 (tst-writev-ENV): Remove.
41817 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41819 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41821 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41823 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41825 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41827 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41829 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41830 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41831 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41834 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41837 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41838 * config.make.in (have-cpp-asm-debuginfo): Removed.
41839 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41840 * configure: Regenerated.
41842 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41845 * stdio-common/printf_fp.c: Include <stdbool.h> and
41847 (___printf_fp): Determine rounding using get_rounding_mode and
41849 * stdio-common/tst-printf-round.c: New file.
41850 * stdio-common/Makefile (tests): Add tst-printf-round.
41851 (link-libm): New variable.
41852 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41854 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41857 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41858 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41860 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41863 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41865 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41866 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41867 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41868 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41870 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41873 * include/rounding-mode.h: New file.
41874 * sysdeps/generic/get-rounding-mode.h: Likewise.
41875 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41876 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41877 (MAX_VALUE): New macro.
41878 (MIN_VALUE): Likewise.
41879 (overflow_value): New function.
41880 (underflow_value): Likewise.
41881 (round_and_return): Use overflow_value and underflow_value to
41882 determine return values in overflow and underflow cases. Use
41883 round_away to determine rounding depending on rounding mode.
41884 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41885 determine return values in overflow and underflow cases.
41886 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41887 (struct test_results): New structure.
41888 (struct test): Use struct test_results to store expected results
41889 for all rounding modes.
41890 (TEST): Include expected results for all rounding modes.
41891 (test_in_one_mode): New function.
41892 (do_test): Use test_in_one_mode to compute and check results.
41893 Check results for all rounding modes.
41894 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41897 2012-12-09 Allan McRae <allan@archlinux.org>
41899 * sysdeps/i386/fpu/libm-test-ulps: Update
41901 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41903 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41904 (_G_int32_t): Likewise.
41905 (_G_uint16_t): Likewise.
41906 (_G_uint32_t): Likewise.
41907 (_G_HAVE_BOOL): Likewise.
41908 (_G_HAVE_ATEXIT): Likewise.
41909 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41910 (_G_HAVE_IO_FILE_OPEN): Likewise.
41911 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41912 (_G_int32_t): Likewise.
41913 (_G_uint16_t): Likewise.
41914 (_G_uint32_t): Likewise.
41915 (_G_HAVE_BOOL): Likewise.
41916 (_G_HAVE_ATEXIT): Likewise.
41917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41918 (_G_HAVE_IO_FILE_OPEN): Likewise.
41919 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41920 (_G_int32_t): Likewise.
41921 (_G_uint16_t): Likewise.
41922 (_G_uint32_t): Likewise.
41923 (_G_HAVE_BOOL): Likewise.
41924 (_G_HAVE_ATEXIT): Likewise.
41925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41926 (_G_HAVE_IO_FILE_OPEN): Likewise.
41928 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41930 * csu/libc-tls.c: Update copyright years.
41932 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41934 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41935 [!_G_USING_THUNKS]: Remove conditional code.
41936 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41937 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41939 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41940 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41941 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41942 (_G_VTABLE_LABEL_PREFIX): Likewise.
41943 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41944 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41945 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41946 (_G_VTABLE_LABEL_PREFIX): Likewise.
41947 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41948 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41949 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41950 (_G_VTABLE_LABEL_PREFIX): Likewise.
41951 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41953 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41955 * libio/Makefile: Include ../Makeconfig before tests.
41956 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41957 only if $(build-shared) is yes.
41959 * iconv/gconv_db.c: Update copyright years.
41961 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41963 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41964 unwind info if defined PIC. Fix special cases description.
41965 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41967 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41969 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41971 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41973 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41975 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41978 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41979 (LDLIBS-tst-chk4): This.
41980 (LDFLAGS-tst-chk5): Renamed to ...
41981 (LDLIBS-tst-chk5): This.
41982 (LDFLAGS-tst-chk6): Renamed to ...
41983 (LDLIBS-tst-chk6): This.
41984 (LDFLAGS-tst-lfschk4): Renamed to ...
41985 (LDLIBS-tst-lfschk4): This.
41986 (LDFLAGS-tst-lfschk5): Renamed to ...
41987 (LDLIBS-tst-lfschk5): This.
41988 (LDFLAGS-tst-lfschk6): Renamed to ...
41989 (LDLIBS-tst-lfschk6): This.
41991 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41992 on $(common-objpfx)soversions.mk.
41994 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41997 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42000 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42002 * malloc/arena.c (arena_get_retry): New function that gets
42003 another arena for the caller to try its request on.
42004 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42005 current arena cannot fulfill the request.
42006 (__libc_memalign): Likewise.
42007 (__libc_memalign): Likewise.
42008 (__libc_pvalloc): Likewise.
42009 (__libc_calloc): Likewise.
42011 2012-09-05 John Tobey <john.tobey@gmail.com>
42014 * manual/arith.texi (Operations on Complex): Fix description
42015 of carg branch cut.
42017 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42020 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42024 * manual/memory.texi (Memory): Make order of menu items match
42027 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42029 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42030 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42031 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42033 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42035 * csu/libc-tls.c (static_dtv): Renamed to ...
42036 (_dl_static_dtv): This. Make it global.
42037 (_dl_initial_dtv): Removed.
42038 (__libc_setup_tls): Updated.
42039 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42040 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42043 2012-09-06 Petr Machata <pmachata@redhat.com>
42045 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42046 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42047 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42048 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42050 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42053 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42054 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42057 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42060 * Makeconfig (link-static-before-libc): Replace $(+prector)
42062 (link-static-after-libc): Replace $(+postctor) with
42064 (link-bounded): Replace $(+prector)/$(+postctor) with
42065 $(+prectorT)/$(+postctorT).
42066 (+prectorT): New macro.
42067 (+postctorT): Likewise.
42069 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42071 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42072 (round_str): Handle values above the maximum for IBM long double
42074 * stdlib/tst-strtod-round.c (tests): Regenerated.
42076 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42078 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42080 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42081 zarch_nohighgprs around the zarch optimized routines.
42082 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42083 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42084 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42087 2012-09-05 David S. Miller <davem@davemloft.net>
42089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42091 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42092 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42093 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42094 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42097 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42099 * malloc/arena.c: Fold copyright years.
42100 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42102 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42104 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42106 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42108 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42110 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42112 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42113 change internal state upon failure.
42115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42117 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42118 * malloc/memusage.c (mmap): Likewise.
42119 (mmap64, mremap): Likewise. Adjust name in comment.
42121 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42123 * libio/fileops.c: Fix typos in comments.
42124 * libio/oldfileops.c: Likewise.
42125 * libio/wfileops.c: Likewise.
42127 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42130 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42131 (tst-malloc-usable-ENV): Set environment for test case.
42132 * malloc/hooks.c (malloc_check_get_size): New function to get
42134 * malloc/malloc.c (musable): Use malloc_check_get_size.
42135 * malloc/tst-malloc-usable.c: New test case.
42137 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42139 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42141 2012-09-05 Allan McRae <allan@archlinux.org>
42144 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42145 determine header location.
42146 * configure: Regenerated.
42148 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42150 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42152 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42153 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42155 (test): Regenerate.
42157 2012-09-04 David S. Miller <davem@davemloft.net>
42159 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42160 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42161 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42163 2012-09-04 Florian Weimer <fweimer@redhat.com>
42165 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42168 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42170 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42173 * libio/iogetdelim.c: Include <limits.h>.
42174 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42175 + len + 1 would overflow.
42177 2012-09-03 Andreas Jaeger <aj@suse.de>
42179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42180 * sysdeps/i386/fpu/libm-test-ulps: Update.
42182 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42184 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42185 Add s_sinf-sse2, s_conf-sse2.
42187 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42188 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42189 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42190 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42192 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42193 for using routine as __sinf_ia32.
42194 Use macro for function declaration and weak_alias.
42195 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42196 for using routine as __cosf_ia32.
42197 Use macro for function declaration and weak_alias.
42199 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42200 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42202 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42203 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42206 * math/libm-test.inc (cos_test): Add more test cases.
42207 (sin_test): Likewise.
42208 (sincos_test): Likewise.
42210 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42213 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42215 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42217 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42220 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42221 first element of the GOT.
42222 (elf_machine_load_address): Return the difference between
42223 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42225 2012-09-01 Allan McRae <allan@archlinux.org>
42228 * configure.in (AWK): Require gawk version 3.0 or later.
42229 * configure: Regenerated.
42231 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42233 * sysdeps/unix/sysv/linux/kernel-features.h
42234 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42235 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42236 [__NR_clock_getres]: Make code unconditional.
42237 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42238 (clock_getcpuclockid): Remove code left unreachable by removal of
42240 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42241 code unconditional.
42242 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42243 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42244 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42245 Make code unconditional.
42246 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42247 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42248 * sysdeps/unix/sysv/linux/clock_settime.c
42249 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42251 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42254 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42257 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42258 scripts/test-installation.pl.
42260 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42261 and $ld_so_version if it is set.
42263 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42266 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42267 failure if reading from procfs failed.
42268 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42270 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42272 * sysdeps/unix/sysv/linux/kernel-features.h
42273 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42274 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42275 Remove conditional code.
42276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42277 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42278 Remove conditional code.
42279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42280 * sysdeps/unix/sysv/linux/i386/fxstat.c
42281 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42283 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42284 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42286 * sysdeps/unix/sysv/linux/i386/lxstat.c
42287 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42289 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42290 Remove conditional code.
42291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42292 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42293 Remove conditional code.
42294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42295 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42296 <kernel-features.h>.
42297 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42299 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42300 Remove conditional code.
42301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42302 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42303 Remove conditional.
42305 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42308 * NEWS: Add fixed bug number.
42310 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42313 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42314 underflowing exponent in case of negative sign.
42315 * stdlib/tst-strtod-round-data: Add more tests.
42316 * stdlib/tst-strtod-round.c (tests): Regenerated.
42319 * stdlib/strtod_l.c (NDIG): Remove.
42320 (HEXNDIG): Likewise.
42321 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42322 smallest representable value.
42323 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42324 lie within an exact representation of 1/2 ulp of the result.
42325 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42327 (TENS_P9_IDX): Define unconditionally.
42328 (TENS_P9_SIZE): Likewise.
42329 (TENS_P10_IDX): Likewise.
42330 (TENS_P10_SIZE): Likewise.
42331 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42332 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42333 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42334 entries for 10^2^13 and 10^2^14.
42335 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42336 (TENS_P13_IDX): Define.
42337 (TENS_P13_SIZE): Likewise.
42338 (TENS_P14_IDX): Likewise.
42339 (TENS_P14_SIZE): Likewise.
42340 (_fpioconst_pow10): Change array size to
42341 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42343 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42344 1024]: Add entries for 10^2^13 and 10^2^14.
42345 [LAST_POW10 > _LAST_POW10]: Remove #error.
42346 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42347 (_fpioconst_pow10): Change array size to
42348 FPIOCONST_POW10_ARRAY_SIZE.
42349 * stdlib/gen-fpioconst.c: New file.
42350 * stdlib/gen-tst-strtod-round.c: Likewise.
42351 * stdlib/tst-strtod-round-data: Likewise.
42352 * stdlib/tst-strtod-round.c: Likewise.
42353 * stdlib/Makefile (tests): Add tst-strtod-round.
42356 * stdlib/strtod_l.c: Include <stdint.h>.
42357 (NDEBUG): Do not define.
42358 (round_and_return): Change EXPONENT parameter to type intmax_t.
42359 Rearrange calculations to avoid internal overflow possibilities.
42360 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42361 Rearrange calculations to avoid internal overflow possibilities.
42362 Assert that number fits inside MPNSIZE limbs.
42363 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42364 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42365 calculations and add assertions to avoid internal overflow
42366 possibilities. Add casts to avoid signed/unsigned operations.
42367 * stdlib/tst-strtod-overflow.c: New file.
42368 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42370 2012-08-25 Marek Polacek <polacek@redhat.com>
42372 * time/time.h: Fix some typos in comments.
42374 2012-08-23 Roland McGrath <roland@hack.frob.com>
42376 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42377 * posix/tst-rfc3484-2.c: Likewise.
42378 * posix/tst-rfc3484-3.c: Likewise.
42380 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42382 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42383 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42385 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42387 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42388 #include of fxstatat64.c.
42390 2012-08-22 Roland McGrath <roland@hack.frob.com>
42392 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42393 * shadow/getspent_r.c: Likewise.
42394 * shadow/getspnam.c: Likewise.
42395 * shadow/getspnam_r.c: Likewise.
42396 * gshadow/getsgent.c: Likewise.
42397 * gshadow/getsgent_r.c: Likewise.
42398 * gshadow/getsgnam.c: Likewise.
42399 * gshadow/getsgnam_r.c: Likewise.
42400 * inet/getnetbyad.c: Likewise.
42401 * inet/getnetbyad_r.c: Likewise.
42402 * inet/getnetbynm.c: Likewise.
42403 * inet/getnetbynm_r.c: Likewise.
42404 * inet/getnetent.c: Likewise.
42405 * inet/getnetent_r.c: Likewise.
42406 * inet/getproto.c: Likewise.
42407 * inet/getproto_r.c: Likewise.
42408 * inet/getprtent.c: Likewise.
42409 * inet/getprtent_r.c: Likewise.
42410 * inet/getprtname.c: Likewise.
42411 * inet/getprtname_r.c: Likewise.
42412 * inet/getrpcbyname.c: Likewise.
42413 * inet/getrpcbyname_r.c: Likewise.
42414 * inet/getrpcbynumber.c: Likewise.
42415 * inet/getrpcbynumber_r.c: Likewise.
42416 * inet/getrpcent.c: Likewise.
42417 * inet/getrpcent_r.c: Likewise.
42418 * inet/getaliasent.c: Likewise.
42419 * inet/getaliasent_r.c: Likewise.
42420 * inet/getaliasname.c: Likewise.
42421 * inet/getaliasname_r.c: Likewise.
42422 * nscd/getgrgid_r.c: Likewise.
42423 * nscd/getgrnam_r.c: Likewise.
42424 * nscd/gethstbyad_r.c: Likewise.
42425 * nscd/gethstbynm3_r.c: Likewise.
42426 * nscd/getpwnam_r.c: Likewise.
42427 * nscd/getpwuid_r.c: Likewise.
42428 * nscd/getsrvbynm_r.c: Likewise.
42429 * nscd/getsrvbypt_r.c: Likewise.
42430 * nscd/gai.c: Likewise.
42432 * configure.in (build_nscd): New substituted variable, set
42433 by --disable-build-nscd and defaults to $use_nscd.
42434 * configure: Regenerated.
42435 * config.make.in (build-nscd): New substituted variable.
42436 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42437 Change conditional to require [$(build-nscd) = yes] as well.
42438 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42441 * configure.in (use_nscd): New substituted variable, set by
42442 --disable-nscd. If enabled, define USE_NSCD.
42443 * configure: Regenerated.
42444 * config.h.in: Add USE_NSCD.
42445 * config.make.in (use-nscd): New substituted variable.
42446 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42447 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42448 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42449 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42450 (CFLAGS-getgrnam_r.c): Likewise.
42451 (CFLAGS-initgroups.c): Likewise.
42452 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42453 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42455 * inet/getnetgrent_r.c
42456 (nscd_setnetgrent): New function, broken out of ...
42457 (setnetgrent): ... here. Call it.
42458 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42459 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42460 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42461 * nscd/Makefile (routines, aux): Move definitions after include of
42462 Makeconfig. Conditionalize on [$(use-nscd) != no].
42463 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42464 Conditionalize on [USE_NSCD].
42465 (is_nscd, nscd_init_cb): Likewise.
42466 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42467 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42468 * nss/nss_db/db-init.c: Likewise.
42469 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42471 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42472 (make_request): Use it.
42473 (cache_valid_p): New function.
42474 (__check_pf): Use it.
42475 * NEWS: Add item for --disable-nscd.
42477 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42479 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42480 to support sed >= 4.2.1-20-ga9bf076.
42481 * configure: Regenerated.
42483 2012-08-22 Roland McGrath <roland@hack.frob.com>
42485 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42486 Conditionalize whole body on [IREL].
42488 2012-08-22 Jeff Law <law@redhat.com>
42491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42492 if the family is PF_UNSPEC.
42494 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42496 * Makerules (lib-version): Rename from V.
42497 (install-lib-nosubdir): Change V to lib-version.
42499 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42502 * powerpc32/power6/wcschr.c: New file.
42503 * powerpc32/power6/wcscpy.c: New file.
42504 * powerpc32/power6/wcsrchr.c: New file.
42505 * powerpc64/power6/wcschr.c: New file.
42506 * powerpc64/power6/wcscpy.c: New file.
42507 * powerpc64/power6/wcsrchr.c: New file.
42509 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42511 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42512 (two_way_short_needle): Use it.
42513 * string/strstr.c (AVAILABLE1_USES_J): Define.
42514 * string/strcasestr.c: Likewise.
42516 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42518 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42521 * NEWS: Add an entry.
42522 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42523 define their defaults.
42524 (two_way_short_needle): Detect end-of-string on-the-fly.
42525 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42526 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42527 * string/bug-strcasestr1.c: New test.
42528 * string/Makefile: Run it.
42530 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42533 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42534 the first character.
42536 2012-08-21 Roland McGrath <roland@hack.frob.com>
42538 * csu/elf-init.c (__libc_csu_irel): Function removed.
42539 * csu/libc-start.c (apply_irel): New function.
42540 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42542 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42544 * sysdeps/unix/sysv/linux/kernel-features.h
42545 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42546 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42547 <kernel-features.h>.
42548 [__NR_fadvise64_64]: Make code unconditional.
42549 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42550 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42551 !__NR_fadvise64_64)]: Likewise.
42552 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42553 !__NR_fadvise64_64))]: Likewise.
42554 [__NR_fadvise64]: Make code unconditional.
42555 [!__NR_fadvise64]: Remove conditional code.
42556 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42557 <kernel-features.h>.
42558 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42560 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42563 not include <kernel-features.h>.
42564 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42566 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42568 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42569 include <kernel-features.h>.
42570 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42572 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42575 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42577 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42578 slight instruction rearrangements per scrollpipe analysis.
42579 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42581 2012-08-20 Roland McGrath <roland@hack.frob.com>
42583 * manual/syslog.texi (syslog; vsyslog, closelog):
42584 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42585 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42587 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42588 DSOCAPS to match condition on defining it.
42590 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42592 * sysdeps/unix/sysv/linux/kernel-features.h
42593 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42595 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42596 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42598 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42599 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42601 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42602 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42604 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42605 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42607 * sysdeps/unix/sysv/linux/kernel-features.h
42608 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42609 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42611 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42612 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42613 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42614 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42615 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42616 Make code unconditional.
42617 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42618 (__mmap64) [!__NR_mmap2]: Likewise.
42619 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42620 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42621 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42622 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42623 [__NR_mmap2]: Make code unconditional.
42624 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42625 (__mmap64) [!__NR_mmap2]: Likewise.
42627 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42629 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42631 2012-08-18 Andreas Jaeger <aj@suse.de>
42633 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42635 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42637 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42638 * include/unistd.h (__have_sock_cloexec): Likewise.
42639 (__have_pipe2): Likewise.
42640 (__have_dup3): Likewise.
42642 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42645 * include/unistd.h (__have_pipe2): Change define into an extern int.
42646 (__have_dup3): Likewise.
42647 * socket/have_sock_cloexec.c: Include fcntl.h.
42648 (__have_pipe2): New variable.
42649 (__have_dup3): Likewise.
42651 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42653 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42655 2012-08-17 Marek Polacek <polacek@redhat.com>
42657 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42658 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42660 2012-08-17 Roland McGrath <roland@hack.frob.com>
42662 * configure.in: Add AC_SUBST for sysheaders.
42663 * configure: Regenerated.
42664 * config.make.in (sysheaders): New substituted variable.
42666 * sysdeps/unix/mkfifo.c: Moved ...
42667 * sysdeps/posix/mkfifo.c: ... here.
42668 * sysdeps/unix/mkfifoat.c: Moved ...
42669 * sysdeps/posix/mkfifoat.c: ... here.
42671 * sysdeps/unix/utime.c: Moved ...
42672 * sysdeps/posix/utime.c: ... here.
42674 * sysdeps/unix/time.c: Moved ...
42675 * sysdeps/posix/time.c: ... here.
42676 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42677 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42679 * sysdeps/unix/nice.c: Moved ...
42680 * sysdeps/posix/nice.c: ... here.
42682 * sysdeps/unix/alarm.c: Moved ...
42683 * sysdeps/posix/alarm.c: ... here.
42685 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42687 2012-08-17 Jeff Law <law@redhat.com>
42689 * intl/Makefile (codeset_mo): New variable.
42690 ($(codeset_mo)): New target.
42691 (tst-codeset.out): Depend on that. Remove explicit rule.
42692 (tst-gettext3.out, tst-gettext5.out): Likewise.
42693 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42694 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42695 * intl/tst-codeset.sh: Remove.
42696 * intl/tst-gettext3.sh: Likewise.
42697 * intl/tst-gettext5.sh: Likewise.
42699 2012-08-17 Roland McGrath <roland@hack.frob.com>
42701 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42702 * sysdeps/unix/syscalls.list: ... here.
42704 * sysdeps/posix/getaddrinfo.c
42705 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42706 (gaiconf_init, gaiconf_reload): Use them.
42707 [!_STATBUF_ST_NSEC]
42708 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42709 Define using time_t rather than struct timespec.
42711 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42712 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42714 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42716 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42717 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42720 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42721 __libc_cleanup_push argument.
42723 * bits/param.h: New file.
42724 * misc/sys/param.h: New file.
42725 * include/sys/param.h: New file.
42726 * misc/Makefile (headers): Add bits/param.h.
42727 * sysdeps/generic/sys/param.h: File removed.
42728 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42729 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42730 * sysdeps/mach/hurd/bits/param.h: New file.
42731 * sysdeps/mach/hurd/sys/param.h: File removed.
42733 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42736 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42738 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42739 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42742 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42743 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42744 rather than -D_IO_MTSAFE_IO conditionally.
42745 * stdio-common/Makefile (CPPFLAGS): Likewise.
42746 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42747 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42748 Use $(libio-mtsafe).
42749 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42750 of -D_IO_MTSAFE_IO.
42751 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42752 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42753 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42754 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42755 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42756 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42757 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42758 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42759 (CFLAGS-fread_u_chk.c): Likewise.
42760 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42761 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42762 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42763 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42764 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42765 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42766 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42767 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42768 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42770 * libio/Makefile: Test [$(libc-reentrant) = yes]
42771 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42774 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42775 * sysdeps/pthread/configure: File removed.
42776 * sysdeps/pthread/Makeconfig: New file.
42777 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42778 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42780 2012-08-16 Gary Benson <gbenson@redhat.com>
42782 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42783 unmapping the first object in a namespace.
42785 2012-08-16 Roland McGrath <roland@hack.frob.com>
42787 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42788 (__internal_setnetgrent): ... this. Add internal_function to
42789 definition. Add libc_hidden_def.
42790 (setnetgrent): Update caller.
42791 (internal_endnetgrent): Renamed to ...
42792 (__internal_endnetgrent): ... this. Add internal_function to
42793 definition. Add libc_hidden_def.
42794 (endnetgrent): Update caller.
42795 (internal_getnetgrent_r): Renamed to ...
42796 (__internal_getnetgrent_r): ... this. Add internal_function to
42797 definition. Add libc_hidden_def.
42798 (__getnetgrent_r): Update caller.
42799 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42801 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42803 * stdlib/longlong.h: Update from GCC.
42805 2012-08-16 Roland McGrath <roland@hack.frob.com>
42807 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42808 on _QL, which is set by umul_ppmm but never used.
42809 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42810 variables, which are set by GMP macros but never used.
42811 * stdio-common/_itowa.c (_itowa): Likewise.
42812 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42813 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42815 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42817 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42818 struct La_sh_regs is not constant.
42819 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42820 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42821 and struct La_sparc64_regs are not constant.
42823 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42825 * sysdeps/unix/sysv/linux/kernel-features.h
42826 (__ASSUME_POSIX_TIMERS): Remove.
42827 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42828 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42829 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42830 Make code unconditional.
42831 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42832 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42833 Make code unconditional.
42834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42835 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42836 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42838 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42839 Make code unconditional.
42840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42841 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42842 (__libc_missing_posix_timers): Remove.
42844 2012-08-15 Roland McGrath <roland@hack.frob.com>
42846 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42847 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42849 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42851 * elf/dl-sym.c: Include <stdlib.h>.
42853 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42854 constants, which avoids warnings in 32-bit builds.
42856 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42857 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42859 * misc/lseek.c: File moved to ...
42860 * io/lseek.c: ... here.
42862 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42864 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42865 shifting LEN more than 31 bits at once.
42867 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42870 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42871 segmentation fault for a case of two empty input strings.
42872 * string/test-strncasecmp.c (check1): Renamed to...
42873 (bz12205): ...this.
42874 (bz14195): Add new testcase for two empty input strings and N > 0.
42875 (test_main): Call new testcase, adapt for renamed function.
42877 2012-08-15 Andreas Jaeger <aj@suse.de>
42880 * crypt/md5test2.c: New test, based on test supplied by Serge
42881 Belyshev <belyshev@depni.sinp.msu.ru>.
42882 * crypt/Makefile (xtests): Add md5test-giant..
42883 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42885 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42888 * crypt/md5.c (md5_process_block): Don't assume the buffer
42889 length is less than 2**32.
42890 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42891 length is less than 2**64.
42893 2012-08-15 Roland McGrath <roland@hack.frob.com>
42895 * string/str-two-way.h: Include <sys/param.h>.
42896 (MAX): Macro removed.
42898 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42899 Move #define and #undef of memmove to just before and after
42900 including <string.h>.
42902 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42903 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42904 and after including <string.h>. Move declarations of
42905 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42906 to before #include "string/memmove.c".
42908 * include/dirent.h: Declare __getdirentries.
42910 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42911 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42913 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42915 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42916 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42917 * sysdeps/i386/configure: Regenerated.
42918 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42919 STABS_CURRENT_FILE, and STABS_FUN.
42920 (END): Remove call to STABS_FUN_END.
42921 (STABS_CURRENT_FILE1): Delete.
42922 (STABS_CURRENT_FILE): Likewise.
42923 (STABS_FUN): Likewise.
42924 (STABS_FUN_END): Likewise.
42925 (STABS_FUN2): Likewise.
42926 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42927 * sysdeps/x86_64/configure: Regenerated.
42929 2012-08-14 Roland McGrath <roland@hack.frob.com>
42931 * elf/dl-open.c: Include <atomic.h>.
42932 * elf/dl-lookup.c: Likewise.
42934 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42936 * sysdeps/unix/sysv/linux/kernel-features.h
42937 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42938 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42940 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42942 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42943 condition on __ASSUME_CLONE_THREAD_FLAGS.
42945 2012-08-14 Andreas Jaeger <aj@suse.de>
42947 * sysdeps/i386/fpu/libm-test-ulps: Update.
42949 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42951 * include/atomic.h (atomic_exchange_and_add): Split into ...
42952 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42955 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42959 2012-08-13 Jeff Law <law@redhat.com>
42961 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42962 null byte in the output string.
42964 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42966 * sysdeps/unix/sysv/linux/kernel-features.h
42967 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42968 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42969 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42970 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42971 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42972 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42973 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42975 2012-08-09 Jeff Law <law@redhat.com>
42978 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42979 When avoid_arena is set, don't retry in the that arena. Pick the
42980 next one, whatever it might be.
42981 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42982 (arena_lock): Pass in new parameter to arena_get2.
42983 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42985 (__libc_malloc): Unify retrying after main arena failure with
42986 __libc_memalign version.
42987 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42989 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42992 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42993 to __redirect_strstr.
42994 (__strstr_sse42): Use typeof __redirect_strstr.
42995 (__strstr_ia32): Likewise.
42996 (__libc_strstr): New prototype.
42997 (strstr): Renamed to ...
42998 (__libc_strstr): This.
42999 (strstr): New strong alias of __libc_strstr.
43000 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43001 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43004 (__libc_time): New prototype.
43005 (time_ifunc): Replace time with __libc_time.
43006 (time): New strong alias and hidden definition of __libc_time.
43007 (__GI_time): Remove strong alias.
43008 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43009 Include <stddef.h>.
43010 (memmove): Redefined to __redirect_memmove.
43011 (__memmove_sse2): Use typeof __redirect_memmove.
43012 (__memmove_ssse3): Likewise.
43013 (__memmove_ssse3_back): Likewise.
43014 (__libc_memmove): New prototype.
43015 (memmove): Renamed to ...
43016 (__libc_memmove): This.
43017 (memmove): New strong alias of __libc_memmove.
43019 2012-08-08 Mark Salter <msalter@redhat.com>
43022 (R_MN10300_TLS_GD): Define.
43023 (R_MN10300_TLS_LD): Likewise.
43024 (R_MN10300_TLS_LDO): Likewise.
43025 (R_MN10300_TLS_GOTIE): Likewise.
43026 (R_MN10300_TLS_IE): Likewise.
43027 (R_MN10300_TLS_LE): Likewise.
43028 (R_MN10300_TLS_DTPMOD): Likewise.
43029 (R_MN10300_TLS_DTPOFF): Likewise.
43030 (R_MN10300_TLS_TPOFF): Likewise.
43031 (R_MN10300_SYM_DIFF): Likewise.
43032 (R_MN10300_ALIGN): Likewise.
43033 (R_MN10300_NUM): Update.
43035 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43037 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43040 2012-08-08 Roland McGrath <roland@hack.frob.com>
43042 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43044 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43045 sysdeps/unix -> sysdeps/posix move.
43046 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43048 2012-08-07 Allan McRae <allan@archlinux.org>
43051 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43052 (SUNOS_CPP): Likewise.
43053 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43055 (open_input): Call CPP using execvp.
43057 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43059 * sysdeps/unix/sysv/linux/kernel-features.h
43060 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43061 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43062 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43063 (__ASSUME_WAITID_SYSCALL): Likewise.
43064 * sysdeps/unix/sysv/linux/dl-execstack.c
43065 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43066 code unconditional.
43067 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43069 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43070 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43071 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43073 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43075 [__ASSUME_WAITID_SYSCALL]: Likewise.
43076 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43078 2012-08-07 Roland McGrath <roland@hack.frob.com>
43080 * sysdeps/unix/closedir.c: Renamed to ...
43081 * sysdeps/posix/closedir.c: ... here.
43082 * sysdeps/unix/dirfd.c: Renamed to ...
43083 * sysdeps/posix/dirfd.c: ... here.
43084 * sysdeps/unix/dirstream.h: Renamed to ...
43085 * sysdeps/posix/dirstream.h: ... here.
43086 * sysdeps/unix/fdopendir.c: Renamed to ...
43087 * sysdeps/posix/fdopendir.c: ... here.
43088 * sysdeps/unix/opendir.c: Renamed to ...
43089 * sysdeps/posix/opendir.c: ... here.
43090 * sysdeps/unix/readdir.c: Renamed to ...
43091 * sysdeps/posix/readdir.c: ... here.
43092 * sysdeps/unix/readdir_r.c: Renamed to ...
43093 * sysdeps/posix/readdir_r.c: ... here.
43094 * sysdeps/unix/rewinddir.c: Renamed to ...
43095 * sysdeps/posix/rewinddir.c: ... here.
43096 * sysdeps/unix/seekdir.c: Renamed to ...
43097 * sysdeps/posix/seekdir.c: ... here.
43098 * sysdeps/unix/telldir.c: Renamed to ...
43099 * sysdeps/posix/telldir.c: ... here.
43100 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43101 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43102 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43103 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43105 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43106 * bits/fcntl.h: ... here.
43108 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43110 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43111 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43112 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43113 (struct flock): Move l_start, l_len to the beginning.
43114 Use __pid_t for l_pid.
43115 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43116 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43117 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43118 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43119 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43120 [__USE_LARGEFILE64] (struct flock64): New type.
43121 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43123 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43124 * bits/dirent.h: ... here.
43126 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43127 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43129 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43132 Change from 2.6.0 to 2.6.16.
43133 * sysdeps/unix/sysv/linux/configure: Regenerated.
43134 * sysdeps/unix/sysv/linux/kernel-features.h
43135 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43136 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43138 (__ASSUME_UTIMES): Likewise.
43139 (__ASSUME_CLONE_STOPPED): Remove.
43140 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43141 architectures, not kernel version.
43142 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43143 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43144 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43145 (__ASSUME_WAITID_SYSCALL): Likewise.
43146 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43147 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43148 * README: State 2.6.16 as minimum Linux kernel version. Do not
43149 refer to older versions.
43151 2012-08-06 Roland McGrath <roland@hack.frob.com>
43153 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43154 Define alphasort64 as an alias.
43155 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43156 Define versionsort64 as an alias.
43157 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43158 Define scandir64 as an alias.
43159 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43160 Define scandirat64 as an alias.
43161 * dirent/alphasort64.c (alphasort64):
43162 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43163 * dirent/versionsort64.c: Likewise.
43164 * dirent/scandir64.c: Likewise.
43165 * dirent/scandirat64.c: Likewise.
43166 * sysdeps/wordsize-64/alphasort.c: File removed.
43167 * sysdeps/wordsize-64/alphasort64.c: File removed.
43168 * sysdeps/wordsize-64/scandir.c: File removed.
43169 * sysdeps/wordsize-64/scandir64.c: File removed.
43170 * sysdeps/wordsize-64/scandirat.c: File removed.
43171 * sysdeps/wordsize-64/scandirat64.c: File removed.
43172 * sysdeps/wordsize-64/versionsort.c: File removed.
43173 * sysdeps/wordsize-64/versionsort64.c: File removed.
43174 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43175 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43176 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43177 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43178 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43179 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43180 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43181 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43183 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43185 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43187 [defined __arch64__ || defined __sparcv9]
43188 (__INO_T_MATCHES_INO64_T): New macro.
43189 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43190 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43191 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43192 * sysdeps/unix/sysv/linux/bits/dirent.h
43193 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43194 (_DIRENT_MATCHES_DIRENT64): New macro.
43196 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43197 Define lockf64 as an alias.
43198 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43199 Define fseeko64 as an alias.
43200 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43201 Define ftello64 as an alias.
43202 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43203 Define _IO_fgetpos64 and fgetpos64 as aliases.
43204 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43205 Define _IO_fsetpos64 and fsetpos64 as aliases.
43206 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43207 Conditionalize body on this.
43208 * libio/fseeko64.c: Likewise.
43209 * libio/ftello64.c: Likewise.
43210 * libio/iofgetpos64.c: Likewise.
43211 * libio/iofsetpos64.c: Likewise.
43212 * sysdeps/wordsize-64/lockf.c: File removed.
43213 * sysdeps/wordsize-64/lockf64.c: File removed.
43214 * sysdeps/wordsize-64/fseeko.c: File removed.
43215 * sysdeps/wordsize-64/fseeko64.c: File removed.
43216 * sysdeps/wordsize-64/ftello.c: File removed.
43217 * sysdeps/wordsize-64/ftello64.c: File removed.
43218 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43219 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43220 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43221 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43222 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43223 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43228 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43229 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43230 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43231 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43233 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43235 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43237 [defined __arch64__ || defined __sparcv9]
43238 (__OFF_T_MATCHES_OFF64_T): New macro.
43239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43240 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43242 (__OFF_T_MATCHES_OFF64_T): New macro.
43244 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43246 * stdlib/secure-getenv.c (__secure_getenv): Replace
43247 GLIBC_2_16 with GLIBC_2_17.
43249 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43251 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43252 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43254 2012-08-03 David S. Miller <davem@davemloft.net>
43256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43258 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43262 (__ASSUME_CORRECT_SI_PID): Likewise.
43263 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43264 (__ASSUME_TMPFS_NAME): Likewise.
43265 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43266 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43267 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43268 (HAVE_AUX_SECURE): Make definition unconditional.
43269 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43270 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43272 2012-08-03 Roland McGrath <roland@hack.frob.com>
43274 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43275 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43276 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43277 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43278 __eloop_threshold instead of SYMLOOP_MAX.
43280 * sysdeps/generic/eloop-threshold.h: New file.
43281 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43283 * elf/chroot_canon.c (chroot_canon): Likewise.
43285 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43289 Change to 2.6.0 everywhere.
43290 * sysdeps/unix/sysv/linux/configure: Regenerated.
43291 * sysdeps/unix/sysv/linux/kernel-features.h
43292 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43293 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43295 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43296 (__ASSUME_FUTEX_REQUEUE): Remove.
43297 (__ASSUME_STATFS64): Define unconditionally.
43298 (__ASSUME_AT_SECURE): Likewise.
43299 (__ASSUME_CORRECT_SI_PID): Likewise.
43300 (__ASSUME_TGKILL): Define without depending on kernel version for
43302 (__ASSUME_UTIMES): Likewise.
43303 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43305 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43306 (__ASSUME_TMPFS_NAME): Likewise.
43307 * README: Update reference to Linux kernel versions.
43309 2012-08-02 Marek Polacek <polacek@redhat.com>
43312 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43313 libc_cv_asm_type_prefix with %.
43314 * configure: Regenerated.
43315 * include/libc-symbols.h: Remove comment about
43316 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43317 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43318 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43319 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43320 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43321 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43322 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43323 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43324 * elf/tst-unique2mod1.c: Likewise.
43325 * elf/tst-unique1mod2.c: Likewise.
43326 * elf/tst-unique1mod1.c: Likewise.
43327 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43328 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43329 Replace ASM_TYPE_DIRECTIVE with .type.
43330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43331 * sysdeps/i386/sysdep.h: Likewise.
43332 * sysdeps/x86_64/sysdep.h: Likewise.
43333 * sysdeps/sh/sysdep.h: Likewise.
43334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43335 Do not define ASM_TYPE_DIRECTIVE.
43336 * sysdeps/powerpc/sysdep.h: Likewise.
43337 * sysdeps/powerpc/powerpc32/sysdep.h:
43338 Replace ASM_TYPE_DIRECTIVE with .type.
43339 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43340 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43341 * sysdeps/i386/fpu/e_powf.S: Likewise.
43342 * sysdeps/i386/fpu/e_expl.S: Likewise.
43343 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43344 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43345 * sysdeps/i386/fpu/e_pow.S: Likewise.
43346 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43347 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43348 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43349 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43350 * sysdeps/i386/fpu/e_log2.S: Likewise.
43351 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43352 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43353 * sysdeps/i386/fpu/e_powl.S: Likewise.
43354 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43355 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43356 * sysdeps/i386/fpu/e_logl.S: Likewise.
43357 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43358 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43359 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43361 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43362 * sysdeps/i386/fpu/e_log.S: Likewise.
43363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43364 * sysdeps/i386/fpu/e_logf.S: Likewise.
43365 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43367 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43368 * sysdeps/i386/fpu/e_log10.S: Likewise.
43369 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43370 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43371 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43372 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43373 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43374 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43375 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43376 * sysdeps/i386/i686/strtok.S: Likewise.
43377 * sysdeps/i386/i386-mcount.S: Likewise.
43378 * sysdeps/i386/strtok.S: Likewise.
43379 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43380 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43381 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43382 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43383 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43384 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43385 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43386 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43387 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43388 * sysdeps/x86_64/_mcount.S: Likewise.
43389 * sysdeps/x86_64/strtok.S: Likewise.
43390 * sysdeps/sh/_mcount.S: Likewise.
43392 2012-08-01 Roland McGrath <roland@hack.frob.com>
43394 * libio/iofopen.c: Include <fcntl.h>.
43395 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43396 (_IO_fopen64, fopen64): Define as aliases.
43397 * libio/iofopen64.c: Include <fcntl.h>.
43398 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43399 Conditionalize body on this.
43400 * sysdeps/wordsize-64/iofopen.c: File removed.
43401 * sysdeps/wordsize-64/iofopen64.c: File removed.
43403 2012-08-01 Marek Polacek <polacek@redhat.com>
43405 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43406 Use dlfcn directly instead of a variable.
43407 (binfmt-subdir): Do not define.
43410 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43413 Remove all definitions.
43414 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43415 <kernel-features.h>.
43416 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43417 (miss_F_GETOWN_EX): Remove all definitions.
43418 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43420 [!__ASSUME_FCNTL64]: Remove conditional code.
43421 [__ASSUME_FCNTL64]: Make code unconditional.
43422 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43423 <kernel-features.h>.
43424 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43425 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43426 (lockf64) [__NR_fcntl64]: Make code unconditional.
43427 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43429 * sysdeps/unix/sysv/linux/kernel-features.h
43430 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43431 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43432 Make code unconditional.
43433 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43434 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43436 [__NR_vfork]: Make code unconditional.
43437 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43438 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43440 [__NR_vfork]: Make code unconditional.
43441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43444 2012-08-01 Roland McGrath <roland@hack.frob.com>
43446 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43447 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43449 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43450 Define mkstemp64 as an alias.
43451 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43452 Define mkstemps64 as an alias.
43453 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43454 Define mkostemp64 as an alias.
43455 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43456 Define mkostemps64 as an alias.
43457 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43458 Conditionalize body on this.
43459 * misc/mkostemp64.c: Likewise.
43460 * misc/mkostemps64.c: Likewise.
43461 * misc/mkstemps64.c: Likewise.
43462 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43463 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43464 * sysdeps/wordsize-64/mkostemp.c: File removed.
43465 * sysdeps/wordsize-64/mkstemp.c: File removed.
43466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43467 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43468 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43469 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43472 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43473 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43474 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43475 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43477 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43478 compat_symbol macros from <shlib-compat.h> rather than the underlying
43479 default_symbol_version and symbol_version macros, so that DEFAULT
43480 lines in shlib-versions are respected.
43481 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43483 2012-08-01 Florian Weimer <fweimer@redhat.com>
43485 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43486 Declare with warn_unused_result.
43487 (setgid, setregid, setegid, setresgid): Likewise.
43488 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43490 * WUR-REPORT: Remove set*id functions.
43492 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43494 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43496 2012-07-31 Roland McGrath <roland@hack.frob.com>
43499 * include/sys/socket.h (__libc_accept, __libc_accept4):
43500 Add attribute_hidden.
43501 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43503 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43505 * inet/getnetgrent_r.c (setup): Likewise.
43507 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43509 2012-07-31 David S. Miller <davem@davemloft.net>
43511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43513 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43516 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43517 value between 1.0 and 2.0 and smaller part has absolute value less
43519 * math/s_clog10.c (__clog10): Likewise.
43520 * math/s_clog10f.c (__clog10f): Likewise.
43521 * math/s_clog10l.c (__clog10l): Likewise.
43522 * math/s_clogf.c (__clogf): Likewise.
43523 * math/s_clogl.c (__clogl): Likewise.
43524 * math/libm-test.inc (clog_test): Add more tests.
43525 (clog10_test): Likewise.
43526 * sysdeps/i386/fpu/libm-test-ulps: Update.
43527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43529 2012-07-31 Florian Weimer <fweimer@redhat.com>
43531 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43532 Exit with zero in case no suitable GID is found, and write a
43533 message to standard error.
43535 2012-07-30 Roland McGrath <roland@hack.frob.com>
43537 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43539 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43540 (MAXPATHLEN): Removed.
43541 (NOGROUP, NODEV): New macros.
43542 (setbit, clrbit, isset, isclr): New macros.
43543 (howmany, roundup, powerof2): New macros.
43544 (DEV_BSIZE): New macro.
43546 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43547 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43549 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43550 definition on [!__NO_LONG_DOUBLE_MATH].
43552 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43553 PTR_MANGLE and PTR_DEMANGLE.
43555 * socket/accept4.c (accept4): Rename to __libc_accept4.
43556 Define accept4 as a weak alias.
43558 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43559 on [_DIRENT_HAVE_D_TYPE].
43560 * io/ftw.c (ftw_dir): Likewise.
43562 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43564 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43566 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43567 Use the BSD numbers rather than the arbitrary ones we had.
43568 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43569 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43570 (SIGXCPU, SIGXFSZ): New macros.
43573 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43574 initializer on [_LIBC_REENTRANT].
43576 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43577 definitions inside [_POSIX_MAPPED_FILES].
43579 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43581 * dirent/opendir.c: Include <fcntl.h>.
43583 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43584 (__libc_getspecific): Likewise.
43585 (__libc_key_create): Likewise.
43587 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43588 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43589 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43590 (tmpfile64): Define as alias.
43591 * sysdeps/wordsize-64/tmpfile.c: File removed.
43592 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43596 * stdio-common/vfscanf.c: Include <stdbool.h>.
43597 * nss/makedb.c: Likewise.
43598 * stdio-common/_i18n_number.h: Likewise.
43599 * argp/argp-help.c: Likewise.
43600 * posix/wordexp.c: Likewise.
43601 * sysdeps/posix/spawni.c: Likewise.
43602 * nss/nss_files/files-initgroups.c: Likewise.
43603 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43604 * nss/nss_files/files-initgroups.c: Likewise.
43605 * nss/nss_db/db-netgrp.c: Likewise.
43606 * nss/nss_db/db-initgroups.c: Likewise.
43607 * io/fchmodat.c: Include <sys/stat.h>.
43609 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43610 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43612 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43615 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43616 Add multiple inclusion protection.
43618 2012-07-27 David S. Miller <davem@davemloft.net>
43620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43622 2012-07-27 Gary Benson <gbenson@redhat.com>
43625 * elf/rtld.c: Include <stap-probe.h>.
43626 (dl_main): Added static probes "init_start" and "init_complete".
43627 * elf/dl-load.c: Include <stap-probe.h>.
43628 (lose): Take new parameter "nsid".
43629 Added static probe "map_failed".
43630 (_dl_map_object_from_fd): Pass namespace id to lose.
43631 Added static probe "map_start".
43632 (open_verify): Pass namespace id to lose.
43633 * elf/dl-open.c: Include <stap-probe.h>.
43634 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43635 and "reloc_complete".
43636 * elf/dl-close.c: Include <stap-probe.h>.
43637 (_dl_close_worker): Added static probes "unmap_start" and
43639 * elf/rtld-debugger-interface.txt: New file documenting the above.
43641 2012-07-26 Roland McGrath <roland@hack.frob.com>
43643 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43644 rather than a string variable.
43645 * sunrpc/rpc_main.c (h_output): Likewise.
43646 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43648 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43650 * inet/check_native.c: New file.
43652 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43655 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43656 if larger part has absolute value 1.0.
43657 * math/s_clog10.c (__clog10): Likewise.
43658 * math/s_clog10f.c (__clog10f): Likewise.
43659 * math/s_clog10l.c (__clog10l): Likewise.
43660 * math/s_clogf.c (__clogf): Likewise.
43661 * math/s_clogl.c (__clogl): Likewise.
43662 * math/libm-test.inc (clog_test): Add more tests.
43663 (clog10_test): Likewise.
43664 * sysdeps/i386/fpu/libm-test-ulps: Update.
43665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43667 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43668 (pltexit): Likewise.
43669 (La_regs): Likewise.
43670 (La_retval): Likewise.
43671 (int_retval): Likewise.
43672 Update #error for removed macros to refer only to definitions in
43674 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43676 (pltexit): Likewise.
43677 (La_regs): Likewise.
43678 (La_retval): Likewise.
43679 (int_retval): Likewise.
43680 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43682 (pltexit): Likewise.
43683 (La_regs): Likewise.
43684 (La_retval): Likewise.
43685 (int_retval): Likewise.
43686 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43688 (pltexit): Likewise.
43689 (La_regs): Likewise.
43690 (La_retval): Likewise.
43691 (int_retval): Likewise.
43692 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43694 (pltexit): Likewise.
43695 (La_regs): Likewise.
43696 (La_retval): Likewise.
43697 (int_retval): Likewise.
43698 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43700 (pltexit): Likewise.
43701 (La_regs): Likewise.
43702 (La_retval): Likewise.
43703 (int_retval): Likewise.
43704 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43706 (pltexit): Likewise.
43707 (La_regs): Likewise.
43708 (La_retval): Likewise.
43709 (int_retval): Likewise.
43710 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43711 macro definitions in tst-audit.h.
43712 * sysdeps/i386/tst-audit.h: New file.
43713 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43714 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43715 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43716 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43717 * sysdeps/sh/tst-audit.h: Likewise.
43718 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43719 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43720 * sysdeps/x86_64/tst-audit.h: Likewise.
43722 2012-07-26 Andreas Jaeger <aj@suse.de>
43724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43727 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43728 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43729 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43731 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43732 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43733 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43735 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43738 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43740 (si_call_addr, si_syscall, si_arch): Define new macro.
43741 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43743 (si_call_addr, si_syscall, si_arch): Define new marcro.
43744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43746 (si_call_addr, si_syscall, si_arch): Define new macro.
43747 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43749 (si_call_addr, si_syscall, si_arch): Define new macro.
43751 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43755 Change to 2.4.21 where previously 2.4.1.
43756 * sysdeps/unix/sysv/linux/configure: Regenerated.
43757 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43758 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43759 Linux kernel version.
43760 (__ASSUME_STD_AUXV): Remove.
43761 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43763 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43764 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43765 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43766 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43767 (__ASSUME_NETLINK_SUPPORT): Likewise.
43768 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43769 (__no_netlink_support): Remove conditional definition.
43770 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43772 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43773 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43774 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43775 (if_nameindex_ioctl): Remove.
43776 (if_nameindex_netlink): Do not handle __no_netlink_support.
43777 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43779 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43780 Remove conditional code.
43781 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43783 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43785 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43786 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43787 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43789 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43790 [!__ASSUME_STD_AUXV]: Remove conditional code.
43791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43792 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43793 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43795 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43796 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43798 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43800 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43801 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43803 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43805 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43808 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43811 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43812 code unconditional.
43813 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43815 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43817 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43820 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43822 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43825 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43826 code unconditional.
43827 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43829 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43831 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43834 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43835 code unconditional.
43836 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43838 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43840 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43843 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43845 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43846 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43847 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43848 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43849 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43850 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43851 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43852 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43853 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43854 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43855 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43856 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43857 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43858 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43859 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43860 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43861 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43863 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43865 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43866 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43867 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43869 2012-07-25 Florian Weimer <fweimer@redhat.com>
43871 * Versions.def: Add GLIBC_2.17.
43872 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43873 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43874 Introduce __libc_secure_getenv.
43875 * stdlib/Versions (2.17): Add secure_getenv
43876 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43877 * stdlib/secure-getenv.c: Rename __secure_getenv to
43878 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43879 symbol __secure_getenv for GLIBC_2.0.
43880 * stdlib/tst-secure-getenv.c: New.
43881 * stdlib/Makefile (tests): Add testcase.
43882 * manual/startup.texi (Environment Access): Document
43884 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43885 __libc_secure_getenv.
43886 * inet/ruserpass.c (ruserpass): Likewise.
43887 * malloc/mtrace.c (mtrace): Likewise.
43888 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43889 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43890 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43891 * sysdeps/posix/tempname.c: Likewise. Evaluate
43892 HAVE_SECURE_GETENV.
43893 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43894 __secure_getenv to __libc_secure_getenv.
43895 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43902 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43908 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43910 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43911 (struct La_i86_retval): Likewise.
43912 (struct La_x86_64_regs): Likewise.
43913 (struct La_x86_64_retval): Likewise.
43914 (struct La_x32_regs): Likewise.
43915 (struct La_x32_retval): Likewise.
43916 (struct La_ppc32_regs): Likewise.
43917 (struct La_ppc32_retval): Likewise.
43918 (struct La_ppc64_regs): Likewise.
43919 (struct La_ppc64_retval): Likewise.
43920 (struct La_sh_regs): Likewise.
43921 (struct La_sh_retval): Likewise.
43922 (struct La_s390_32_regs): Likewise.
43923 (struct La_s390_32_retval): Likewise.
43924 (struct La_s390_64_regs): Likewise.
43925 (struct La_s390_64_retval): Likewise.
43926 (struct La_sparc32_regs): Likewise.
43927 (struct La_sparc32_retval): Likewise.
43928 (struct La_sparc64_regs): Likewise.
43929 (struct La_sparc64_retval): Likewise.
43930 (struct audit_ifaces): Remove architecture-specific pltenter and
43932 * sysdeps/i386/ldsodefs.h: New file.
43933 * sysdeps/powerpc/ldsodefs.h: Likewise.
43934 * sysdeps/s390/ldsodefs.h: Likewise.
43935 * sysdeps/sh/ldsodefs.h: Likewise.
43936 * sysdeps/sparc/ldsodefs.h: Likewise.
43937 * sysdeps/x86_64/ldsodefs.h: Likewise.
43939 2012-07-25 Marek Polacek <polacek@redhat.com>
43942 * math/libm-test.inc (yn_test): Add another test.
43943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43944 to ERANGE when the result is +-Inf.
43945 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43946 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43947 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43948 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43950 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43952 * conform/data/time.h-data (NULL): Use macro-constant. Require
43954 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43956 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43958 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43960 * configure.in <sysdeps resolving>: Correct printing
43962 * configure: Regenerate.
43964 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43966 * math/w_ilogb.c: Include <limits.h>.
43967 * math/w_ilogbl.c: Likewise.
43969 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43971 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43972 va_copy. Document allowing for unavailable va_copy only as
43973 pre-C99 compatibility.
43974 * manual/string.texi (Copying and Concatenation): Use va_copy
43975 instead of __va_copy in concat example.
43977 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43979 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43980 (__sendto): Use create_address_port. Initialize APORT and deallocate
43983 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43984 with O_NOLINK passed to __file_name_lookup.
43986 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43987 with O_NOLINK passed to __file_name_lookup.
43989 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43990 negative N or less than NGIDS.
43992 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43993 type to string_t. Set ERANGE as errno and return it if NAME is not big
43994 enough. Use memcpy instead of strncpy.
43996 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43998 * elf/Makefile (check-data): Remove.
43999 (localplt.data): New vpath directive.
44000 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44001 instead of $(check-data).
44002 * scripts/data/localplt-generic.data: Move to ...
44003 * sysdeps/generic/localplt.data: ... here.
44004 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44005 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44006 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44009 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44012 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44015 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44018 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44021 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44025 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44027 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44028 PPC32 and PPC64 files.
44029 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44030 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44032 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44034 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44035 __makecontext_ret to ...
44036 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44037 ... here and call exit if uc_link is NULL. New file.
44038 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44039 __makecontext_ret.S.
44040 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44041 __makecontext_ret to ...
44042 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44043 ... here and call exit if uc_link is NULL. New file.
44044 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44045 __makecontext_ret.S.
44047 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44049 * elf/elf.h (R_390_IRELATIVE): New definition.
44050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44051 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44052 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44053 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44054 (elf_machine_lazy_rel): Likewise.
44055 * sysdeps/s390/dl-irel.h: New file.
44056 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44057 * sysdeps/s390/s390-64/memset.S: New asm code.
44058 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44059 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44060 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44061 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44062 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44063 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44065 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44066 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44067 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44068 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44069 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44070 * sysdeps/s390/s390-32/memset.S: New asm code.
44071 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44073 2012-07-17 Marek Polacek <polacek@redhat.com>
44076 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44077 * sysdeps/s390/s390-64/configure.in: Likewise.
44078 * sysdeps/sparc/configure.in: Likewise.
44079 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44080 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44081 * sysdeps/i386/configure.in: Likewise.
44082 * sysdeps/x86_64/configure.in: Likewise.
44083 * sysdeps/sh/configure.in: Likewise.
44084 * sysdeps/s390/s390-32/configure: Regenerated.
44085 * sysdeps/s390/s390-64/configure: Likewise.
44086 * sysdeps/x86_64/configure: Likewise.
44087 * sysdeps/sh/configure: Likewise.
44088 * sysdeps/powerpc/powerpc64/configure: Likewise.
44089 * sysdeps/powerpc/powerpc32/configure: Likewise.
44090 * sysdeps/sparc/configure: Likwise.
44091 * sysdeps/i386/configure: Likewise.
44093 * elf/dl-open.c: Comment fixes.
44095 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44097 * Makefile [CXX] (check-data): Remove.
44098 [CXX] (c++-types.data): New vpath directive.
44099 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44100 vpath. Do not allow for C++ type data being missing.
44101 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44102 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44103 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44104 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44105 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44106 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44107 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44110 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44113 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44116 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44119 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44122 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44125 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44128 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44131 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44132 definitions to architecture-specific files.
44133 (TLS_IE): Likewise.
44134 (TLS_LD): Likewise.
44135 (TLS_GD): Likewise.
44136 * sysdeps/i386/tls-macros.h: New file.
44137 * sysdeps/powerpc/tls-macros.h: Likewise.
44138 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44139 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44140 * sysdeps/sh/tls-macros.h: Likewise.
44141 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44142 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44143 * sysdeps/x86_64/tls-macros.h: Likewise.
44145 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44148 zero value for regular exit case.
44150 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44151 (__start_context): Preserve zero value for regular exit case.
44153 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44154 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44156 * manual/setjmp.texi (setcontext): Clarify normal process
44157 termination when uc_link is the null pointer.
44158 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44161 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44163 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44164 preprocessor. Test for each exception mask separately.
44166 2012-07-16 Andreas Jaeger <aj@suse.de>
44168 * po/ru.po: Update from translation team.
44170 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44172 * conform/data/string.h-data (NULL): Use macro-constant. Require
44174 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44175 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44176 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44177 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44180 2012-07-13 Andreas Jaeger <aj@suse.de>
44182 * po/fr.po: Update from translation team.
44184 2012-07-12 Marek Polacek <polacek@redhat.com>
44187 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44188 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44191 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44195 Change to 2.4.1 where previously 2.4.0.
44196 * sysdeps/unix/sysv/linux/configure: Regenerated.
44197 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44198 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44200 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44201 (__ASSUME_AT_CLKTCK): Remove.
44202 (__ASSUME_AT_PAGESIZE): Likewise.
44203 (__ASSUME_AT_XID): Likewise.
44204 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44205 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44206 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44208 (HAVE_AUX_PAGESIZE): Likewise.
44209 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44210 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44211 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44213 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44217 the temporary buffer used to invoke __gethostbyname2_r,
44218 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44219 host_data / struct gaih_addrtuple.
44220 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44221 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44222 header file nss/nsswitch.h.
44223 * nss/nsswitch.h (global scope): Add definition of implementation
44224 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44225 resolv/nss_dns/dns-host.c).
44227 2012-07-11 Andreas Jaeger <aj@suse.de>
44229 * po/fr.po: Update from translation team.
44231 * po/sv.po: Update from translation team
44232 * po/fr.po: Another update from translation team.
44234 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44237 for subnormals or multiply small sinh result by itself.
44238 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44241 2012-07-11 David S. Miller <davem@davemloft.net>
44243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44245 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44248 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44249 (INTERNAL_MARK): Shift it here.
44251 2012-07-10 Marek Polacek <polacek@redhat.com>
44254 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44255 libc_cv_asm_global_directive with .globl.
44256 * configure: Regenerated.
44257 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44259 * sysdeps/i386/configure: Regenerated.
44260 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44262 * sysdeps/x86_64/configure: Regenerated.
44263 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44264 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44265 * elf/tst-unique2mod2.c: Likewise.
44266 * elf/tst-unique2mod1.c: Likewise.
44267 * elf/tst-unique1mod2.c: Likewise.
44268 * elf/tst-unique1mod1.c: Likewise.
44269 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44270 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44272 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44273 * sysdeps/mach/sysdep.h: Likewise.
44274 * sysdeps/i386/sysdep.h: Likewise.
44275 * sysdeps/i386/i386-mcount.S: Likewise.
44276 * sysdeps/x86_64/_mcount.S: Likewise.
44277 * sysdeps/x86_64/sysdep.h: Likewise.
44278 * sysdeps/sh/_mcount.S: Likewise.
44279 * sysdeps/sh/sysdep.h: Likewise.
44280 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44281 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44282 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44283 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44284 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44285 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44286 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44287 * locale/localeinfo.h: Likewise.
44288 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44289 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44291 2012-07-09 Roland McGrath <roland@hack.frob.com>
44294 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44296 * manual/message.texi (The Uniforum approach): Likewise.
44297 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44298 (glibc iconv Implementation): Likewise.
44300 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44303 * math/s_clog.c (__clog): Avoid scaling a value down where that
44304 could result in underflow.
44305 * math/s_clog10.c (__clog10): Likewise.
44306 * math/s_clog10f.c (__clog10f): Likewise.
44307 * math/s_clog10l.c (__clog10l): Likewise.
44308 * math/s_clogf.c (__clogf): Likewise.
44309 * math/s_clogl.c (__clogl): Likewise.
44310 * math/libm-test.inc (clog_test): Add more tests.
44311 (clog10_test): Likewise.
44312 * sysdeps/i386/fpu/libm-test-ulps: Update.
44313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44315 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44318 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44319 by 7 not 8 to examine high bit of fractional part.
44322 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44323 for call to __mcount_internal.
44324 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44325 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44326 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44328 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44331 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44332 approximation for values within 0x1p-13f of an odd multiple of
44334 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44335 exception. Add more tests.
44336 * sysdeps/i386/fpu/libm-test-ulps: Update.
44339 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44340 inputs and return -1 for them. Do not check for +Inf in case not
44341 reachable for +Inf.
44342 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44343 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44345 and return -1 for them. Do not check for +Inf in case not
44346 reachable for +Inf.
44347 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44350 and return -1 for them. Do not check for +Inf in case not
44351 reachable for +Inf.
44352 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44353 spurious underflow.
44354 * sysdeps/i386/fpu/libm-test-ulps: Update.
44355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44357 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44359 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44361 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44365 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44366 could result in spurious underflow. Scale down values above
44367 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44368 * math/s_csqrtf.c (__csqrtf): Likewise.
44369 * math/s_csqrtl.c (__csqrtl): Likewise.
44370 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44371 spurious underflow.
44372 * sysdeps/i386/fpu/libm-test-ulps: Update.
44373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44375 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44377 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44379 * catgets/xopen-msg.awk: New file.
44380 * catgets/xopen-msg.sed: Removed.
44382 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44384 * intl/po2test.awk: New file.
44385 * intl/po2test.sed: Removed.
44387 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44390 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44391 or multiply small sinh result by itself.
44392 * math/s_ctanf.c (__ctanf): Likewise.
44393 * math/s_ctanh.c (__ctanh): Likewise.
44394 * math/s_ctanhf.c (__ctanhf): Likewise.
44395 * math/s_ctanhl.c (__ctanhl): Likewise.
44396 * math/s_ctanl.c (__ctanl): Likewise.
44397 * math/libm-test.inc (ctan_test_tonearest): New function.
44398 (ctan_test_towardzero): Likewise.
44399 (ctan_test_downward): Likewise.
44400 (ctan_test_upward): Likewise.
44401 (ctanh_test_tonearest): Likewise.
44402 (ctanh_test_towardzero): Likewise.
44403 (ctanh_test_downward): Likewise.
44404 (ctanh_test_upward): Likewise.
44405 (main): Call these new functions.
44406 * sysdeps/i386/fpu/libm-test-ulps: Update.
44407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44409 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44411 * .gitignore: Delete /ports entry.
44413 2012-07-03 Andreas Jaeger <aj@suse.de>
44415 * po/bg.po: Update from translation team.
44416 * po/cs.po: Likewise.
44417 * po/de.po: Likewise.
44418 * po/hr.po: Likewise.
44419 * po/nl.pl: Likewise.
44420 * po/pl.po: Likewise.
44421 * po/vi.po: Likewise.
44423 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44425 * Makeconfig [!+link] (+link-before-libc): New variable.
44426 [!+link] (+link-after-libc): Likewise.
44427 [!+link] (+link-tests): Likewise.
44428 [!+link] (+link): Define in terms of $(+link-before-libc) and
44429 $(+link-after-libc).
44430 [!+link-static] (+link-static-before-libc): New variable.
44431 [!+link-static] (+link-static-after-libc): Likewise.
44432 [!+link-static] (+link-static-tests): Likewise.
44433 [!+link-static] (+link-static): Define in terms of
44434 $(+link-static-before-libc) and $(+link-static-after-libc).
44435 [build-shared] (link-libc-before-gnulib): New variable.
44436 [build-shared] (link-libc-tests): Likewise.
44437 [build-shared] (link-libc): Define in terms of
44438 $(link-libc-before-gnulib).
44439 [!build-shared] (link-libc-tests): New variable.
44440 (link-libc-static-tests): New variable.
44441 [!gnulib] (gnulib-arch): New variable.
44442 [!gnulib] (gnulib-tests): Likewise.
44443 [!gnulib] (static-gnulib-arch): Likewise.
44444 [!gnulib] (static-gnulib-tests): Likewise.
44445 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44446 Define with "=" instead of ":=".
44447 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44448 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44449 * Rules (binaries-all-notests): New variable.
44450 (binaries-all-tests): Likewise.
44451 (binaries-static-notests): Likewise.
44452 (binaries-static-tests): Likewise.
44453 (binaries-all): Define using $(binaries-all-notests) and
44454 $(binaries-all-tests).
44455 (binaries-static): Define using $(binaries-static-notests) and
44456 $(binaries-static-tests).
44457 (binaries-shared-tests): New variable.
44458 (binaries-shared-notests): Likewise.
44459 (binaries-shared): Remove variable.
44460 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44461 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44462 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44463 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44464 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44465 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44466 * elf/Makefile (sln-modules): New variable.
44467 (extra-objs): Add $(sln-modules:=.o).
44468 (ldconfig-modules): Add static-stubs.
44469 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44470 * elf/static-stubs.c: New file.
44473 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44474 by 7 not 8 to examine high bit of fractional part. Use volatile
44475 variables when splitting into final array of floats if
44476 __FLT_EVAL_METHOD__ != 0.
44477 * math/libm-test.inc (cos_test): Add another test.
44478 (sin_test): Likewise.
44479 * sysdeps/i386/fpu/libm-test-ulps: Update.
44482 * math/libm-test.inc (cosh_test): Add more tests.
44484 * version.h (RELEASE): Set to "development".
44485 (VERSION): Set to "2.16.90".
44487 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44489 * NEWS: Update copyright. Remove last-updated date.
44490 Mention math library bug fixes and timezone data changes.
44491 * README: Mention GNU/Hurd, x32, and HPPA support status.
44493 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44495 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44497 2012-06-27 Andreas Jaeger <aj@suse.de>
44499 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44501 2012-06-25 Andreas Jaeger <aj@suse.de>
44503 * sysdeps/s390/fpu/libm-test-ulps: Update.
44505 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44506 Thomas Schwinge <thomas@codesourcery.com>
44508 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44509 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44513 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44515 * sysdeps/mach/start.c: Remove file.
44516 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44517 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44518 * sysdeps/sh/init-first.c: Likewise.
44520 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44521 registers for frame unwinding purposes, add CFI directives.
44522 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44524 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44527 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44528 __fortify_fail returning.
44529 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44532 sysdeps/sh/____longjmp_chk.S.
44533 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44534 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44535 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44536 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44538 * sysdeps/sh/abort-instr.h: New file.
44539 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44540 process in case exit returns.
44542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44543 initialize the GOT register before use.
44545 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44546 calculation of ARGC > 4.
44548 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44549 meaningful names to some local labels.
44551 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44552 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44554 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44555 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44556 (__arch_compare_and_exchange_val_16_acq): Likewise.
44557 (__arch_compare_and_exchange_val_32_acq): Likewise.
44558 (atomic_exchange_and_add): Fix gUSA sequence.
44559 (atomic_add): Likewise.
44560 (atomic_add_negative): Likewise.
44561 (atomic_add_zero): Likewise.
44562 (atomic_bit_test_set): Likewise.
44564 2012-06-22 Andreas Schwab <schwab@redhat.com>
44567 * include/link.h (struct link_map): Add l_free_initfini.
44568 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44570 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44571 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44572 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44575 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44577 * configure.in: Use AC_LANG_SOURCE.
44578 * configure: Regenerate.
44580 2012-06-22 Roland McGrath <roland@hack.frob.com>
44582 * configure.in (libc_cv_localstatedir): New substituted variable.
44583 * configure: Regenerated.
44584 * config.make.in (localstatedir): New variable, substituted from
44585 libc_cv_localstatedir.
44586 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44587 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44588 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44589 * sysdeps/gnu/configure: Regenerated.
44591 2012-06-21 Jeff Law <law@redhat.com>
44594 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44595 free. Simplify list management for _LIBC case.
44597 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44600 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44601 Clear sign bit of 64-bit integer value before comparing against
44604 * sysdeps/mach/configure: Regenerated.
44606 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44609 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44611 2012-06-21 Jeff Law <law@redhat.com>
44614 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44615 uint16_t for elements in the "seen" array to avoid char overflows.
44616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44617 * elf/dl-open.c (dl_open_worker): Likewise.
44619 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44621 * scripts/list-sources.sh: Scan PORTS for translations.
44622 * po/libc.pot: Regenerated.
44624 2012-06-21 Andreas Jaeger <aj@suse.de>
44627 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44629 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44630 * bits/byteswap-16.h (__bswap_16): Likewise.
44631 * bits/byteswap.h (__bswap_constant_16): Likewise.
44633 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44636 * sysdeps/i386/fpu_control.h: Removed.
44637 * sysdeps/x86_64/fpu_control.h: Moved to ...
44638 * sysdeps/x86/fpu_control.h: Here.
44640 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44641 (_FPU_SETCW): Likewise.
44643 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44646 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44647 * sysdeps/x86/fpu/bits/mathinline.h: This.
44648 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44652 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44653 functions if __x86_64__ is defined.
44655 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44657 * string/endian.h: Add !__ASSEMBLER__ condition for including
44658 conversion interfaces.
44660 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44664 of ABS(x) in calculating zero to negative powers other than odd
44666 * math/libm-test.inc (pow_test): Add more tests.
44668 2012-06-15 Andreas Jaeger <aj@suse.de>
44670 * manual/contrib.texi (Contributors): Update entry of Liubov
44671 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44674 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44676 * string/string.h: Add __wur to GNU version of strerror_r.
44678 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44681 * string/Makefile (tests): Add tst-strtok_r.
44682 * string/tst-strtok_r.c: New file.
44683 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44684 RAX_LP/RDX_LP on SAVE_PTR.
44686 2012-06-14 Roland McGrath <roland@hack.frob.com>
44688 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44690 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44692 * libm_test.inc (csqrt_test): Allow more spurious underflow
44694 (j0_test): Likewise.
44695 (j1_test): Likewise.
44696 (y0_test): Likewise.
44697 (y1_test): Likewise.
44699 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44701 * po/Makefile (libc.pot): Use UTF-8 charset.
44703 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44706 Suppress sign-conversion warning from FD_SET.
44707 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44708 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44709 not unsigned long int.
44710 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44712 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44716 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44717 __extern_always_inline instead of __extern_inline.
44718 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44719 (__signbit): Likewise.
44720 (__signbitl): Support C++ namespace.
44721 (lrintf): New inline function.
44723 (llrintf): Likewise.
44724 (llrint): Likewise.
44734 (floorf): Likewise.
44735 (nearbyint): Likewise.
44736 (nearbyintf): Likewise.
44738 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44740 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44741 non-default versions.
44743 2012-06-11 Roland McGrath <roland@hack.frob.com>
44746 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44748 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44750 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44751 (FE_UPWARD, FE_DOWNWARD): Don't define.
44752 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44753 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44757 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44758 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44760 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44762 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44763 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44764 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44767 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44770 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44771 * sysdeps/i386/fpu/Implies: New file.
44772 * sysdeps/x86_64/fpu/Implies: Likewise.
44773 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44774 * sysdeps/x86/fpu/bits/fenv.h: This.
44776 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44779 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44782 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44783 character 0xffff that matches the last element of the
44786 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44791 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44794 values higher than 25.6283.
44796 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44799 subnormal exponent extraction and add some __builtin_expect.
44800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44801 Fix for subnormal mantissa calculation.
44803 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44805 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44806 cpu2 is -1 and errno is not ENOSYS.
44808 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44811 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44812 * sysdeps/x86/bits/string.h: This.
44813 * sysdeps/x86_64/bits/string.h: Removed.
44815 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44816 if not compiling for x86-64, but compiling for >= i486.
44818 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44819 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44822 New macro from Linux kernel 3.4.0.
44823 (FP_XSTATE_MAGIC2): Likewise.
44824 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44825 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44826 (struct _fpx_sw_bytes): New struct.
44827 (struct _xsave_hdr): Likewise.
44828 (struct _ymmh_state): Likewise.
44829 (struct _xstate): Likewise.
44831 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44832 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44833 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44834 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44835 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44836 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44838 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44839 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44840 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44841 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44842 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44843 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44845 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44848 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44849 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44850 (sysdep_headers): Include sys/platform/ppc.h.
44851 * sysdeps/powerpc/test-gettimebase.c: Test for
44852 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44853 * manual/Makefile (appendices): Include platform.texi.
44854 * manual/contrib.texi (Contributors): Update @node pointers.
44855 * manual/maint.texi (Maintenance): Likewise.
44856 (Platform): New node.
44857 * manual/platform.texi: New file. Document the new features.
44859 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44860 Jakub Jelinek <jakub@redhat.com>
44863 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44864 where __builtin_expect is unavailable.
44866 2012-06-03 David S. Miller <davem@davemloft.net>
44868 * stdlib/longlong.h: Updated from GCC.
44870 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44873 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44874 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44877 (GLIBC_2.16): Likewise.
44879 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44881 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44883 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44886 (default-abi): New variable.
44887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44888 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44890 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44892 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44894 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44897 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44898 definition. Document in comment.
44900 2012-06-01 David S. Miller <davem@davemloft.net>
44902 * stdlib/longlong.h: Updated from GCC.
44904 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44907 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44908 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44909 sys/debugreg.h sys/io.h here.
44910 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44911 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44913 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44914 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44915 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44916 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44917 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44918 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44920 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44921 Define only if __x86_64__ is defined.
44923 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44927 Use int64_t for variable i.
44928 * math/libm-test.inc (fmod_test): Add more tests.
44930 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44931 z computation is not scheduled after fetestexcept.
44932 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44933 Use math_force_eval instead of asm to ensure calculation scheduled
44934 before exception test.
44935 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44936 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44938 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44941 computation is not scheduled after fetestexcept.
44943 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44946 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44947 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44949 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44951 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44952 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44954 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44957 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44959 (__WCHAR_MIN): Support __WORDSIZE == 64.
44960 (__WCHAR_MAX): Likewise.
44962 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44963 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44967 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44970 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44973 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44974 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44976 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44977 Defined to 1 if __x86_64__ isn't defined.
44978 (_STAT_VER_LINUX_OLD): New.
44979 (st_atime): Remove duplicate.
44980 (st_mtime): Likewise.
44981 (st_ctime): Likewise.
44983 2012-05-31 David S. Miller <davem@davemloft.net>
44985 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44988 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44990 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44994 * elf/dl-reloc.c: Include <_itoa.h>.
44995 (_dl_reloc_bad_type): Remove use of INTUSE.
44996 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44997 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44998 * stdio-common/psiginfo.c (psiginfo): Likewise.
44999 * stdio-common/psignal.c (psignal): Likewise.
45000 * string/strsignal.c (strsignal): Likewise.
45001 * include/signal.h (_sys_siglist): Declare hidden proto.
45002 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45003 INTVARDEF with libc_hidden_data_def.
45004 * stdio-common/itoa-udigits.c: Likewise.
45005 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45006 (_itoa_lower_digits_internal): Remove declaration.
45007 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45008 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45009 (_sys_sigabbrev_internal): Remove aliases.
45010 (_sys_siglist): Define hidden alias.
45012 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45017 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45020 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45021 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45023 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45024 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45025 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45026 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45028 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45030 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45031 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45032 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45034 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45042 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45044 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45046 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45047 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45049 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45050 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45051 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45053 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45054 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45056 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45057 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45061 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45063 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45064 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45066 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45068 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45069 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45070 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45072 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45074 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45076 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45078 * math/math.h (M_El): Use two more decimal places.
45079 (M_LOG2El): Likewise.
45080 (M_LOG10El): Likewise.
45081 (M_LN2l): Likewise.
45082 (M_LN10l): Likewise.
45084 (M_PI_2l): Likewise.
45085 (M_PI_4l): Likewise.
45086 (M_1_PIl): Likewise.
45087 (M_2_PIl): Likewise.
45088 (M_2_SQRTPIl): Likewise.
45089 (M_SQRT2l): Likewise.
45090 (M_SQRT1_2l): Likewise.
45092 2012-05-31 David S. Miller <davem@davemloft.net>
45094 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45095 values between float registers.
45096 * sysdeps/sparc/sparc64/memset.S: Likewise.
45097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45099 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45101 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45102 -D_FORTIFY_SOURCE=1.
45103 (CPPFLAGS-tst-longjmp_chk.c): Define.
45104 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45105 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45106 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45107 CFLAGS-tst-wchar-h.c.
45109 2012-05-31 Marek Polacek <polacek@redhat.com>
45112 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45113 __endmntent_internal): Remove declaration.
45114 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45115 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45116 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45118 2012-05-30 David S. Miller <davem@davemloft.net>
45120 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45121 (___Q_simulate_exceptions): Use real FP ops rather than writing
45123 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45126 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45129 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45130 * sysdeps/x86/bits/xtitypes.h: This.
45132 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45133 * sysdeps/x86/bits/wordsize.h: This.
45135 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45136 * sysdeps/x86/bits/huge_vall.h: This.
45138 * sysdeps/i386/bits/select.h: Removed.
45139 * sysdeps/x86_64/bits/select.h: Renamed to ...
45140 * sysdeps/x86/bits/select.h: This.
45142 * sysdeps/i386/bits/setjmp.h: Removed.
45143 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45144 * sysdeps/x86/bits/setjmp.h: This.
45146 * sysdeps/i386/bits/mathdef.h: Removed.
45147 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45148 * sysdeps/x86/bits/mathdef.h: This.
45150 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45153 * include/sys/socket.h (__connect_internal)
45154 (__libc_sa_len_internal): Remove declaration.
45155 (__connect, __libc_sa_len): Declare hidden_proto.
45156 (SA_LEN): Remove use of INTUSE.
45157 * socket/connect.c: Add libc_hidden_def.
45158 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45159 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45160 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45162 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45163 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45164 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45165 of adding _internal alias.
45167 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45170 * sysdeps/i386/bits/link.h: Removed.
45171 * sysdeps/i386/bits/linkmap.h: Likewise.
45172 * sysdeps/x86_64/bits/link.h: Renamed to ...
45173 * sysdeps/x86/bits/link.h: This.
45174 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45175 * sysdeps/x86/bits/linkmap.h: This.
45177 * sysdeps/i386/bits/endian.h: Removed.
45178 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45179 * sysdeps/x86/bits/endian.h: This.
45181 * sysdeps/i386/bits/byteswap.h: Removed.
45182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45183 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45184 * sysdeps/x86/bits/byteswap.h: This.
45185 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45186 * sysdeps/x86/bits/byteswap-16.h: This.
45187 * sysdeps/i386/Implies: Add x86.
45188 * sysdeps/x86_64/Implies: Likewise.
45190 2012-05-30 David S. Miller <davem@davemloft.net>
45192 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45193 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45195 (FP_TRAPPING_EXCEPTIONS): Define.
45196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45197 (FP_TRAPPING_EXCEPTIONS): Define.
45198 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45199 subnormals only when inexact has been signalled or underflow
45200 exceptions are enabled.
45201 (_FP_PACK_CANONICAL): Likewise.
45203 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45206 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45207 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45209 2012-05-30 Richard Henderson <rth@twiddle.net>
45211 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45212 with #ifndef NOT_IN_libc.
45214 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45215 marked to avoid plt entry.
45217 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45220 * Makeconfig (default-abi): New macro.
45221 (abi-includes): Likewise.
45222 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45223 $(abi-$(default-abi)-lib-soname) for soname if defined.
45224 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45226 * Makefile (installed-stubs): Likewise.
45227 * include/stubs-biarch.h: Removed.
45228 * scripts/lib-names.awk: Only handle one library at a time.
45229 * scripts/soversions.awk: Remove WORDSIZE support.
45230 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45232 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45234 (syscall-list-default-condition): Likewise.
45235 (syscall-list-default-condition): Likewise.
45236 (syscall-list-includes): Likewise.
45237 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45238 syscall-list-* with abi-*. Handle undefined abi-variants.
45239 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45240 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45241 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45242 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45243 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45244 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45246 (syscall-list-32-options): Likewise.
45247 (syscall-list-32-condition): Likewise.
45248 (syscall-list-64-options): Likewise.
45249 (syscall-list-64-condition): Likewise.
45250 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45252 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45255 (abi-64-ld-soname): New macro.
45256 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45257 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45260 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45261 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45263 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45265 * sysdeps/unix/sysv/linux/kernel-features.h
45266 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45267 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45268 include <kernel-features.h>.
45269 [!__NR_ftruncate64]: Remove conditional code.
45270 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45271 [__NR_ftruncate64]: Make code unconditional.
45272 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45273 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45274 include <kernel-features.h>.
45275 [!__NR_ftruncate64]: Remove conditional code.
45276 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45277 [__NR_ftruncate64]: Make code unconditional.
45278 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45280 include <kernel-features.h>.
45281 [!__NR_ftruncate64]: Remove conditional code.
45282 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45283 [__NR_ftruncate64]: Make code unconditional.
45284 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45286 include <kernel-features.h>.
45287 [!__NR_ftruncate64]: Remove conditional code.
45288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45289 [__NR_ftruncate64]: Make code unconditional.
45290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45292 * configure.in (libc_cv_fpie): Weaken to a compile test using
45293 LIBC_TRY_CC_OPTION.
45294 * configure: Regenerated.
45296 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45311 2012-05-27 David S. Miller <davem@davemloft.net>
45313 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45315 (__Q_simulate_exceptions): Return void. Change to simulate
45316 exceptions by writing into the %fsr.
45317 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45318 (__Qp_handle_exceptions): Likewise.
45320 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45321 __Qp_handle_exceptions.
45322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45323 __Qp_handle_exceptions.
45324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45325 as unused and give dummy FP_RND_NEAREST initializer.
45326 (FP_INHIBIT_RESULTS): Define.
45327 (___Q_simulate_exceptions): Update declaration.
45328 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45330 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45331 as unused and give dummy FP_RND_NEAREST initializer.
45332 (__Qp_handle_exceptions): Update declaration.
45333 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45336 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45338 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45339 the temporary FPU control word.
45340 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45341 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45342 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45343 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45344 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45345 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45346 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45348 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45349 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45350 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45352 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45354 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45357 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45359 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45360 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45361 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45362 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45364 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45365 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45368 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45370 * po/h.po: Update from translation team.
45372 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45374 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45376 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45377 handling of denormals.
45378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45379 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45380 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45381 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45387 2012-05-26 Marek Polacek <polacek@redhat.com>
45390 * math/libm-test.inc (fma_test): Don't always expect underflow
45393 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45396 * elf/tst-execstack.c: Include stackinfo.h.
45397 (do_test): Adjust test case to ensure that pthread_getattr_np
45398 behaviour remains the same after marking stack executable.
45400 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45402 * sysdeps/unix/sysv/linux/kernel-features.h
45403 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45404 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45406 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45407 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45408 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45410 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45411 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45413 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45415 * configure.in: Define the default includes to being none.
45416 * configure: Regenerated.
45418 2012-05-25 Roland McGrath <roland@hack.frob.com>
45420 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45421 * sysdeps/x86_64/setjmp.S: Likewise.
45422 * sysdeps/i386/bsd-setjmp.S: Likewise.
45423 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45424 * sysdeps/i386/setjmp.S: Likewise.
45425 * sysdeps/i386/__longjmp.S: Likewise.
45426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45427 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45429 * include/stap-probe.h: New file.
45430 * configure.in: Handle --enable-systemtap.
45431 * configure: Regenerated.
45432 * config.h.in (USE_STAP_PROBE): New #undef.
45433 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45434 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45435 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45437 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45441 to 2.4.0 where earlier.
45442 * sysdeps/unix/sysv/linux/configure: Regenerated.
45443 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45444 <kernel-features.h>.
45445 [__ASSUME_32BITUIDS]: Make code unconditional.
45446 [!__ASSUME_32BITUIDS]: Remove conditional code.
45447 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45448 <kernel-features.h>.
45449 [__ASSUME_32BITUIDS]: Make code unconditional.
45450 [!__ASSUME_32BITUIDS]: Remove conditional code.
45451 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45452 [__ASSUME_32BITUIDS]: Make code unconditional.
45453 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45454 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45455 <kernel-features.h>.
45456 [__ASSUME_32BITUIDS]: Make code unconditional.
45457 [!__ASSUME_32BITUIDS]: Remove conditional code.
45458 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45459 <kernel-features.h>.
45460 [__ASSUME_32BITUIDS]: Make code unconditional.
45461 [!__ASSUME_32BITUIDS]: Remove conditional code.
45462 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45463 <kernel-features.h>.
45464 [__ASSUME_32BITUIDS]: Make code unconditional.
45465 [!__ASSUME_32BITUIDS]: Remove conditional code.
45466 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45467 <kernel-features.h>.
45468 [__ASSUME_32BITUIDS]: Make code unconditional.
45469 [!__ASSUME_32BITUIDS]: Remove conditional code.
45470 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45471 <kernel-features.h>.
45472 [__ASSUME_32BITUIDS]: Make code unconditional.
45473 [!__ASSUME_32BITUIDS]: Remove conditional code.
45474 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45475 <kernel-features.h>.
45476 [__ASSUME_32BITUIDS]: Make code unconditional.
45477 [!__ASSUME_32BITUIDS]: Remove conditional code.
45478 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45479 <kernel-features.h>.
45480 [__ASSUME_32BITUIDS]: Make code unconditional.
45481 [!__ASSUME_32BITUIDS]: Remove conditional code.
45482 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45483 <kernel-features.h>.
45484 [__ASSUME_32BITUIDS]: Make code unconditional.
45485 [!__ASSUME_32BITUIDS]: Remove conditional code.
45486 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45487 <kernel-features.h>.
45488 [__ASSUME_32BITUIDS]: Make code unconditional.
45489 [!__ASSUME_32BITUIDS]: Remove conditional code.
45490 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45491 <kernel-features.h>.
45492 [__ASSUME_32BITUIDS]: Make code unconditional.
45493 [!__ASSUME_32BITUIDS]: Remove conditional code.
45494 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45495 <kernel-features.h>.
45496 [__NR_setresgid] (__setresgid): Do not declare.
45497 [__ASSUME_32BITUIDS]: Make code unconditional.
45498 [!__ASSUME_32BITUIDS]: Remove conditional code.
45499 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45500 <kernel-features.h>.
45501 [__NR_setresuid] (__setresuid): Do not declare.
45502 [__ASSUME_32BITUIDS]: Make code unconditional.
45503 [!__ASSUME_32BITUIDS]: Remove conditional code.
45504 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45505 <kernel-features.h>.
45506 [__ASSUME_32BITUIDS]: Make code unconditional.
45507 [!__ASSUME_32BITUIDS]: Remove conditional code.
45508 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45509 <kernel-features.h>.
45510 [__ASSUME_32BITUIDS]: Make code unconditional.
45511 [!__ASSUME_32BITUIDS]: Remove conditional code.
45512 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45513 <kernel-features.h>.
45514 [__ASSUME_32BITUIDS]: Make code unconditional.
45515 [!__ASSUME_32BITUIDS]: Remove conditional code.
45516 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45517 <kernel-features.h>.
45518 [__ASSUME_32BITUIDS]: Make code unconditional.
45519 [!__ASSUME_32BITUIDS]: Remove conditional code.
45520 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45521 <kernel-features.h>.
45522 [__ASSUME_32BITUIDS]: Make code unconditional.
45523 [!__ASSUME_32BITUIDS]: Remove conditional code.
45524 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45525 <kernel-features.h>.
45526 [__ASSUME_32BITUIDS]: Make code unconditional.
45527 [!__ASSUME_32BITUIDS]: Remove conditional code.
45528 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45529 <kernel-features.h>.
45530 [__ASSUME_32BITUIDS]: Make code unconditional.
45531 [!__ASSUME_32BITUIDS]: Remove conditional code.
45532 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45533 <kernel-features.h>.
45534 [__ASSUME_32BITUIDS]: Make code unconditional.
45535 [!__ASSUME_32BITUIDS]: Remove conditional code.
45536 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45537 <kernel-features.h>.
45538 [__ASSUME_32BITUIDS]: Make code unconditional.
45539 [!__ASSUME_32BITUIDS]: Remove conditional code.
45540 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45541 <kernel-features.h>.
45542 [__ASSUME_32BITUIDS]: Make code unconditional.
45543 [!__ASSUME_32BITUIDS]: Remove conditional code.
45544 * sysdeps/unix/sysv/linux/kernel-features.h
45545 (__ASSUME_SETRESUID_SYSCALL): Remove.
45546 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45547 (__ASSUME_32BITUIDS): Likewise.
45548 (__ASSUME_LDT_WORKS): Likewise.
45549 (__ASSUME_O_DIRECTORY): Likewise.
45550 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45551 architecture but not kernel version.
45552 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45553 (__ASSUME_MMAP2_SYSCALL): Likewise.
45554 (__ASSUME_STAT64_SYSCALL): Likewise.
45555 (__ASSUME_IPC64): Likewise.
45556 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45557 <kernel-features.h>.
45558 [__ASSUME_32BITUIDS]: Make code unconditional.
45559 [!__ASSUME_32BITUIDS]: Remove conditional code.
45560 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45561 <kernel-features.h>.
45562 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45563 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45564 132096]: Remove conditional code.
45565 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45566 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45567 <kernel-features.h>.
45568 [__ASSUME_32BITUIDS]: Make code unconditional.
45569 [!__ASSUME_32BITUIDS]: Remove conditional code.
45570 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45571 <kernel-features.h>.
45572 [__ASSUME_32BITUIDS]: Make code unconditional.
45573 [!__ASSUME_32BITUIDS]: Remove conditional code.
45574 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45575 <kernel-features.h>.
45576 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45578 (__setresgid): Do not declare.
45579 [__ASSUME_32BITUIDS]: Make code unconditional.
45580 [!__ASSUME_32BITUIDS]: Remove conditional code.
45581 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45582 <kernel-features.h>.
45583 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45585 (__setresuid): Do not declare.
45586 [__ASSUME_32BITUIDS]: Make code unconditional.
45587 [!__ASSUME_32BITUIDS]: Remove conditional code.
45588 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45589 <kernel-features.h>.
45590 [__ASSUME_32BITUIDS]: Make code unconditional.
45591 [!__ASSUME_32BITUIDS]: Remove conditional code.
45592 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45593 <kernel-features.h>.
45594 [__ASSUME_32BITUIDS]: Make code unconditional.
45595 [!__ASSUME_32BITUIDS]: Remove conditional code.
45597 2012-05-25 Richard Henderson <rth@twiddle.net>
45599 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45600 dl_hwcap to ifunc resolver.
45601 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45603 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45604 dl_hwcap to ifunc resolver.
45605 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45607 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45610 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45611 for |x| <= 2**-26, not 2**-57.
45612 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45615 2012-05-24 Jeff Law <law@redhat.com>
45617 * stdio-common/Makefile (tests): Add bug25.
45618 * stdio-common/bug25.c: New test.
45620 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45623 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45624 multiple of MALLOC_ALIGNMENT in size.
45625 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45627 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45629 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45631 (FILENAME_MAX): Use macro-int-constant.
45632 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45633 (_IOFBF): Use macro-int-constant.
45634 (_IOLBF): Likewise.
45635 (_IONBF): Likewise.
45636 (SEEK_CUR): Likewise.
45637 (SEEK_END): Likewise.
45638 (SEEK_SET): Likewise.
45639 (TMP_MAX): Likewise.
45640 (EOF): Use macro-int-constant. Require < 0.
45641 (NULL): Use macro-constant. Require == 0.
45642 (stdin): Require type to be FILE *.
45643 (stdout): Likewise.
45644 (stderr): Likewise.
45645 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45646 macro-int-constant.
45647 (EXIT_SUCCESS): Likewise.
45648 (NULL): Use macro-constant. Require == 0.
45649 (RAND_MAX): Use macro-int-constant.
45650 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45651 [C99-based standards] (strtof): Require function.
45652 [C99-based standards] (strtold): Likewise.
45653 [C99-based standards] (strtoll): Likewise.
45654 [C99-based standards] (strtoull): Likewise.
45655 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45656 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45657 [ISO || ISO99 || ISO11] (math.h): Likewise.
45658 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45659 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45662 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45665 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45666 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45667 * intl/dgettext.c (DCGETTEXT): Likewise.
45668 * intl/gettext.c (DCGETTEXT): Likewise.
45669 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45670 * posix/regex_internal.h (gettext): Likewise.
45671 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45672 Remove declaration.
45673 * include/argz.h (__argz_count_internal)
45674 (__argz_stringify_internal): Remove declaration.
45675 (__argz_count, __argz_stringify): Declare hidden proto.
45676 * intl/dcgettext.c: Remove use of INTDEF.
45677 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45678 * string/argz-stringify.c: Likewise.
45679 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45680 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45681 Declare hidden proto.
45682 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45683 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45684 Declare hidden proto.
45685 * include/stdio.h (__asprintf_internal): Don't declare.
45686 (__asprintf): Don't define as macro. Declare hidden proto.
45687 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45688 (__fsetlocking): Declare hidden proto.
45689 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45690 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45692 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45693 (_IO_setlinebuf): Remove use of INTUSE.
45694 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45695 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45696 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45697 Remove declaration.
45698 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45699 (_IO_do_flush): Remove use of INTUSE.
45700 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45701 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45702 (_IO_adjust_column, _IO_least_wmarker)
45703 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45704 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45705 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45706 (_IO_default_doallocate, _IO_wdefault_doallocate)
45707 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45708 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45709 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45710 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45711 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45712 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45713 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45714 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45715 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45716 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45717 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45718 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45719 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45721 (_IO_flush_all_internal, _IO_adjust_column_internal)
45722 (_IO_default_uflow_internal, _IO_default_finish_internal)
45723 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45724 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45725 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45726 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45727 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45728 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45729 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45730 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45731 (_IO_file_close_internal, _IO_file_close_it_internal)
45732 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45733 (_IO_file_init_internal, _IO_file_attach_internal)
45734 (_IO_file_fopen_internal, _IO_file_read_internal)
45735 (_IO_file_sync_internal, _IO_file_seek_internal)
45736 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45737 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45738 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45739 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45740 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45741 (_IO_list_all_internal, _IO_link_in_internal)
45742 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45743 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45744 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45745 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45746 (_IO_do_write_internal, _IO_padn_internal)
45747 (_IO_getline_info_internal, _IO_getline_internal)
45748 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45749 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45750 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45751 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45752 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45753 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45754 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45755 with libc_hidden_ver, remove use of INTUSE.
45756 * libio/genops.c: Likewise.
45757 * libio/freopen.c: Likewise.
45758 * libio/freopen64.c: Likewise.
45759 * libio/iofclose.c: Likewise.
45760 * libio/iofdopen.c: Likewise.
45761 * libio/iofflush.c: Likewise.
45762 * libio/iofflush_u.c: Likewise.
45763 * libio/iofgets.c: Likewise.
45764 * libio/iofgets_u.c: Likewise.
45765 * libio/iofopen.c: Likewise.
45766 * libio/iofopncook.c: Likewise.
45767 * libio/iofread.c: Likewise.
45768 * libio/iofread_u.c: Likewise.
45769 * libio/ioftell.c: Likewise.
45770 * libio/iofwrite.c: Likewise.
45771 * libio/iogetline.c: Likewise.
45772 * libio/iogets.c: Likewise.
45773 * libio/iogetwline.c: Likewise.
45774 * libio/iopadn.c: Likewise.
45775 * libio/iopopen.c: Likewise.
45776 * libio/ioseekoff.c: Likewise.
45777 * libio/ioseekpos.c: Likewise.
45778 * libio/iosetbuffer.c: Likewise.
45779 * libio/iosetvbuf.c: Likewise.
45780 * libio/ioungetc.c: Likewise.
45781 * libio/ioungetwc.c: Likewise.
45782 * libio/iovdprintf.c: Likewise.
45783 * libio/iovsprintf.c: Likewise.
45784 * libio/iovsscanf.c: Likewise.
45785 * libio/memstream.c: Likewise.
45786 * libio/obprintf.c: Likewise.
45787 * libio/oldfileops.c: Likewise.
45788 * libio/oldiofclose.c: Likewise.
45789 * libio/oldiofdopen.c: Likewise.
45790 * libio/oldiofopen.c: Likewise.
45791 * libio/oldiopopen.c: Likewise.
45792 * libio/oldstdfiles.c: Likewise.
45793 * libio/putc.c: Likewise.
45794 * libio/setbuf.c: Likewise.
45795 * libio/setlinebuf.c: Likewise.
45796 * libio/stdfiles.c: Likewise.
45797 * libio/strops.c: Likewise.
45798 * libio/vasprintf.c: Likewise.
45799 * libio/vscanf.c: Likewise.
45800 * libio/vsnprintf.c: Likewise.
45801 * libio/vswprintf.c: Likewise.
45802 * libio/wfiledoalloc.c: Likewise.
45803 * libio/wfileops.c: Likewise.
45804 * libio/wgenops.c: Likewise.
45805 * libio/wmemstream.c: Likewise.
45806 * libio/wstrops.c: Likewise.
45807 * libio/__fpurge.c: Likewise.
45808 * libio/__fsetlocking.c: Likewise.
45809 * assert/assert.c: Likewise.
45810 * debug/fgets_chk.c: Likewise.
45811 * debug/fgets_u_chk.c: Likewise.
45812 * debug/fread_chk.c: Likewise.
45813 * debug/fread_u_chk.c: Likewise.
45814 * debug/gets_chk.c: Likewise.
45815 * debug/obprintf_chk.c: Likewise.
45816 * debug/vasprintf_chk.c: Likewise.
45817 * debug/vdprintf_chk.c: Likewise.
45818 * debug/vsnprintf_chk.c: Likewise.
45819 * debug/vsprintf_chk.c: Likewise.
45820 * malloc/mtrace.c: Likewise.
45821 * misc/error.c: Likewise.
45822 * misc/syslog.c: Likewise.
45823 * stdio-common/asprintf.c: Likewise.
45824 * stdio-common/fxprintf.c: Likewise.
45825 * stdio-common/getw.c: Likewise.
45826 * stdio-common/isoc99_fscanf.c: Likewise.
45827 * stdio-common/isoc99_scanf.c: Likewise.
45828 * stdio-common/isoc99_vfscanf.c: Likewise.
45829 * stdio-common/isoc99_vscanf.c: Likewise.
45830 * stdio-common/isoc99_vsscanf.c: Likewise.
45831 * stdio-common/printf-prs.c: Likewise.
45832 * stdio-common/printf_fp.c: Likewise.
45833 * stdio-common/printf_fphex.c: Likewise.
45834 * stdio-common/printf_size.c: Likewise.
45835 * stdio-common/putw.c: Likewise.
45836 * stdio-common/scanf.c: Likewise.
45837 * stdio-common/sprintf.c: Likewise.
45838 * stdio-common/tmpfile.c: Likewise.
45839 * stdio-common/vfprintf.c: Likewise.
45840 * stdio-common/vfscanf.c: Likewise.
45841 * stdlib/strfmon_l.c: Likewise.
45842 * sunrpc/openchild.c: Likewise.
45843 * sunrpc/xdr_stdio.c: Likewise.
45844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45845 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45847 2012-05-24 Roland McGrath <roland@hack.frob.com>
45849 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45851 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45852 in the third column, to generate for the shared library an IFUNC
45853 that uses _dl_vdso_vsym.
45854 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45855 * Makeconfig (object-suffixes-noshared): New variable.
45857 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45858 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45859 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45860 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45863 * include/sys/time.h (__gettimeofday): Remove macro.
45864 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45865 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45867 (__gettimeofday): Add libc_hidden_def.
45868 (gettimeofday): Add libc_hidden_weak.
45869 * sysdeps/mach/gettimeofday.c: Likewise.
45870 * sysdeps/posix/gettimeofday.c: Likewise.
45871 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45872 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45874 (__gettimeofday_internal): Remove strong_alias.
45875 (__gettimeofday): Add libc_hidden_def.
45876 (gettimeofday): Add libc_hidden_weak.
45877 * sysdeps/unix/syscalls.list (gettimeofday):
45878 Remove __gettimeofday_internal alias.
45880 2012-05-24 Daniel Jacobowitz <drow@false.org>
45881 H.J. Lu <hongjiu.lu@intel.com>
45884 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45885 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45886 (largebin_index_32_big): New.
45887 (largebin_index): Use it for 16-byte alignment.
45888 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45889 correction with front_misalign.
45891 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45919 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45920 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45922 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45926 * math/libm-test.inc (exp_test): Add test from bug 14036.
45927 (pow_test): Add test from bug 10846.
45929 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45931 (special_function): Do not include flags in test name.
45932 (parse_args): Likewise.
45933 * sysdeps/i386/fpu/libm-test-ulps: Update.
45934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45935 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45936 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45939 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45941 * math/libm-test.inc ("Philosophy"): Update comment about
45943 (UNDERFLOW_EXCEPTION): New macro.
45944 (UNDERFLOW_EXCEPTION_OK): Likewise.
45945 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45946 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45947 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45948 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45949 (INVALID_EXCEPTION_OK): Update value.
45950 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45951 (OVERFLOW_EXCEPTION_OK): Likewise.
45952 (IGNORE_ZERO_INF_SIGN): Likewise.
45953 (test_exceptions): Handle underflow exceptions.
45954 (acos_test): Update for underflow exception expectations.
45955 (cexp_test): Likewise.
45956 (clog_test): Likewise.
45957 (clog10_test): Likewise.
45958 (csqrt_test): Likewise.
45959 (ctan_test): Likewise.
45960 (ctanh_test): Likewise.
45961 (exp_test): Likewise.
45962 (exp10_test): Likewise.
45963 (exp2_test): Likewise.
45964 (expm1_test): Likewise.
45965 (fma_test): Likewise.
45966 (j0_test): Likewise.
45967 (jn_test): Likewise.
45968 (nexttoward_test): Likewise.
45969 (pow_test): Likewise.
45970 (scalbn_test): Likewise.
45971 (scalbln_test): Likewise.
45972 (tan_test): Likewise.
45973 (y1_test): Likewise.
45974 * sysdeps/i386/fpu/libm-test-ulps: Update.
45975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45977 2012-05-23 David S. Miller <davem@davemloft.net>
45979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45980 (__libc_sigaction): Remove unused local variables.
45982 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45984 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45986 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45988 mktime: avoid signed integer overflow
45989 * time/mktime.c (__mktime_internal): Do not mishandle the case
45990 where diff == INT_MIN.
45992 mktime: simplify computation of average
45993 * time/mktime.c (ranged_convert): Use new time_t_avg function
45994 instead of rolling our own (probably-slower) code.
45996 mktime: do not assume signed right shift propagates sign bit
45997 * time/mktime.c (isdst_differ): New static function.
45998 (__mktime_internal): No need to normalize tm_isdst now.
45999 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46002 mktime: merge another wrapv change from gnulib
46003 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46004 from some compilers.
46006 mktime: remove incorrect attempt at unusual arithmetics
46007 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46008 The code didn't really work on such machines anyway.
46009 (TYPE_MINIMUM): Assume two's complement.
46010 (twos_complement_arithmetic): Verify that long_int and time_t
46011 are two's complement (or unsigned, in the latter case).
46013 mktime: check signed shifts on long_int and time_t, too
46014 * time/mktime.c (SHR): Check that shifts work as desired
46015 on the types long_int and time_t too, as SHR is used on
46018 mktime: do not assume 'long' is wide enough
46019 * time/mktime.c (verify): Move decl up.
46020 (long_int): New type.
46021 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46022 to remove assumption in the code that 'long' is wide enough to
46023 store year values. This assumption is not true on x32 and on
46024 some non-glibc platforms.
46026 mktime: merge wrapv change from gnulib
46027 * time/mktime.c (WRAPV): New macro.
46028 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46029 (guess_time_tm, __mktime_internal): Do not assume that signed
46030 integer overflow wraps around; modern compilers generate code
46031 where this assumption is no longer valid.
46033 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46035 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46036 Replace "jmp L(pseudo_end)" with "ret".
46037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46040 2012-05-23 Andreas Jaeger <aj@suse.de>
46042 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46043 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46045 2012-05-23 Andreas Jaeger <aj@suse.de>
46046 Maximilian Attems <max@stro.at>
46048 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46051 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46053 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46054 code so that pseudo_end is just ret and the stack pointer is
46055 correct also for static library in error case.
46057 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46059 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46060 move to syscalls.list.
46061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46066 * manual/install.texi (Running make install): Do not mention Linux
46067 kernel version for which pt_chown is not needed.
46068 (Linux): Do not mention problems with nscd with 2.0 kernels.
46069 * INSTALL: Regenerated.
46071 2012-05-23 Andreas Jaeger <aj@suse.de>
46073 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46074 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46076 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46077 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46078 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46079 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46080 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46081 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46083 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46084 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46086 * sysdeps/unix/sysv/linux/bits/in.h
46087 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46089 2012-05-22 Roland McGrath <roland@hack.frob.com>
46091 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46092 (PREPARE_VERSION): Just use assert instead, it will be elided
46093 under [NDEBUG] anyway.
46095 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46097 * sysdeps/unix/sysv/linux/Makefile: Include
46098 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46099 (sysdep_routines): Remove sysctl.
46100 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46101 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46102 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46103 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46104 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46106 2012-05-22 Andreas Jaeger <aj@suse.de>
46108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46109 that pseudo_end is just ret and the stack pointer is correct also
46110 for static library in error case.
46112 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46115 * nss/nsswitch.c (defconfig_entries): New variable.
46116 (__nss_database_lookup): Don't leak defconfig entries.
46117 (nss_parse_service_list): Don't leak on error paths.
46118 (free_database_entries): New function.
46119 (free_defconfig): New function.
46120 (free_mem): Move common code to free_database_entries.
46122 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46124 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46126 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46128 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46129 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46132 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46133 (INTERNAL_SYSCALL_TYPES): Likewise.
46134 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46135 (LOAD_REGS_TYPES_[1-6]): Likewise.
46136 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46137 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46139 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46141 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46142 copysignl for GLIBC_2_0.
46143 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46144 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46146 logbl for GLIBC_2_0.
46147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46148 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46150 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46153 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46155 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46158 * time/mktime.c: Update copyright years.
46160 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46162 mktime: merge comment-quoting-style change from gnulib
46163 * time/mktime.c: Quote 'like this' in comments.
46164 The GNU coding standards suggest that we no longer quote `like this',
46165 as "`" and "'" are typically rendered asymmetrically nowadays.
46166 The typical gnulib style is to quote 'like this' when quoting
46167 code, and "like this" when quoting English.
46169 * time/mktime.c (compile-command): Add "-I.".
46171 mktime: merge mktime-internal.h change from gnulib
46172 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46174 mktime: merge time_r change from gnulib
46175 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46177 mktime: merge DEBUG change from gnulib
46178 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46179 case system <time.h> has a #define.
46181 mktime: merge <sys/types.h> change from gnulib
46182 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46183 since <time.t> is now guaranteed to define time_t.
46185 mktime: merge HAVE_CONFIG_H change from gnulib
46186 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46188 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46193 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46195 (struct rusage): Use anonymous union to pad each field to
46198 2012-05-21 David S. Miller <davem@davemloft.net>
46200 * Makefules (o-iterator): Remove .s cases.
46201 (compile-command.s): Delete.
46202 (COMPILE.s): Delete.
46203 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46205 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46207 * configure.in (libc_cv_predef_stack_protector): Only consider
46208 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46209 * configure: Regenerated.
46211 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46214 New macro. Use R*LP on int and pointer.
46215 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46216 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46217 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46218 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46220 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46221 [__WORDSIZE_TIME64_COMPAT32] instead of
46222 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46223 (struct utmp): Likewise.
46224 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46225 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46227 (__WORDSIZE_TIME64_COMPAT32): This.
46228 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46229 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46230 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46231 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46232 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46233 (__WORDSIZE_TIME64_COMPAT32): New macro.
46235 2012-05-21 Andreas Jaeger <aj@suse.de>
46237 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46238 only if [SHARED]. Add prototype for __wcschr_ia32.
46240 2012-05-21 Roland McGrath <roland@hack.frob.com>
46242 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46243 of %rbp unmolested in the jmp_buf while mangling the low bits.
46244 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46245 unmolested high bits of %rbp while demangling the low bits.
46246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46248 2012-05-21 Andreas Jaeger <aj@suse.de>
46250 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46251 * sunrpc/svc_simple.c: Use it for registerrpc.
46252 * sunrpc/xcrypt.c: Use it for passwd2des.
46254 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46256 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46258 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46259 Don't define if [__SYSCALL_WORDSIZE != 32].
46260 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46263 2012-05-21 Bruno Haible <bruno@clisp.org>
46264 Andreas Jaeger <aj@suse.de>
46266 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46267 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46268 inptr and inend for must_buffer_ch.
46269 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46270 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46271 * stdio-common/Makefile (tests): Remove bug15.
46272 (bug15-ENV): Remove macro.
46273 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46276 2012-05-19 Andreas Jaeger <aj@suse.de>
46277 Roland McGrath <roland@hack.frob.com>
46279 * manual/contrib.texi: Completely rewritten. It contains now an
46280 alphabetical list of contributors and their contributions.
46282 2012-05-21 Richard Henderson <rth@twiddle.net>
46284 * misc/getauxval.c (__getauxval): Use unsigned long int.
46285 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46286 (getauxval): Use unsigned long int.
46288 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46290 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46292 2012-05-21 Roland McGrath <roland@hack.frob.com>
46294 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46295 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46296 __alignof__ (long double).
46298 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46302 2012-05-20 Richard Henderson <rth@twiddle.net>
46304 * misc/getauxval.c: New file.
46305 * misc/sys/auxv.h: New file.
46306 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46307 (routines): Add getauxval.
46308 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46309 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46310 * elf/dl-sysdep.c (_dl_auxv): Remove.
46311 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46312 * elf/dl-support.c (_dl_auxv): New variable.
46313 (_dl_aux_init): Initialize it.
46314 * manual/startup.texi (Auxiliary Vector): New node.
46315 * sysdeps/generic/bits/hwcap.h: New file.
46316 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46317 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46318 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46319 * sysdeps/sparc/sysdep.h: ... here. Include it.
46320 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46333 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46337 2012-05-19 David S. Miller <davem@davemloft.net>
46339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46341 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46344 * math/s_ccosh.c: Include <float.h>
46345 (__ccosh): Avoid internal overflow calculating sinh and cosh
46346 values before multiplying by sin and cos values.
46347 * math/s_ccoshf.c: Likewise.
46348 * math/s_ccoshl.c: Likewise.
46349 * math/s_csin.c: Likewise.
46350 * math/s_csinf.c: Likewise.
46351 * math/s_csinl.c: Likewise.
46352 * math/s_csinh.c: Likewise.
46353 * math/s_csinhf.c: Likewise.
46354 * math/s_csinhl.c: Likewise.
46355 * math/libm-test.inc (ccos_test): Add more tests.
46356 (ccosh_test): Likewise.
46357 (csin_test): Likewise.
46358 (csinh_test): Likewise.
46359 * sysdeps/i386/fpu/libm-test-ulps: Update.
46360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46362 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46364 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46365 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46367 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46369 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46371 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46372 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46373 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46374 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46375 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46376 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46377 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46378 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46379 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46380 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46381 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46382 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46383 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46384 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46385 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46386 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46387 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46388 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46389 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46390 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46391 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46392 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46393 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46394 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46395 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46396 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46397 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46398 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46399 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46400 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46401 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46403 2012-05-18 Andreas Jaeger <aj@suse.de>
46405 * csu/.gitignore: Delete.
46407 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46409 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46410 (timex): Use __syscall_slong_t.
46412 2012-05-18 Andreas Jaeger <aj@suse.de>
46413 Carlos O'Donell <carlos_odonell@mentor.com>
46415 * manual/install.texi (Configuring and compiling): Update
46416 description about files modified in the source directory.
46417 * INSTALL: Regenerated.
46419 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46421 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46422 value. Use "or" to set return value to -1.
46423 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46424 negate return value.
46426 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46428 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46429 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46430 failure if the compiler has Graphite support disabled.
46431 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46433 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46434 (CFLAGS-memmove.c): Likewise.
46435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46438 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46440 * sysdeps/x86_64/x32/_itoa.h: New file.
46442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46443 getdents system call only if kernel and user dirents have the
46444 same d_ino and d_off.
46446 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46447 LLONG_MAX != LONG_MAX.
46448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46449 (_fitoa_word): Likewise.
46451 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46453 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46454 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46455 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46457 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46458 include <bits/wordsize.h>. Check __x86_64__ instead of
46460 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46461 if __x86_64__ is defined. Use anonymous union on fpstate.
46463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46466 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46468 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46469 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46470 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46471 Refer to _rtld_local_ro instead of _rtld_global_ro.
46472 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46474 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46476 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46478 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46479 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46480 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46482 * sysdeps/powerpc/powerpc32/dl-machine.c
46483 (__elf_machine_runtime_setup) [PROF]: Don't reference
46486 2012-05-18 Andreas Jaeger <aj@suse.de>
46488 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46489 function only available for GCCs before 3.4 since GCC 3.4
46490 introduced a builtin.
46492 (llrintf): Likewise.
46493 (llrint): Likewise.
46500 (nearbyint): Likewise.
46501 (nearbyintf): Likewise.
46505 (floorf): Likewise.
46507 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46509 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46510 on both fields and cast pointer to __syscall_ulong_t.
46512 * bits/types.h (__fsword_t): New type.
46513 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46514 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46516 (__FSWORD_T_TYPE): Likewise.
46517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46518 (__FSWORD_T_TYPE): Likewise.
46519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46520 (__FSWORD_T_TYPE): Likewise.
46521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46522 (__FSWORD_T_TYPE): Likewise.
46523 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46524 __SWORD_TYPE with __fsword_t.
46525 (statfs64): Likewise.
46527 2012-05-17 David S. Miller <davem@davemloft.net>
46529 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46531 2012-05-17 Andreas Jaeger <aj@suse.de>
46533 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46536 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46538 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46540 2012-05-17 Andreas Jaeger <aj@suse.de>
46542 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46545 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46547 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46549 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46551 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46552 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46554 2012-05-17 Andreas Jaeger <aj@suse.de>
46555 Carlos O'Donell <carlos_odonell@mentor.com>
46558 * sysdeps/x86_64/multiarch/init-arch.h
46559 (bit_YMM_Usable): Rename to...
46560 (bit_AVX_Usable): ... this.
46561 (bit_FMA4_Usable): New macro.
46562 (bit_XMM_state): New macro.
46563 (bit_YMM_state): New macro.
46564 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46565 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46566 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46567 (CPUID_OSXSAVE): New macro.
46568 (CPUID_AVX): New macro.
46569 (CPUID_FMA4): New macro.
46570 (index_YMM_Usable): Rename to...
46571 (index_AVX_Usable): ... this.
46572 (HAS_AVX): Use HAS_ARCH_FEATURE.
46573 (HAS_FMA4): Likewise.
46574 (HAS_YMM_USABLE): Remove.
46575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46576 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46578 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46579 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46580 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46581 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46582 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46584 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46586 * math/libm-test.c: Support platforms without multiple rounding modes.
46587 * math/bug-nextafter.c: Support platforms without FP exceptions.
46588 * math/bug-nexttoward.c: Likewise.
46589 * math/test-fenv.c: Likewise.
46590 * math/test-misc.c: Likewise.
46591 * stdlib/bug-getcontext.c: Likewise.
46593 2012-05-17 Andreas Jaeger <aj@suse.de>
46595 * manual/examples/search.c (critter_cmp): Change signature to
46597 * manual/string.texi (Collation Functions): Likewise.
46599 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46601 * bits/types.h: Fold copyright years.
46602 * bits/typesizes.h: Likewise.
46603 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46607 * time/time.h: Likewise.
46609 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46612 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46613 in instead of returning them. Return void.
46614 (__libc_mallinfo): Accumulate over all arenas.
46615 (__malloc_stats): Adjust for change in int_mallinfo interface.
46617 2012-05-16 Roland McGrath <roland@hack.frob.com>
46620 * configure.in (NM): Add AC_CHECK_TOOL for it.
46621 (libc_extra_cflags): New substituted variable.
46622 Check for -fstack-protector being used implicitly.
46623 * configure: Regenerated.
46624 * config.make.in (config-extra-cflags): New variable,
46625 gets @libc_extra_cflags@.
46626 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46629 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46630 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46631 * configure: Regenerated.
46632 * config.make.in (CPPUNDEFS): New substituted variable.
46633 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46634 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46635 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46637 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46639 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46640 (mq_attr): Use __syscall_slong_t.
46642 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46644 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46645 Check __x86_64__ instead of __WORDSIZE.
46646 (_STAT_VER_LINUX): Likewise.
46647 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46648 __syscall_ulong_t and __syscall_slong_t.
46649 (stat64): Likewise.
46651 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46657 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46661 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46664 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46665 include <bits/wordsize.h>. Check __x86_64__ instead of
46667 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46669 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46671 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46672 include <bits/wordsize.h>. Check __x86_64__ instead of
46674 (user_regs_struct): Use "__extension__ unsigned long long"
46675 instead of "unsigned long" if __x86_64__ is defined.
46676 (user): Likewise. Pad after pointer field if __ILP32__ is
46679 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46681 * configure.in (makeinfo): Require version 4.5 or later. Allow
46683 * configure: Regenerated.
46684 * manual/install.texi (texinfo): Increase version requirement to
46686 * INSTALL: Regenerated.
46688 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46690 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46692 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46694 * sysdeps/x86_64/x32/ffs.c: New file.
46696 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46698 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46699 defined. Use __syscall_ulong_t.
46700 (shminfo): Use __syscall_ulong_t.
46701 (shm_info): Likewise.
46703 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46706 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46708 (msgqnum_t): Use __syscall_ulong_t.
46709 (msglen_t): Likewise.
46710 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46713 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46714 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46716 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46718 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46719 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46721 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46724 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46725 include <bits/wordsize.h>. Check __x86_64__ instead of
46728 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46729 "unsigned long long int" if __x86_64__ is defined.
46730 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46732 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46733 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46734 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46736 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46738 (GET_PC): Cast to uintptr_t first.
46739 (GET_FRAME): Likewise.
46740 (GET_STACK): Likewise.
46742 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46743 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46745 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46747 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46748 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46749 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46750 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46754 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46756 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46757 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46758 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46759 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46760 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46762 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46763 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46764 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46765 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46766 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46767 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46768 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46769 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46770 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46772 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46774 * Makerules (+depfiles): Also collect depfiles from .oS in
46776 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46777 .oS, $(libnldbl-routines)).
46779 * Makerules (native-compile-mkdep-flags): Define.
46780 * sunrpc/Makefile (extra-objs): Add $(addprefix
46781 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46782 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46783 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46784 calling $(make-target-directory).
46786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46788 * bits/types.h (__snseconds_t): Removed.
46789 * time/time.h (struct timespec): Replace __snseconds_t with
46791 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46792 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46795 (__SNSECONDS_T_TYPE): Likewise.
46796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46797 (__SNSECONDS_T_TYPE): Likewise.
46798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46799 (__SNSECONDS_T_TYPE): Likewise.
46801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46803 * sysdeps/mach/hurd/bits/typesizes.h
46804 (__SYSCALL_SLONG_TYPE): New macro.
46805 (__SYSCALL_ULONG_TYPE): Likewise.
46807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46809 * bits/types.h (__syscall_slong_t): New type.
46810 (__syscall_ulong_t): Likewise.
46812 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46813 (__SYSCALL_ULONG_TYPE): Likewise.
46814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46815 (__SYSCALL_SLONG_TYPE): Likewise.
46816 (__SYSCALL_ULONG_TYPE): Likewise.
46817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46818 (__SYSCALL_SLONG_TYPE): Likewise.
46819 (__SYSCALL_ULONG_TYPE): Likewise.
46820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46821 (__SYSCALL_SLONG_TYPE): Likewise.
46822 (__SYSCALL_ULONG_TYPE): Likewise.
46824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46826 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46827 Add sigaltstack-offsets.sym.
46828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46829 <sigaltstack-offsets.h>.
46830 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46831 longjmp_msg pointer.
46832 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46833 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46835 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46837 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46839 * elf/stackguard-macros.h: Remove file.
46840 * sysdeps/generic/stackguard-macros.h: New file.
46841 * sysdeps/i386/stackguard-macros.h: Likewise.
46842 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46843 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46844 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46845 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46846 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46847 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46848 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46849 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46850 <elf/stackguard-macros.h>.
46853 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46854 __aligned__ in attribute.
46855 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46856 (gregset_t): Likewise.
46858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46860 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46861 * sysdeps/x86_64/64/Implies-after: Here. New file.
46862 * sysdeps/x86_64/x32/Implies-after: New file.
46864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46866 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46867 and access return value for _dl_profile_fixup. Use R10_LP to
46870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46872 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46876 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46877 * sysdeps/x86_64/x32/sysdep.h: New file.
46879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46881 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46882 * sysdeps/x86_64/setjmp.S: Likewise.
46884 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46886 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46887 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46888 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46889 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46890 remove unused global constant.
46892 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46894 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46895 include of <not-cancel.h>.
46897 2012-05-15 Roland McGrath <roland@hack.frob.com>
46899 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46901 2012-05-15 Jeff Law <law@redhat.com>
46902 Andreas Jaeger <aj@suse.de>
46905 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46907 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46908 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46910 code changing __hst_map_handle.map.
46912 2012-05-15 Roland McGrath <roland@hack.frob.com>
46914 * configure.in (sysnames): Look for Implies-before and Implies-after
46916 * configure: Regenerated.
46918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46920 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46921 8-byte data alignment with LP_SIZE alignment.
46923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46925 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46930 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46934 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46935 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46938 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46942 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46943 (stackinfo_sub_sp): Likewise.
46945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46947 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46962 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46966 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46967 into R11_LP and load __x86_64_shared_cache_size_half into
46970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46972 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46975 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46983 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46984 powerpc32/power7/fpu/s_logb.c via #include.
46985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46986 powerpc32/power7/fpu/s_logbf.c via #include.
46987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46988 powerpc32/power7/fpu/s_logbl.c via #include.
46990 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46992 * README.libm: Remove file.
46994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46996 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46997 count for x32. Use R*_LP and omit operand-size suffix.
46999 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47001 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47002 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47003 * sysdeps/x86_64/x32/shlib-versions: New file.
47005 2012-05-14 Roland McGrath <roland@hack.frob.com>
47007 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47008 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47009 Use _dl_fatal_printf instead.
47011 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47013 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47014 set if not set by the user. Do not allow for being unset.
47015 * sysdeps/unix/sysv/linux/configure: Regenerated.
47017 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47019 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47020 the `q' suffix from lea and replace .quad with ASM_ADDR.
47022 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47025 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47027 (PTR_DEMANGLE): Likewise.
47029 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47031 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47033 (ASM_ADDR): Likewise.
47034 (RAX_LP): Likewise.
47035 (RBP_LP): Likewise.
47036 (RBX_LP): Likewise.
47037 (RCX_LP): Likewise.
47038 (RDI_LP): Likewise.
47039 (RSI_LP): Likewise.
47040 (RSP_LP): Likewise.
47043 (R10_LP): Likewise.
47044 (R10_LP): Likewise.
47045 (R11_LP): Likewise.
47046 (R12_LP): Likewise.
47047 (R13_LP): Likewise.
47048 (R14_LP): Likewise.
47049 (R15_LP): Likewise.
47051 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47053 * sysdeps/x86_64/x32/dl-machine.h: New file.
47055 2012-05-14 Andreas Jaeger <aj@suse.de>
47057 * manual/Makefile (subdir): Remove export of subdir.
47058 (all): Remove target.
47059 (.PHONY): Remove all from list.
47060 (mkinstalldirs): Remove.
47061 (.PHONY): Remove installdirs from list.
47062 ($(inst_infodir)/libc.info): Use make-target-directory.
47063 (installdirs): Remove.
47064 (subdir_%): Remove.
47065 (glibc-targets): Remove.
47068 ($(objpfx)stubs ../po/manual.pot): Remove.
47069 ($(objpfx)stamp%): Remove.
47070 (make-target-directory): Remove.
47071 (subdir_install): Remove.
47072 (routines): Remove.
47079 * manual/.gitignore: Remove, it's not needed anymore.
47080 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47082 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47084 (texis): Renamed to $(objpfx)texis.
47085 (texis-path): New, contains path to generated files.
47086 (chapters.%): Use texis-path for complete path, add extra argument
47088 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47089 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47090 (summary,texi, stamp-summary): Use complete path of
47091 files. Generate files in build dir.
47092 (dir-add.texi): Build in build dir.
47093 (libm-err.texi,stamp-libm-err): Likewise.
47094 (version.texi, stamp-version): Likewise.
47095 (.%c.texi): Likewise.
47096 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47097 (mostlyclean): Remove target.
47098 (realclean): Remove target.
47099 (generated): Add new variable with contents from mostlyclean and
47100 realclean, remove entries duplicated in common-mostlyclean, add
47101 stamp-libm-err and stamp-version.
47102 (generated-dirs): Add libc directory.
47103 ($(inst_infodir)/libc.info): Install files from build dir.
47105 * manual/install.texi (Configuring and compiling): Adjust since
47106 the info files are not part of the tar ball anymore.
47108 2012-05-14 Andreas Jaeger <aj@suse.de>
47110 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47113 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47117 to 2.2.0 where earlier.
47118 * sysdeps/unix/sysv/linux/configure: Regenerated.
47119 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47120 Remove conditional code.
47121 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47122 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47123 Remove conditional code.
47124 [!__NR_lchown]: Likewise.
47125 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47126 [__NR_lchown]: Likewise.
47127 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47128 comment referencing __ASSUME_LCHOWN_SYSCALL.
47129 * sysdeps/unix/sysv/linux/i386/sigaction.c
47130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47132 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47133 Remove conditional code.
47134 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47135 (__protocol_available): Remove #if 0 code.
47136 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47138 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47139 * sysdeps/unix/sysv/linux/kernel-features.h
47140 (__ASSUME_GETCWD_SYSCALL): Don't define.
47141 (__ASSUME_REALTIME_SIGNALS): Likewise.
47142 (__ASSUME_PREAD_SYSCALL): Likewise.
47143 (__ASSUME_PWRITE_SYSCALL): Likewise.
47144 (__ASSUME_POLL_SYSCALL): Likewise.
47145 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47146 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47148 (__ASSUME_SIOCGIFNAME): Don't define.
47149 (__ASSUME_MSG_NOSIGNAL): Likewise.
47150 (__ASSUME_SENDFILE): Define unconditionally.
47151 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47152 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47154 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47155 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47156 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47157 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47158 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47159 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47160 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47162 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47165 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47171 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47185 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47186 Remove conditional code.
47187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47188 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47189 Remove conditional code.
47190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47191 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47192 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47193 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47194 Remove conditional code.
47195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47196 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47197 Remove conditional code.
47198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47199 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47200 Remove conditional code.
47201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47202 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47203 Remove conditional code.
47204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47205 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47206 Remove conditional code.
47207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47208 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47211 * sysdeps/unix/sysv/linux/sigaction.c
47212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47214 * sysdeps/unix/sysv/linux/sigpending.c
47215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47217 * sysdeps/unix/sysv/linux/sigprocmask.c
47218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47220 * sysdeps/unix/sysv/linux/sigsuspend.c
47221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47224 (__libc_missing_rt_sigs): Remove.
47225 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47226 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47227 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47228 Remove conditional code.
47229 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47230 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47233 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47234 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47235 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47237 2012-05-14 Andreas Jaeger <aj@suse.de>
47239 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47240 it's not used in glibc.
47241 (__coshm1): Likewise.
47242 (__acosh1p): Likewise.
47245 * manual/string.texi (Copying and Concatenation): Add missing
47246 variable in concat example.
47247 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47253 __builtin_clzl with __builtin_clzll.
47255 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47258 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47261 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47263 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47264 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47265 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47268 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47270 * NEWS: Update ia64 info.
47272 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47274 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47277 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47279 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47280 * sysdeps/unix/syscalls.list (dup3): Likewise.
47281 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47282 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47284 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47286 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47287 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47289 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47291 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47293 (TLS_IE): Use mov/add instead of movq/addq to load thread
47295 (TLS_GD_PREFIX): New.
47298 2012-05-11 David S. Miller <davem@davemloft.net>
47300 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47301 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47302 (_FPU_SETCW): Likewise.
47304 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47306 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47307 is 32-byte aligned.
47309 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47312 * iconvdata/gb18030.c: Update tables.
47313 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47314 characters specially.
47315 (BODY for TO_LOOP): Add encoding of missing ranges.
47317 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47320 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47321 * sysdeps/mach/hurd/dup3.c: Likewise.
47322 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47323 * sysdeps/powerpc/memmove.c:: Likewise.
47325 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47328 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47330 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47332 * elf/elf.h (R_X86_64_RELATIVE64): New.
47333 (R_X86_64_NUM): Updated.
47334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47335 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47336 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47337 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47338 tst-quad1pie tst-quad2pie
47339 (modules-names): Add tst-quadmod1 tst-quadmod2.
47340 ($(objpfx)tst-quad1): New dependency.
47341 ($(objpfx)tst-quad2): Likewise.
47342 ($(objpfx)tst-quad1pie): Likewise.
47343 ($(objpfx)tst-quad2pie): Likewise.
47344 * sysdeps/x86_64/tst-quad1.c: New file.
47345 * sysdeps/x86_64/tst-quad1pie.c: New file.
47346 * sysdeps/x86_64/tst-quad2.c: Likewise.
47347 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47348 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47349 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47350 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47351 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47355 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47356 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47357 * streams/stropts.h (t_scalar_t): Define type.
47359 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47360 (_PATH_PRESERVE): Set to "/var/lib".
47361 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47363 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47366 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47367 if __dir_mkfile succeeded.
47369 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47370 checking for _hurd_dtablesize. Unlock it right after having
47371 finished _hurd_dtable allocation.
47373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47375 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47376 * sysdeps/mach/hurd/configure: Regenerated.
47377 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47378 special-casing to...
47379 * sysdeps/gnu/configure.in: ... this new file.
47380 * sysdeps/unix/sysv/linux/configure: Regenerated.
47381 * sysdeps/gnu/configure: New generated file.
47383 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47384 for Linux: use nsec instead of usec, as well as:
47385 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47386 members of type struct timespec.
47387 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47389 (struct stat64): Likewise.
47390 (_STATBUF_ST_NSEC): New macro.
47391 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47393 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47394 __strtoul_internal rather than strtoul.
47396 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47398 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47403 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47404 which preserves existing values.
47405 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47407 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47409 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47410 TIMEOUT values. Return EINVAL for NFDS values either negative or
47411 greater than FD_SETSIZE.
47413 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47415 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47416 allocated, call __vm_protect to finish enabling the existing space, and
47417 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47418 allocate the remainder.
47420 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47422 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47423 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47427 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47428 sysdeps/mach/hurd/readlink.c.
47430 * posix/tst-sysconf.c (posix_options): Only use
47431 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47432 _POSIX_SYNCHRONIZED_IO when they are defined
47433 * sysdeps/mach/hurd/bits/posix_opt.h:
47434 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47435 (_XOPEN_REALTIME): Undefine macro.
47436 (_XOPEN_REALTIME_THREADS): Undefine macro.
47437 (_XOPEN_SHM): Undefine macro.
47438 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47440 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47442 (_POSIX_ASYNC_IO): Undefine macro.
47443 (_POSIX_PRIORITIZED_IO): Undefine macro.
47444 (_POSIX_SPIN_LOCKS): Define macro to -1.
47446 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47447 SA_NODEFER, SA_RESETHAND.
47448 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47449 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47452 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47454 * elf/Makefile (pldd-modules): Define unconditionally.
47456 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47458 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47460 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47462 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47463 Return ENOENT when name is empty.
47464 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47468 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47470 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47474 Fix mlock in all cases except non-readable pages.
47475 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47476 instead of VM_PROT_ALL as parameter to __vm_wire function.
47478 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47479 (__mkdir): When path is `/', just fail with EEXIST.
47480 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47484 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47485 <sys/uio.h> (for writev).
47486 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47487 and <sys/param.h> (for MIN).
47489 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47491 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47492 REQUESTED_TIME. Properly set the remaining time and return EINTR
47495 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47497 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47498 Depend on against $(link-rpcuserlibs).
47500 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47502 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47503 (__libc_stack_end): Do not use attribute_relro.
47504 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47505 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47506 to libthread-provided value.
47507 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47510 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47513 * bits/libc-lock.h (__libc_once_get): New macro.
47514 * sysdeps/mach/bits/libc-lock.h: Likewise.
47515 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47517 instead of using implementation details.
47519 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47520 * libio/freopen.c: Likewise.
47521 * libio/freopen64.c: Likewise.
47522 * misc/syslog.c: Likewise.
47523 * nscd/connections.c: Likewise.
47524 * nscd/netgroupcache.c: Likewise.
47525 * sysdeps/posix/getcwd.c: Likewise.
47527 2012-05-10 Roland McGrath <roland@hack.frob.com>
47529 * math/w_ilogbf.c: Add #include <limits.h>.
47531 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47533 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47534 path instead of returning without unlocking.
47536 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47537 immediate-write ioctls.
47538 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47540 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47542 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47543 __builtin_frame_address instead of making assumptions about the
47544 location of the return address relative to DATA. Force early load of
47545 the return address.
47546 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47547 __builtin_frame_address.
47550 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47551 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47552 implement dup3 and do some further code clean-ups.
47553 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47554 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47556 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47558 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47560 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47561 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47562 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47563 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47564 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47567 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47568 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47569 when handler == SIG_ERR, not when handler != SIG_ERR.
47571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47573 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47574 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47577 accept4 for GNU Hurd.
47578 * include/sys/socket.h (__libc_accept4): New prototype.
47579 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47580 to implement __libc_accept4.
47581 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47583 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47585 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47586 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47587 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47588 signal-defines.sym.
47590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47592 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47594 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47596 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47597 assertion on O_CLOEXEC flag.
47598 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47599 * hurd/intern-fd.c: Likewise.
47600 * hurd/port2fd.c: Likewise.
47602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47605 * bits/in.h (IPV6_PKTINFO): Define new macro.
47606 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47608 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47613 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47615 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47616 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47618 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47619 * math/libm-test.inc (logb_test) : Additional logb tests.
47621 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47622 Andreas Jaeger <aj@suse.de>
47624 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47625 * configure: Regenerated.
47626 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47627 * config.make.in (link-obsolete-rpc): New substituted variable.
47628 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47629 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47630 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47631 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47632 so that libc.a contains the symbols.
47633 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47634 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47635 * sunrpc/auth_none.c: Likewise.
47636 * sunrpc/auth_unix.c: Likewise.
47637 * sunrpc/authdes_prot.c: Likewise.
47638 * sunrpc/authuxprot.c: Likewise.
47639 * sunrpc/clnt_gen.c: Likewise.
47640 * sunrpc/clnt_perr.c: Likewise.
47641 * sunrpc/clnt_raw.c: Likewise.
47642 * sunrpc/clnt_simp.c: Likewise.
47643 * sunrpc/clnt_tcp.c: Likewise.
47644 * sunrpc/clnt_udp.c: Likewise.
47645 * sunrpc/clnt_unix.c: Likewise.
47646 * sunrpc/des_crypt.c: Likewise.
47647 * sunrpc/des_soft.c: Likewise.
47648 * sunrpc/get_myaddr.c: Likewise.
47649 * sunrpc/key_call.c: Likewise.
47650 * sunrpc/key_prot.c: Likewise.
47651 * sunrpc/netname.c: Likewise.
47652 * sunrpc/pm_getmaps.c: Likewise.
47653 * sunrpc/pm_getport.c: Likewise.
47654 * sunrpc/pmap_clnt.c: Likewise.
47655 * sunrpc/pmap_prot.c: Likewise.
47656 * sunrpc/pmap_prot2.c: Likewise.
47657 * sunrpc/pmap_rmt.c: Likewise.
47658 * sunrpc/publickey.c: Likewise.
47659 * sunrpc/rpc_cmsg.c: Likewise.
47660 * sunrpc/rpc_common.c: Likewise.
47661 * sunrpc/rpc_dtable.c: Likewise.
47662 * sunrpc/rpc_prot.c: Likewise.
47663 * sunrpc/rpc_thread.c: Likewise.
47664 * sunrpc/rtime.c: Likewise.
47665 * sunrpc/svc.c: Likewise.
47666 * sunrpc/svc_auth.c: Likewise.
47667 * sunrpc/svc_raw.c: Likewise.
47668 * sunrpc/svc_run.c: Likewise.
47669 * sunrpc/svc_tcp.c: Likewise.
47670 * sunrpc/svc_udp.c: Likewise.
47671 * sunrpc/svc_unix.c: Likewise.
47672 * sunrpc/svcauth_des.c: Likewise.
47673 * sunrpc/xcrypt.c: Likewise.
47674 * sunrpc/xdr.c: Likewise.
47675 * sunrpc/xdr_array.c: Likewise.
47676 * sunrpc/xdr_float.c: Likewise.
47677 * sunrpc/xdr_intXX_t.c: Likewise.
47678 * sunrpc/xdr_mem.c: Likewise.
47679 * sunrpc/xdr_rec.c: Likewise.
47680 * sunrpc/xdr_ref.c: Likewise.
47681 * sunrpc/xdr_sizeof.c: Likewise.
47682 * sunrpc/xdr_stdio.c: Likewise.
47684 2012-05-10 Roland McGrath <roland@hack.frob.com>
47686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47687 change. Update copyright years.
47689 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47691 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47693 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47694 Joseph Myers <joseph@codesourcery.com>
47695 Paul Pluzhnikov <ppluzhnikov@google.com>
47698 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47700 [cross-compiling] (extra-libs): Likewise.
47701 [cross-compiling] (extra-libs-others): Likewise.
47702 [cross-compiling] (librpcsvc-routines): Likewise.
47703 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47704 [cross-compiling] (omit-deps): Likewise.
47705 (sunrpc-CPPFLAGS): New variable.
47706 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47707 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47708 (cross-rpcgen-objs): New variable.
47709 (extra-objs): Append $(cross-rpcgen-objs).
47710 ($(cross-rpcgen-objs)): New rule.
47711 ($(objpfx)cross-rpcgen): Likewise.
47712 (rpcgen-cmd): Define to use $(built-program-file). Expand
47714 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47715 ($(objpfx)x%.stmp): Likewise.
47716 * sunrpc/proto.h [IS_IN_build] (_): Define.
47717 [IS_IN_build] (_libc_intl_domainname): Likewise.
47719 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47721 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47722 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47723 and R_X86_64_TPOFF64.
47725 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47727 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47728 sysdeps/unix/sysv/syscalls.list.
47731 * sysdeps/unix/sysv/syscalls.list: Remove file.
47733 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47736 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47737 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47738 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47739 (__LC_IDENTIFICATION): Make these macros useful in #if
47740 expressions, as required by C99.
47742 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47744 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47745 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47748 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47750 * stdlib/longlong.h: Updated from GCC.
47752 2012-05-09 Andreas Jaeger <aj@suse.de>
47754 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47755 default is first entry.
47756 (run_mode): Set type.
47757 (main): Remove informal message about syslog.
47758 (options): Fix typo.
47761 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47764 (llrintf): Likewise.
47765 (llrint): Likewise.
47768 (nearbyint): Likewise.
47769 (nearbyintf): Likewise.
47771 2012-05-09 Andreas Jaeger <aj@suse.de>
47772 Pedro Alves <palves@redhat.com>
47774 * nscd/nscd.c (run_mode): Use enum.
47775 (main): Cleanup coding style issue.
47777 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47778 Andreas Jaeger <aj@suse.de>
47780 * nscd/nscd.c (go_background): Replaced with...
47781 (run_mode): ... this.
47782 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47783 (options): Add -F --foreground.
47784 (main): Implement it.
47785 (parse_opt): Parse it.
47787 2012-05-09 Andreas Jaeger <aj@suse.de>
47790 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47791 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47792 -Wconversion warning.
47793 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47796 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47798 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47800 (LC_ALL): Use macro-int-constant.
47801 (LC_COLLATE): Likewise.
47802 (LC_CTYPE): Likewise.
47803 (LC_MESSAGES): Likewise.
47804 (LC_MONETARY): Likewise.
47805 (LC_NUMERIC): Likewise.
47806 (LC_TIME): Likewise.
47807 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47808 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47809 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47810 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47812 [C99-based standards] (float_t): Expect type.
47813 [C99-based standards] (double_t): Expect type.
47814 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47816 [C99-based standards] (HUGE_VALL): Likewise.
47817 [C99-based standards] (INFINITY): Likewise.
47818 [C99-based standards] (NAN): Likewise.
47819 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47820 [C99-based standards] (FP_NAN): Likewise.
47821 [C99-based standards] (FP_NORMAL): Likewise.
47822 [C99-based standards] (FP_SUBNORMAL): Likewise.
47823 [C99-based standards] (FP_ZERO): Likewise.
47824 [C99-based standards] (FP_FAST_FMA): Use
47825 optional-macro-int-constant. Specify type. Require == 1.
47826 [C99-based standards] (FP_FAST_FMAF): Likewise.
47827 [C99-based standards] (FP_FAST_FMAL): Likewise.
47828 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47829 [C99-based standards] (FP_ILOGBNAN): Likewise.
47830 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47832 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47833 [C99-based standards] (math_errhandling): Specify type.
47834 [ISO99 || ISO11] (signgam): Do not allow.
47835 [non-C99-based standards] (copysignf): Do not allow.
47836 [non-C99-based standards] (exp2f): Likewise.
47837 [non-C99-based standards] (log2f): Likewise.
47838 [non-C99-based standards] (modff): Allow.
47839 [non-C99-based standards] (erff): Do not allow.
47840 [non-C99-based standards] (erfcf): Likewise.
47841 [non-C99-based standards] (gammaf): Likewise.
47842 [non-C99-based standards] (hypotf): Likewise.
47843 [non-C99-based standards] (j0f): Likewise.
47844 [non-C99-based standards] (j1f): Likewise.
47845 [non-C99-based standards] (jnf): Likewise.
47846 [non-C99-based standards] (lgammaf): Likewise.
47847 [non-C99-based standards] (tgammaf): Likewise.
47848 [non-C99-based standards] (y0f): Likewise.
47849 [non-C99-based standards] (y1f): Likewise.
47850 [non-C99-based standards] (ynf): Likewise.
47851 [non-C99-based standards] (isnanf): Likewise.
47852 [non-C99-based standards] (acoshf): Likewise.
47853 [non-C99-based standards] (asinhf): Likewise.
47854 [non-C99-based standards] (atanhf): Likewise.
47855 [non-C99-based standards] (cbrtf): Likewise.
47856 [non-C99-based standards] (expm1f): Likewise.
47857 [non-C99-based standards] (ilogbf): Likewise.
47858 [non-C99-based standards] (log1pf): Likewise.
47859 [non-C99-based standards] (logbf): Likewise.
47860 [non-C99-based standards] (nextafterf): Likewise.
47861 [non-C99-based standards] (remainderf): Likewise.
47862 [non-C99-based standards] (rintf): Likewise.
47863 [non-C99-based standards] (scalbf): Likewise.
47864 [non-C99-based standards] (copysignl): Likewise.
47865 [non-C99-based standards] (exp2l): Likewise.
47866 [non-C99-based standards] (log2l): Likewise.
47867 [non-C99-based standards] (modfl): Allow.
47868 [non-C99-based standards] (erfl): Do not allow.
47869 [non-C99-based standards] (erfcl): Likewise.
47870 [non-C99-based standards] (gammal): Likewise.
47871 [non-C99-based standards] (hypotl): Likewise.
47872 [non-C99-based standards] (j0l): Likewise.
47873 [non-C99-based standards] (j1l): Likewise.
47874 [non-C99-based standards] (jnl): Likewise.
47875 [non-C99-based standards] (lgammal): Likewise.
47876 [non-C99-based standards] (tgammal): Likewise.
47877 [non-C99-based standards] (y0l): Likewise.
47878 [non-C99-based standards] (y1l): Likewise.
47879 [non-C99-based standards] (ynl): Likewise.
47880 [non-C99-based standards] (isnanl): Likewise.
47881 [non-C99-based standards] (acoshl): Likewise.
47882 [non-C99-based standards] (asinhl): Likewise.
47883 [non-C99-based standards] (atanhl): Likewise.
47884 [non-C99-based standards] (cbrtl): Likewise.
47885 [non-C99-based standards] (expm1l): Likewise.
47886 [non-C99-based standards] (ilogbl): Likewise.
47887 [non-C99-based standards] (log1pl): Likewise.
47888 [non-C99-based standards] (logbl): Likewise.
47889 [non-C99-based standards] (nextafterl): Likewise.
47890 [non-C99-based standards] (remainderl): Likewise.
47891 [non-C99-based standards] (rintl): Likewise.
47892 [non-C99-based standards] (scalbl): Likewise.
47893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47894 [non-C99-based standards] (FP_*): Do not allow.
47895 [C99-based standards] (FP_*): Change to
47896 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47897 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47899 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47900 (SIG_ERR): Likewise.
47901 [X/Open-based standards] (SIG_HOLD): Likewise.
47902 (SIG_IGN): Likewise.
47903 (SIGABRT): Use macro-int-constant. Specify type. Require
47905 (SIGFPE): Likewise.
47906 (SIGILL): Likewise.
47907 (SIGINT): Likewise.
47908 (SIGSEGV): Likewise.
47909 (SIGTER): Likewise.
47910 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47911 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47912 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47913 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47914 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47915 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47916 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47917 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47918 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47919 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47920 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47921 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47922 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47923 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47924 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47925 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47926 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47927 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47928 [X/Open-based standards] (SIGTRAP): Likewise.
47929 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47930 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47931 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47932 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47933 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47936 2012-05-08 Ian Wienand <ianw@vmware.com>
47939 * time/tzset.c (__tzset_parse_tz): Update default rules for
47940 daylight time changes in the Energy Policy Act of 2005.
47942 2012-05-09 Andreas Jaeger <aj@suse.de>
47945 * elf/ldconfig.c (parse_conf): Change string to make clear that
47946 ldconfig only issued a warning if ld.so.conf does not exist.
47948 2012-05-08 David S. Miller <davem@davemloft.net>
47950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47951 movxtod instead of popping the value on the stack.
47953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47955 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47957 * config.h.in: Add HAVE_ARM_PCS_VFP.
47959 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47962 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47963 checking but the checks are disabled for any reason.
47965 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47967 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47968 and ELF64_R_TYPE with ELFW(R_TYPE).
47970 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47972 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47973 (ulimit): Likewise.
47975 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47976 (settimeofday): Likewise.
47978 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47980 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47981 a struct th_u2 inside the union, and move tu_block/tu_code into
47982 a new th_u3 union of tu_block/tu_code inside of that. Move
47983 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47984 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47985 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47986 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47987 (th_stuff): Change to th_u1.tu_stuff.
47989 (th_msg): Change to th_u1.th_u2.tu_data.
47991 2012-05-07 David S. Miller <davem@davemloft.net>
47993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47996 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47997 (SETUP_PIC_REG): Use it.
47998 (SETUP_PIC_REG_LEAF): Use it.
48000 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48004 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48006 (EXPL_FINITE): Likewise.
48007 (FLDLOG): Likewise.
48008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48009 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48011 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48013 (EXPL_FINITE): Likewise.
48014 (FLDLOG): Likewise.
48015 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48016 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48018 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48019 test of -max_value argument for long double.
48020 * sysdeps/i386/fpu/libm-test-ulps: Update.
48021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48023 2012-05-06 David S. Miller <davem@davemloft.net>
48025 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48026 quad soft-float symbols whose references which are compiler
48028 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48030 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48036 (EXPL_FINITE): Likewise.
48037 (FLDLOG): Likewise.
48040 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48041 Adjust comments for base varying.
48042 (__expl_finite): Change alias to EXPL_FINITE.
48043 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48045 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48046 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48047 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48048 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48049 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48051 (EXPL_FINITE): Likewise.
48052 (FLDLOG): Likewise.
48055 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48056 Adjust comments for base varying.
48057 (__expl_finite): Change alias to EXPL_FINITE.
48058 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48063 * math/libm-test.inc (check_float_internal): Correct ulp
48064 calculation for subnormal expected results.
48066 2012-05-06 Andreas Jaeger <aj@suse.de>
48068 * Makeconfig (+math-flags): New, set to -frounding-math.
48069 (+cflags): Add +math-flags so that all of glibc gets compiled with
48072 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48074 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48076 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48082 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48083 (__ieee754_expl): Allow for and saturate large arguments.
48084 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48085 (u_threshold): Likewise.
48086 (__exp): Call __ieee754_exp before checking for overflow and
48088 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48089 (u_threshold): Likewise.
48090 (__expf): Call __ieee754_expf before checking for overflow and
48092 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48093 (u_threshold): Likewise.
48094 (__expl): Call __ieee754_expl before checking for overflow and
48096 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48097 (__ieee754_expl): Allow for and saturate large arguments.
48098 * math/libm-test.inc (exp_test): Add another test. Do not allow
48099 missing overflow exception on overflow.
48100 (expm1_test): Do not allow missing overflow exception on overflow.
48102 * sysdeps/i386/fpu/e_expl.c: Move to ...
48103 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48104 rather than using inline asm.
48105 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48106 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48107 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48109 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48112 (signal): Likewise.
48116 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48118 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48119 sysdeps/unix/common/syscalls.list.
48120 (fchmod): Likewise.
48121 (fchown): Likewise.
48122 (ftruncate): Likewise.
48123 (getrusage): Likewise.
48124 (gettimeofday): Likewise.
48125 (setpgid): Likewise.
48126 (setregid): Likewise.
48127 (setreuid): Likewise.
48128 (sigaction): Likewise.
48129 (truncate): Likewise.
48130 (vhangup): Likewise.
48131 * sysdeps/unix/common/syscalls.list: Remove file.
48132 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48133 * sysdeps/unix/sysv/linux/Implies: Likewise.
48135 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48137 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48139 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48143 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48146 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48149 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48152 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48155 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48158 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48161 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48165 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48169 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48172 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48176 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48180 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48182 * sysdeps/unix/common/bits/dirent.h: Remove file.
48183 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48185 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48186 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48187 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48188 * sysdeps/unix/bsd/isatty.c: Likewise.
48189 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48190 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48191 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48193 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48196 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48197 long double comparison inaccuracies.
48198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48201 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48203 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48204 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48210 nonzero digits before rounding a hex value.
48211 * stdlib/tst-strtod.c (tests): Add another test.
48213 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48215 * sysdeps/s390/fpu/libm-test-ulps: Update.
48217 2012-05-03 Andreas Jaeger <aj@suse.de>
48219 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48220 does not get optimized out.
48221 (malloc_opt_barrier): New.
48223 2012-05-03 Andreas Jaeger <aj@suse.de>
48224 Roland McGrath <roland@hack.frob.com>
48226 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48227 intermediate file deletion.
48228 (generated): Add .symlist files.
48230 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48233 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48234 Redirect under this condition.
48235 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48236 [__USE_GNU] (__dprintf_chk): Not under this condition.
48237 [__USE_GNU] (__vdprintf_chk): Likewise.
48238 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48239 under this condition.
48240 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48241 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48242 [__USE_XOPEN2K8] (vdprintf): Likewise.
48243 [__USE_GNU] (__dprintf_chk): Not under this condition.
48244 [__USE_GNU] (__vdprintf_chk): Likewise.
48245 [__USE_GNU] (dprintf): Likewise.
48246 [__USE_GNU] (vdprintf): Likewise.
48248 2012-05-03 Roland McGrath <roland@hack.frob.com>
48250 * elf/Makefile (common-generated): Set this instead of generated for
48251 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48252 $(all-built-dso)-derived lists.
48254 2012-05-03 Andreas Jaeger <aj@suse.de>
48256 * sysdeps/i386/fpu/libm-test-ulps: Update.
48259 * FAQ.in: Likewise.
48260 * scripts/gen-FAQ.pl: Likewise.
48261 * manual/install.texi (Installation): Point to online location of
48263 * Makefile (files-for-dist): Remove FAQ.
48266 2012-05-02 Allan McRae <allan@archlinux.org>
48268 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48269 (LDFLAGS-reldepmod5.so): Likewise.
48270 (LDFLAGS-reldep6mod1.so): Likewise.
48271 (LDFLAGS-reldep6mod4.so): Likewise.
48272 (LDFLAGS-reldep8mod3.so): Likewise.
48273 (LDFLAGS-unload4mod1.so): Likewise.
48274 (LDFLAGS-unload4mod2.so): Likewise.
48275 (LDFLAGS-tst-initorder): Likewise.
48276 (LDFLAGS-tst-initordera2.so): Likewise.
48277 (LDFLAGS-tst-initordera3.so): Likewise.
48278 (LDFLAGS-tst-initordera4.so): Likewise.
48279 (LDFLAGS-tst-initorderb2.so): Likewise.
48280 (LDFLAGS-noload): Likewise.
48281 (LDFLAGS-next): Likewise.
48282 (LDFLAGS-order2mod1.so): Likewise.
48283 (LDFLAGS-order2mod2.so): Likewise.
48284 (LDFLAGS-tst-initorder2): Likewise.
48285 (LDFLAGS-tst-initorder2a.so): Likewise.
48286 (LDFLAGS-tst-initorder2b.so): Likewise.
48287 (LDFLAGS-tst-initorder2c.so): Likewise.
48288 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48290 2012-05-02 David S. Miller <davem@davemloft.net>
48292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48294 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48297 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48299 2012-05-02 Andreas Jaeger <aj@suse.de>
48301 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48302 since we manipulate rounding mode.
48303 (CPPFLAGS-test-idouble.c): Likewise.
48304 (CPPFLAGS-test-ifloat.c): Likewise.
48305 (CFLAGS-test-ldouble.c): Likewise.
48306 (CFLAGS-test-double.c): Likewise.
48307 (CFLAGS-test-float.c): Likewise.
48308 (CFLAGS-test-misc.c): Likewise.
48309 (CFLAGS-test-test-fenv.c): Likewise.
48311 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48315 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48316 comparisons to determine direction to adjust input.
48318 2012-05-01 Roland McGrath <roland@hack.frob.com>
48320 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48321 output to the target.
48323 * scripts/localplt.awk: New file.
48324 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48325 (check-localplt-CFLAGS): Variable removed.
48326 ($(all-built-dso:=.jmprel)): New static pattern rule.
48327 (generated): Add those targets.
48328 (localplt-built-dso): New variable.
48329 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48331 * elf/check-localplt.c: File removed.
48333 * scripts/check-execstack.awk: New file.
48334 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48335 (check-execstack-CFLAGS): Variable removed.
48336 ($(objpfx)check-execstack.h): Target removed.
48337 ($(objpfx)execstack-default): New target.
48338 (generated): Add that instead of check-execstack.h.
48339 ($(all-built-dso:=.phdr)): New static pattern rule.
48340 (generated): Add those targets.
48341 * elf/check-execstack.c: File removed.
48343 * scripts/check-textrel.awk: New file.
48344 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48345 (check-textrel-CFLAGS): Variable removed.
48346 (all-built-dso): Use := to define.o
48347 ($(all-built-dso:=.dyn)): New static pattern rule.
48348 (generated): Add those targets.
48349 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48350 * config.make.in (READELF): New substituted variable.
48351 * elf/check-textrel.c: File removed.
48353 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48355 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48357 * conform/data/ctype.h-data [C99-based standards] (isblank):
48359 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48360 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48362 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48363 Specify type. Require positive value.
48364 (EILSEQ): Likewise.
48365 (ERANGE): Likewise.
48366 [ISO || POSIX] (EILSEQ): Do not expect.
48367 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48368 Specify type. Require positive value.
48369 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48370 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48371 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48372 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48373 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48374 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48375 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48376 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48377 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48378 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48379 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48380 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48381 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48382 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48383 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48384 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48385 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48386 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48387 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48388 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48389 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48390 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48391 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48392 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48393 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48394 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48395 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48396 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48397 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48398 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48399 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48400 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48401 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48402 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48403 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48404 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48405 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48406 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48407 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48408 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48409 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48410 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48411 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48412 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48413 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48414 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48415 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48416 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48417 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48418 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48419 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48420 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48421 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48422 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48423 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48424 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48425 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48426 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48427 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48428 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48429 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48430 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48431 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48432 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48433 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48434 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48435 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48436 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48437 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48438 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48439 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48440 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48441 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48442 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48443 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48444 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48445 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48447 (FLT_ROUNDS): Expect as macro, not constant.
48448 (FLT_MANT_DIG): Use macro-int-constant.
48449 (DBL_MANT_DIG): Likewise.
48450 (LDBL_MANT_DIG): Likewise.
48451 (FLT_DIG): Likewise.
48452 (DBL_DIG): Likewise.
48453 (LDBL_DIG): Likewise.
48454 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48455 (DBL_MIN_EXP): Likewise.
48456 (LDBL_MIN_EXP): Likewise.
48457 (FLT_MAX_EXP): Use macro-int-constant.
48458 (DBL_MAX_EXP): Likewise.
48459 (LDBL_MAX_EXP): Likewise.
48460 (FLT_MAX_10_EXP): Likewise.
48461 (DBL_MAX_10_EXP): Likewise.
48462 (LDBL_MAX_10_EXP): Likewise.
48463 (FLT_MAX): Use macro-constant.
48464 (DBL_MAX): Likewise.
48465 (LDBL_MAX): Likewise.
48466 (FLT_EPSILON): Use macro-constant. Give upper bound.
48467 (DBL_EPSILON): Likewise.
48468 (LDBL_EPSILON): Likewise.
48469 (FLT_MIN): Likewise.
48470 (DBL_MIN): Likewise.
48471 (LDBL_MIN): Likewise.
48472 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48473 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48474 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48475 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48476 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48477 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48478 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48479 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48480 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48481 [ISO11] (FLT_TRUE_MIN): Likewise.
48482 [ISO11] (LDBL_TRUE_MIN): Likewise.
48483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48484 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48485 (SCHAR_MIN): Use macro-int-constant. Specify type.
48486 (SCHAR_MAX): Likewise.
48487 (UCHAR_MAX): Likewise.
48488 (CHAR_MIN): Likewise.
48489 (CHAR_MAX): Likewise.
48490 (MB_LEN_MAX): Use macro-int-constant.
48491 (SHRT_MIN): Use macro-int-constant. Specify type.
48492 (SHRT_MAX): Likewise.
48493 (USHRT_MAX): Likewise.
48494 (INT_MAX): Likewise.
48495 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48497 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48499 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48501 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48502 bound negative. Suffix upper bound with "L".
48503 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48505 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48507 [C99-based standards] (LLONG_MAX): Likewise.
48508 [C99-based standards] (ULLONG_MAX): Likewise.
48509 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48511 [ISO11] (max_align_t): Require type.
48512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48514 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48515 from $CFLAGS, without defining away __attribute__ calls.
48516 (checknamespace): Use $CFLAGS_namespace.
48518 * conform/conformtest.pl (@keywords): Only include C99 keywords
48519 for standards based on C99 or C11.
48521 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48523 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48526 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48527 usability of symbols in #if.
48529 * conform/conformtest.pl: If macro or constant types start
48530 "promoted:", expect the symbol to be of the following type
48531 promoted by the integer promotions.
48533 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48534 in one place. Also handle "macro-constant".
48536 * conform/conformtest.pl: Only accept expected macro values with
48537 "==". Parse all "macro" lines in one place.
48538 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48540 * conform/conformtest.pl: Handle braced types on "constant" lines
48541 instead of handling "typed-constant".
48542 * conform/data/signal.h-data: Use "constant" instead of
48545 * conform/conformtest.pl: Handle "optional-" at start of lines in
48546 one place rather than duplicating several cases. Handle each
48547 format of "macro" line with initial "optional-".
48549 * conform/conformtest.pl: Only accept expected constant or
48550 optional-constant values with "==". Parse all "constant" lines in
48551 one place. Parse all "optional-constant" lines in one place.
48552 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48553 * conform/data/fmtmsg.h-data: Likewise.
48554 * conform/data/netinet/in.h-data: Likewise.
48555 * conform/data/tar.h-data: Likewise.
48556 * conform/data/limits.h-data: Use "==" form on "constant" and
48557 "optional-constant" lines.
48559 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48560 Use -std=c99 for XOPEN2K.
48561 (@knownproblems): Remove.
48562 (newtoken): Don't check %isknown.
48564 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48565 Do not expect macro.
48566 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48567 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48568 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48569 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48570 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48571 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48572 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48573 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48574 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48575 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48576 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48577 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48578 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48579 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48580 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48581 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48582 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48583 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48584 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48585 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48586 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48587 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48588 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48589 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48590 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48591 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48592 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48593 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48594 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48595 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48596 [XPG3] (acosh): Likewise.
48597 [XPG3] (asinh): Likewise.
48598 [XPG3] (atanh): Likewise.
48599 [XPG3] (cbrt): Likewise.
48600 [XPG3] (expm1): Likewise.
48601 [XPG3] (ilogb): Likewise.
48602 [XPG3] (log1p): Likewise.
48603 [XPG3] (logb): Likewise.
48604 [XPG3] (nextafter): Likewise.
48605 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48606 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48607 [XPG3] (remainder): Likewise.
48608 [XPG3] (rint): Likewise.
48609 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48610 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48611 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48612 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48613 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48614 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48615 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48616 [UNIX98 || XOPEN2K] (scalb): Expect.
48617 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48618 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48619 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48620 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48621 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48622 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48623 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48624 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48625 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48626 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48627 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48628 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48629 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48630 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48631 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48632 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48633 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48634 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48635 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48636 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48637 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48638 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48639 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48640 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48641 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48642 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48643 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48644 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48645 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48646 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48647 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48648 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48649 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48650 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48651 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48652 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48653 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48654 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48655 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48656 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48657 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48658 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48659 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48660 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48661 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48662 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48663 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48664 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48665 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48666 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48667 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48668 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48669 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48670 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48671 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48672 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48673 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48674 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48675 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48676 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48677 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48678 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48679 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48680 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48681 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48682 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48683 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48684 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48685 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48686 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48687 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48688 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48689 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48690 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48691 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48692 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48693 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48694 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48695 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48696 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48697 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48698 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48699 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48700 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48701 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48702 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48703 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48704 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48705 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48706 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48707 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48708 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48709 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48710 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48711 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48712 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48713 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48714 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48715 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48716 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48717 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48718 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48719 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48720 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48721 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48722 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48723 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48724 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48725 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48726 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48727 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48728 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48729 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48730 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48731 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48732 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48733 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48734 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48735 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48736 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48737 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48738 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48739 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48740 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48741 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48742 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48743 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48744 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48745 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48746 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48747 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48748 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48749 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48750 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48751 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48752 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48753 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48755 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48756 _XOPEN_SOURCE_EXTENDED for XPG4.
48758 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48760 * Makeconfig (localtime): Remove variable.
48761 (inst_localtime-file): Likewise.
48763 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48784 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48788 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48789 comparisons to determine direction to adjust input.
48790 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48791 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48792 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48794 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48801 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48803 * math/libm-test.inc (nexttoward_test): Add more tests.
48805 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48808 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48809 in version GLIBC_2.1, not GLIBC_2.0.
48810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48813 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48816 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48819 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48820 * math/libm-test.inc (acos_test): Add more tests.
48821 (asin_test): Likewise.
48822 * sysdeps/i386/fpu/libm-test-ulps: Update.
48823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48826 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48828 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48829 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48830 * math/libm-test.inc (acos_test_tonearest): New function.
48831 (acos_test_towardzero): Likewise.
48832 (acos_test_downward): Likewise.
48833 (acos_test_upward): Likewise.
48834 (asin_test_tonearest): Likewise.
48835 (asin_test_towardzero): Likewise.
48836 (asin_test_downward): Likewise.
48837 (asin_test_upward): Likewise.
48838 (main): Call the new functions.
48839 * sysdeps/i386/fpu/libm-test-ulps: Update.
48840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48844 * math/e_exp10.c: Include <float.h>.
48845 (__ieee754_exp10): Handle underflow here rather than multiplying
48846 large negative argument by M_LN10.
48847 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48849 * math/e_exp10l.c: Include <float.h>.
48850 (__ieee754_exp10l): Handle underflow here rather than multiplying
48851 large negative argument by M_LN10l.
48852 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48853 spurious overflow exception on underflow.
48855 2012-04-29 Marek Polacek <polacek@redhat.com>
48857 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48858 (__fortify_function): New macro.
48859 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48860 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48861 __extern_always_inline.
48862 * libio/bits/stdio2.h: Likewise.
48863 * libio/bits/stdio.h: Likewise.
48864 * string/string.h: Likewise.
48865 * string/bits/string3.h: Likewise.
48866 * include/stdio.h: Likewise.
48867 * stdlib/bits/stdlib.h: Likewise.
48868 * stdlib/stdlib.h: Likewise.
48869 * rt/bits/mqueue2.h: Likewise.
48870 * rt/mqueue.h: Likewise.
48871 * posix/bits/unistd.h: Likewise.
48872 * posix/unistd.h: Likewise.
48873 * io/bits/poll2.h: Likewise.
48874 * io/bits/fcntl2.h: Likewise.
48875 * io/fcntl.h: Likewise.
48876 * io/sys/poll.h: Likewise.
48877 * misc/bits/syslog.h: Likewise.
48878 * misc/bits/syslog-ldbl.h: Likewise.
48879 * misc/sys/syslog.h: Likewise.
48880 * socket/bits/socket2.h: Likewise.
48881 * socket/sys/socket.h: Likewise.
48882 * debug/tst-chk1.c: Likewise.
48883 * wcsmbs/bits/wchar2.h: Likewise.
48884 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48885 * wcsmbs/wchar.h: Likewise.
48887 2012-04-29 Andreas Jaeger <aj@suse.de>
48889 * Makerules (tests): Remove enable-check-abi protection.
48890 (check-abi-warn): Remove.
48891 (check-abi-%): Remove check-abi-warn usage.
48893 * configure.in: Remove check-abi configure option.
48894 * configure: Regenerated.
48895 * config.make.in (enable-check-abi): Remove.
48897 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48900 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48901 double functions to double *_finite functions.
48904 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48905 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48907 * stdio-common/Makefile (tests): Add tst-sprintf3.
48908 * stdio-common/tst-sprintf3.c: New file.
48910 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48911 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48913 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48915 * conform/conformtest.pl: Remove duplicate typed-constant
48918 2012-04-28 David S. Miller <davem@davemloft.net>
48920 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48921 (check-abi-%): Remove AWK script prerequisite and explicit
48923 (check-abi): Rewrite to just diff the symlist with the abilist.
48924 (config-tls, config-abi-config): Delete, no longer used.
48925 (update-abi-%): Remove AWK script and explicit abilist directory.
48926 (update-abi): Rewrite to simply compare and conditionally copy the
48927 symlist and the sysdep abilist file. Remove update-abi-config
48929 * abilist/ld.abilist: Remove.
48930 * abilist/libBrokenLocale.abilist: Remove.
48931 * abilist/libanl.abilist: Remove.
48932 * abilist/libcrypt.abilist: Remove.
48933 * abilist/libdl.abilist: Remove.
48934 * abilist/librt.abilist: Remove.
48935 * abilist/libthread_db.abilist: Remove.
48936 * abilist/libutil.abilist: Remove.
48937 * scripts/extract-abilist.awk: Remove.
48938 * scripts/merge-abilist.awk: Remove.
48939 * sysdeps/generic/libcidn.abilist: New file.
48940 * sysdeps/generic/libnss_compat.abilist: New file.
48941 * sysdeps/generic/libnss_db.abilist: New file.
48942 * sysdeps/generic/libnss_dns.abilist: New file.
48943 * sysdeps/generic/libnss_files.abilist: New file.
48944 * sysdeps/generic/libnss_hesiod.abilist: New file.
48945 * sysdeps/generic/libnss_nis.abilist: New file.
48946 * sysdeps/generic/libnss_nisplus.abilist: New file.
48947 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48948 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48949 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48952 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48953 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48954 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48955 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48956 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48957 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48958 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48959 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48961 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48962 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48963 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48964 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48966 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48967 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48968 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48969 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48970 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48971 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48973 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48974 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48975 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48977 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49080 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49081 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49082 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49085 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49086 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49087 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49088 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49089 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49090 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49091 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49092 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49093 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49145 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49147 * conform/conformtest.pl: Fix typo in handling typed-constant from
49150 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49152 * README: Cut down references to pre-2.6 Linux kernels and
49153 Linuxthreads. Update lists of configurations in libc and ports
49154 and sort alphabetically. Say "or newer" with Linux kernel version
49157 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49159 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49162 * math/libm-test.inc (logb_test_downward): New test to expose
49163 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49166 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49169 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49171 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49172 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49174 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49176 * sysdeps/unix/i386/brk.S: Remove file.
49177 * sysdeps/unix/i386/dl-brk.S: Likewise.
49178 * sysdeps/unix/i386/pipe.S: Likewise.
49179 * sysdeps/unix/i386/sigreturn.S: Likewise.
49180 * sysdeps/unix/i386/syscall.S: Likewise.
49181 * sysdeps/unix/i386/vfork.S: Likewise.
49182 * sysdeps/unix/i386/wait.S: Likewise.
49184 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49185 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49187 * configure.in (arm*-none*): Do not allow without
49188 --enable-hacker-mode.
49189 (netbsd*): Remove case setting base_os.
49190 (386bsd*): Likewise.
49191 (freebsd*): Likewise.
49194 (sunos*): Likewise.
49195 (ultrix*): Likewise.
49196 (newsos*): Likewise.
49197 (dynix*): Likewise.
49203 (minix*): Likewise.
49204 (irix4*): Likewise.
49205 (irix6*): Likewise.
49206 (solaris[2-9]*): Likewise.
49208 * configure: Regenerated.
49210 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49214 overflow or cancellation in calculating denominator.
49215 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49217 down expression to avoid unexpected rounding in newer GCCs.
49218 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49220 2012-04-26 David S. Miller <davem@davemloft.net>
49222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49223 long-double compat symbols.
49224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49238 2012-04-25 David S. Miller <davem@davemloft.net>
49240 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49241 HWCAP_* values only after the memory barriers have been defined.
49242 (atomic_full_barrier): Define.
49243 (atomic_read_barrier): Define.
49244 (atomic_write_barrier): Define.
49246 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49248 * shlib-versions: Add libgcc_s version information.
49249 * sysdeps/generic/libgcc_s.h: Remove.
49250 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49252 * sysdeps/gnu/unwind-resume.c: Likewise.
49253 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49255 2012-04-25 David S. Miller <davem@davemloft.net>
49257 * sysdeps/unix/sparc/brk.S: Delete.
49258 * sysdeps/unix/sparc/dl-brk.S: Delete.
49259 * sysdeps/unix/sparc/pipe.S: Delete.
49260 * sysdeps/unix/sparc/sysdep.S: Delete.
49261 * sysdeps/unix/sparc/sysdep.h: Delete.
49262 * sysdeps/unix/sparc/vfork.S: Delete.
49263 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49264 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49265 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49266 (ret_ERRVAL, r0, r1, MOVE): Define.
49267 (JUMPTARGET): Remove.
49268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49269 sysdeps/unix/sparc/sysdep.h
49270 (ENTRY, END): Remove.
49271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49273 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49275 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49276 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49279 * timezone/README: Update upstream location and email address for
49281 * timezone/zdump.c: Update from tzcode 2012b.
49282 * timezone/zic.c: Likewise.
49284 * configure.in (libc_cv_as_needed): Remove test.
49285 * configure: Regenerated.
49286 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49287 conditional definition.
49288 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49289 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49290 * config.make.in (have-as-needed): Remove variable.
49292 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49293 Paul Pluzhnikov <ppluzhnikov@google.com>
49295 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49298 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49300 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49301 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49302 * sysdeps/sh/strlen.S: Likewise.
49304 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49306 * sysdeps/unix/fork.S: Remove file.
49307 * sysdeps/unix/i386/fork.S: Likewise.
49308 * sysdeps/unix/sparc/fork.S: Likewise.
49310 * sysdeps/unix/system.c: Remove file.
49311 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49313 * sysdeps/unix/getegid.S: Remove file.
49314 * sysdeps/unix/geteuid.S: Likewise.
49316 2012-04-24 Roland McGrath <roland@hack.frob.com>
49318 * scripts/check-localplt.awk: New file.
49319 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49321 * scripts/data/localplt-generic.data: Add a comment.
49323 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49324 NODE when __dir_mkfile failed.
49325 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49326 Reported by Ludovic Courtès <ludo@gnu.org>.
49328 2012-04-24 Andreas Jaeger <aj@suse.de>
49330 * Makerules (common-clean): Also remove gen-as-const-headers
49333 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49335 * Makerules (native-compile): Do not change working directory for
49336 build. Use $(OUTPUT_OPTION) in command.
49337 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49339 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49342 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49343 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49344 * math/libm-test.inc (floor_test): Add more tests.
49345 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49347 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49349 * sysdeps/unix/getdents.c: Remove file.
49350 * sysdeps/unix/sysv/getdents.c: Likewise.
49351 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49353 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49354 sysdeps/unix/mman/syscalls.list.
49356 (mprotect): Likewise.
49358 (munmap): Likewise.
49359 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49360 * sysdeps/unix/mman/syscalls.list: Remove.
49361 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49363 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49364 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49365 * configure: Regenerated.
49366 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49367 $(libgcc_s_suffix).
49368 * config.make.in (libgcc_s_suffix): Remove variable.
49370 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49372 * sysdeps/unix/sysv/gethostname.c: Move to ...
49373 * sysdeps/posix/gethostname.c: ... here.
49375 * sysdeps/unix/execve.S: Remove file.
49377 * sysdeps/unix/_exit.S: Remove file.
49379 2012-04-23 Andreas Jaeger <aj@suse.de>
49382 * manual/Makefile: Remove make dist support, there's no
49383 need for a stand-alone documentation tar ball.
49384 (TEXI2DVI): Define always, it's not in Makeconfig.
49387 (edition): Removed.
49388 (glibc-doc-$(edition).tar): Removed
49392 (ETAGS): Remove, it's in Makeconfig.
49393 (move-if-change): Remove, it's in Makeconfig.
49395 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49398 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49399 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49400 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49401 (strtod_l, strtof_l, strtold_l): Remove __wur.
49402 It is not necessarily an error to ignore strtol's return value.
49403 One can reliably look at the stored endptr to decide whether
49404 the number had valid syntax.
49406 2012-04-21 Andreas Jaeger <aj@suse.de>
49409 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49411 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49413 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49414 * sysdeps/unix/sysv/Versions: Remove file.
49416 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49421 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49424 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49425 version from __vm86.
49427 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49429 * sysdeps/unix/common/lxstat.c: Remove file.
49430 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49432 * sysdeps/unix/sysv/Makefile: Remove file.
49434 * sysdeps/unix/sysv/direct.h: Remove file.
49436 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49437 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49438 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49439 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49440 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49441 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49442 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49444 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49446 * sysdeps/unix/xmknod.c: Remove file.
49447 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49449 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49451 * sysdeps/unix/sysv/i386/time.S: Remove file.
49453 * sysdeps/unix/fxstat.c: Remove file.
49454 * sysdeps/unix/xstat.c: Likewise.
49455 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49457 * sysdeps/unix/sysv/sigaction.c: Remove file.
49459 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49460 (sysdep_headers): Remove variable.
49461 [termio.h not in sysdep_headers] (generated): Likewise.
49462 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49463 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49464 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49465 * sysdeps/unix/sysv/tcflow.c: Likewise.
49466 * sysdeps/unix/sysv/tcflush.c: Likewise.
49467 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49468 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49469 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49470 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49471 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49473 * sysdeps/unix/siglist.c: Remove file.
49475 * sysdeps/unix/getppid.S: Remove file.
49477 * sysdeps/unix/mkdir.c: Remove file.
49478 * sysdeps/unix/rmdir.c: Likewise.
49480 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49482 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49484 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49485 errlist-compat value.
49487 2012-04-18 David S. Miller <davem@davemloft.net>
49489 * sysdeps/generic/memcopy.h (reg_char): Delete.
49490 * debug/strcat_chk.c: Use char, not reg_char.
49491 * debug/strcpy_chk.c: Likewise.
49492 * debug/strncat_chk.c: Likewise.
49493 * debug/strncpy_chk.c: Likewise.
49494 * string/memchr.c: Likewise.
49495 * string/memrchr.c: Likewise.
49496 * string/rawmemchr.c: Likewise.
49497 * string/strcat.c: Likewise.
49498 * string/strchr.c: Likewise.
49499 * string/strchrnul.c: Likewise.
49500 * string/strcmp.c: Likewise.
49501 * string/strcpy.c: Likewise.
49502 * string/strncat.c: Likewise.
49503 * string/strncmp.c: Likewise.
49504 * string/strncpy.c: Likewise.
49506 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49508 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49509 __builtin_memcopy is called when src and dest ranges are known to not
49512 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49514 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49515 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49516 fwd_align_merge macro call.
49517 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49518 bwd_align_merge macro call.
49519 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49521 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49523 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49524 bwd_align_merge macros.
49525 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49526 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49529 2012-04-18 David S. Miller <davem@davemloft.net>
49531 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49533 2012-04-18 Andreas Jaeger <aj@suse.de>
49536 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49537 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49538 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49541 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49542 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49544 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49545 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49546 Adjust for changed ldbl-128 files.
49548 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49549 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49552 2012-04-17 David S. Miller <davem@davemloft.net>
49554 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49556 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49558 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49559 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49560 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49561 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49562 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49563 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49565 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49568 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49569 * math/libm-test.inc: Add ilogb errno and exception tests.
49570 * math/w_ilogb.c: New file: ilogb wrapper.
49571 * math/w_ilogbf.c: New file: ilogbf wrapper.
49572 * math/w_ilogbl.c: New file: ilogbl wrapper.
49573 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49574 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49575 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49576 exception being thrown with 0.0 as argument.
49577 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49578 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49579 exception being thrown with 0.0 as argument.
49580 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49581 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49582 exception being thrown with 0.0 as argument.
49583 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49584 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49585 exception being thrown with 0.0 as argument.
49586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49587 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49588 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49589 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49590 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49591 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49592 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49593 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49594 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49596 2012-04-17 Petr Baudis <pasky@ucw.cz>
49598 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49601 2012-04-16 Marek Polacek <polacek@redhat.com>
49603 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49605 2012-04-16 Marek Polacek <polacek@redhat.com>
49607 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49608 operands of fdivp instruction.
49610 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49612 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49613 * elf/tst-auditmod3b.c: Likewise.
49614 * elf/tst-auditmod4b.c: Likewise.
49615 * elf/tst-auditmod5b.c: Likewise.
49616 * elf/tst-auditmod6b.c: Likewise.
49617 * elf/tst-auditmod6c.c: Likewise.
49618 * elf/tst-auditmod7b.c: Likewise.
49619 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49620 * sysdeps/x86_64/preconfigure.in: Likewise.
49621 * sysdeps/x86_64/preconfigure: Regenerated.
49623 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49625 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49628 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49630 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49631 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49633 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49636 * locale/iso-639.def: Fix gl language name. Spotted by
49639 2012-04-12 Roland McGrath <roland@hack.frob.com>
49642 * libio/libio.h (__io_write_fn): Update comment.
49644 2012-04-12 Petr Baudis <pasky@ucw.cz>
49647 * stdio.texi (Hook Functions): The user provided writer function
49648 is not allowed to return -1.
49650 2012-04-11 David S. Miller <davem@davemloft.net>
49652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49654 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49656 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49657 Add a leading slash to rtkaio.
49659 2012-04-11 Jim Meyering <meyering@redhat.com>
49662 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49663 It is not necessarily an error to ignore fwrite's return
49664 value. One can reliably use ferror to test for errors after
49667 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49669 * bits/types.h (__snseconds_t): New type.
49670 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49672 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49674 (__SNSECONDS_T_TYPE): Likewise.
49675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49676 (__SNSECONDS_T_TYPE): Likewise.
49677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49678 (__SNSECONDS_T_TYPE): Likewise.
49680 2012-04-10 Andreas Jaeger <aj@suse.de>
49683 * manual/time.texi (Processor Time): Return type of times is
49684 elapsed real time since an arbitrary point in the past.
49685 (CPU Time): Move CLK_TCK from here...
49686 (Processor Time): ...to here. Correct description.
49687 * manual/conf.texi (Constants for Sysconf): Correct description of
49690 2012-04-10 David S. Miller <davem@davemloft.net>
49693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49694 where the is a gap between DT_REL(A) and DT_JMPREL.
49696 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49698 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49699 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49700 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49702 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49704 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49705 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49706 (dl_main): Handle --inhibit-cache.
49707 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49709 * elf/dl-load.c (_dl_map_object): Use it.
49710 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49712 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49715 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49716 (__ieee754_powl): Saturate large exponents rather than testing for
49717 overflow of y*log2(x).
49718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49719 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49723 * math/s_ctan.c: Include <float.h>.
49724 (__ctan): Avoid internal overflow or cancellation in calculating
49726 * math/s_ctanf.c: Likewise.
49727 * math/s_ctanl.c: Likewise.
49728 * math/s_ctanh.c: Likewise.
49729 * math/s_ctanhf.c: Likewise.
49730 * math/s_ctanhl.c: Likewise.
49731 * math/libm-test.inc (ctan_test): Add more tests.
49732 (ctanh_test): Likewise.
49733 * sysdeps/i386/fpu/libm-test-ulps: Update.
49734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49736 2012-04-09 Andreas Jaeger <aj@suse.de>
49739 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49740 is an optional BSD extension.
49743 * manual/stdio.texi (Opening Streams): Document additional fopen
49746 2012-04-09 Roland McGrath <roland@hack.frob.com>
49748 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49749 %eax without telling the compiler.
49751 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49754 * manual/install.texi: Use sourceware.org.
49756 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49759 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49760 (__ieee754_pow): Generate overflow and underflow using huge*huge
49761 and tiny*tiny rather than just returning constant infinity or zero
49762 for large exponents.
49763 * math/libm-test.inc (pow_test): Require overflow exceptions for
49764 applicable cases of large exponents.
49767 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49768 (__ieee754_pow): Use iterative multiplication algorithm only for
49769 integer exponents with absolute value below 1024. Check for odd
49770 integer exponents when using algorithm for real exponents.
49771 * math/libm-test.inc (pow_test): Add more tests.
49772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49774 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49777 * math/libm-test.inc (exp_test): Do not allow overflow exception
49780 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49783 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49784 instead of __kernel_standard_f.
49786 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49788 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49789 * sysdeps/x86_64/memset_chk.S: Likewise.
49791 2012-04-08 Andreas Jaeger <aj@suse.de>
49794 * manual/startup.texi (Environment Access): Describe return value
49795 for putenv and setenv.
49798 * manual/filesys.texi (Directory Entries): Add description for
49802 * manual/filesys.texi (Directory Entries): Clarify that it's file
49803 system not operating system in the description of DT_UNKNOWN.
49806 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49808 2012-04-08 Stephen Compall <s11@member.fsf.org>
49811 * manual/llio.texi (Opening and Closing Files): Add cross
49812 reference to explain mode argument.
49814 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49816 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49817 * sysdeps/x86_64/memset_chk.S: Likewise.
49819 2012-04-07 David S. Miller <davem@davemloft.net>
49821 * elf/elf.h (R_SPARC_WDISP10): Define.
49822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49825 R_SPARC_SIZE64 and R_SPARC_H34.
49827 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49830 conditions and remove no longer applicable assertion.
49832 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49834 * bits/byteswap.h: Include <features.h>.
49835 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49836 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49838 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49840 * bits/byteswap.h (__bswap_16): Removed.
49841 Include <bits/byteswap-16.h> to get __bswap_16.
49842 * sysdeps/i386/bits/byteswap.h: Likewise.
49843 * sysdeps/s390/bits/byteswap.h: Likewise.
49844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49845 * bits/byteswap-16.h: New file.
49846 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49847 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49848 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49849 * string/Makefile (headers): Add bits/byteswap-16.h.
49851 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49854 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49856 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49857 * nss/tst-nss-static.c: New.
49859 2012-04-06 Robert Millan <rmh@gnu.org>
49862 * manual/llio.texi (File Position Primitive): lseek
49863 refers to WHENCE when it really means OFFSET.
49865 2012-04-06 Andreas Jaeger <aj@suse.de>
49867 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49868 strncmp declarations.
49870 * abilist/libc.abilist: Add __poll and __ppoll.
49872 2012-04-05 David S. Miller <davem@davemloft.net>
49874 * scripts/check-local-headers.sh: Accept a host triplet in the
49875 path matched by the exclude regexp.
49877 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49879 * sysdeps/powerpc/powerpc32/dl-machine.h
49880 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49881 * sysdeps/s390/s390-32/dl-machine.h
49882 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49883 * sysdeps/sparc/sparc32/dl-machine.h
49884 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49885 * sysdeps/sparc/sparc64/dl-machine.h
49886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49888 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49890 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49891 undefined symbol errors.
49893 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49896 2012-04-05 Michael Matz <matz@suse.de>
49899 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49901 2012-04-05 Andreas Jaeger <aj@suse.de>
49904 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49907 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49909 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49910 which ROUND is no valid rounding mode.
49912 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49914 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49916 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49918 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49921 an exception using FPU order intentionally.
49923 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49925 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49926 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49927 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49928 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49930 2012-04-05 Simon Josefsson <simon@josefsson.org>
49933 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49934 EINVAL when BUFLEN is too smal.
49936 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49939 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49940 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49942 2012-04-03 Andreas Jaeger <aj@suse.de>
49945 * manual/setjmp.texi (System V contexts): Fix sentence.
49948 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49949 New macro for this case.
49950 [!__GNUC__] (__bswap_64): New inline function for this case.
49951 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49952 * bits/byteswap.h: Likewise.
49953 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49954 ull, guard with __GLIBC_HAVE_LONG_LONG.
49956 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49957 __GLIBC_HAVE_LONG_LONG.
49959 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49960 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49962 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49965 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49966 inptr and inend, rather than using last_ch.
49968 2012-04-02 David S. Miller <davem@davemloft.net>
49970 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49971 * stdio-common/printf-parse.h (read_int): Change return type to
49972 'int', return -1 on INT_MAX overflow.
49973 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49974 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49975 overflows INT_MAX. Check for overflow of in-format-string precision
49976 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49977 SIZE_MAX not INT_MAX for integer overflow test.
49978 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49979 skip the construct in the format string but do not record anything.
49980 * stdio-common/bug22.c: Adjust to test both width/prevision
49981 INT_MAX overflow as well as total length INT_MAX overflow. Check
49982 explicitly for proper errno values.
49984 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49986 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49988 * string/test-strcmp.c [! WIDE]: Likewise.
49989 * time/tst-mktime2.c: Likewise for INT_MAX.
49990 * string/test-string.h: #include <sys/param.h> for MIN.
49992 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49993 * sysdeps/i386/init-first.c (init): Likewise.
49994 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49995 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49996 * sysdeps/sh/init-first.c (init): Likewise.
49998 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50000 * po/ru.po: Update from translation team.
50001 * po/vi.po: Likewise.
50003 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50005 * resolv/nss_dns/dns-host.c: Merge copyright years.
50007 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50010 Optimize memcpy with prefetch if
50011 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50012 src, dst pointers have unequal 16 byte alignments.
50014 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50017 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50018 from a CNAME entry and return the minimum ttl for the query.
50019 (gaih_getanswer_slice): Likewise.
50021 2012-03-30 Jeff Law <law@redhat.com>
50023 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50025 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50026 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50028 * resolv/nss_dns/dns-host.c: Update copyright year.
50030 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50032 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50033 requests to save a system call. Fix check that all bytes are sent.
50035 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50036 comments for sendmmsg.
50038 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50041 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50042 with only 1 character between 0x0041 and 0x01b0.
50043 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50044 * wcsmbs/tst-mbsnrtowcs.c: New file.
50046 2012-03-29 David S. Miller <davem@davemloft.net>
50048 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50049 small copies by hand.
50051 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50054 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50055 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50058 2012-03-28 David S. Miller <davem@davemloft.net>
50060 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50061 that branches into memcpy.
50062 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50065 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50068 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50069 implementation too.
50070 * sysdeps/sparc/mempcpy.S: New file.
50072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50073 the IFUNC routine in the libc case.
50074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50076 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50077 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50078 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50079 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50080 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50081 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50082 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50083 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50085 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50086 loop to 256 bytes instead of 64 bytes and fix test signedness.
50088 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50089 * sysdeps/sparc/sparc32/Makefile: rather than here...
50090 * sysdeps/sparc/sparc64/Makefile: and here.
50092 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50094 * malloc/mallocbug.c: Avoid warnings about unused variables.
50096 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50099 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50100 in the right place. Discard and retry query if response is
50101 larger than input buffer size.
50103 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50108 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50109 x for large integer exponent.
50110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50111 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50112 sign of result as needed afterwards.
50113 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50115 result for underflowing pow the same as for overflow.
50116 (__kernel_standard_l): Handle powl overflow and underflow here
50117 rather than calling __kernel_standard.
50118 * math/libm-test.inc (pow_test): Add more tests.
50133 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50134 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50135 (__kernel_standard_l): New function.
50136 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50138 * math/w_acosl.c (__acosl): Likewise.
50139 * math/w_asinl.c (__asinl): Likewise.
50140 * math/w_atan2l.c (__atan2l): Likewise.
50141 * math/w_atanhl.c (__atanhl): Likewise.
50142 * math/w_coshl.c (__coshl): Likewise.
50143 * math/w_exp10l.c (__exp10l): Likewise.
50144 * math/w_exp2l.c (__exp2l): Likewise.
50145 * math/w_fmodl.c (__fmodl): Likewise.
50146 * math/w_hypotl.c (__hypotl): Likewise.
50147 * math/w_j0l.c (__j0l, __y0l): Likewise.
50148 * math/w_j1l.c (__j1l, __y1l): Likewise.
50149 * math/w_jnl.c (__jnl, __ynl): Likewise.
50150 * math/w_lgammal.c (__lgammal): Likewise.
50151 * math/w_log10l.c (__log10l): Likewise.
50152 * math/w_log2l.c (__log2l): Likewise.
50153 * math/w_logl.c (__logl): Likewise.
50154 * math/w_powl.c (__powl): Likewise.
50155 * math/w_remainderl.c (__remainderl): Likewise.
50156 * math/w_scalbl.c (sysv_scalbl): Likewise.
50157 * math/w_sinhl.c (__sinhl): Likewise.
50158 * math/w_sqrtl.c (__sqrtl): Likewise.
50159 * math/w_tgammal.c (__tgammal): Likewise.
50160 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50161 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50162 * math/libm-test.inc (acos_test): Add more tests.
50163 (acosh_test): Likewise.
50164 (asin_test): Likewise.
50165 (atanh_test): Likewise.
50166 (exp_test): Likewise.
50167 (exp10_test): Likewise.
50168 (exp2_test): Likewise.
50169 (expm1_test): Likewise.
50170 (lgamma_test): Likewise.
50171 (log_test): Likewise.
50172 (log10_test): Likewise.
50173 (log1p_test): Likewise.
50174 (log2_test): Likewise.
50175 (pow_test): Do not allow some spurious overflow exceptions.
50176 (sqrt_test): Add more tests.
50177 (tgamma_test): Likewise.
50178 (y0_test): Likewise.
50179 (y1_test): Likewise.
50180 (yn_test): Likewise.
50182 2012-03-27 Anton Blanchard <anton@samba.org>
50184 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50187 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50190 2012-03-27 David S. Miller <davem@davemloft.net>
50192 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50194 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50195 have-as-vis3 check.
50197 2012-03-27 Andreas Jaeger <aj@suse.de>
50199 * sysdeps/x86_64/elf/configure.in: Moved to ...
50200 * sysdeps/x86_64/configure.in: ... here.
50201 * sysdeps/x86_64/elf/start.S: Moved to ...
50202 * sysdeps/x86_64/start.S: ... here.
50203 * sysdeps/x86_64/elf/configure: Delete.
50205 * sysdeps/x86_64/configure.in: Merge contents from
50206 sysdeps/i386/configure.in (without i686 check).
50208 * sysdeps/i386/elf/Versions: Merge into ...
50209 * sysdeps/i386/Versions: ... this.
50210 * sysdeps/i386/elf/Versions: Delete file.
50211 * sysdeps/i386/elf/start.S: Moved to ...
50212 * sysdeps/i386/start.S: ...here.
50213 * sysdeps/i386/elf/configure.in: Merge into...
50214 * sysdeps/i386/configure.in: ...here.
50215 * sysdeps/i386/elf/configure.in: Delete file.
50216 * sysdeps/i386/elf/configure: Delete file.
50218 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50219 * debug/backtracesyms.c: ... here.
50220 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50221 * debug/backtracesymsfd.c: ... here.
50222 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50223 * sysdeps/generic/ifunc-sel.h: ... here.
50225 * sysdeps/unix/i386/start.c: Delete file.
50226 * sysdeps/unix/sparc/start.c: Delete file.
50227 * sysdeps/unix/start.c: Delete file.
50229 * sysdeps/sh/elf/configure.in: Moved to ...
50230 * sysdeps/sh/configure.in: ... here.
50231 * sysdeps/sh/elf/start.S: Moved to ...
50232 * sysdeps/sh/start.S: ... here.
50233 * sysdeps/sh/elf/configure: Delete file.
50235 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50236 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50237 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50238 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50239 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50240 * sysdeps/powerpc/powerpc64/start.S: here.
50241 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50242 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50243 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50244 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50245 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50247 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50248 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50249 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50250 * sysdeps/powerpc/powerpc32/start.S: ... here.
50251 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50252 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50253 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50255 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50256 * sysdeps/powerpc/ifunc-sel.h: ... here.
50257 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50258 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50260 * sysdeps/sparc/elf/configure.in: Moved to ...
50261 * sysdeps/sparc/configure.in: ... here.
50262 * sysdeps/sparc/elf/configure: Delete file.
50263 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50264 * sysdeps/sparc/sparc32/start.S: ... here.
50265 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50266 * sysdeps/sparc/sparc64/start.S: ... here.
50267 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50268 * sysdeps/sparc/sparc32/Makefile: ... this.
50269 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50270 * sysdeps/sparc/sparc64/Makefile: ... this.
50272 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50273 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50274 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50275 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50276 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50277 * sysdeps/s390/s390-32/setjmp.S: ... here.
50278 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50279 * sysdeps/s390/s390-32/configure.in: ... here.
50280 * sysdeps/s390/s390-32/elf/configure: Delete file.
50281 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50282 * sysdeps/s390/s390-32/start.S: ... here.
50284 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50285 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50286 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50287 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50288 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50289 * sysdeps/s390/s390-64/setjmp.S: ... here.
50290 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50291 * sysdeps/s390/s390-64/configure.in: ... here
50292 * sysdeps/s390/s390-64/elf/configure: Delete file.
50293 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50294 * sysdeps/s390/s390-64/start.S: ... here.
50295 * sysdeps/s390/s390-64/elf/configure: Delete.
50297 * configure.in: Remove support for elf directories in sysdeps.
50299 * configure: Regenerated.
50300 * sysdeps/i386/configure: Regenerated.
50301 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50302 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50303 * sysdeps/s390/s390-32/configure: Regenerated.
50304 * sysdeps/s390/s390-64/configure: Regenerated.
50305 * sysdeps/sh/configure: Regenerated.
50306 * sysdeps/sparc/configure: Regenerated.
50307 * sysdeps/x86_64/configure: Regenerated.
50309 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50314 denormal result into account.
50316 2012-03-25 Roland McGrath <roland@hack.frob.com>
50318 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50319 Reported by Allan McRae <allan@archlinux.org>.
50321 2012-03-23 Jeff Law <law@redhat.com>
50323 * nss/getnssent.c (__nss_getent): Fix typo.
50325 2012-03-23 David S. Miller <davem@davemloft.net>
50327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50329 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50331 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50332 to pad to uint64_t for each field.
50333 (dl_tls_index): Replace unsigned long with uint64_t.
50335 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50336 Paul Pluzhnikov <ppluzhnikov@google.com>
50339 * grp/Makefile (otherlibs): Don't set it.
50340 * inet/Makefile (otherlibs): Likewise.
50341 * login/Makefile (otherlibs): Likewise.
50342 * nscd/Makefile (otherlibs): Likewise.
50343 * posix/Makefile (otherlibs): Likewise.
50344 * pwd/Makefile (otherlibs): Likewise.
50345 * rt/Makefile (otherlibs): Likewise.
50346 * sunrpc/Makefile (otherlibs): Likewise.
50347 * nss/Makefile (otherlibs): Likewise.
50348 Add libnss_files to routines and static-only-routines.
50349 ($(objpfx)getent): Remove rule.
50350 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50351 static-only-routines.
50353 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50356 * math/s_cexp.c: Include <float.h>.
50357 (__cexp): Handle exp result overflowing not necessarily
50358 overflowing both real and imaginary parts of result.
50359 * math/s_cexpf.c: Likewise.
50360 * math/s_cexpl.c: Likewise.
50361 * math/libm-test.inc (cexp_test): Add more tests.
50362 * sysdeps/i386/fpu/libm-test-ulps: Update.
50363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50365 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50367 * include/link.h (ELFW): New macro.
50368 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50369 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50371 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50373 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50376 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50378 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50380 (struct La_x32_retval): Likewise.
50382 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50384 * sysdeps/x86_64/preconfigure.in: New file.
50385 * sysdeps/x86_64/preconfigure: New generated file.
50387 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50390 * math/e_exp2l.c: Include <float.h>.
50391 (__ieee754_exp2l): Handle overflow and underflow cases
50392 separately. Only pass fractional part of argument to
50394 * math/libm-test.inc (exp2_test): Add more tests.
50396 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50397 negating x to take absolute value.
50398 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50400 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50401 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50403 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50404 computing low part if x was negated.
50405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50407 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50409 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50410 la_x32_gnu_pltexit.
50411 (pltexit): Cast int_retval to ptrdiff_t.
50412 * elf/tst-auditmod3b.c: Likewise.
50413 * elf/tst-auditmod4b.c: Likewise.
50414 * elf/tst-auditmod5b.c: Likewise.
50415 * elf/tst-auditmod6b.c: Likewise.
50416 * elf/tst-auditmod6c.c: Likewise.
50417 * elf/tst-auditmod7b.c: Likewise.
50419 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50420 and x32_gnu_pltexit.
50422 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50423 __ELF_NATIVE_CLASS.
50424 (La_x32_regs): New macro.
50425 (La_x32_retval): Likewise.
50426 (la_x32_gnu_pltenter): New function prototype.
50427 (la_x32_gnu_pltexit): Likewise.
50429 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50436 * configure.in (libc_cv_cc_nofma): Check for option to disable
50437 generation of FMA instructions.
50438 * configure: Regenerate.
50439 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50440 * sysdeps/ieee754/dbl-64/Makefile: New file.
50441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50442 Remove brandred-fma4.
50443 (CFLAGS-brandred-fma4.c): Remove.
50444 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50445 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50447 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50450 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50452 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50453 LLONG_MAX != LONG_MAX.
50454 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50455 (_fitoa_word): Likewise.
50456 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50457 LLONG_MAX != LONG_MAX.
50458 * stdio-common/_itowa.h: Include <_itoa.h>.
50459 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50460 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50461 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50462 only if not defined.
50463 (_ITOA_WORD_TYPE): Likewise.
50464 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50465 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50467 2012-03-21 David S. Miller <davem@davemloft.net>
50469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50471 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50473 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50474 of x86_64 when setting libc_cv_slibdir, libdir and
50476 * sysdeps/unix/sysv/linux/configure: Regenerated.
50478 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50480 * manual/lang.texi (Old Varargs): Remove section.
50481 (How Variadic): Update menu.
50482 (va_start): Do not mention varargs.h.
50484 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50485 Joseph Myers <joseph@codesourcery.com>
50487 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50489 * configure: Regenerated.
50491 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50493 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50494 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50497 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50500 * Makefile (files-for-dist): Remove NOTES.
50501 (NOTES): Remove rule.
50502 * README: Don't refer to NOTES.
50503 * manual/creature.texi: Don't include macros.texi.
50504 * manual/intro.texi (creature.texi): Remove comment referring to
50507 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50508 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50509 * configure: Regenerated.
50510 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50511 LIBC_TRY_CC_OPTION.
50512 (libc_cv_as_i686): Likewise.
50513 (libc_cv_cc_avx): Likewise.
50514 (libc_cv_cc_sse2avx): Likewise.
50515 (libc_cv_cc_fma4): Likewise.
50516 (libc_cv_cc_novzeroupper): Likewise.
50517 * sysdeps/i386/configure: Regenerated.
50520 * sysdeps/i386/fpu/s_cexp.S: Remove.
50521 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50522 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50523 * math/libm-test.inc (cexp_test): Add more tests.
50524 * sysdeps/i386/fpu/libm-test-ulps: Update.
50525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50527 2012-03-21 Allan McRae <allan@archlinux.org>
50529 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50531 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50534 * math/w_exp2.c: Do not include <float.h>.
50535 (o_threshold, u_threshold): Remove.
50536 (__exp2): Calculate result before checking finiteness and calling
50538 * math/w_exp2f.c: Likewise.
50539 * math/w_exp2l.c: Likewise.
50540 * math/libm-test.inc (exp2_test): Require overflow exception for
50544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50545 range of signed 64-bit integers before using fistpll. Remove
50546 checks for whether integers fit in mantissa bits.
50547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50548 the range of signed 32-bit integers before using fistpl. Remove
50549 checks for whether integers fit in mantissa bits.
50550 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50551 (__ieee754_powl): Test for y outside the range of signed 64-bit
50552 integers before using fistpll. Reduce 64-bit values to 63-bit
50554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50555 divide-by-zero is raised for zero to large negative powers.
50556 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50557 (__ieee754_powl): Test for y outside the range of signed 64-bit
50558 integers before using fistpll. Reduce 64-bit values to 63-bit
50560 * math/libm-test.inc (pow_test): Add more tests.
50562 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50564 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50565 <stdio-common/_itoa.h>.
50566 * debug/segfault.c: Likewise.
50567 * elf/dl-cache.c: Likewise.
50568 * elf/dl-minimal.c: Likewise.
50569 * elf/dl-misc.c: Likewise.
50570 * elf/dl-sysdep.c: Likewise.
50571 * elf/dl-version.c: Likewise.
50572 * elf/rtld.c: Likewise.
50573 * hurd/hurdsock.c: Likewise.
50574 * hurd/lookup-retry.c: Likewise.
50575 * malloc/malloc.c: Likewise.
50576 * malloc/mtrace.c: Likewise.
50577 * nscd/nscd_getgr_r.c: Likewise.
50578 * nscd/nscd_getpw_r.c: Likewise.
50579 * nscd/nscd_getserv_r.c: Likewise.
50580 * posix/getopt_init.c: Likewise.
50581 * posix/wordexp.c: Likewise.
50582 * stdio-common/_itoa.c: Likewise.
50583 * stdio-common/printf_fphex.c: Likewise.
50584 * stdio-common/vfprintf.c: Likewise.
50585 * string/_strerror.c: Likewise.
50586 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50587 * sysdeps/i386/i686/hp-timing.h: Likewise.
50588 * sysdeps/mach/_strerror.c: Likewise.
50589 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50590 * sysdeps/mach/hurd/sethostid.c: Likewise.
50591 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50592 * sysdeps/mach/xpg-strerror.c: Likewise.
50593 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50595 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50596 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50597 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50598 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50599 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50600 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50601 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50602 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50603 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50604 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50605 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50606 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50607 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50608 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50609 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50610 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50611 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50612 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50613 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50615 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50617 * stdio-common/_itoa.h: Moved to ...
50618 * sysdeps/generic/_itoa.h: Here.
50620 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50622 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50623 instead of "_itoa.h" and "_itowa.h".
50624 * stdio-common/vfprintf.: Likewise.
50626 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50628 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50630 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50631 (__signbit): Likwise.
50632 (llrintf): Likwise.
50635 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50637 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50640 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50642 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50643 OVERFLOW_EXCEPTION_OK.
50644 * math/libm-test.inc ("Philosophy"): Update comment about
50646 (OVERFLOW_EXCEPTION): Define.
50647 (OVERFLOW_EXCEPTION_OK): Likewise.
50648 (INVALID_EXCEPTION_OK): Renumber.
50649 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50650 (IGNORE_ZERO_INF_SIGN): Likewise.
50651 (test_exceptions): Handle FE_OVERFLOW.
50652 (exp10_test): Expect overflow exceptions.
50653 (exp2_test): Likewise.
50654 (expm1_test): Likewise.
50655 (nextafter_test): Likewise.
50656 (pow_test): Likewise.
50657 (scalbn_test): Likewise.
50658 (scalbln_test): Likewise.
50660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50662 * sysdeps/x86_64/bits/atomic.h
50663 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50665 (atomic_exchange_acq): Likewise.
50666 (__arch_exchange_and_add_body): Likewise.
50667 (__arch_add_body): Likewise.
50668 (atomic_add_negative): Likewise.
50669 (atomic_add_zero): Likewise.
50671 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50673 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50674 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50676 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50678 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50679 Check __x86_64__ instead of __WORDSIZE.
50681 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50683 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50685 2012-03-19 David S. Miller <davem@davemloft.net>
50687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50689 * sysdeps/sparc/fpu/fenv_private.h: New file.
50690 * sysdeps/sparc/fpu/math_private.h: Use it.
50691 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50693 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50694 (libc_feholdexcept_setroundl): Remove.
50695 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50697 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50698 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50700 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50702 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50703 int64_t instead of long int.
50704 (INSERT_WORDS64): Likwise.
50706 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50708 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50709 _Unwind_GetCFA return to _Unwind_Ptr first.
50711 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50714 * math/s_clog.c: Include <float.h>.
50715 (__clog): Scale large or subnormal inputs.
50716 * math/s_clogf.c: Likewise.
50717 * math/s_clogl.c: Likewise.
50718 * math/s_clog10.c: Include <float.h>.
50719 (M_LOG10_2): Define.
50720 (__clog10): Scale large or subnormal inputs.
50721 * math/s_clog10f.c: Likewise.
50722 * math/s_clog10l.c: Likewise.
50723 * math/libm-test.inc (clog_test): Add more tests.
50724 (clog10_test): Likewise.
50725 * sysdeps/i386/fpu/libm-test-ulps: Update.
50726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50729 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50731 * math/libm-test.inc (atan2_test): Add another test.
50733 * Makerules (common-objdir-compile): Remove.
50734 * sysdeps/unix/Makefile (config-generated): Do not add
50735 $(unix-generated) to variable.
50736 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50737 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50739 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50741 [generic bits/local_lim.h] (before-compile): Do not append to
50743 [generic bits/local_lim.h] (common-generated): Likewise.
50744 [generic sys/param.h] (before-compile): Do not append to variable.
50745 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50746 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50747 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50748 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50750 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50751 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50752 [generic sys/param.h] ($(addprefix
50753 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50754 [generic sys/param.h] (common-generated): Do not append to
50756 [generic sys/param.h] (sysdep_headers): Likewise.
50757 [generic bits/errno.h] (before-compile): Do not append to
50759 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50761 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50762 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50763 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50764 [generic bits/errno.h] (common-generated): Do not append to
50766 [generic bits/ioctls.h] (before-compile): Do not append to
50768 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50770 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50771 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50772 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50774 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50775 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50776 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50777 [generic bits/ioctls.h] (common-generated): Do not append to
50779 [generic sys/syscall.h] (syscall.h): Remove variable.
50780 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50782 [generic sys/syscall.h] (before-compile): Do not append to
50784 [generic sys/syscall.h] (common-generated): Likewise.
50785 * sysdeps/unix/errnos-tmpl.c: Remove file.
50786 * sysdeps/unix/errnos.awk: Likewise.
50787 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50788 * sysdeps/unix/ioctls.awk: Likewise.
50789 * sysdeps/unix/mk-local_lim.c: Likewise.
50790 * sysdeps/unix/snarf-ioctls: Likewise.
50792 2012-03-19 Richard Henderson <rth@twiddle.net>
50794 * sysdeps/i386/fpu/fenv_private.h: New file.
50795 * sysdeps/i386/fpu/math_private.h: Use it.
50796 (math_opt_barrier, math_force_eval): Remove.
50797 (libc_feholdexcept_setround_53bit): Remove.
50798 (libc_feupdateenv_53bit): Remove.
50799 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50800 (math_opt_barrier, math_force_eval): Remove.
50801 (libc_feholdexcept): Remove.
50802 (libc_feholdexcept_setround): Remove.
50803 (libc_fetestexcept, libc_fesetenv): Remove.
50804 (libc_feupdateenv_test): Remove.
50805 (libc_feupdateenv, libc_feholdsetround): Remove.
50806 (libc_feresetround): Remove.
50808 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50809 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50811 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50812 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50813 (libc_feupdateenv_testl): New.
50814 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50815 (libc_feupdateenv_testf): New.
50816 (libc_feupdateenv): Use libc_feupdateenv_test.
50817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50818 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50820 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50821 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50822 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50823 (libc_feresetround_noex): New.
50824 (libc_feresetround_noexf): New.
50825 (libc_feresetround_noexl): New.
50826 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50827 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50828 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50829 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50834 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50836 SET_RESTORE_ROUND_NOEX.
50837 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50838 SET_RESTORE_ROUND_NOEXF.
50839 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50840 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50841 (libc_feholdsetroundf): New.
50842 (libc_feresetround, libc_feresetroundf): New.
50844 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50845 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50846 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50848 * sysdeps/generic/math_private.h: Include <fenv.h>.
50849 (default_libc_feholdexcept): New.
50850 (default_libc_feholdexcept_setround): New.
50851 (default_libc_fesetenv, default_libc_feupdateenv): New.
50852 (libc_feholdexcept): Only define if undefined.
50853 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50854 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50855 (libc_feholdexcept_setroundl): Likewise.
50856 (libc_feholdexcept_setround_53bit): Likewise.
50857 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50858 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50859 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50860 (libc_feupdateenv_53bit): Likewise.
50861 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50862 (libc_feholdexcept): Convert from macro to inline function.
50863 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50864 (libc_fesetenv, libc_feupdateenv): Likewise.
50866 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50867 not previously defined.
50868 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50869 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50870 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50871 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50872 * sysdeps/ieee754/flt-32/math_private.h: New file.
50873 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50874 math_private.h below SET_FLOAT_WORD.
50875 (__isnan, __isinf_ns, __finite): Remove.
50876 (__isnanf, __isinf_nsf, __finitef): Remove.
50878 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50882 2012-03-17 David S. Miller <davem@davemloft.net>
50885 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50888 2012-03-16 David S. Miller <davem@davemloft.net>
50890 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50894 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50896 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50897 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50898 sysdep_routines when subdir is sysvipc.
50899 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50900 __getshmlba helper.
50902 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50904 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50906 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50909 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50911 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50912 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50913 (__lround): Renamed to ...
50914 (__llround): This. Replace long int with long long int.
50915 Define lround functions as aliases of llround functions.
50916 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50918 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50920 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50921 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50922 adresses to uintptr_t. Replace "long int" and "unsigned long
50923 int" with "greg_t" on va_arg.
50925 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50927 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50928 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50930 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50931 Move e_machine check before EI_CLASS check. Handle x32
50932 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50933 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50934 SKIP_EM_IA_64 and include
50935 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50937 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50938 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50939 (add_system_dir): New macro.
50941 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50942 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50944 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50955 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50957 * math/w_j0f.c (j0f): Likewise.
50959 * math/w_j0l.c (__j0l): Likewise.
50961 * math/w_j1.c (j1): Likewise.
50963 * math/w_j1f.c (j1f): Likewise.
50965 * math/w_j1l.c (__j1l): Likewise.
50967 * math/w_jn.c (jn): Likewise.
50969 * math/w_jnf.c (jnf): Likewise.
50971 * math/w_jnl.c (__jnl): Likewise.
50973 * math/libm-test.inc (j0_test): Add more tests.
50974 (j1_test): Likewise.
50975 (jn_test): Likewise. Add trailing semicolon to existing test.
50976 (y0_test): Likewise.
50977 (y1_test): Likewise.
50978 * sysdeps/i386/fpu/libm-test-ulps: Update.
50979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50984 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50985 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50987 (__tanl): Set errno for infinite argument.
50988 * sysdeps/i386/fpu/mptan.c: Remove.
50989 * sysdeps/i386/fpu/s_tan.S: Likewise.
50990 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50991 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50992 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50993 * math/libm-test.inc (tan_test): Add more tests and enable more
50994 tests for double and long double.
50995 * sysdeps/i386/fpu/libm-test-ulps: Update.
50996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50998 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51000 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51001 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51003 2012-03-16 Roland McGrath <roland@hack.frob.com>
51005 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51006 * configure.in: Use it for both main tree and add-ons.
51007 * configure: Regenerated.
51009 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51011 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51013 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51015 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51019 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51020 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51021 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51022 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51023 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51025 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51026 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51027 != 0 for prec == 2.
51028 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51029 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51030 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51031 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51032 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51033 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51034 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51035 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51036 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51037 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51038 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51039 * math/libm-test.inc (cos_test): Add more tests and enable more
51040 tests for long double.
51041 (sin_test): Likewise.
51042 (sincos_test): Likewise.
51043 * sysdeps/i386/fpu/libm-test-ulps: Update.
51044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51046 2012-03-16 David S. Miller <davem@davemloft.net>
51048 * sysdeps/sparc/fpu/math_private.h: New file.
51050 2012-03-15 David S. Miller <davem@davemloft.net>
51052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51066 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51067 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51069 * sysdeps/sparc/sparc-ifunc.h: New file.
51070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51115 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51117 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51121 2012-03-15 Andreas Jaeger <aj@suse.de>
51124 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51125 ieee754/flt-32 implementation for sin, cos and sincos.
51126 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51127 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51128 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51129 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51130 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51131 ieee754/flt-32 implementation for tan.
51133 * math/libm-test.inc (cos_test): Enable some large input tests for
51135 (sin_test): Likewise.
51136 (sincos_test): Likewise.
51137 (tan_test): Add tests for large input.
51139 * sysdeps/i386/fpu/libm-test-ulps: Update.
51141 2012-03-15 Andreas Jaeger <aj@suse.de>
51144 * math/libm-test.inc (cos_test): Add more test cases.
51145 (sin_test): Likewise.
51146 (sincos_test): Likewise.
51148 2012-03-15 Andreas Jaeger <aj@suse.de>
51151 * math/libm-test.inc (cos_test): Add a test case for large input
51153 (sin_test): Likewise.
51154 (sincos_test): Likewise.
51156 2012-03-15 Andreas Jaeger <aj@suse.de>
51157 Joseph Myers <joseph@codesourcery.com>
51160 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51161 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51162 * sysdeps/i386/fpu/branred.c: Likewise.
51163 * sysdeps/i386/fpu/dosincos.c: Likewise.
51164 * sysdeps/i386/fpu/mpa.c: Likewise.
51165 * sysdeps/i386/fpu/s_cos.S: Likewise.
51166 * sysdeps/i386/fpu/s_sin.S: Likewise.
51167 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51168 * sysdeps/i386/fpu/sincos32.c: Likewise.
51170 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51172 (libc_feupdateenv_53bit): Define.
51173 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51175 (libc_feupdateenv_53bit): Define.
51177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51178 53 bit (without extend i386 double precision).
51180 * math/libm-test.inc (sincos_test): Add tests for large input.
51184 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51186 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51190 2012-03-15 David S. Miller <davem@davemloft.net>
51192 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51193 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51194 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51195 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51220 fmin/fmax sysdep routines.
51221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51223 2012-03-14 David S. Miller <davem@davemloft.net>
51225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51297 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51302 * sysdeps/sparc/configure.in: New file.
51303 * sysdeps/sparc/configure: Generate.
51304 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51305 * configure: Regenerate.
51306 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51307 * config.make.in (have-as-vis3): New.
51308 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51309 available use -Av9d instead of -Av9a.
51310 * sysdeps/sparc/sparc64/Makefile: Likewise.
51311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51326 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51327 fzeros/fnegs to load 0x80000000 into a float register instead of
51329 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51331 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51335 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51336 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51337 ($(inst_includedir)/bits/syscall.h): Remove rule.
51338 ($(objpfx)bits/syscall.d): Include instead of
51339 $(objpfx)syscall-list.d.
51340 (generated): Change syscall-list.h and syscall-list.d to
51341 bits/syscall.h and bits/syscall.d.
51343 2012-03-14 Roland McGrath <roland@hack.frob.com>
51346 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51348 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51351 * math/s_csqrt.c: Include <float.h>.
51352 (__csqrt): Scale large or subnormal inputs.
51353 * math/s_csqrtf.c: Likewise.
51354 * math/s_csqrtl.c: Likewise.
51355 * math/libm-test.inc (csqrt_test): Add more tests.
51356 * sysdeps/i386/fpu/libm-test-ulps: Update.
51357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51360 * math/libm-test.inc (hypot_test): Add more tests.
51362 2012-03-13 David S. Miller <davem@davemloft.net>
51365 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51366 double-precision for the calculation instead of scaling.
51368 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51370 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51371 manipulate bits before adding and subtracting TWO52[sx].
51372 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51373 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51375 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51377 2012-03-13 David S. Miller <davem@davemloft.net>
51379 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51380 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51382 rtld-global-offsets.h
51383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51385 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51388 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51390 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51391 'err' in the ifdef scope in which it is actually used.
51393 * nss/nss_db/db-init.c: Include string.h
51395 2012-03-12 David S. Miller <davem@davemloft.net>
51397 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51398 masking out of the most significant byte of random value used.
51399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51400 Fix coding style in previous change.
51402 * sysdeps/unix/sysv/linux/kernel-features.h
51403 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51404 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51406 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51409 2012-03-11 David S. Miller <davem@davemloft.net>
51411 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51412 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51414 for 'resultvar' otherwise things get truncated on 64-bit.
51416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51417 Fix masking out of the most significant byte of random value used.
51419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51421 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51425 2012-03-09 David S. Miller <davem@davemloft.net>
51427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51428 variables with appropriate CPP guards.
51429 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51430 from the frame pointer, not the stack pointer. Correct layout
51431 comments. Fix test on resulting framesize and the management of
51432 the outregs buffer for pltexit. Preserve floating point return
51433 values across _dl_call_pltexit call.
51434 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51435 framesize and the management of the outregs buffer for pltexit.
51436 Preserve floating point return values across _dl_call_pltexit
51438 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51439 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51440 (la_sparc64_gnu_pltexit): New functions.
51441 (print_exit): Fix format string for return register value.
51443 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51445 * sunrpc/Makefile (others): Add rpcgen.
51446 ($(objpfx)rpcgen): Remove special build rule and dependency on
51448 * sunrpc/rpcgen.c: New file.
51450 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51453 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51454 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51455 * sysdeps/i386/crti.S: Likewise.
51456 * sysdeps/i386/crtn.S: Likewise.
51457 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51458 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51459 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51460 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51461 * sysdeps/sh/crti.S: Likewise.
51462 * sysdeps/sh/crtn.S: Likewise.
51463 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51466 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51468 * locale/programs/locfile-kw.gperf: Likewise.
51469 * locale/programs/charmap-kw.h: Regenerated.
51470 * locale/programs/locfile-kw.h: Likewise.
51473 * intl/plural.y: Replace FSF snail mail address with URL.
51474 * intl/plural.c: Regenerated.
51476 2012-03-09 Richard Henderson <rth@twiddle.net>
51478 * include/math_private.h: Remove file.
51479 * math/math_private.h: Move file ...
51480 * sysdeps/generic/math_private.h: ... here.
51482 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51483 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51484 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51486 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51487 and <math_private.h>.
51488 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51489 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51490 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51491 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51492 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51497 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51503 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51504 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51506 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51512 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51518 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51520 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51521 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51522 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51523 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51524 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51525 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51526 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51528 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51531 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51532 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51533 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51534 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51535 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51536 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51537 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51538 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51539 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51540 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51541 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51542 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51543 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51544 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51545 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51546 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51547 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51548 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51549 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51552 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51556 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51557 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51559 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51567 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51568 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51569 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51570 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51572 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51575 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51576 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51577 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51578 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51579 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51581 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51582 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51583 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51584 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51585 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51586 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51587 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51588 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51589 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51590 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51591 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51592 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51593 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51594 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51595 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51596 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51598 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51599 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51601 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51602 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51603 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51604 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51605 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51606 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51609 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51610 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51611 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51612 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51613 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51615 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51617 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51618 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51619 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51620 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51621 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51622 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51623 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51624 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51625 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51626 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51627 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51628 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51629 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51630 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51631 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51632 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51633 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51634 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51635 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51636 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51637 * sysdeps/ieee754/k_standard.c: Likewise.
51638 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51639 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51640 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51641 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51642 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51643 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51644 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51655 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51657 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51669 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51670 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51671 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51672 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51674 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51676 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51677 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51678 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51679 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51680 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51681 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51682 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51683 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51684 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51686 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51689 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51690 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51691 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51694 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51695 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51696 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51697 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51698 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51699 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51700 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51701 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51702 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51704 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51705 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51706 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51709 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51710 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51711 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51712 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51719 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51720 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51721 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51722 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51723 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51724 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51728 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51729 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51730 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51731 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51734 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51735 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51736 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51737 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51739 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51742 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51745 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51746 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51747 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51748 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51749 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51750 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51751 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51752 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51753 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51754 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51756 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51760 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51761 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51763 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51771 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51772 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51773 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51774 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51775 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51776 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51777 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51778 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51779 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51780 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51781 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51782 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51783 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51784 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51787 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51788 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51789 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51792 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51793 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51794 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51795 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51796 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51797 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51798 * sysdeps/ieee754/s_lib_version.c: Likewise.
51799 * sysdeps/ieee754/s_matherr.c: Likewise.
51800 * sysdeps/ieee754/s_signgam.c: Likewise.
51801 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51803 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51804 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51805 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51806 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51807 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51808 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51809 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51810 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51811 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51812 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51813 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51814 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51815 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51816 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51818 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51819 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51823 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51825 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51826 * sunrpc/rpc_main.c: Likewise.
51827 * sunrpc/rpc_svcout.c: Likewise.
51829 2012-03-09 David S. Miller <davem@davemloft.net>
51831 * include/math_private.h: New file.
51833 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51835 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51836 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51837 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51838 from <bits/socket_type.h>.
51839 (enum __socket_type): Don't define here.
51840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51842 bits/socket_type.h.
51845 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51846 checking __USE_GNU.
51848 * Makerules ($(inst_includedir)/%.h): New rule.
51849 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51850 (install-others): Remove variable setting.
51851 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51853 2012-03-08 Richard Henderson <rth@twiddle.net>
51855 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51856 from macro to inline function; merge with the
51857 !__LIBC_INTERNAL_MATH_INLINES version.
51858 (__ieee754_sqrtf): Likewise.
51860 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51861 to inline function.
51862 (__rintf, __floor, __floorf): Likewise.
51864 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51865 macro to inline function.
51866 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51869 not <math/math_private.h>.
51871 2012-03-08 David S. Miller <davem@davemloft.net>
51873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51875 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51877 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51879 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51881 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51882 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51884 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51886 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51887 be defined individually, they must be defined as a block. Define
51888 S for printing a string instead of hidint the different by using a
51889 macro for adding the 'l'.
51890 * stdio-common/tst-fphex-wide.c: Adjust.
51892 2012-03-07 Marek Polacek <polacek@redhat.com>
51894 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51896 2012-03-08 Marek Polacek <polacek@redhat.com>
51899 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51900 * stdio-common/tst-fphex.c: Define a few macros to make the
51901 test reusable. Use them.
51902 * stdio-common/tst-fphex-wide.c: New file.
51904 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51907 * manual/macros.texi (gnusystems): New macro.
51908 (nongnusystems): Likewise.
51909 (gnulinuxhurdsystems): Likewise.
51910 (gnuhurdsystems): Likewise..
51911 (gnulinuxsystems): Likewise.
51912 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51913 variants of the GNU system, not "GNU system".
51914 * manual/conf.texi: Likewise.
51915 * manual/errno.texi: Likewise. Update example of errno macro
51917 * manual/filesys.texi: Likewise.
51918 (getumask): Document as specific to GNU/Hurd.
51919 * manual/install.texi: Likewise. Reword some references to
51921 * manual/intro.texi: Likewise.
51922 * manual/io.texi: Likewise.
51923 (File Name Portability): Detail which constraints are inapplicable
51924 to all GNU systems and which are only inapplicable to GNU/Hurd.
51925 * manual/job.texi: Likewise.
51926 * manual/llio.texi: Likewise.
51927 (O_NOCTTY): Document as present on GNU/Linux.
51928 * manual/maint.texi: Likewise.
51929 * manual/memory.texi: Likewise.
51930 * manual/pattern.texi: Likewise.
51931 * manual/pipe.texi: Likewise.
51932 * manual/process.texi: Likewise.
51933 * manual/resource.texi: Likewise.
51934 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51936 * manual/setjmp.texi: Likewise.
51937 * manual/signal.texi: Likewise.
51938 * manual/startup.texi: Likewise.
51939 * manual/stdio.texi: Likewise.
51940 * manual/terminal.texi: Likewise.
51941 (ONLCR): Document as POSIX.
51942 (OXTABS): Document availability on GNU/Linux as XTABS.
51943 (ONOEOT): Document availability separately from other bits.
51944 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51945 * manual/time.texi: Likewise.
51946 * manual/users.texi: Likewise.
51947 * INSTALL: Regenerated.
51948 * sysdeps/gnu/errlist.c: Regenerated.
51950 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51951 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51952 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51954 * configure: Regenerated.
51956 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51958 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51959 default includes instead of AC_HEADER_CHECK.
51960 * sysdeps/i386/configure: Regenerated.
51963 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51964 * math/s_cacoshf.c (__cacoshf): Likewise.
51965 * math/s_cacoshl.c (__cacoshl): Likewise.
51966 * math/s_casinh.c (__casinh): Set signs of result from argument.
51967 * math/s_casinhf.c (__casinhf): Likewise.
51968 * math/s_casinhl.c (__casinhl): Likewise.
51969 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51970 (casinh_test): Add more tests.
51971 * sysdeps/i386/fpu/libm-test-ulps: Update.
51972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51974 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51976 * po/zh_TW.po: Update from translation team.
51978 * login/Makefile (distribute): Remove variable.
51979 * catgets/Makefile: Likewise.
51980 * mach/Makefile: Likewise.
51981 * malloc/Makefile: Likewise.
51982 * misc/Makefile: Likewise.
51983 * iconv/Makefile: Likewise.
51984 * nscd/Makefile: Likewise.
51985 * hurd/Makefile: Likewise.
51986 * manual/Makefile: Likewise.
51987 * locale/Makefile: Likewise.
51988 * intl/Makefile: Likewise.
51989 * conform/Makefile: Likewise.
51990 * nss/Makefile: Likewise.
51991 * time/Makefile: Likewise.
51992 * soft-fp/Makefile: Likewise.
51993 * dirent/Makefile: Likewise.
51994 * gmon/Makefile: Likewise.
51995 * po/Makefile: Likewise.
51996 * rt/Makefile: Likewise.
51997 * socket/Makefile: Likewise.
51998 * math/Makefile: Likewise.
51999 * signal/Makefile: Likewise.
52000 * debug/Makefile: Likewise.
52001 * elf/Makefile: Likewise.
52002 * timezone/Makefile: Likewise.
52003 * stdlib/Makefile: Likewise.
52004 * iconvdata/Makefile: Likewise.
52005 * sunrpc/Makefile: Likewise.
52006 * io/Makefile: Likewise.
52007 * argp/Makefile: Likewise.
52008 * inet/Makefile: Likewise.
52009 * hesiod/Makefile: Likewise.
52010 * grp/Makefile: Likewise.
52011 * csu/Makefile: Likewise.
52012 * wctype/Makefile: Likewise.
52013 * crypt/Makefile: Likewise.
52014 * libio/Makefile: Likewise.
52015 * string/Makefile: Likewise.
52016 * nis/Makefile: Likewise.
52017 * resolv/Makefile: Likewise.
52018 * stdio-common/Makefile: Likewise.
52019 * wcsmbs/Makefile: Likewise.
52020 * dlfcn/Makefile: Likewise.
52021 * posix/Makefile: Likewise.
52024 * timezone/Makefile: Don't install timezone files, just the programs
52027 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52029 * nss/databases.def: Add missing gshadow entry.
52031 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52033 2012-03-06 Marek Polacek <polacek@redhat.com>
52036 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52037 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52038 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52039 * stdio-common/tst-long-dbl-fphex.c: New file.
52041 2012-03-06 David S. Miller <davem@davemloft.net>
52043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52044 (set_obp_int): New function.
52045 (get_obp_int): New function.
52046 (__get_clockfreq_via_dev_openprom): Likewise.
52047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52048 Avoid unused variable warnings on 'val' and use builtin_expect.
52049 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52051 (INLINE_CLONE_SYSCALL): Likewise.
52053 2012-03-05 David S. Miller <davem@davemloft.net>
52055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52057 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52061 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52062 only for |x| >= 40.
52063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52065 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52068 Replace gettimeofday with __vdso_gettimeofday.
52070 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52071 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52072 __vdso_clock_gettime and __vdso_getcpu.
52074 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52075 time with __vdso_time.
52077 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52079 * manual/lang.texi (size_t): Note types to which size_t may be
52080 equivalent with the GNU C Library, but do not describe when
52081 differences between them are significant.
52083 2012-03-05 Andreas Jaeger <aj@suse.de>
52085 * sysdeps/i386/fpu/libm-test-ulps: Update.
52087 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52090 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52091 (__ieee754_pow): Save and restore rounding mode and use
52092 round-to-nearest for main computations.
52093 * math/libm-test.inc (pow_test_tonearest): New function.
52094 (pow_test_towardzero): Likewise.
52095 (pow_test_downward): Likewise.
52096 (pow_test_upward): Likewise.
52097 (main): Call the new functions.
52098 * sysdeps/i386/fpu/libm-test-ulps: Update.
52099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52102 * math/libm-test.inc (cosh_test_tonearest): New function.
52103 (cosh_test_towardzero): Likewise.
52104 (cosh_test_downward): Likewise.
52105 (cosh_test_upward): Likewise.
52106 (sinh_test_tonearest): Likewise.
52107 (sinh_test_towardzero): Likewise.
52108 (sinh_test_downward): Likewise.
52109 (sinh_test_upward): Likewise.
52110 (main): Call the new functions.
52111 * sysdeps/i386/fpu/libm-test-ulps: Update.
52112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52114 2012-03-05 Tom de Vries <tom@codesourcery.com>
52116 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52117 default stack guard is set in last bytes.
52118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52120 2012-03-05 Kees Cook <keescook@chromium.org>
52122 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52125 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52126 possibly allocate from heap instead of stack.
52127 * stdio-common/bug-vfprintf-nargs.c: New file.
52128 * stdio-common/Makefile (tests): Add nargs overflow test.
52130 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52134 2012-03-03 Marek Polacek <polacek@redhat.com>
52136 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52137 * math/math_private.h: Likewise.
52138 * stdlib/tst-strtod.c: Likewise.
52139 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52140 * sysdeps/x86_64/bits/atomic.h: Likewise.
52142 2012-03-02 David S. Miller <davem@davemloft.net>
52144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52148 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52149 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52150 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52151 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52153 2012-03-02 Roland McGrath <roland@hack.frob.com>
52156 * manual/examples/README: New file, says the example source files
52157 can be used under GPL>=2.
52158 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52159 line containing just "*/".
52160 * manual/examples/add.c: Add copyright header (GPL>=2).
52161 * manual/examples/argp-ex1.c: Likewise.
52162 * manual/examples/argp-ex2.c: Likewise.
52163 * manual/examples/argp-ex3.c: Likewise.
52164 * manual/examples/argp-ex4.c: Likewise.
52165 * manual/examples/atexit.c: Likewise.
52166 * manual/examples/db.c: Likewise.
52167 * manual/examples/dir.c: Likewise.
52168 * manual/examples/dir2.c: Likewise.
52169 * manual/examples/execinfo.c: Likewise.
52170 * manual/examples/filecli.c: Likewise.
52171 * manual/examples/filesrv.c: Likewise.
52172 * manual/examples/fmtmsgexpl.c: Likewise.
52173 * manual/examples/genpass.c: Likewise.
52174 * manual/examples/inetcli.c: Likewise.
52175 * manual/examples/inetsrv.c: Likewise.
52176 * manual/examples/isockad.c: Likewise.
52177 * manual/examples/longopt.c: Likewise.
52178 * manual/examples/memopen.c: Likewise.
52179 * manual/examples/memstrm.c: Likewise.
52180 * manual/examples/mkfsock.c: Likewise.
52181 * manual/examples/mkisock.c: Likewise.
52182 * manual/examples/mygetpass.c: Likewise.
52183 * manual/examples/pipe.c: Likewise.
52184 * manual/examples/popen.c: Likewise.
52185 * manual/examples/rprintf.c: Likewise.
52186 * manual/examples/search.c: Likewise.
52187 * manual/examples/select.c: Likewise.
52188 * manual/examples/setjmp.c: Likewise.
52189 * manual/examples/sigh1.c: Likewise.
52190 * manual/examples/sigusr.c: Likewise.
52191 * manual/examples/stpcpy.c: Likewise.
52192 * manual/examples/strdupa.c: Likewise.
52193 * manual/examples/strftim.c: Likewise.
52194 * manual/examples/strncat.c: Likewise.
52195 * manual/examples/subopt.c: Likewise.
52196 * manual/examples/swapcontext.c: Likewise.
52197 * manual/examples/termios.c: Likewise.
52198 * manual/examples/testopt.c: Likewise.
52199 * manual/examples/testpass.c: Likewise.
52200 * manual/examples/timeval_subtract.c: Likewise.
52203 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52205 * manual/timeval_subtract.c.texi: ... here, new file.
52207 2012-03-02 David S. Miller <davem@davemloft.net>
52209 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52211 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52214 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52215 (__sin): Save and restore rounding mode and use round-to-nearest
52216 for all computations.
52217 (__cos): Save and restore rounding mode and use round-to-nearest
52218 for all computations.
52219 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52221 (tan): Save and restore rounding mode and use round-to-nearest for
52223 * math/libm-test.inc (cos_test_tonearest): New function.
52224 (cos_test_towardzero): Likewise.
52225 (cos_test_downward): Likewise.
52226 (cos_test_upward): Likewise.
52227 (sin_test_tonearest): Likewise.
52228 (sin_test_towardzero): Likewise.
52229 (sin_test_downward): Likewise.
52230 (sin_test_upward): Likewise.
52231 (tan_test_tonearest): Likewise.
52232 (tan_test_towardzero): Likewise.
52233 (tan_test_downward): Likewise.
52234 (tan_test_upward): Likewise.
52235 (main): Call the new functions.
52236 * sysdeps/i386/fpu/libm-test-ulps: Update.
52237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52240 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52241 small n, then large n, before computing and testing k+n.
52242 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52247 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52248 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52249 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52250 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52251 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52252 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52253 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52254 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52255 * math/libm-test.inc (scalbn_test): Add more tests.
52256 (scalbln_test): Likewise.
52258 * manual/filesys.texi (mode_t): Describe constraints on size and
52259 signedness, not exact equivalence to a particular type.
52261 (ino64_t): Likewise.
52263 (nlink_t): Likewise.
52264 (blkcnt_t): Likewise.
52265 (blkcnt64_t): Likewise.
52266 * manual/llio.texi (off_t): Likewise.
52269 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52270 (__ieee754_exp): Save and restore rounding mode and use
52271 round-to-nearest for all computations.
52272 * math/libm-test.inc (exp_test_tonearest): New function.
52273 (exp_test_towardzero): Likewise.
52274 (exp_test_downward): Likewise.
52275 (exp_test_upward): Likewise.
52276 (main): Call the new functions.
52277 * sysdeps/i386/fpu/libm-test-ulps: Update.
52278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52280 2012-03-01 Chris Demetriou <cgd@google.com>
52282 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52283 have predictable order.
52285 2012-03-01 David S. Miller <davem@davemloft.net>
52287 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52289 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52290 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52291 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52292 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52294 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52295 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52296 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52298 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52299 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52300 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52301 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52302 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52306 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52307 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52308 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52310 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52311 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52312 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52313 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52314 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52315 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52317 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52318 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52319 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52320 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52321 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52323 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52324 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52326 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52327 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52328 * sysdeps/sparc/elf/configure: Regenerated.
52330 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52332 * configure.in (AS, LD): Require binutils 2.20 or later.
52333 * configure: Regenerated.
52334 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52335 as required minimum version.
52336 * INSTALL: Regenerated.
52340 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52341 before squaring exponent.
52342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52343 bottom long double and 27 bits of top long double before squaring
52345 * math/libm-test.inc (erfc_test): Add more tests.
52346 * sysdeps/i386/fpu/libm-test-ulps: Update.
52347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52350 2012-03-01 Kai Tietz <ktietz@redhat.com>
52352 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52353 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52354 containing bit-fields.
52355 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52356 * soft-fp/single.h (_FP_UNION_S): Likewise.
52357 * soft-fp/double.h (_FP_UNION_D): Likewise.
52359 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52362 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52363 not include ../strcmp.S.
52364 [USE_AS_STRNCASECMP_L]: Likewise.
52365 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52366 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52367 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52368 (__strncasecmp_l_ia32): Define as alias to
52369 __strncasecmp_l_nonascii.
52372 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52373 * sysdeps/i386/fpu/libm-test-ulps: Update.
52374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52376 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52379 2012-02-29 Jeff Law <law@redhat.com>
52381 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52382 out of bounds read.
52384 2012-02-29 Marek Polacek <polacek@redhat.com>
52387 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52388 * elf/Makefile: Add rules to run tst-unused-dep.out.
52390 2012-02-28 David S. Miller <davem@davemloft.net>
52392 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52393 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52399 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52401 * math/libm-test.inc (llround_test): Move one test from
52402 lround_test. Use TEST_f_L in moved test.
52403 (lround_test): Move misplaced test to llround_test. Add testcase
52406 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52408 * sysdeps/x86_64/fpu/e_expf.S: New file.
52409 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52411 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52414 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52415 of remain_len that may cause incomplete multi-byte character and
52417 * posix/bug-regex33.c: New file.
52418 * posix/Makefile (tests): Add bug-regex33.
52420 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52422 * manual/macros.texi: New file.
52423 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52424 * manual/libc.texinfo: Include macros.texi.
52425 * manual/creatute.texi: Likewise.
52426 * manual/install.texi: Likewise.
52427 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52428 @glibcadj{} in references to the GNU C Library.
52429 * manual/charset.texi: Likewise.
52430 * manual/conf.texi: Likewise.
52431 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52432 when not using those macros.
52433 * manual/creature.texi: Likewise.
52434 * manual/crypt.texi: Likewise.
52435 * manual/errno.texi: Likewise.
52436 * manual/filesys.texi: Likewise.
52437 * manual/header.texi: Likewise.
52438 * manual/install.texi: Likewise.
52439 * manual/intro.texi: Likewise.
52440 * manual/io.texi: Likewise.
52441 * manual/job.texi: Likewise.
52442 * manual/lang.texi: Likewise.
52443 * manual/libc.texiinfo: Likewise.
52444 * manual/llio.texi: Likewise.
52445 * manual/locale.texi: Likewise.
52446 * manual/maint.texi: Likewise.
52447 * manual/math.texi: Likewise.
52448 * manual/memory.texi: Likewise.
52449 * manual/message.texi: Likewise.
52450 * manual/nss.texi: Likewise.
52451 * manual/pattern.texi: Likewise.
52452 * manual/process.texi: Likewise.
52453 * manual/resource.texi: Likewise.
52454 * manual/search.texi: Likewise.
52455 * manual/setjmp.texi: Likewise.
52456 * manual/signal.texi: Likewise.
52457 * manual/socket.texi: Likewise.
52458 * manual/startup.texi: Likewise.
52459 * manual/stdio.texi: Likewise.
52460 * manual/string.texi: Likewise.
52461 * manual/sysinfo.texi: Likewise.
52462 * manual/syslog.texi: Likewise.
52463 * manual/terminal.texi: Likewise.
52464 * manual/time.texi: Likewise.
52465 * manual/users.texi: Likewise.
52466 * INSTALL: Regenerated.
52467 * NOTES: Regenerated.
52468 * sysdeps/gnu/errlist.c: Regenerated.
52470 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52472 * include/dirent.h: Include <dirstream.h> before
52475 2012-02-28 David S. Miller <davem@davemloft.net>
52477 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52478 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52479 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52480 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52482 2012-02-27 David S. Miller <davem@davemloft.net>
52484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52486 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52487 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52490 frame pointer instead of stack pointer relative arg slot.
52491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52492 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52493 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52495 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52498 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52500 2012-02-27 David S. Miller <davem@davemloft.net>
52502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52506 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52507 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52508 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52509 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52511 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52513 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52514 later. Allow versions 5-9.
52515 * configure: Regenerated.
52516 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52517 required minimum version and 4.6 as recommended version. Do not
52518 mention bugs in GCC 2.7 and 2.8.
52519 * INSTALL: Regenerated.
52521 2012-02-27 David S. Miller <davem@davemloft.net>
52523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52527 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52528 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52529 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52530 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52533 manipulate bits before adding and subtracting TWO112[sx].
52534 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52536 2012-02-27 Roland McGrath <roland@hack.frob.com>
52539 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52540 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52541 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52542 being in POSIX, because they are in 1003.1-2008.
52544 * rt/tst-aio.c: Include <fcntl.h>.
52545 * rt/tst-aio7.c: Likewise.
52546 * rt/tst-aio64.c: Likewise.
52548 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52550 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52552 * manual/install.texi (--with-headers): Describe headers as
52553 interface headers, not private headers.
52554 (Specific advice for GNU/Linux systems): Describe use of headers
52555 from "make headers_install", not private headers from older
52557 * INSTALL: Regenerated.
52558 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52560 * sysdeps/unix/sysv/linux/configure: Regenerated.
52562 * manual/llio.texi (fclean): Remove documentation.
52564 * manual/Makefile (libc-texi-generated): New variable. Include
52566 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52567 $(libc-texi-generated), not duplicated list of files.
52568 (version.texi, stamp-version): New rules.
52569 (realclean): Remove $(libc-texi-generated), not individual files
52570 from that list. Do not remove dir-add.texinfo.
52571 * manual/libc.texinfo: Comment out uses of edition numbers and
52572 references to printed manual. Remove last-updated dates.
52573 (EDITION): Comment out.
52575 (VERSION, UPDATED): Remove.
52576 (version.texi): Include.
52578 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52580 * sysdeps/posix/spawni.c: Include <signal.h>.
52581 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52582 * sysdeps/pthread/aio_fsync.c: Likewise.
52584 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52586 * conform/Makefile (tests): Run only when not cross-compiling and
52587 when fast-check is not defined.
52589 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52590 * conform/data/limits.h-data: Fixes for POSIX2008.
52591 * conform/run-conformtest.sh: Run all tests.
52592 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52594 * include/bits/dlfcn.h: Likewise.
52595 * include/langinfo.h: Likewise.
52596 * include/monetary.h: Likewise.
52597 * include/sys/poll.h: Likewise.
52599 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52601 * posix/spawn.h: Define __need_sigset_t.
52602 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52603 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52604 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52605 to get sigevent_t only.
52606 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52607 only for __USE_GNU.
52608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52609 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52610 process_vm_writev only for __USE_GNU.
52611 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52613 * conform/Makefile: For now ignore errors from run-conformtest.
52614 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52615 POSIX to avoid namespace pollution. Don't prepend headers.
52616 * conform/data/aio.h-data: Fixes for POSIX testing.
52617 * conform/data/fcntl.h-data: Likewise.
52618 * conform/data/glob.h-data: Likewise.
52619 * conform/data/grp.h-data: Likewise.
52620 * conform/data/pthread.h-data: Likewise.
52621 * conform/data/pwd.h-data: Likewise.
52622 * conform/data/signal.h-data: Likewise.
52623 * conform/data/spawn.h-data: Likewise.
52624 * conform/data/stdio.h-data: Likewise.
52625 * conform/data/stdlib.h-data: Likewise.
52626 * conform/data/stropts.h-data: Likewise.
52627 * conform/data/sys/mman.h-data: Likewise.
52628 * conform/data/sys/stat.h-data: Likewise.
52629 * conform/data/sys/types.h-data: Likewise.
52630 * conform/data/sys/wait.h-data: Likewise.
52631 * conform/data/time.h-data: Likewise.
52632 * conform/data/unistd.h-data: Likewise.
52633 * conform/data/utime.h-data: Likewise.
52635 * io/sys/stat.h: fchmod was always in POSIX.
52636 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52637 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52638 * rt/aio.h: Define __need_timespec before including <time.h>.
52639 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52640 struct. Add forward declaration of pthread_attr_t and use it in
52642 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52644 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52645 always remove CLK_TCK definition.
52647 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52649 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52651 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52653 * conform/run-conformtest.sh: New file.
52654 * conform/Makefile: Run run-conformtest for tests.
52655 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52658 * conform/data/uchar.h-data: New file.
52659 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52660 * conform/data/arpa/inet.h-data: Likewise.
52661 * conform/data/assert.h-data: Likewise.
52662 * conform/data/complex.h-data: Likewise.
52663 * conform/data/cpio.h-data: Likewise.
52664 * conform/data/ctype.h-data: Likewise.
52665 * conform/data/dirent.h-data: Likewise.
52666 * conform/data/dlfcn.h-data: Likewise.
52667 * conform/data/errno.h-data: Likewise.
52668 * conform/data/fcntl.h-data: Likewise.
52669 * conform/data/float.h-data: Likewise.
52670 * conform/data/fmtmsg.h-data: Likewise.
52671 * conform/data/fnmatch.h-data: Likewise.
52672 * conform/data/ftw.h-data: Likewise.
52673 * conform/data/glob.h-data: Likewise.
52674 * conform/data/grp.h-data: Likewise.
52675 * conform/data/iconv.h-data: Likewise.
52676 * conform/data/inttypes.h-data: Likewise.
52677 * conform/data/langinfo.h-data: Likewise.
52678 * conform/data/libgen.h-data: Likewise.
52679 * conform/data/limits.h-data: Likewise.
52680 * conform/data/locale.h-data: Likewise.
52681 * conform/data/math.h-data: Likewise.
52682 * conform/data/monetary.h-data: Likewise.
52683 * conform/data/mqueue.h-data: Likewise.
52684 * conform/data/ndbm.h-data: Likewise.
52685 * conform/data/net/if.h-data: Likewise.
52686 * conform/data/netdb.h-data: Likewise.
52687 * conform/data/netinet/in.h-data: Likewise.
52688 * conform/data/nl_types.h-data: Likewise.
52689 * conform/data/poll.h-data: Likewise.
52690 * conform/data/pthread.h-data: Likewise.
52691 * conform/data/pwd.h-data: Likewise.
52692 * conform/data/regex.h-data: Likewise.
52693 * conform/data/sched.h-data: Likewise.
52694 * conform/data/search.h-data: Likewise.
52695 * conform/data/semaphore.h-data: Likewise.
52696 * conform/data/setjmp.h-data: Likewise.
52697 * conform/data/signal.h-data: Likewise.
52698 * conform/data/spawn.h-data: Likewise.
52699 * conform/data/stdarg.h-data: Likewise.
52700 * conform/data/stdio.h-data: Likewise.
52701 * conform/data/stdlib.h-data: Likewise.
52702 * conform/data/string.h-data: Likewise.
52703 * conform/data/strings.h-data: Likewise.
52704 * conform/data/stropts.h-data: Likewise.
52705 * conform/data/sys/ipc.h-data: Likewise.
52706 * conform/data/sys/mman.h-data: Likewise.
52707 * conform/data/sys/msg.h-data: Likewise.
52708 * conform/data/sys/resource.h-data: Likewise.
52709 * conform/data/sys/select.h-data: Likewise.
52710 * conform/data/sys/sem.h-data: Likewise.
52711 * conform/data/sys/shm.h-data: Likewise.
52712 * conform/data/sys/socket.h-data: Likewise.
52713 * conform/data/sys/stat.h-data: Likewise.
52714 * conform/data/sys/statvfs.h-data: Likewise.
52715 * conform/data/sys/time.h-data: Likewise.
52716 * conform/data/sys/timeb.h-data: Likewise.
52717 * conform/data/sys/times.h-data: Likewise.
52718 * conform/data/sys/types.h-data: Likewise.
52719 * conform/data/sys/uio.h-data: Likewise.
52720 * conform/data/sys/un.h-data: Likewise.
52721 * conform/data/sys/utsname.h-data: Likewise.
52722 * conform/data/sys/wait.h-data: Likewise.
52723 * conform/data/syslog.h-data: Likewise.
52724 * conform/data/tar.h-data: Likewise.
52725 * conform/data/termios.h-data: Likewise.
52726 * conform/data/utime.h-data: Likewise.
52727 * conform/data/utmpx.h-data: Likewise.
52728 * conform/data/varargs.h-data: Likewise.
52729 * conform/data/wchar.h-data: Likewise.
52730 * conform/data/wctype.h-data: Likewise.
52731 * conform/data/wordexp.h-data: Likewise.
52733 * include/stropts.h: New file.
52734 * include/uchar.h: New file.
52735 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52736 * include/assert.h: Likewise.
52737 * include/ctype.h: Likewise.
52738 * include/dirent.h: Likewise.
52739 * include/dlfcn.h: Likewise.
52740 * include/fcntl.h: Likewise.
52741 * include/fnmatch.h: Likewise.
52742 * include/glob.h: Likewise.
52743 * include/grp.h: Likewise.
52744 * include/libio.h: Likewise.
52745 * include/locale.h: Likewise.
52746 * include/math.h: Likewise.
52747 * include/net/if.h: Likewise.
52748 * include/netdb.h: Likewise.
52749 * include/netinet/in.h: Likewise.
52750 * include/pthread.h: Likewise.
52751 * include/pwd.h: Likewise.
52752 * include/regex.h: Likewise.
52753 * include/sched.h: Likewise.
52754 * include/search.h: Likewise.
52755 * include/setjmp.h: Likewise.
52756 * include/signal.h: Likewise.
52757 * include/stdio.h: Likewise.
52758 * include/stdlib.h: Likewise.
52759 * include/string.h: Likewise.
52760 * include/sys/cdefs.h: Likewise.
52761 * include/sys/mman.h: Likewise.
52762 * include/sys/msg.h: Likewise.
52763 * include/sys/resource.h: Likewise.
52764 * include/sys/select.h: Likewise.
52765 * include/sys/socket.h: Likewise.
52766 * include/sys/stat.h: Likewise.
52767 * include/sys/statvfs.h: Likewise.
52768 * include/sys/time.h: Likewise.
52769 * include/sys/times.h: Likewise.
52770 * include/sys/uio.h: Likewise.
52771 * include/sys/utsname.h: Likewise.
52772 * include/sys/wait.h: Likewise.
52773 * include/termios.h: Likewise.
52774 * include/time.h: Likewise.
52775 * include/ulimit.h: Likewise.
52776 * include/unistd.h: Likewise.
52777 * include/utime.h: Likewise.
52778 * include/wchar.h: Likewise.
52779 * include/wctype.h: Likewise.
52780 * include/wordexp.h: Likewise.
52782 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52784 * time/time.h: TIME_UTC must be a macro.
52785 Make timespec_get available for ISO C11 only as well.
52787 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52789 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52790 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52792 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52794 * configure.in: Use -o not -a in test for unsupported multi-arch.
52796 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52798 * manual/texinfo.tex: Update to version 2012-01-19.16.
52800 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52802 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52804 2012-02-24 Roland McGrath <roland@hack.frob.com>
52807 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52808 * manual/fdl-1.3.texi: New file.
52809 * manual/fdl-1.1.texi: File removed.
52812 * manual/libc.texinfo (FDL_VERSION): New @set.
52813 Use it for mention of FDL in cover text.
52814 (Documentation License): Use it in @include file name.
52816 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52817 Roland McGrath <roland@hack.frob.com>
52820 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52821 (not LONG_LONG_MAX and LONG_LONG_MIN.
52822 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52823 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52825 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52827 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52832 manipulate bits before adding and subtracting TWO23[sx].
52833 * math/libm-test.inc (nearbyint_test): Add more tests.
52835 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52838 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52839 bits before adding and subtracting TWO23[sx].
52840 * math/libm-test.inc (rint_test): Add more tests.
52841 (rint_test_tonearest): Likewise.
52842 (rint_test_towardzero): Likewise.
52843 (rint_test_downward): Likewise.
52844 (rint_test_upward: Likewise.
52846 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52849 * include/stdc-predef.h: New file. Extracted from features.h.
52850 * include/features.h: Include stdc-predef.h.
52851 * Makefile (headers): Add stdc-predef.h.
52852 * CONFORMANCE (Compiler limitations): Update.
52854 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52856 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52858 2012-02-21 David S. Miller <davem@davemloft.net>
52860 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52863 2012-02-20 David S. Miller <davem@davemloft.net>
52865 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52866 using a normal save/restore sequence, rather than allocating a
52867 dummy stack frame just to store a frame pointer and restore.
52868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52870 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52872 * manual/install.texi: Fix stray word in line-wrapped comment.
52874 2012-02-20 David S. Miller <davem@davemloft.net>
52876 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52877 both binutils and gcc support GOTDATA.
52879 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52880 "rd %pc" in the PIC register setup sequences.
52882 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52883 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52884 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52885 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52886 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52888 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52891 (SYSCALL_ERROR_HANDLER): Likewise.
52892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52893 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52895 (SYSCALL_ERROR_HANDLER): Likewise.
52897 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52898 (HAVE_GCC_GOTDATA): New.
52899 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52900 relocation support in both binutils and gcc.
52901 * sysdeps/sparc/elf/configure: Regenerate.
52903 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52904 * sysdeps/sparc/sparc32/elf/configure: Delete.
52905 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52906 * sysdeps/sparc/sparc64/elf/configure: Delete.
52907 * sysdeps/sparc/elf/configure.in: New file.
52908 * sysdeps/sparc/elf/configure: Generate.
52910 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52911 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52913 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52914 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52916 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52918 * manual/install.texi: Do not mention specific glibc version
52920 * manual/libc.texinfo (VERSION, UPDATED): Update.
52921 (@copying): Use @copyright{} and range of years.
52923 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52926 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52927 [crti.S not in sysdirs] (generated): Do not append.
52928 [crti.S not in sysdirs] (omit-deps): Likewise.
52929 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52930 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52931 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52932 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52933 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52935 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52936 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52937 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52938 * csu/defs.awk: Remove file.
52939 * sysdeps/generic/initfini.c: Likewise.
52940 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52942 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52945 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52947 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52948 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52949 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52950 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52951 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52952 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52954 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52955 (__EPOLL_PACKED): Define to empty if not defined by
52957 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52961 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52963 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52964 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52965 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52966 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52968 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52972 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52974 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52976 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52981 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52984 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52986 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52988 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52989 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52991 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52993 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52996 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52998 * math/w_acos.c: Use non-signaling floating-point comparisons.
52999 * math/w_acosf.c: Likewise.
53000 * math/w_acosh.c: Likewise.
53001 * math/w_acoshf.c: Likewise.
53002 * math/w_acoshl.c: Likewise.
53003 * math/w_acosl.c: Likewise.
53004 * math/w_asin.c: Likewise.
53005 * math/w_asinf.c: Likewise.
53006 * math/w_asinl.c: Likewise.
53007 * math/w_atanh.c: Likewise.
53008 * math/w_atanhf.c: Likewise.
53009 * math/w_atanhl.c: Likewise.
53010 * math/w_exp2.c: Likewise.
53011 * math/w_exp2f.c: Likewise.
53012 * math/w_exp2l.c: Likewise.
53013 * math/w_j0.c: Likewise.
53014 * math/w_j0f.c: Likewise.
53015 * math/w_j0l.c: Likewise.
53016 * math/w_j1.c: Likewise.
53017 * math/w_j1f.c: Likewise.
53018 * math/w_j1l.c: Likewise.
53019 * math/w_jn.c: Likewise.
53020 * math/w_jnf.c: Likewise.
53021 * math/w_log.c: Likewise.
53022 * math/w_log10.c: Likewise.
53023 * math/w_log10f.c: Likewise.
53024 * math/w_log10l.c: Likewise.
53025 * math/w_log2.c: Likewise.
53026 * math/w_log2f.c: Likewise.
53027 * math/w_log2l.c: Likewise.
53028 * math/w_logf.c: Likewise.
53029 * math/w_logl.c: Likewise.
53030 * math/w_sqrt.c: Likewise.
53031 * math/w_sqrtf.c: Likewise.
53032 * math/w_sqrtl.c: Likewise.
53033 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53034 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53035 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53036 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53037 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53039 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53042 * manual/string.texi (strnlen): Use correct parameter name in
53043 equivalent expression.
53045 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53048 * manual/users.texi (seteuid): Consistently use neweuid for
53051 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53054 * manual/nss.texi (Services in the NSS configuration): Correct
53055 list of services in example configuration file.
53057 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53060 * manual/arith.texi: Remove statements about negative zero
53061 behaving identically to zero.
53063 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53066 * manual/install.texi: Do not document upgrading from libc5.
53068 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53071 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53073 2012-02-18 David S. Miller <davem@davemloft.net>
53075 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53076 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53077 %o7 across the call.
53078 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53081 SETUP_PIC_REG_LEAF.
53082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53083 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53084 * sysdeps/sparc/crtn.S: Likewise.
53086 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53088 * aout/Makefile: Remove.
53090 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53093 * manual/examples/argp-ex1.c (main): Format definition in GNU
53095 * manual/examples/argp-ex2.c (main): Likewise.
53096 * manual/examples/argp-ex3.c (main): Likewise.
53097 * manual/examples/argp-ex4.c (main): Likewise.
53098 * manual/examples/longopt.c (main): Use new-style prototype
53100 * manual/examples/strncat.c (main): Specify return type and use
53101 (void) for arguments.
53102 * manual/examples/subopt.c (main): Use char **argv argument.
53104 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53107 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53110 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53113 * manual/string.texi (strchr): Change when strchrnul is
53116 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53119 * manual/locale.texi (setlocale): Document LOCPATH.
53121 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53124 * manual/process.texi (execle): Move @dots{} before last argument.
53126 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53129 * manual/charset.texi (Generic Charset Conversion): Fix typo
53130 (LC_TYPE -> LC_CTYPE).
53132 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53135 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53136 (scalbnf): Likewise.
53137 (scalbnl): Likewise.
53138 (scalbln): Likewise.
53139 (scalblnf): Likewise.
53140 (scalblnl): Likewise.
53141 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53142 (vwarnx): Likewise.
53145 * manual/filesys.texi (telldir): Use braces around return type.
53146 * manual/llio.texi (mmap): Add space after comma.
53147 (mmap64): Likewise.
53148 * manual/math.texi (jn): Use @var{} on parameter names.
53154 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53156 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53158 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53159 (sched_get_priority_max): Likewise.
53160 * manual/signal.texi (sigvec): Add space after comma.
53161 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53163 (if_indextoname): Likewise.
53164 (if_freenameindex): Likewise.
53165 (sendto): Use ',' instead of '.' in prototype.
53166 * manual/startup.texi (syscall): Use @dots{} instead of literal
53168 * manual/stdio.texi (__fpending): Separate initial words of
53169 paragraph from @deftypefun line.
53170 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53172 (vsyslog): Use @var{} on parameter names.
53173 * manual/terminal.texi (stty): Use @var{} on parameter names.
53174 * manual/users.texi (getutmp): Use @var{} on parameter names.
53175 (getutmpx): Likewise.
53177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53180 * manual/stdio.texi (fopen): Fix typos in description of
53183 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53186 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53187 get clock_id definition.
53189 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53192 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53193 (madvise): Cast every argument to void on its own.
53195 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53198 * manual/startup.texi (Exit Status): Fix typo.
53200 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53203 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53204 * manual/examples/argp-ex2.c: Likewise.
53205 * manual/examples/argp-ex3.c: Likewise.
53207 2012-02-16 Richard Henderson <rth@redhat.com>
53209 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53210 * sysdeps/s390/s390-32/initfini.c: Remove.
53211 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53212 * sysdeps/s390/s390-64/initfini.c: Remove.
53214 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53216 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53217 compiler output for sysdeps/generic/initfini.c.
53218 * sysdeps/sh/elf/initfini.c: Remove file.
53220 2012-02-16 David S. Miller <davem@davemloft.net>
53223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53225 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53226 * sysdeps/sparc/crti.S: New file.
53227 * sysdeps/sparc/crtn.S: New file.
53228 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53229 * sysdeps/sparc/sparc64/Makefile: Likewise.
53231 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53234 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53236 2012-02-15 Roland McGrath <roland@hack.frob.com>
53239 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53241 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53242 (write, read, close): Likewise.
53243 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53245 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53247 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53248 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53249 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53250 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53252 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53256 2012-02-14 Marek Polacek <polacek@redhat.com>
53258 * sysdeps/x86_64/crti.S: New file.
53259 * sysdeps/x86_64/crtn.S: New file.
53260 * sysdeps/x86_64/elf/initfini.c: Remove file.
53262 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53264 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53265 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53266 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53267 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53269 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53273 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53275 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53276 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53277 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53278 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53280 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53284 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53286 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53287 __feraiseexcept instead of feraiseexcept.
53289 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53290 nanosleep invocations.
53291 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53292 strings, and add error checking for a nanosleep invocations.
53294 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53296 Replace FSF snail mail address with URLs, as per GNU coding standards.
53297 Most of the snail mail addresses were wrong anyway, and omitting
53298 them makes the source code easier to maintain. Almost all of the
53299 changes are to license notices and to locale LC_IDENTIFICATION
53300 addresses, except for this one:
53301 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53302 not its snail mail address.
53304 2012-02-09 Richard Henderson <rth@twiddle.net>
53306 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53307 of kernel-features.h.
53309 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53311 2012-02-08 Marek Polacek <polacek@redhat.com>
53313 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53314 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53315 * sysdeps/gnu/_G_config.h: Likewise.
53316 * sysdeps/generic/_G_config.h: Likewise.
53318 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53320 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53324 * sysdeps/powerpc/powerpc32/crti.S: New file.
53325 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53326 * sysdeps/powerpc/powerpc64/crti.S: New file.
53327 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53329 * Makeconfig (have-initfini): Don't set.
53330 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53331 * configure.in (nopic_initfini): Don't substitute.
53332 * config.h.in (HAVE_INITFINI): Don't #undef.
53333 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53334 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53336 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53338 Support crti.S and crtn.S provided directly by architectures.
53339 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53340 [crti.S in sysdirs] (omit-deps): Likewise.
53341 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53342 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53343 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53344 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53345 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53346 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53347 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53348 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53349 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53350 compiler output for sysdeps/generic/initfini.c.
53351 * sysdeps/i386/elf/Makefile: Remove file.
53352 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53354 2012-02-07 Marek Polacek <polacek@redhat.com>
53356 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53357 * sysdeps/gnu/_G_config.h: Likewise.
53358 * sysdeps/mach/hurd/_G_config.h: Likewise.
53360 2012-02-07 Marek Polacek <polacek@redhat.com>
53362 * math/Makefile (tests): Add tst-CMPLX2.
53363 * math/tst-CMPLX2.c: New file.
53365 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53367 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53369 * math/libm-test.inc (jn_test): Add missing L suffix.
53371 2012-02-06 Marek Polacek <polacek@redhat.com>
53373 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53374 * sysdeps/i386/fpu/e_powf.S: Likewise.
53375 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53376 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53377 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53378 * sysdeps/i386/fpu/e_pow.S: Likewise.
53379 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53380 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53381 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53382 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53383 * sysdeps/i386/fpu/e_log2.S: Likewise.
53384 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53386 * sysdeps/i386/fpu/e_powl.S: Likewise.
53387 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53389 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53390 * sysdeps/i386/fpu/e_logl.S: Likewise.
53391 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53392 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53393 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53394 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53395 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53396 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53397 * sysdeps/i386/fpu/e_log.S: Likewise.
53398 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53399 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53400 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53401 * sysdeps/i386/fpu/e_logf.S: Likewise.
53402 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53403 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53404 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53405 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53406 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53407 * sysdeps/i386/fpu/e_log10.S: Likewise.
53408 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53409 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53410 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53411 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53412 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53413 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53414 * sysdeps/i386/asm-syntax.h: Likewise.
53415 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53416 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53417 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53418 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53419 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53420 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53421 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53422 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53423 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53424 * sysdeps/powerpc/sysdep.h: Likewise.
53425 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53426 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53428 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53431 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53433 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53435 * sysdeps/i386/sysdep.h: Include <features.h>.
53436 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53439 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53441 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53443 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53446 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53448 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53449 (SETUP_PIC_REG): Use GET_PC_THUNK.
53450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53453 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53455 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53456 for non-PIC compilation.
53457 (SETUP_PIC_REG): Add .p2align directive.
53458 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53459 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53460 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53461 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53462 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53463 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53464 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53466 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53467 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53468 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53469 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53470 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53471 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53472 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53473 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53474 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53475 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53476 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53477 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53478 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53480 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53481 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53484 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53486 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53487 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53488 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53489 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53490 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53491 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53492 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53493 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53494 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53495 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53496 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53497 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53498 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53500 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53502 * math/tst-CMPLX.c: Include <stdio.h>.
53504 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53506 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53508 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53509 * sysdeps/sparc/bits/mathdef.h: Likewise.
53511 2012-01-31 Marek Polacek <polacek@redhat.com>
53513 * libio/libio.h: Don't define _PARAMS.
53514 * locale/programs/config.h: Don't define PARAMS.
53515 * stdlib/strtol_l.c: Likewise.
53516 (__strtol_l): Remove PARAMS from the prototype.
53518 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53520 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53521 names. Just use the correct names. Remove unnecessary wrapper
53523 * malloc/arena.c: Likewise.
53524 * malloc/hooks.c: Likewise.
53526 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53527 ARENA_TEST says not to. Simplify test for creation of a new arena.
53528 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53530 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53532 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53534 (update_get_addr): New function.
53535 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53536 GET_ADDR_MODULE parameter.
53538 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53540 * crypt/cert.c: Remove __STDC__ conditionals.
53541 * crypt/crypt-entry.c: Likewise.
53542 * crypt/crypt_util.c: Likewise.
53543 * libio/filedoalloc.c: Likewise.
53544 * libio/fileops.c: Likewise.
53545 * libio/genops.c: Likewise.
53546 * libio/iofclose.c: Likewise.
53547 * libio/iofdopen.c: Likewise.
53548 * libio/iofopen.c: Likewise.
53549 * libio/iofopen64.c: Likewise.
53550 * libio/iogetdelim.c: Likewise.
53551 * libio/iopopen.c: Likewise.
53552 * libio/obprintf.c: Likewise.
53553 * libio/oldfileops.c: Likewise.
53554 * libio/oldiofclose.c: Likewise.
53555 * libio/oldiofdopen.c: Likewise.
53556 * libio/oldiofopen.c: Likewise.
53557 * libio/oldiopopen.c: Likewise.
53558 * libio/wfiledoalloc.c: Likewise.
53559 * libio/wgenops.c: Likewise.
53560 * locale/programs/xmalloc.c: Likewise.
53561 * misc/syslog.c: Likewise.
53562 * stdio-common/xbug.c: Likewise.
53563 * string/memchr.c: Likewise.
53564 * string/memcmp.c: Likewise.
53565 * string/memrchr.c: Likewise.
53566 * string/rawmemchr.c: Likewise.
53567 * sysdeps/posix/getcwd.c: Likewise.
53568 * time/strftime_l.c: Likewise.
53570 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53572 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53573 * config.make.in (config-cflags-sse2avx): Define.
53574 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53577 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53579 * scripts/config.guess: Update from upstream config git repository.
53580 * scripts/config.sub: Likewise.
53582 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53584 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53586 (R_TILEPRO_*, R_TILEGX_*): New macros.
53588 * scripts/firstversions.awk: Fix bug in version range handling.
53590 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53592 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53594 * include/sys/epoll.h: New file.
53595 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53598 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53600 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53601 Avoid unnecessary __WORDSIZE == 64 test.
53602 (fmaxf): Use VEX format if possible.
53607 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53608 * math/math_private.h: Remove libc_fegetround* and
53610 * sysdeps/i386/configure.in: Check for -msse2avx.
53611 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53612 also if SSE2AVX is defined.
53613 Remove libc_fegetround* and libc_fesetround*.
53614 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53615 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53619 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53624 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53626 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53628 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53630 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53632 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53635 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53637 * Makeconfig (libm): Define.
53638 * elf/Makefile: Add rules to build and run tst-relsort1.
53639 * elf/tst-relsort1.c: New file.
53640 * elf/tst-relsort1mod1.c: New file.
53641 * elf/tst-relsort1mod2.c: New file.
53643 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53645 * math/s_ldexp.c: Remove __STDC__ conditionals.
53646 * math/s_ldexpf.c: Likewise.
53647 * math/s_ldexpl.c: Likewise.
53648 * math/s_nextafter.c: Likewise.
53649 * math/s_nexttowardf.c: Likewise.
53650 * math/s_significand.c: Likewise.
53651 * math/s_significandf.c: Likewise.
53652 * math/s_significandl.c: Likewise.
53653 * math/w_jnl.c: Likewise.
53654 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53655 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53656 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53657 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53658 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53659 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53660 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53661 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53662 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53663 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53664 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53666 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53668 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53669 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53671 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53673 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53674 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53675 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53676 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53677 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53678 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53679 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53680 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53684 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53685 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53686 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53688 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53689 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53690 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53691 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53692 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53693 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53694 * sysdeps/ieee754/k_standard.c: Likewise.
53695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53696 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53697 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53698 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53699 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53700 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53702 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53703 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53704 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53705 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53706 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53707 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53708 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53709 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53711 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53713 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53715 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53716 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53717 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53718 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53719 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53720 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53721 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53722 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53724 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53725 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53726 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53727 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53728 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53731 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53734 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53735 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53737 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53738 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53739 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53740 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53742 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53743 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53744 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53745 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53746 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53747 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53751 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53753 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53754 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53755 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53756 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53757 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53758 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53759 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53760 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53761 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53762 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53763 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53764 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53765 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53766 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53767 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53768 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53769 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53770 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53771 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53772 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53774 * sysdeps/ieee754/s_matherr.c: Likewise.
53775 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53776 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53780 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53782 * crypt/md5.h: Remove __STDC__ conditionals.
53783 * libio/libioP.h: Likewise.
53784 * locale/programs/config.h: Likewise.
53785 * sysdeps/generic/sysdep.h: Likewise.
53786 * sysdeps/i386/asm-syntax.h: Likewise.
53787 * sysdeps/s390/asm-syntax.h: Likewise.
53788 * sysdeps/unix/sysdep.h: Likewise.
53789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53792 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53794 * libio/libio.h: Remove __STDC__ conditionals.
53795 * malloc/obstack.h: Likewise.
53796 * math/complex.h: Likewise.
53797 * math/math.h: Likewise.
53798 * sysdeps/generic/_G_config.h: Likewise.
53799 * sysdeps/gnu/_G_config.h: Likewise.
53800 * sysdeps/mach/hurd/_G_config.h: Likewise.
53801 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53802 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53803 * sysdeps/sparc/bits/mathdef.h: Likewise.
53805 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53808 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53809 Clean up HAS_* macros.
53810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53811 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53821 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53823 * elf/tst-unique3.cc (gets): Remove declaration.
53824 * elf/tst-unique3lib.cc (gets): Likewise.
53825 * elf/tst-unique3lib2.cc (gets): Likewise.
53826 * elf/tst-unique4.cc (gets): Likewise.
53828 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53830 * include/stdio.h: Add C++ protection. Add gets declarations and
53832 * debug/tst-chk1.c: Don't declare gets here.
53833 * stdio-common/tst-gets.c: Likewise.
53835 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53837 * posix/glob: Remove directory.
53839 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53841 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53843 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53845 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53846 of the non-standard EPFNOSUPPORT.
53848 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53850 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53851 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53852 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53854 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53856 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53858 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53860 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53862 * nscd/grpcache.c (cache_addgr): Likewise.
53863 * nscd/hstcache.c (cache_addhst): Likewise.
53864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53865 * nscd/pwdcache.c (cache_addpw): Likewise.
53866 * nscd/servicescache.c (cache_addserv): Likewise.
53868 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53870 * malloc/malloc.c: Various cleanups.
53871 * malloc/hooks.c: Likewise.
53873 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53874 * stdlib/bug-fmtmsg1.c: New file.
53876 * stdlib/fmtmsg.c (init): Add missing unlock.
53877 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53879 2012-01-12 Marek Polacek <polacek@redhat.com>
53881 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53884 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53886 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53887 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53888 macro to ensure uniqueness of label name.
53889 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53890 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53892 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53894 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53896 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53897 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53898 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53899 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53901 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53903 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53905 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53906 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53907 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53909 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53911 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53912 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53916 * math/bits/math-finite.h: Add ldexp support.
53918 2012-01-10 Marek Polacek <polacek@redhat.com>
53920 * locale/programs/localedef.h (show_archive_content): Add noreturn
53923 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53925 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53927 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53929 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53931 * io/Makefile (headers): Add bits/poll2.h.
53933 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53936 typo #include statement.
53938 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53940 * include/sys/cdefs.h: Define __attribute_alloc_size.
53941 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53942 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53943 * elf/pldd.c: Likewise.
53944 * iconv/iconv_charmap.c: Likewise.
53945 * iconv/iconvconfig.c: Likewise.
53946 * iconv/strtab.c: Likewise.
53947 * locale/programs/locale.c: Likewise.
53948 * locale/programs/localedef.h: Likewise.
53949 * locale/programs/simple-hash.c: Likewise.
53950 * nscd/nscd.h: Likewise.
53951 * nss/makedb.c: Likewise.
53952 * sysdeps/generic/ldconfig.h: Likewise.
53953 * locale/programs/localedef.c: Remove xmalloc prototype.
53954 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53956 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53958 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53961 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53963 * math/Makefile (tests): Add tst-CMPLX.
53964 * math/tst-CMPLX.c: New file.
53966 * math/complex.h (CMPLXL): Fix typo.
53968 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53969 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53971 * debug/tst-chk1.c: Add poll and ppoll tests.
53972 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53973 * include/sys/poll.h: Add hidden proto for ppoll.
53974 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53975 * sysdeps/mach/hurd/ppoll.c: Likewise.
53976 * io/ppoll.c: Likewise.
53977 * debug/poll_chk.c: New file.
53978 * debug/ppoll_chk.c: New file.
53979 * include/bits/poll2.h: New file.
53980 * io/bits/poll2.h: New file.
53983 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53985 * configure.in: static is always set to yes. Remove.
53986 * config.make.in: Don't set build-static.
53987 * Makeconfig: Remove use of build-static.
53988 * dlfcn/Makefile: Likewise.
53989 * elf/Makefile: Likewise.
53990 * math/Makefile: Likewise.
53991 * misc/Makefile: Likewise.
53992 * nptl/Makefile: Likewise.
53993 * sysdeps/mach/hurd/Makefile: Likewise.
53995 * configure.in: PWD_P is not used anymore.
53996 * config.make.in: Remove PWD_P entry.
53998 * configure.in: Remove last remnants of RANLIB.
53999 No need to check for signed size_t anymore.
54000 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54002 Remove __builtin_expect test because we require at least gcc 3.4.
54003 * aclocal.m4: Likewise.
54005 * wcsmbs/mbrtoc16.c: Implement using towc function.
54006 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54007 * wcsmbs/wcsmbsload.c: Likewise.
54008 * iconv/gconv_simple.c: Likewise.
54009 * iconv/gconv_int.h: Likewise.
54010 * iconv/gconv_builtin.h: Likewise.
54011 * iconv/iconv_prog.c: Remove CHAR16 handling.
54013 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54015 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54017 * configure.in: Remove --with-elf and --enable-bounded options.
54018 Dont set base_machine for ia64. More non-ELF conditions removed.
54019 Remove testing and setting of leading underscore information.
54020 * config.make.in (build-bounded): Set to no.
54021 * config.h.in: Remove NO_UNDERSCORES entry.
54022 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54024 * csu/start.c: Remove !NO_UNDERSCORE code.
54025 * locale/localeinfo.h: Likewise.
54026 * sysdeps/generic/machine-gmon.h: Likewise.
54027 * sysdeps/generic/sysdep.h: Likewise.
54028 * sysdeps/i386/sysdep.h: Likewise.
54029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54030 * sysdeps/mach/sysdep.h: Likewise.
54031 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54032 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54033 * sysdeps/sh/sysdep.h: Likewise.
54034 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54035 * sysdeps/unix/i386/sysdep.S: Likewise.
54036 * sysdeps/unix/sparc/start.c: Likewise.
54037 * sysdeps/unix/sparc/sysdep.S: Likewise.
54038 * sysdeps/unix/sparc/sysdep.h: Likewise.
54039 * sysdeps/unix/start.c: Likewise.
54040 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54041 * sysdeps/x86_64/sysdep.h: Likewise.
54043 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54046 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54048 * argp/argp-fmtstream.h: Use const instead __const.
54049 * argp/argp.h: Likewise.
54050 * assert/assert.h: Likewise.
54051 * bits/fenv.h: Likewise.
54052 * bits/sched.h: Likewise.
54053 * bits/sigset.h: Likewise.
54054 * bits/sigthread.h: Likewise.
54055 * catgets/nl_types.h: Likewise.
54056 * conform/data/pthread.h-data: Likewise.
54057 * crypt/crypt-private.h: Likewise.
54058 * crypt/crypt.h: Likewise.
54059 * crypt/crypt_util.c: Likewise.
54060 * ctype/ctype.h: Likewise.
54061 * debug/execinfo.h: Likewise.
54062 * debug/mbsnrtowcs_chk.c: Likewise.
54063 * debug/mbsrtowcs_chk.c: Likewise.
54064 * debug/wcsnrtombs_chk.c: Likewise.
54065 * debug/wcsrtombs_chk.c: Likewise.
54066 * debug/wcstombs_chk.c: Likewise.
54067 * dirent/dirent.h: Likewise.
54068 * dlfcn/dlfcn.h: Likewise.
54069 * elf/neededtest4.c: Likewise.
54070 * grp/grp.h: Likewise.
54071 * gshadow/gshadow.h: Likewise.
54072 * iconv/gconv.h: Likewise.
54073 * iconv/gconv_int.h: Likewise.
54074 * iconv/gconv_simple.c: Likewise.
54075 * iconv/iconv.h: Likewise.
54076 * iconv/loop.c: Likewise.
54077 * iconv/skeleton.c: Likewise.
54078 * include/aio.h: Likewise.
54079 * include/aliases.h: Likewise.
54080 * include/argz.h: Likewise.
54081 * include/arpa/inet.h: Likewise.
54082 * include/assert.h: Likewise.
54083 * include/dirent.h: Likewise.
54084 * include/dlfcn.h: Likewise.
54085 * include/execinfo.h: Likewise.
54086 * include/fcntl.h: Likewise.
54087 * include/fenv.h: Likewise.
54088 * include/glob.h: Likewise.
54089 * include/grp.h: Likewise.
54090 * include/libintl.h: Likewise.
54091 * include/mntent.h: Likewise.
54092 * include/netdb.h: Likewise.
54093 * include/pwd.h: Likewise.
54094 * include/rpc/netdb.h: Likewise.
54095 * include/sched.h: Likewise.
54096 * include/search.h: Likewise.
54097 * include/shadow.h: Likewise.
54098 * include/signal.h: Likewise.
54099 * include/stdio.h: Likewise.
54100 * include/stdlib.h: Likewise.
54101 * include/string.h: Likewise.
54102 * include/sys/socket.h: Likewise.
54103 * include/sys/stat.h: Likewise.
54104 * include/sys/statfs.h: Likewise.
54105 * include/sys/statvfs.h: Likewise.
54106 * include/sys/syslog.h: Likewise.
54107 * include/sys/time.h: Likewise.
54108 * include/sys/uio.h: Likewise.
54109 * include/time.h: Likewise.
54110 * include/unistd.h: Likewise.
54111 * include/utmp.h: Likewise.
54112 * include/wchar.h: Likewise.
54113 * include/wctype.h: Likewise.
54114 * inet/aliases.h: Likewise.
54115 * inet/arpa/inet.h: Likewise.
54116 * inet/netinet/ether.h: Likewise.
54117 * inet/netinet/in.h: Likewise.
54118 * intl/libintl.h: Likewise.
54119 * io/bits/fcntl2.h: Likewise.
54120 * io/fcntl.h: Likewise.
54121 * io/ftw.h: Likewise.
54122 * io/sys/poll.h: Likewise.
54123 * io/sys/stat.h: Likewise.
54124 * io/sys/statfs.h: Likewise.
54125 * io/sys/statvfs.h: Likewise.
54126 * io/utime.h: Likewise.
54127 * libio/bits/stdio.h: Likewise.
54128 * libio/bits/stdio2.h: Likewise.
54129 * libio/libio.h: Likewise.
54130 * libio/libioP.h: Likewise.
54131 * libio/stdio.h: Likewise.
54132 * locale/lc-ctype.c: Likewise.
54133 * locale/locale.h: Likewise.
54134 * login/utmp.h: Likewise.
54135 * malloc/arena.c: Likewise.
54136 * malloc/malloc.c: Likewise.
54137 * malloc/malloc.h: Likewise.
54138 * malloc/mcheck.c: Likewise.
54139 * malloc/mtrace.c: Likewise.
54140 * math/bits/mathcalls.h: Likewise.
54141 * math/fenv.h: Likewise.
54142 * math/math_private.h: Likewise.
54143 * misc/bits/error.h: Likewise.
54144 * misc/bits/syslog.h: Likewise.
54145 * misc/err.h: Likewise.
54146 * misc/error.h: Likewise.
54147 * misc/fstab.h: Likewise.
54148 * misc/mntent.h: Likewise.
54149 * misc/regexp.h: Likewise.
54150 * misc/search.h: Likewise.
54151 * misc/sgtty.h: Likewise.
54152 * misc/sys/mman.h: Likewise.
54153 * misc/sys/syslog.h: Likewise.
54154 * misc/sys/uio.h: Likewise.
54155 * misc/sys/xattr.h: Likewise.
54156 * misc/ttyent.h: Likewise.
54157 * nis/rpcsvc/ypclnt.h: Likewise.
54158 * nss/nss.h: Likewise.
54159 * posix/bits/unistd.h: Likewise.
54160 * posix/fnmatch.h: Likewise.
54161 * posix/glob.h: Likewise.
54162 * posix/sched.h: Likewise.
54163 * posix/spawn.h: Likewise.
54164 * posix/sys/wait.h: Likewise.
54165 * posix/unistd.h: Likewise.
54166 * posix/wordexp.h: Likewise.
54167 * pwd/pwd.h: Likewise.
54168 * resolv/netdb.h: Likewise.
54169 * resource/sys/resource.h: Likewise.
54170 * rt/aio.h: Likewise.
54171 * rt/bits/mqueue2.h: Likewise.
54172 * rt/mqueue.h: Likewise.
54173 * shadow/shadow.h: Likewise.
54174 * signal/signal.h: Likewise.
54175 * socket/send.c: Likewise.
54176 * socket/sendto.c: Likewise.
54177 * socket/sys/socket.h: Likewise.
54178 * stdio-common/printf.h: Likewise.
54179 * stdlib/bits/stdlib.h: Likewise.
54180 * stdlib/fmtmsg.h: Likewise.
54181 * stdlib/monetary.h: Likewise.
54182 * stdlib/stdlib.h: Likewise.
54183 * stdlib/ucontext.h: Likewise.
54184 * streams/stropts.h: Likewise.
54185 * string/argz.h: Likewise.
54186 * string/bits/string2.h: Likewise.
54187 * string/string.h: Likewise.
54188 * string/strings.h: Likewise.
54189 * sunrpc/rpc/auth.h: Likewise.
54190 * sunrpc/rpc/auth_des.h: Likewise.
54191 * sunrpc/rpc/clnt.h: Likewise.
54192 * sunrpc/rpc/netdb.h: Likewise.
54193 * sunrpc/rpc/pmap_clnt.h: Likewise.
54194 * sunrpc/rpc/xdr.h: Likewise.
54195 * sysdeps/generic/inttypes.h: Likewise.
54196 * sysdeps/generic/net/if.h: Likewise.
54197 * sysdeps/generic/sys/swap.h: Likewise.
54198 * sysdeps/gnu/net/if.h: Likewise.
54199 * sysdeps/gnu/utmpx.h: Likewise.
54200 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54201 * sysdeps/i386/i486/bits/string.h: Likewise.
54202 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54203 * sysdeps/s390/bits/string.h: Likewise.
54204 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54205 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54206 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54207 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54208 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54209 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54210 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54211 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54212 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54213 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54214 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54215 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54216 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54217 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54218 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54219 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54220 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54222 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54223 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54224 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54225 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54226 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54227 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54228 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54229 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54230 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54232 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54234 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54235 * sysvipc/sys/ipc.h: Likewise.
54236 * sysvipc/sys/msg.h: Likewise.
54237 * sysvipc/sys/sem.h: Likewise.
54238 * sysvipc/sys/shm.h: Likewise.
54239 * termios/termios.h: Likewise.
54240 * time/sys/time.h: Likewise.
54241 * time/time.h: Likewise.
54242 * wcsmbs/bits/wchar2.h: Likewise.
54243 * wcsmbs/uchar.h: Likewise.
54244 * wcsmbs/wchar.h: Likewise.
54245 * wctype/wctype.h: Likewise.
54248 * Makeconfig: Remove all but ELF support including AIX support.
54249 * Makerules: Likewise.
54250 * config.h.in: Likewise.
54251 * config.make.in: Likewise.
54252 * configure: Likewise.
54253 * configure.in: Likewise.
54254 * csu/Makefile: Likewise.
54255 * csu/version.c: Likewise.
54256 * debug/Makefile: Likewise.
54257 * dlfcn/Makefile: Likewise.
54258 * elf/Makefile: Likewise.
54259 * extra-lib.mk: Likewise.
54260 * iconv/Makefile: Likewise.
54261 * include/libc-symbols.h: Likewise.
54262 * include/shlib-compat.h: Likewise.
54263 * resolv/Makefile: Likewise.
54264 * resolv/res_libc.c: Likewise.
54265 * rt/Makefile: Likewise.
54266 * sysdeps/i386/asm-syntax.h: Likewise.
54267 * sysdeps/i386/sysdep.h: Likewise.
54268 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54269 * sysdeps/mach/sysdep.h: Likewise.
54270 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54271 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54272 * sysdeps/s390/asm-syntax.h: Likewise.
54273 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54275 * sysdeps/sh/sysdep.h: Likewise.
54276 * sysdeps/unix/sparc/sysdep.h: Likewise.
54277 * sysdeps/wordsize-32/divdi3.c: Likewise.
54278 * sysdeps/x86_64/sysdep.h: Likewise.
54280 * argp/Versions: Remove _argp_unlock_xxx.
54283 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54284 * abilist/libBrokenLocale.abilist: Likewise.
54285 * abilist/libanl.abilist: Likewise.
54286 * abilist/libc.abilist: Likewise.
54287 * abilist/libcrypt.abilist: Likewise.
54288 * abilist/libdl.abilist: Likewise.
54289 * abilist/libm.abilist: Likewise.
54290 * abilist/libnsl.abilist: Likewise.
54291 * abilist/libpthread.abilist: Likewise.
54292 * abilist/libresolv.abilist: Likewise.
54293 * abilist/librt.abilist: Likewise.
54294 * abilist/libthread_db.abilist: Likewise.
54295 * abilist/libutil.abilist: Likewise.
54296 * abilist/libnss_db.abilist: New file.
54298 * scripts/abilist.awk: Add support for indirect functions.
54300 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54302 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54304 * shlib-versions: Remove entries for ports architectures.
54306 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54308 * elf/stackguard-macros.h: Remove support for IA-64.
54309 * elf/tst-auditmod1.c: Likewise.
54310 * sysdeps/generic/ldsodefs.h: Likewise.
54312 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54313 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54317 * configure.in: Remove --enable-omitfp support.
54319 * config.make.in: Likewise.
54320 * Makeconfig: Likewise.
54321 * manual/install.texi: Likewise.
54323 In case anyone cares, the IA-64 architecture could move to ports.
54324 * sysdeps/ia64/*: Removed.
54325 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54326 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54329 * configure.in: Remove entries for unsupported architectures.
54332 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54333 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54335 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54336 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54337 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54338 fall back to using wcrtomb.
54339 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54340 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54342 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54343 * wcsmbs/tst-c16c32-1.c: New file.
54345 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54348 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54350 * elf/tst-unique3.cc: Add explicit declaration of gets.
54351 * elf/tst-unique3lib.cc: Likewise.
54352 * elf/tst-unique3lib2.cc: Likewise.
54353 * elf/tst-unique4.cc: Likewise.
54355 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54357 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54360 * assert/assert.h (static_assert): Don't define for C++.
54361 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54362 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54364 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54366 * iconv/loop.c (single loop): Fix assertion in storing of
54369 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54371 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54373 * posix/getconf.c: Update copyright year.
54374 * nss/getent.c: Likewise.
54375 * nss/makedb.c: Likewise.
54376 * iconv/iconvconfig.c: Likewise.
54377 * iconv/iconv_prog.c: Likewise.
54378 * elf/ldconfig.c: Likewise.
54379 * elf/pldd.c: Likewise.
54380 * elf/sotruss.ksh: Likewise.
54381 * catgets/gencat.c: Likewise.
54382 * csu/version.c: Likewise.
54383 * elf/ldd.bash.in: Likewise.
54384 * elf/sprof.c (print_version): Likewise.
54385 * locale/programs/locale.c: Likewise.
54386 * locale/programs/localedef.c: Likewise.
54387 * login/programs/pt_chown.c: Likewise.
54388 * nscd/nscd.c (print_version): Likewise.
54389 * debug/xtrace.sh: Likewise.
54390 * malloc/memusage.sh: Likewise.
54391 * malloc/mtrace.pl: Likewise.
54392 * debug/catchsegv.sh: Likewise.
54394 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54396 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54399 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54402 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54403 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54405 * iconv/gconv_int.h: Likewise.
54406 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54407 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54408 from libc for GLIBC_2.16.
54409 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54410 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54411 * wcsmbs/uchar.h: Really define mbstate_t.
54412 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54413 * wcsmbs/c16rtomb.c: New file.
54414 * wcsmbs/mbrtoc16.c: New file.
54415 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54416 for C/POSIX locale.
54417 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54418 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54420 * wcsmbs/wchar.h: Add missing __restrict.
54422 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54425 * time/Makefile (routines): Add timespec_get.
54426 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54427 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54428 timespec for ISO C11.
54429 * time/timespec_get.c: New file.
54430 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54431 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54434 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54435 * stdlib/stdlib.h: Declare aligned_alloc.
54436 * Versions.def: Add GLIBC_2.16 for libc.
54437 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54440 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54443 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54447 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54450 * assert/assert.h (static_assert): Define.
54452 * version.h: Update for 2.16 development version.
54455 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54458 * version.h (RELEASE): Bump for 2.15 release.
54459 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54461 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54462 Patch by Marek Polacek <mpolacek@redhat.com>.
54464 * bits/byteswap.h: Protect long long constants with __extension__.
54465 * sysdeps/i386/bits/byteswap.h: Likewise.
54466 * sysdeps/ia64/bits/byteswap.h: Likewise.
54467 * sysdeps/s390/bits/byteswap.h: Likewise.
54468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54470 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54473 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54474 destination buffer.
54475 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54477 2011-12-23 Marek Polacek <polacek@redhat.com>
54479 * elf/dl-addr.c (determine_info): Add inline keyword.
54480 * elf/tst-auditmod4b.c (check_avx): Likewise.
54481 * elf/tst-auditmod6b.c (check_avx): Likewise.
54482 * elf/tst-auditmod6c.c (check_avx): Likewise.
54483 * elf/tst-auditmod7b.c (check_avx): Likewise.
54485 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54487 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54490 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54493 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54494 processing for last bytes.
54496 2011-08-06 Bruno Haible <bruno@clisp.org>
54499 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54500 U+0385, not to U+1FEE.
54503 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54504 entry for U+00A5 U+0301.
54506 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54509 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54510 buffer for the output is too small.
54512 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54516 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54517 SSE flags if possible.
54519 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54522 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54523 processing for last bytes.
54525 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54527 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54528 (syscall-list-default-options, syscall-list-default-condition)
54529 (syscall-list-includes): Define.
54530 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54531 list of ABIs and options and #if conditions for each ABI. Do not
54532 handle common syscalls between ABIs specially.
54533 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54535 (syscall-list-variants, syscall-list-32bit-options)
54536 (syscall-list-32bit-condition, syscall-list-64bit-options)
54537 (syscall-list-64bit-condition): Define.
54538 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54539 (syscall-list-variants, syscall-list-32bit-options)
54540 (syscall-list-32bit-condition, syscall-list-64bit-options)
54541 (syscall-list-64bit-condition): Define.
54542 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54544 (syscall-list-variants, syscall-list-32bit-options)
54545 (syscall-list-32bit-condition, syscall-list-64bit-options)
54546 (syscall-list-64bit-condition): Define.
54547 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54549 (syscall-list-variants, syscall-list-32bit-options)
54550 (syscall-list-32bit-condition, syscall-list-64bit-options)
54551 (syscall-list-64bit-condition): Define.
54553 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54555 * locale/iso-639.def: Add brx entry.
54558 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54559 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54561 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54562 __feraiseexcept_renamed.
54564 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54567 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54568 EPOLLET with unsigned values.
54569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54570 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54572 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54573 to large cancellation.
54574 * math/s_cacoshf.c: Likewise.
54575 * math/s_cacoshl.c: Likewise.
54577 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54581 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54582 * math/s_cacoshf.c: Likewise.
54583 * math/s_cacoshl.c: Likewise.
54585 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54588 * iconv/gconv.h: Define __GCONV_SWAP.
54589 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54590 * iconvdata/utf-16.c: Likewise.
54591 * iconvdata/utf-32.c: Likewise.
54593 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54596 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54597 numerator after shifting it by one limb.
54599 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54601 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54602 under [__USE_EXTERN_INLINES].
54604 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54607 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54609 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54611 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54612 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54614 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54615 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54616 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54617 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54618 for strncasecmp/strncasecmp_l compilation.
54619 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54620 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54622 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54625 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54628 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54631 * time/tzfile.c (__tzfile_read): Check values from file header.
54633 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54635 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54636 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54637 * powerpc/powerpc32/dl-start.S: Likewise.
54638 * powerpc/powerpc32/elf/start.S: Likewise.
54639 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54640 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54641 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54642 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54643 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54644 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54645 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54646 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54647 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54648 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54649 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54650 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54651 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54652 * powerpc/powerpc32/memset.S: Likewise.
54653 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54654 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54655 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54656 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54657 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54658 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54659 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54660 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54661 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54662 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54663 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54664 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54665 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54667 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54669 * math/libm-test.inc: Added more nearbyint tests.
54670 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54675 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54677 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54680 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54682 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54683 Add wcscpy-ssse3 wcscpy-c.
54684 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54685 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54686 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54687 * sysdeps/x86_64/wcschr.S: New file.
54688 * sysdeps/x86_64/wcsrchr.S: New file.
54689 * string/test-strcmp.c: Remove checking of wcscmp function for
54691 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54692 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54693 wcsrchr-sse2 wcsrchr-c.
54694 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54695 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54696 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54697 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54698 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54699 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54700 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54701 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54702 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54703 * wcsmbc/wcschr.c (WCSCHR): New macro.
54705 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54707 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54708 * wcsmbs/test-wcsrchr.c: New file.
54709 * string/test-strrchr.c: Add wcsrchr support.
54711 * wcsmbs/test-wcscpy.c: New file.
54712 * string/test-strcpy.c: Add wcscpy support.
54715 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54720 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54723 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54725 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54727 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54728 Minor optimizations.
54730 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54731 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54732 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54734 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54736 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54737 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54738 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54739 for gcc to avoid warnings.
54740 * inet/Makefile (tests): Add tst-checks.
54741 * inet/tst-checks.c: New file.
54743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54746 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54749 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54750 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54752 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54754 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54756 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54759 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54761 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54763 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54764 conditional on GCC version.
54765 (__arch_compare_and_exchange_val_8_acq)
54766 (__arch_compare_and_exchange_val_16_acq)
54767 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54768 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54769 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54771 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54773 * sysdeps/sh/backtrace.c: New file.
54775 2011-12-02 Andreas Schwab <schwab@redhat.com>
54777 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54780 2011-12-01 Andreas Schwab <schwab@redhat.com>
54782 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54783 falling back to utime.
54785 2011-11-30 Andreas Schwab <schwab@redhat.com>
54787 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54788 expectations for float.
54790 2011-11-29 Andreas Schwab <schwab@redhat.com>
54792 * locale/weight.h (findidx): Add parameter len.
54793 * locale/weightwc.h (findidx): Likewise.
54794 * posix/fnmatch_loop.c (FCT): Adjust caller.
54795 * posix/regcomp.c (build_equiv_class): Likewise.
54796 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54797 * posix/regexec.c (check_node_accept_bytes): Likewise.
54798 * string/strcoll_l.c (STRCOLL): Likewise.
54799 * string/strxfrm_l.c (STRXFRM): Likewise.
54801 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54803 * Makefile.in: Remove CVSOPT handling.
54804 * configure.in: Remove use of AC_REVISION.
54805 * iconvdata/Makefile (distribute): No need to filter out CVS.
54806 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54809 2011-11-16 Andreas Schwab <schwab@redhat.com>
54811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54812 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54813 [USE_AS_STRNCASECMP_L]: Likewise.
54814 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54815 NO_TLS_DIRECT_SEG_REFS.
54816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54817 Fix argument offsets for non-PIC.
54818 [USE_AS_STRNCASECMP_L]: Likewise.
54819 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54820 NO_TLS_DIRECT_SEG_REFS.
54822 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54824 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54826 * locale/loadlocale.c (_nl_load_locale): Likewise.
54828 2011-11-15 Andreas Schwab <schwab@redhat.com>
54830 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54831 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54832 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54833 (SYSCALL_GETTIME): Set errno on error.
54835 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54836 count references to noai6ai_cached.
54838 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54840 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54842 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54843 FD_CLOEXEC for /proc/self/maps.
54845 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54846 FD_CLOEXEC for /proc/meminfo.
54848 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54851 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54852 FD_CLOEXEC for given file.
54854 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54856 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54857 FD_CLOEXEC for /etc/hosts.
54858 (_gethtent): Likewise.
54860 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54862 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54863 cancellation and set FD_CLOEXEC for /etc/netgroup.
54865 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54866 reading /etc/publickey.
54868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54869 allow cancellation when reading /etc/group.
54871 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54873 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54875 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54876 when using data file.
54878 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54880 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54881 (write_nis_obj): Use "c" and "e" in fopen.
54883 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54885 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54887 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54889 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54891 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54894 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54896 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54898 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54900 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54901 file parsing and set FD_CLOEXEC.
54903 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54905 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54907 2011-11-14 Andreas Schwab <schwab@redhat.com>
54909 * malloc/arena.c (arena_get2): Don't call reused_arena when
54910 _int_new_arena failed.
54912 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54914 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54915 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54920 to compile strcasecmp and strncasecmp.
54921 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54922 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54926 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54928 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54929 locale-defines.sym to gen-as-const-headers.
54930 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54931 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54933 to compile strcasecmp and strncasecmp.
54934 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54935 strcasecmp_l and strncasecmp_l.
54936 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54937 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54938 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54939 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54940 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54941 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54942 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54943 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54944 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54945 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54946 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54948 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54950 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54951 result of SYSDEP_GETTIME_CPU to retval.
54952 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54953 parameter list to macro. Remove trailing semicolon. Adjust users.
54955 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54958 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54960 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54962 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54963 from unused variable.
54965 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54967 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54970 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54973 * sunrpc/rpc_prot.c (rejected): Fix case value.
54975 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54976 unsigned long long int to avoid warnings in shift.
54978 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54980 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54983 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54984 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54985 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54987 * nis/nis_table.c (nis_list): Use variable of correct type for
54988 result of __follow_path call.
54990 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54992 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54993 of math functions ceil, trunc, floor, round, and sqrt, when
54994 avaliable on the platform.
54995 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54997 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54998 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54999 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55001 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55003 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55006 2011-11-11 Roland McGrath <roland@hack.frob.com>
55008 * include/unistd.h: Fix __readlink return type.
55009 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55011 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55013 * stdlib/ucontext.h: Undo last change for makecontext.
55015 2011-11-11 Andreas Schwab <schwab@redhat.com>
55017 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55019 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55020 * setjmp/setjmp.h: Mark functions as non-leaf.
55021 * setjmp/bits/setjmp2.h: Likewise.
55022 * stdlib/ucontext.h: Likewise.
55024 2011-11-10 Andreas Schwab <schwab@redhat.com>
55026 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55027 (reused_arena): Don't check arena limit.
55028 (arena_get2): Atomically check arena limit.
55030 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55032 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55033 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55038 2011-11-07 Andreas Schwab <schwab@redhat.com>
55040 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55041 handler when locking.
55043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55044 Fix size of allocated buffer.
55046 2011-11-04 Andreas Schwab <schwab@redhat.com>
55049 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55050 declarations for long double functions.
55051 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55053 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55055 2011-11-03 Andreas Schwab <schwab@redhat.com>
55057 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55060 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55063 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55065 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55067 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55069 * include/alloca.h (stackinfo_alloca_round): Define.
55070 (extend_alloca): Use it.
55071 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55072 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55075 * scripts/check-local-headers.sh: Ignore libaudit.h.
55077 * nscd/Makefile (extra-objs): Make recursively expanded.
55079 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55081 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55084 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55085 * posix/tst-rfc3484-2.c: Likewise.
55086 * posix/tst-rfc3484-3.c: Likewise.
55088 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55090 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55092 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55093 process_vm_writev from libc using GLIBC_2.15 version.
55095 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55097 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55099 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55102 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55105 * nss/getent.c (initgroups_keys): Show error message in case no group
55108 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55109 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55110 __bump_nl_timestamp.
55111 * nscd/connections (nscd_init): When host database is served open
55112 netlink socket and request notification about configuration changes.
55113 (main_loop_poll): Track netlink file descriptor and bump timestamp
55114 in case data becomes available.
55115 (main_loop_epoll): Likewise.
55116 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55117 (database_pers_head): Add extra_data fileds.
55118 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55119 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55120 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55122 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55123 in6ai data, call __free_in6ai.
55124 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55125 Add -DHAVE_NETLINK.
55126 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55127 interface information. Reuse previous data if netlink timestamp
55129 (__bump_nl_timestamp): New function.
55130 (__free_in6ai): New function.
55132 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55134 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55135 close_not_cancel_no_status here.
55136 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55138 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55141 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55144 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55145 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55146 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55148 2011-07-03 Andreas Jaeger <aj@suse.de>
55151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55152 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55153 * math/libm-test.inc (sin_test): Add test case.
55155 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55158 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55159 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55161 * elf/chroot_canon.c (chroot_canon): Cleanups.
55163 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55166 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55167 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55169 * string/test-strchr.c: Make usable for strchrnul testing.
55170 * string/test-strchrnul.c: New file.
55171 * string/Makefile (strop-tests): Add strchrnul.
55173 * po/it.po: Update from translation team.
55174 * po/es.po: Likewise.
55176 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55179 the three constants needed as parameters. Drop the others.
55180 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55181 __m128i_strloadu_tolower.
55182 Create and initialize variable zero and use it in all the places
55183 where _mm_setzero_si128 was used.
55185 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55186 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55187 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55188 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55190 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55191 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55192 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55193 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55194 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55195 __mpranred, __mptan.
55196 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55197 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55198 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55199 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55200 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55201 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55203 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55204 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55206 2011-10-28 Andreas Schwab <schwab@redhat.com>
55208 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55209 redefine if SHARED.
55210 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55213 wide char related routines to wcsmbs subdir.
55215 2011-10-27 Andreas Schwab <schwab@redhat.com>
55218 * misc/sys/cdefs.h (__THROWNL): Define.
55219 * posix/unistd.h: Use __THREADNL instead of __THREAD
55220 for memory synchronization functions.
55222 2011-10-26 Roland McGrath <roland@hack.frob.com>
55225 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55227 * manual/stdio.texi (Obstack Streams): Node removed.
55229 2011-10-26 Andreas Schwab <schwab@redhat.com>
55231 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55232 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55235 * math/math_private.h (math_force_eval): Allow non-addressable
55237 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55239 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55241 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55242 file is not needed.
55244 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55245 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55247 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55251 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55253 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55254 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55255 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55256 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55257 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55258 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55259 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55260 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55261 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55262 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55263 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55264 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55266 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55267 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55268 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55269 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55270 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55271 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55273 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55274 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55277 place. Use VEX encoding when compiling for AVX.
55279 2011-10-25 Andreas Schwab <schwab@redhat.com>
55281 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55282 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55284 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55286 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55288 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55289 useless if() expression.
55290 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55291 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55292 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55294 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55295 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55298 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55300 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55301 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55302 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55303 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55304 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55305 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55306 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55307 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55308 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55310 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55312 2011-10-25 Andreas Schwab <schwab@redhat.com>
55314 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55316 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55318 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55320 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55321 .text section. Avoid duplicate constants.
55322 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55331 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55332 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55334 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55335 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55336 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55337 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55338 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55339 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55342 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55343 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55344 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55345 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55346 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55347 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55348 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55349 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55350 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55351 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55353 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55354 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55355 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55356 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55357 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55358 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55360 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55361 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55362 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55363 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55364 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55365 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55366 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55368 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55370 * sysdeps/x86_64/dla.h: Move to ...
55371 * sysdeps/x86_64/fpu/dla.h: ...here.
55372 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55373 situations. Use __builtin_fma only for gcc 4.6 and up.
55375 * config.make.in: Add have-mfma4 entry.
55376 * configure.in: Substitute libc_cv_cc_fma4.
55377 * math/Makefile (dbl-only-routines): Add sincostab.
55378 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55379 Use __sincostab not sincos.
55380 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55387 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55388 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55389 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55390 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55393 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55395 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55396 define aliases when function name is a macro.
55397 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55398 sysdeps/ieee754/dbl-64/sincos.tbl.
55399 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55400 fma4-enabled routines.
55401 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55402 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55403 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55404 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55405 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55406 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55408 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55410 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55411 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55412 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55413 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55414 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55415 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55416 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55417 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55418 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55419 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55420 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55421 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55422 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55424 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55426 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55428 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55429 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55430 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55432 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55443 2011-10-24 Andreas Schwab <schwab@redhat.com>
55445 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55447 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55449 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55451 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55453 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55455 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55456 Remove unused variable magic_bits.
55457 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55459 * string/strnlen.c: Define and use STRNLEN macro.
55460 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55461 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55463 * wcsmbs/wcslen.c: Define and use WCSLEN.
55464 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55465 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55466 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55467 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55468 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55469 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55470 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55472 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55475 strnlen-sse2-no-bsf.
55476 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55477 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55478 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55479 Add strnlen support.
55480 (USE_AS_STRNLEN): New macro.
55481 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55482 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55483 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55484 * sysdeps/x86_64/wcslen.S: New file.
55486 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55489 XMM-moves are used for copying on small sizes.
55491 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55493 * wcsmbs/Makefile (strop-tests): Add wcschr.
55494 * wcsmbs/test-wcschr.c: New file.
55495 * string/test-strchr.c: Update.
55496 Add wcschr support.
55499 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55501 * wcsmbs/Makefile (strop-tests): Add wcslen.
55502 * wcsmbs/test-wcslen.c: New file.
55503 * string/test-strlen.c: Update.
55504 Add wcslen support.
55507 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55509 * po/it.po: Update from translation team.
55511 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55513 * sysdeps/x86_64/wcscmp.S: Update.
55514 Fix wrong comparison semantics.
55515 wcscmp shall use signed comparison not unsigned.
55516 Don't use substraction to avoid overflow bug.
55517 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55518 * wcsmbc/wcscmp.c: Likewise.
55519 * string/test-strcmp.c: Likewise.
55520 Add new tests to check cases with negative values.
55522 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55524 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55525 * sysdeps/x86_64/dla.h: ...here. New file.
55526 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55536 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55539 __ynl_finite aliases.
55541 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55545 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55547 [DLA_FMA] (EMULV): Use DLA_FMA.
55548 [DLA_FMA] (MUL12): Use EMULV.
55549 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55550 that are not needed.
55551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55559 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55561 * math/s_nan.c: Undef __nan.
55562 * math/s_nanf.c: Undef __nanf.
55563 * math/s_nanl.c: Undef __nanl.
55564 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55567 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55569 * math/s_catan.c: Add branch predictions.
55570 * math/s_catanf.c: Likewise.
55571 * math/s_catanh.c: Likewise.
55572 * math/s_catanhf.c: Likewise.
55573 * math/s_catanhl.c: Likewise.
55574 * math/s_catanl.c: Likewise.
55575 * math/s_cexp.c: Likewise.
55576 * math/s_cexpf.c: Likewise.
55577 * math/s_cexpl.c: Likewise.
55578 * math/s_clog.c: Likewise.
55579 * math/s_clog10.c: Likewise.
55580 * math/s_clog10f.c: Likewise.
55581 * math/s_clog10l.c: Likewise.
55582 * math/s_clogf.c: Likewise.
55583 * math/s_clogl.c: Likewise.
55584 * math/s_csqrt.c: Likewise.
55585 * math/s_csqrtf.c: Likewise.
55586 * math/s_csqrtl.c: Likewise.
55587 * math/s_ctanf.c: Likewise.
55588 * math/s_ctanh.c: Likewise.
55589 * math/s_ctanhf.c: Likewise.
55590 * math/s_ctanhl.c: Likewise.
55591 * math/s_ctanl.c: Likewise.
55593 * math/math_private.h: Define __nan, __nanf, __nanl.
55594 * math/s_cacosh.c: Include <math_private.h>.
55595 * math/s_cacoshl.c: Likewise.
55596 * math/s_casinh.c: Likewise.
55597 * math/s_casinhf.c: Likewise.
55598 * math/s_casinhl.c: Likewise.
55599 * math/s_ccos.c: Rely entire on ccosh.
55600 * math/s_ccosf.c: Rely entire on ccoshf.
55601 * math/s_ccosl.c: Rely entirely on ccoshl.
55602 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55603 Remove tests for FE_INVALID.
55604 * math/s_ccoshf.c: Likewise.
55605 * math/s_ccoshl.c: Likewise.
55606 * math/s_csin.c: Likewise.
55607 * math/s_csinf.c: Likewise.
55608 * math/s_csinh.c Likewise.
55609 * math/s_csinhf.c: Likewise.
55610 * math/s_csinhl.c: Likewise.
55611 * math/s_csinl.c: Likewise.
55612 * math/s_ctan.c: Likewise.
55613 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55614 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55615 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55617 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55620 compilation problems.
55622 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55625 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55627 * sysdeps/i386/configure.in: Test for -mfma4 option.
55628 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55629 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55630 COMMON_CPUID_INDEX_80000001.
55631 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55632 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55633 use it if FMA3 is not supported.
55634 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55636 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55637 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55639 2011-10-20 Andreas Schwab <schwab@redhat.com>
55642 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55643 it would create a cycle with a link time dependency.
55645 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55647 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55649 * string/Makefile (strop-tests): Add rawmemchr.
55650 * string/test-rawmemchr.c: New file.
55652 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55653 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55654 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55655 when compiling str{,n}casecmp and when AVX is available. Hook up
55656 new optimized code in initializers.
55658 2011-10-19 Andreas Schwab <schwab@redhat.com>
55660 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55661 __feraiseexcept instead of feraiseexcept.
55663 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55665 * math/math_private.h: Define defaults for libc_fetestexcept and
55667 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55668 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55669 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55670 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55671 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55672 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55673 libc_fetestexcept and libc_feupdateenv.
55675 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55676 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55677 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55678 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55679 libc_feholdexcept_setround.
55681 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55682 Add s_nearbyint-c and s_nearbyintf-c.
55683 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55684 nearbyintf inlines.
55685 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55687 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55690 * math/math_private.h: Define defaults for libc_fegetround,
55691 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55692 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55693 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55695 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55696 standard functions.
55697 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55698 Remove comments and hacks for old compiler versions.
55699 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55700 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55701 libc_feholdexceptl.
55703 2011-10-18 Andreas Schwab <schwab@redhat.com>
55705 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55706 (__feraiseexcept_renamed): Add __NTH.
55707 (feraiseexcept): Add __NTH. Rename local variables to fix
55708 namespace violations.
55710 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55712 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55716 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55717 recently added interfaces.
55718 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55720 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55721 about macro parameter expansion.
55723 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55724 __NO_MATH_INLINES is defined. Cleanups.
55726 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55727 and __floorf is target has SSE4.1.
55728 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55729 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55730 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55731 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55733 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55735 (floorf): Likewise.
55737 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55739 2011-10-17 Andreas Schwab <schwab@redhat.com>
55741 * misc/sys/cdefs.h: Fix last change.
55743 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55746 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55748 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55750 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55751 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55752 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55753 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55755 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55756 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55757 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55758 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55759 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55760 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55761 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55762 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55763 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55764 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55765 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55766 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55767 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55768 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55769 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55770 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55771 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55773 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55774 ceil, ceilf, floor, floorf.
55776 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55777 Perform IRELATIVE relocations last.
55779 * elf/do-rel.h: Add another parameter nrelative, replacing the
55780 local variable with the same name. Change name of the function
55781 to end in Rel or Rela (uppercase).
55782 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55783 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55784 elf_dynamic_do_##reloc function.
55786 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55788 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55789 is sufficient, at least on modern CPUs.
55791 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55793 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55794 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55796 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55798 * math/bits/math-finite.h: Add entries for exp.
55799 * math/e_expl.c: Add __*_finite alias.
55800 * sysdeps/i386/fpu/e_exp.S: Likewise.
55801 * sysdeps/i386/fpu/e_expf.S: Likewise.
55802 * sysdeps/i386/fpu/e_expl.c: Likewise.
55803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55804 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55805 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55807 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55808 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55809 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55811 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55812 is sufficient, at least on modern CPUs.
55814 * ctype/ctype-info.c (__ctype_init): Define.
55815 * include/ctype.h (__ctype_init): Declare.
55816 (__ctype_b_loc): The variable is always initialized.
55817 (__ctype_toupper_loc): Likewise.
55818 (__ctype_tolower_loc): Likewise.
55819 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55820 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55822 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55824 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55826 * configure.in: Also look in $cxxmachine/include for C++ system
55829 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55831 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55832 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55833 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55834 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55836 (USE_AS_WMEMCMP): New macro.
55838 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55839 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55840 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55841 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55843 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55844 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55845 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55846 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55847 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55849 (USE_AS_WMEMCMP): New macro.
55850 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55851 * sysdeps/string/test-memcmp.c: Update.
55852 Fix simple_wmemcmp.
55854 * wcsmbs/wmemcmp.c: Update.
55855 (WMEMCMP): New macro.
55858 2011-10-12 Andreas Jaeger <aj@suse.de>
55861 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55863 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55865 * libio/iofwide.c (do_length): Avoid warning.
55867 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55869 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55871 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55873 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55874 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55875 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55876 * sysdeps/i386/i686/fpu/e_log.S: New file.
55877 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55878 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55880 * ctype/ctype.h: Add support for inlined isXXX functions when
55881 compiling C++ code.
55883 2011-10-14 Andreas Schwab <schwab@redhat.com>
55885 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55887 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55889 2011-10-13 Roland McGrath <roland@hack.frob.com>
55892 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55894 2011-10-13 Andreas Schwab <schwab@redhat.com>
55896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55897 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55900 * sysdeps/x86_64/memrchr.S: Check for zero size.
55902 * string/stratcliff.c: Add memrchr tests.
55904 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55907 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55908 rawmemchr-sse2 rawmemchr-sse2-bsf.
55909 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55910 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55911 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55912 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55913 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55914 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55915 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55916 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55917 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55918 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55919 * string/memrchr.c (MEMRCHR): New macro.
55921 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55923 Add integration with gcc's -ffinite-math-only and optimize wrapper
55925 * Versions.def: Define GLIBC_2.15 version for libm.
55926 * math/Makefile (headers): Add bits/math-finite.h.
55927 * math/bits/math-finite.h: New file.
55928 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55929 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55930 * math/e_acoshl.c: Add __*_finite alias.
55931 * math/e_acosl.c: Likewise.
55932 * math/e_asinl.c: Likewise.
55933 * math/e_atan2l.c: Likewise.
55934 * math/e_atanhl.c: Likewise.
55935 * math/e_coshl.c: Likewise.
55936 * math/e_exp10.c: Likewise.
55937 * math/e_exp10f.c: Likewise.
55938 * math/e_exp10l.c: Likewise.
55939 * math/e_exp2l.c: Likewise.
55940 * math/e_fmodl.c: Likewise.
55941 * math/e_gammal_r.c: Likewise.
55942 * math/e_hypotl.c: Likewise.
55943 * math/e_j0l.c: Likewise.
55944 * math/e_j1l.c: Likewise.
55945 * math/e_jnl.c: Likewise.
55946 * math/e_lgammal_r.c: Likewise.
55947 * math/e_log10l.c: Likewise.
55948 * math/e_log2l.c: Likewise.
55949 * math/e_logl.c: Likewise.
55950 * math/e_powl.c: Likewise.
55951 * math/e_sinhl.c: Likewise.
55952 * math/e_sqrtl.c: Likewise.
55953 * math/e_scalb.c: Completely rewritten and optimized.
55954 * math/e_scalbf.c: Likewise.
55955 * math/e_scalbl.c: Likewise.
55956 * math/w_acos.c: Likewise.
55957 * math/w_acosf.c: Likewise.
55958 * math/w_acosl.c: Likewise.
55959 * math/w_acosh.c: Likewise.
55960 * math/w_acoshf.c: Likewise.
55961 * math/w_acoshl.c: Likewise.
55962 * math/w_asin.c: Likewise.
55963 * math/w_asinf.c: Likewise.
55964 * math/w_asinl.c: Likewise.
55965 * math/w_atan2.c: Likewise.
55966 * math/w_atan2f.c: Likewise.
55967 * math/w_atan2l.c: Likewise.
55968 * math/w_atanh.c: Likewise.
55969 * math/w_atanhf.c: Likewise.
55970 * math/w_atanhl.c: Likewise.
55971 * math/w_exp10.c: Likewise.
55972 * math/w_exp10f.c: Likewise.
55973 * math/w_exp10l.c: Likewise.
55974 * math/w_fmod.c: Likewise.
55975 * math/w_fmodf.c: Likewise.
55976 * math/w_fmodl.c: Likewise.
55977 * math/w_j0.c: Likewise.
55978 * math/w_j0f.c: Likewise.
55979 * math/w_j0l.c: Likewise.
55980 * math/w_j1.c: Likewise.
55981 * math/w_j1f.c: Likewise.
55982 * math/w_j1l.c: Likewise.
55983 * math/w_jn.c: Likewise.
55984 * math/w_jnf.c: Likewise.
55985 * math/w_log.c: Likewise.
55986 * math/w_logf.c: Likewise.
55987 * math/w_logl.c: Likewise.
55988 * math/w_log10.c: Likewise.
55989 * math/w_log10f.c: Likewise.
55990 * math/w_log10l.c: Likewise.
55991 * math/w_log2.c: Likewise.
55992 * math/w_log2f.c: Likewise.
55993 * math/w_log2l.c: Likewise.
55994 * math/w_pow.c: Likewise.
55995 * math/w_powf.c: Likewise.
55996 * math/w_powl.c: Likewise.
55997 * math/w_remainder.c: Likewise.
55998 * math/w_remainderf.c: Likewise.
55999 * math/w_remainderl.c: Likewise.
56000 * math/w_scalb.c: Likewise.
56001 * math/w_scalbf.c: Likewise.
56002 * math/w_scalbl.c: Likewise.
56003 * math/w_sqrt.c: Likewise.
56004 * math/w_sqrtf.c: Likewise.
56005 * math/w_sqrtl.c: Likewise.
56006 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56007 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56009 * math/math_private.h: Declare __kernel_standard_f.
56010 * math/w_cosh.c: Remove cruft and optimize a bit.
56011 * math/w_coshf.c: Likewise.
56012 * math/w_coshl.c: Likewise.
56013 * math/w_exp2.c: Likewise.
56014 * math/w_exp2f.c: Likewise.
56015 * math/w_exp2l.c: Likewise.
56016 * math/w_hypot.c: Likewise.
56017 * math/w_hypotf.c: Likewise.
56018 * math/w_hypotl.c: Likewise.
56019 * math/w_lgamma.c: Likewise.
56020 * math/w_lgamma_r.c: Likewise.
56021 * math/w_lgammaf.c: Likewise.
56022 * math/w_lgammaf_r.c: Likewise.
56023 * math/w_lgammal.c: Likewise.
56024 * math/w_lgammal_r.c: Likewise.
56025 * math/w_sinh.c: Likewise.
56026 * math/w_sinhf.c: Likewise.
56027 * math/w_sinhl.c: Likewise.
56028 * math/w_tgamma.c: Likewise.
56029 * math/w_tgammaf.c: Likewise.
56030 * math/w_tgammal.c: Likewise.
56031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56033 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56034 Minor optimizations. Pretty printing. Remove cruft.
56035 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56036 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56037 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56038 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56039 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56040 * sysdeps/i386/fpu/e_asin.S: Likewise.
56041 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56042 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56043 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56044 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56045 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56046 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56047 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56048 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56049 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56050 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56051 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56052 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56053 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56054 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56055 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56056 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56057 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56058 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56059 * sysdeps/i386/fpu/e_log.S: Likewise.
56060 * sysdeps/i386/fpu/e_log10.S: Likewise.
56061 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56062 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56063 * sysdeps/i386/fpu/e_log2.S: Likewise.
56064 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56065 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56066 * sysdeps/i386/fpu/e_logf.S: Likewise.
56067 * sysdeps/i386/fpu/e_logl.S: Likewise.
56068 * sysdeps/i386/fpu/e_pow.S: Likewise.
56069 * sysdeps/i386/fpu/e_powf.S: Likewise.
56070 * sysdeps/i386/fpu/e_powl.S: Likewise.
56071 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56072 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56073 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56074 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56075 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56076 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56077 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56078 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56079 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56080 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56081 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56083 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56084 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56085 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56086 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56087 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56088 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56089 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56090 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56091 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56093 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56094 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56096 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56097 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56098 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56099 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56100 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56101 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56102 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56103 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56104 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56105 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56106 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56107 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56108 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56109 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56110 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56111 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56112 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56113 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56114 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56115 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56116 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56117 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56118 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56119 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56120 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56121 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56122 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56123 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56124 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56125 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56126 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56127 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56128 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56129 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56130 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56131 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56132 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56133 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56134 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56135 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56136 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56137 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56138 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56139 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56140 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56141 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56143 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56144 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56145 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56146 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56149 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56151 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56152 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56154 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56157 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56158 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56159 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56160 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56161 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56163 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56164 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56165 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56166 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56167 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56168 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56169 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56170 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56171 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56172 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56173 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56174 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56175 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56176 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56177 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56178 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56179 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56180 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56181 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56182 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56183 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56184 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56185 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56186 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56188 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56189 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56190 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56191 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56192 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56193 (__isnanf): Likewise.
56194 (__isinf_ns): Likewise.
56195 (__isinf_nsf): Likewise.
56196 (__finite): Likewise.
56197 (__finitef): Likewise.
56198 (__ieee754_sqrt): Define as macro.
56199 (__ieee754_sqrtf): Define as macro.
56200 (__ieee754_sqrtl): Define as macro.
56201 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56203 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56204 __FINITE_MATH_ONLY__ consistent.
56205 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56207 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56209 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56214 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56216 * po/ja.po: Update from translation team.
56218 2011-10-08 Roland McGrath <roland@hack.frob.com>
56220 * locale/programs/locarchive.c (prepare_address_space): New function.
56221 (create_archive, enlarge_archive, open_archive): Use it.
56223 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56224 inside [SHARED], where it is used.
56226 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56228 * nss/getent.c (netgroup_keys): Remove unused variable.
56229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56231 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56233 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56234 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56236 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56237 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56239 * math/Makefile (libm-calls): Add s_isinf_ns.
56240 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56241 * math/multc3.c: Likewise.
56242 * math/s_casin.c: Likewise.
56243 * math/s_casinf.c: Likewise.
56244 * math/s_casinl.c: Likewise.
56245 * math/s_ccos.c: Likewise.
56246 * math/s_ccosf.c: Likewise.
56247 * math/s_ccosl.c: Likewise.
56248 * math/s_ctan.c: Likewise.
56249 * math/s_ctanf.c: Likewise.
56250 * math/s_ctanh.c: Likewise.
56251 * math/s_ctanhf.c: Likewise.
56252 * math/s_ctanhl.c: Likewise.
56253 * math/s_ctanl.c: Likewise.
56254 * math/w_fmod.c: Likewise.
56255 * math/w_fmodf.c: Likewise.
56256 * math/w_fmodl.c: Likewise.
56257 * math/w_remainder.c: Likewise.
56258 * math/w_remainderf.c: Likewise.
56259 * math/w_remainderl.c: Likewise.
56260 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56261 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56262 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56264 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56265 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56266 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56267 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56269 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56271 * stdio-common/printf_fphex.c: Likewise.
56272 * stdio-common/printf_size.c: Likewise.
56274 * math/e_exp10.c: Include math_private.h using <...> not "...".
56275 * math/e_exp10f.c: Likewise.
56276 * math/e_exp10l.c: Likewise.
56277 * math/e_exp2l.c: Likewise.
56278 * math/e_j0l.c: Likewise.
56279 * math/e_j1l.c: Likewise.
56280 * math/e_jnl.c: Likewise.
56281 * math/e_lgammal_r.c: Likewise.
56282 * math/e_rem_pio2l.c: Likewise.
56283 * math/e_scalb.c: Likewise.
56284 * math/e_scalbf.c: Likewise.
56285 * math/e_scalbl.c: Likewise.
56286 * math/k_cosl.c: Likewise.
56287 * math/k_sinl.c: Likewise.
56288 * math/k_tanl.c: Likewise.
56289 * math/s_cacoshf.c: Likewise.
56290 * math/s_catan.c: Likewise.
56291 * math/s_catanf.c: Likewise.
56292 * math/s_catanh.c: Likewise.
56293 * math/s_catanhf.c: Likewise.
56294 * math/s_catanhl.c: Likewise.
56295 * math/s_catanl.c: Likewise.
56296 * math/s_ccosh.c: Likewise.
56297 * math/s_ccoshf.c: Likewise.
56298 * math/s_ccoshl.c: Likewise.
56299 * math/s_cexp.c: Likewise.
56300 * math/s_cexpf.c: Likewise.
56301 * math/s_cexpl.c: Likewise.
56302 * math/s_clog.c: Likewise.
56303 * math/s_clog10.c: Likewise.
56304 * math/s_clog10f.c: Likewise.
56305 * math/s_clog10l.c: Likewise.
56306 * math/s_clogf.c: Likewise.
56307 * math/s_clogl.c: Likewise.
56308 * math/s_csin.c: Likewise.
56309 * math/s_csinf.c: Likewise.
56310 * math/s_csinh.c: Likewise.
56311 * math/s_csinhf.c: Likewise.
56312 * math/s_csinhl.c: Likewise.
56313 * math/s_csinl.c: Likewise.
56314 * math/s_csqrt.c: Likewise.
56315 * math/s_csqrtf.c: Likewise.
56316 * math/s_csqrtl.c: Likewise.
56317 * math/s_ctan.c: Likewise.
56318 * math/s_ctanf.c: Likewise.
56319 * math/s_ctanh.c: Likewise.
56320 * math/s_ctanhf.c: Likewise.
56321 * math/s_ctanhl.c: Likewise.
56322 * math/s_ctanl.c: Likewise.
56323 * math/s_ldexp.c: Likewise.
56324 * math/s_ldexpf.c: Likewise.
56325 * math/s_ldexpl.c: Likewise.
56326 * math/s_significand.c: Likewise.
56327 * math/s_significandf.c: Likewise.
56328 * math/s_significandl.c: Likewise.
56329 * math/w_acos.c: Likewise.
56330 * math/w_acosf.c: Likewise.
56331 * math/w_acosh.c: Likewise.
56332 * math/w_acoshf.c: Likewise.
56333 * math/w_acoshl.c: Likewise.
56334 * math/w_acosl.c: Likewise.
56335 * math/w_asin.c: Likewise.
56336 * math/w_asinf.c: Likewise.
56337 * math/w_asinl.c: Likewise.
56338 * math/w_atan2.c: Likewise.
56339 * math/w_atan2f.c: Likewise.
56340 * math/w_atan2l.c: Likewise.
56341 * math/w_atanh.c: Likewise.
56342 * math/w_atanhf.c: Likewise.
56343 * math/w_atanhl.c: Likewise.
56344 * math/w_cosh.c: Likewise.
56345 * math/w_coshf.c: Likewise.
56346 * math/w_coshl.c: Likewise.
56347 * math/w_dremf.c: Likewise.
56348 * math/w_exp10.c: Likewise.
56349 * math/w_exp10f.c: Likewise.
56350 * math/w_exp10l.c: Likewise.
56351 * math/w_exp2.c: Likewise.
56352 * math/w_exp2f.c: Likewise.
56353 * math/w_fmod.c: Likewise.
56354 * math/w_fmodf.c: Likewise.
56355 * math/w_fmodl.c: Likewise.
56356 * math/w_hypot.c: Likewise.
56357 * math/w_hypotf.c: Likewise.
56358 * math/w_hypotl.c: Likewise.
56359 * math/w_j0.c: Likewise.
56360 * math/w_j0f.c: Likewise.
56361 * math/w_j0l.c: Likewise.
56362 * math/w_j1.c: Likewise.
56363 * math/w_j1f.c: Likewise.
56364 * math/w_j1l.c: Likewise.
56365 * math/w_jn.c: Likewise.
56366 * math/w_jnf.c: Likewise.
56367 * math/w_jnl.c: Likewise.
56368 * math/w_lgamma.c: Likewise.
56369 * math/w_lgamma_r.c: Likewise.
56370 * math/w_lgammaf.c: Likewise.
56371 * math/w_lgammaf_r.c: Likewise.
56372 * math/w_lgammal.c: Likewise.
56373 * math/w_lgammal_r.c: Likewise.
56374 * math/w_log.c: Likewise.
56375 * math/w_log10.c: Likewise.
56376 * math/w_log10f.c: Likewise.
56377 * math/w_log10l.c: Likewise.
56378 * math/w_log2.c: Likewise.
56379 * math/w_log2f.c: Likewise.
56380 * math/w_log2l.c: Likewise.
56381 * math/w_logf.c: Likewise.
56382 * math/w_logl.c: Likewise.
56383 * math/w_pow.c: Likewise.
56384 * math/w_powf.c: Likewise.
56385 * math/w_powl.c: Likewise.
56386 * math/w_remainder.c: Likewise.
56387 * math/w_remainderf.c: Likewise.
56388 * math/w_remainderl.c: Likewise.
56389 * math/w_scalb.c: Likewise.
56390 * math/w_scalbf.c: Likewise.
56391 * math/w_scalbl.c: Likewise.
56392 * math/w_sinh.c: Likewise.
56393 * math/w_sinhf.c: Likewise.
56394 * math/w_sinhl.c: Likewise.
56395 * math/w_sqrt.c: Likewise.
56396 * math/w_sqrtf.c: Likewise.
56397 * math/w_sqrtl.c: Likewise.
56398 * math/w_tgamma.c: Likewise.
56399 * math/w_tgammaf.c: Likewise.
56400 * math/w_tgammal.c: Likewise.
56402 * po/ja.po: Update from translation team.
56404 2011-09-29 Andreas Jaeger <aj@suse.de>
56407 * sunrpc/netname.c (netname2host): Fix logic.
56411 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56413 * math/w_remainder.c (__remainder): Likewise.
56414 * math/w_remainderf.c (__remainderf): Likewise.
56415 * math/libm-test.inc (remainder_test): Add test cases.
56417 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56419 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56422 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56424 * string/test-memcmp.c: Avoid unncessary #defines.
56425 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56427 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56429 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56430 Use new sse2 version for core i3 - i7 as it's faster
56431 than sse42 version.
56432 (bit_Prefer_PMINUB_for_stringop): New.
56433 * sysdeps/x86_64/rawmemchr.S: Update.
56434 Replace with faster SSE2 version.
56435 * sysdeps/x86_64/memrchr.S: New file.
56436 * sysdeps/x86_64/memchr.S: Update.
56437 Replace with faster SSE2 version.
56439 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56441 * elf/dl-load.c (lose): Add cast to avoid warning.
56443 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56445 * po/ca.po: Update from translation team.
56447 * inet/getnetgrent_r.c: Hook up nscd.
56448 * nscd/Makefile (routines): Add nscd_netgroup.
56449 (nscd-modules): Add netgroupcache.
56450 (CFLAGS-netgroupcache.c): Define.
56451 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56452 (cache_search): Add const to second parameter.
56453 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56455 (dbs): Add netgrdb entry.
56456 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56457 (verify_persistent_db): Handle netgrdb.
56458 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56459 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56461 (netgroup_response_header): Define.
56462 (innetgroup_response_header): Define.
56463 (datahead): Add netgroup_response_header and innetgroup_response_header
56465 * nscd/nscd.conf: Add entries for netgroup cache.
56466 * nscd/nscd.h (dbtype): Add netgrdb.
56467 (_PATH_NSCD_NETGROUP_DB): Define.
56468 (netgroup_iov_disabled): Declare.
56469 (xmalloc, xcalloc, xrealloc): Move declarations here.
56470 (cache_search): Adjust prototype.
56471 Add netgroup-related prototypes.
56472 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56473 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56474 (__nscd_innetgr): Declare.
56475 * nscd/selinux.c (perms): Use access_vector_t as element type and
56476 add netgroup-related initializers.
56477 * nscd/netgroupcache.c: New file.
56478 * nscd/nscd_netgroup.c: New file.
56479 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56480 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56481 For four parameters use innetgr.
56482 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56483 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56484 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56485 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56487 * nscd/connections.c (register_traced_file): Don't register file
56488 for disabled databases.
56490 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56492 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56494 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56495 from tree and freeing node.
56497 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56499 * nss/nsswitch.c (__nss_database_lookup): Handle
56500 nss_parse_service_list out of memory case.
56502 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56504 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56505 out of memory case.
56507 2011-10-04 Andreas Schwab <schwab@redhat.com>
56509 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56510 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56512 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56513 elf_machine_rela, elf_machine_lazy_rel.
56514 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56515 (ELF_DYNAMIC_DO_REL): Likewise.
56516 (ELF_DYNAMIC_DO_RELA): Likewise.
56517 (ELF_DYNAMIC_RELOCATE): Likewise.
56518 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56519 to ELF_DYNAMIC_DO_REL.
56520 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56521 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56522 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56525 skip_ifunc, don't call ifunc function if non-zero.
56526 (elf_machine_rela): Likewise.
56527 (elf_machine_lazy_rel): Likewise.
56528 (elf_machine_lazy_rela): Likewise.
56529 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56530 (elf_machine_lazy_rel): Likewise.
56531 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56533 (elf_machine_lazy_rel): Likewise.
56534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56536 (elf_machine_lazy_rel): Likewise.
56537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56538 (elf_machine_lazy_rel): Likewise.
56539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56540 (elf_machine_lazy_rel): Likewise.
56541 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56542 (elf_machine_lazy_rel): Likewise.
56543 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56544 (elf_machine_lazy_rel): Likewise.
56545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56546 (elf_machine_lazy_rel): Likewise.
56547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56548 (elf_machine_lazy_rel): Likewise.
56550 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56552 * nss/nss_files/files-init.c (_nss_files_init): Use static
56553 initialization for all the *_traced_file variables.
56555 2011-09-28 Andreas Schwab <schwab@redhat.com>
56557 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56559 2011-09-27 Roland McGrath <roland@hack.frob.com>
56562 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56564 2011-09-27 Andreas Schwab <schwab@redhat.com>
56566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56567 Reread the line before reparsing it.
56569 2011-09-26 Andreas Schwab <schwab@redhat.com>
56571 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56573 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56574 Maxim Kuvyrkov <maxim@codesourcery.com>
56575 Joseph Myers <joseph@codesourcery.com>
56577 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56578 if needed for __stack_chk_guard.
56580 2011-09-19 Roland McGrath <roland@hack.frob.com>
56582 * sysdeps/posix/spawni.c (script_execute): Always define it.
56583 It will be optimized away if unused.
56584 (maybe_script_execute): New function.
56585 (__spawni): Call it.
56587 * Makerules: Don't include tls.make.
56588 (config-tls): Always set to thread.
56589 * tls.make.c: File removed.
56591 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56593 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56594 * config.make.in (CPPFLAGS-config): New substituted variable.
56596 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56598 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56601 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56602 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56604 2011-09-15 Roland McGrath <roland@hack.frob.com>
56606 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56607 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56609 (CALL_FAIL): Likewise.
56610 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56611 (CALL_FAIL): Macro removed.
56612 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56614 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56617 for __FINITE_MATH_ONLY__ == 1.
56619 2011-09-15 Andreas Schwab <schwab@redhat.com>
56621 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56622 __ieee754_sqrt instead of sqrt.
56623 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56624 __ieee754_sqrtf instead of sqrtf.
56625 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56626 __floorf instead of floorf.
56627 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56628 __floorf, __truncf instead of floorf, truncf.
56630 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56632 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56634 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56635 __extern_always_inline.
56636 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56639 2011-09-14 Andreas Schwab <schwab@redhat.com>
56641 * elf/rtld.c (dl_main): Also relocate in dependency order when
56642 doing symbol dependency testing.
56644 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56647 Always define `refsym'.
56649 2011-09-13 Andreas Schwab <schwab@redhat.com>
56651 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56652 (__FD_ELT): Renamed from __FDELT.
56653 * misc/bits/select2.h (__FD_ELT): Likewise.
56654 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56655 __FD_MASK instead of __FDELT, __FDMASK.
56656 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56658 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56661 * elf/Makefile (gen-ldd): Fix pattern.
56663 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56664 (init_tls): Likewise.
56666 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56668 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56670 2011-09-12 Andreas Schwab <schwab@redhat.com>
56672 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56673 `struct cmsghdr *' instead of `void *'.
56674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56677 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56679 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56681 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56682 ldd_rewrite_script.
56684 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56686 * configure.in: Remove --with-tls option.
56687 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56688 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56689 out in case it is missing.
56690 * sysdeps/ia64/elf/configure.in: Likewise.
56691 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56692 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56693 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56694 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56695 * sysdeps/sh/elf/configure.in: Likewise.
56696 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56697 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56698 * sysdeps/x86_64/elf/configure.in: Likewise.
56699 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56700 * sysdeps/mach/hurd/tls.h: Likewise.
56703 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56706 * configure.in: Fix use of AC_INIT.
56708 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56710 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56712 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56714 * malloc/hooks.c: Likewise.
56717 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56718 variables statically.
56719 (narenas): Initialize.
56720 (list_lock): Initialize.
56721 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56722 initializtion of main_arena and list_lock. Small cleanups.
56723 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56724 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56725 Add initializers to main_arena and mp_.
56726 (malloc_state): Remove pagesize member. Change all users to use
56729 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56730 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56731 is always initialized.
56733 * malloc/malloc.c: Removed unused configurations and dead code.
56734 * malloc/arena.c: Likewise.
56735 * malloc/hooks.c: Likewise.
56736 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56738 * include/tls.h: Removed. USE___THREAD must always be defined.
56739 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56740 * elf/dl-libc.c: Likewise.
56741 * elf/dl-tsd.c: Likewise.
56742 * include/errno.h: Likewise.
56743 * include/netdb.h: Likewise.
56744 * include/resolv.h: Likewise.
56745 * inet/herrno-loc.c: Likewise.
56746 * inet/herrno.c: Likewise.
56747 * malloc/arena.c: Likewise.
56748 * malloc/hooks.c: Likewise.
56749 * malloc/malloc.c: Likewise.
56750 * resolv/res-state.c: Likewise.
56751 * resolv/res_libc.c: Likewise.
56752 * sysdeps/i386/dl-machine.h: Likewise.
56753 * sysdeps/ia64/dl-machine.h: Likewise.
56754 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56755 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56756 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56757 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56758 * sysdeps/sh/dl-machine.h: Likewise.
56759 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56760 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56761 * sysdeps/unix/i386/sysdep.S: Likewise.
56762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56763 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56768 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56773 * sysdeps/x86_64/dl-machine.h: Likewise.
56774 * tls.make.c: Likewise.
56776 * configure.in: Remove --with-__thread option. Make tests for
56777 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56778 tls_model attribute fail if no support is available. Remove
56780 * Makeconfig: Adjust for dropped configure option. All features are
56782 * Makerules: Likewise.
56783 * Versions.def: Likewise.
56784 * argp/argp-fmtstream.c: Likewise.
56785 * argp/argp-fmtstream.h: Likewise.
56786 * argp/argp-help.c: Likewise.
56787 * assert/assert.c: Likewise.
56788 * config.h.in: Likewise.
56789 * config.make.in: Likewise.
56790 * configure: Likewise.
56791 * configure.in: Likewise.
56792 * csu/Versions: Likewise.
56793 * csu/init.c: Likewise.
56794 * elf/tst-audit2.c: Likewise.
56795 * elf/tst-tls10.c: Likewise.
56796 * elf/tst-tls10.h: Likewise.
56797 * elf/tst-tls11.c: Likewise.
56798 * elf/tst-tls12.c: Likewise.
56799 * elf/tst-tls14.c: Likewise.
56800 * elf/tst-tlsmod11.c: Likewise.
56801 * elf/tst-tlsmod12.c: Likewise.
56802 * elf/tst-tlsmod13.c: Likewise.
56803 * elf/tst-tlsmod13a.c: Likewise.
56804 * elf/tst-tlsmod14a.c: Likewise.
56805 * elf/tst-tlsmod15b.c: Likewise.
56806 * elf/tst-tlsmod16a.c: Likewise.
56807 * elf/tst-tlsmod16b.c: Likewise.
56808 * elf/tst-tlsmod7.c: Likewise.
56809 * elf/tst-tlsmod8.c: Likewise.
56810 * elf/tst-tlsmod9.c: Likewise.
56811 * gmon/gmon.c: Likewise.
56812 * grp/fgetgrent_r.c: Likewise.
56813 * grp/putgrent.c: Likewise.
56814 * hurd/fopenport.c: Likewise.
56815 * include/libc-symbols.h: Likewise.
56816 * include/tls.h: Likewise.
56817 * intl/gettextP.h: Likewise.
56818 * intl/loadinfo.h: Likewise.
56819 * locale/global-locale.c: Likewise.
56820 * locale/localeinfo.h: Likewise.
56821 * mach/devstream.c: Likewise.
56822 * malloc/arena.c: Likewise.
56823 * malloc/set-freeres.c: Likewise.
56824 * misc/err.c: Likewise.
56825 * misc/getttyent.c: Likewise.
56826 * misc/mntent_r.c: Likewise.
56827 * posix/getopt.c: Likewise.
56828 * posix/wordexp.c: Likewise.
56829 * pwd/fgetpwent_r.c: Likewise.
56830 * resolv/Versions: Likewise.
56831 * resolv/res_hconf.c: Likewise.
56832 * shadow/fgetspent_r.c: Likewise.
56833 * shadow/putspent.c: Likewise.
56834 * stdio-common/printf_fphex.c: Likewise.
56835 * stdio-common/tmpfile.c: Likewise.
56836 * stdlib/abort.c: Likewise.
56837 * stdlib/fmtmsg.c: Likewise.
56838 * sunrpc/auth_unix.c: Likewise.
56839 * sunrpc/clnt_perr.c: Likewise.
56840 * sunrpc/clnt_tcp.c: Likewise.
56841 * sunrpc/clnt_udp.c: Likewise.
56842 * sunrpc/clnt_unix.c: Likewise.
56843 * sunrpc/openchild.c: Likewise.
56844 * sunrpc/svc_simple.c: Likewise.
56845 * sunrpc/svc_tcp.c: Likewise.
56846 * sunrpc/svc_udp.c: Likewise.
56847 * sunrpc/svc_unix.c: Likewise.
56848 * sunrpc/xdr.c: Likewise.
56849 * sunrpc/xdr_array.c: Likewise.
56850 * sunrpc/xdr_rec.c: Likewise.
56851 * sunrpc/xdr_ref.c: Likewise.
56852 * sunrpc/xdr_stdio.c: Likewise.
56854 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56856 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56858 2011-07-03 Andreas Jaeger <aj@suse.de>
56860 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56861 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56862 regenerate with gen-libm-tests.pl.
56864 2010-05-12 Petr Baudis <pasky@suse.cz>
56867 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56868 around j0() zero points by switching to j1().
56869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56872 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56874 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56878 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56881 Patch in part by Pavel Roskin <proski@gnu.org>.
56884 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56886 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56887 Free memory block if necessary.
56890 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56891 be NULL. Don't lock in this case.
56893 2011-09-09 Roland McGrath <roland@hack.frob.com>
56895 * elf/elf.h (ELFOSABI_GNU): New macro.
56896 (ELFOSABI_LINUX): Define to that.
56898 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56900 * string/strncat.c (strncat): Undef the symbol in case it has been
56901 defined in bits/string.h.
56903 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56905 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56907 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56910 2011-08-17 Andreas Jaeger <aj@suse.de>
56912 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56914 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56915 Ian Lance Taylor <iant@google.com>
56917 * math/libm-test.inc (lround_test): New testcase.
56918 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56920 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56922 * Makefile: Remove support for automatic cvs check-ins.
56923 * Makerules: Likewise.
56924 * config.make.in: Likewise.
56925 * configure.in: Likewise.
56926 * intl/Makefile: Likewise.
56927 * locale/Makefile: Likewise.
56928 * po/Makefile: Likewise.
56929 * posix/Makefile: Likewise.
56930 * sysdeps/gnu/Makefile: Likewise.
56931 * sysdeps/mach/hurd/Makefile: Likewise.
56932 * sysdeps/sparc/sparc32/Makefile: Likewise.
56935 * posix/Makefile (bug-regex32-ENV): Define.
56936 Patch by John Stanley <jpsinthemix@verizon.net>.
56938 * misc/Makefile (headers): Add bits/select2.h.
56939 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56940 * misc/bits/select2.h: New file.
56941 * include/bits/select2.h: New file.
56942 * debug/Makefile (routines): Add fdelt_chk.
56943 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56944 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56946 * debug/fdelt_chk.c: New file.
56948 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56949 * wcsmbs/test-wmemcmp.c: Likewise.
56950 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56951 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56953 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56955 * string/Makefile (strop-tests): Add memcmp.
56956 * string/test-wmemcmp.c: New file.
56957 * string/test-memcmp.c: Add wmemcmp support.
56959 2011-09-08 Roland McGrath <roland@hack.frob.com>
56962 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56965 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56966 garbage value in a __mach_port_mod_refs call in the cases of the
56967 task-self and thread-self ports.
56969 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56971 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56973 2011-09-08 Andreas Schwab <schwab@redhat.com>
56975 * elf/dl-load.c (lose): Check for non-null L.
56977 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56979 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56981 * elf/dl-libc.c (dlerror_run): Pass back error code from
56985 * elf/dl-load.c (lose): Free l_origin if it is valid.
56987 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56989 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56992 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56993 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56994 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56996 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56998 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56999 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57001 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57002 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57003 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57004 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57005 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57006 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57007 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57009 2011-08-15 Alan Modra <amodra@gmail.com>
57012 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57013 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57014 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57015 ppc_mcount to static-only-routines.
57016 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57018 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57019 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57021 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57023 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57024 for finite and infinity parameters.
57026 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57028 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57029 and add nop instructions for throughput optimization.
57030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57032 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57034 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57035 aligned copy for power7 with vector-scalar instructions.
57036 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57038 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57043 2011-09-07 Andreas Schwab <schwab@redhat.com>
57046 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57049 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57051 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57052 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57053 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57054 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57057 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57060 Forgot to demangle the pointer.
57062 * sysdeps/i386/sysdep.h: Define atom_text_section.
57063 * sysdeps/x86_64/sysdep.h: Likewise.
57064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57065 section with atom_text_section.
57066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57067 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57068 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57070 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57072 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57073 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57074 already be defined. Change to take two parameters and don't assign
57075 result to variable. Adjust all users.
57076 Define INTERNAL_GETTIME if not already defined.
57077 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57080 HAVE_CLOCK_GETTIME_VSYSCALL.
57081 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57084 gettimeofday vsyscall, just use time.
57086 2011-09-06 Andreas Schwab <schwab@redhat.com>
57088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57091 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57093 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57097 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57098 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57099 syscall if possible.
57101 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57103 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57104 e_ident. Don't pass to find_mapsXX.
57105 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57107 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57110 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57111 * sysdeps/x86_64/multiarch/strchr.S: Update.
57112 Check bit_slow_BSF bit.
57113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57114 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57117 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57120 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57122 (tryshell): Define.
57123 (__spawni): Change last parameter to be flag. Test
57124 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57125 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57126 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57127 * posix/spawni.c: Likewise.
57128 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57129 * posix/spawnp.c: Likewise. Change normal version to use
57130 SPAWN_XFLAGS_USE_PATH.
57131 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57132 SPAWN_XFLAGS_TRY_SHELL.
57135 * posix/glob.h: Remove gcc 1.x support.
57138 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57140 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57143 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57145 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57146 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57147 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57148 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57150 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57152 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57154 * sysdeps/x86_64/wcscmp.S: New file.
57156 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57157 wcscmp-c wcscmp-sse2
57158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57159 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57160 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57161 * wcsmbs/wcscmp.c: Allow renaming.
57163 2011-09-05 David S. Miller <davem@davemloft.net>
57165 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57166 stack slot, rather than the struct return pointer slot.
57167 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57168 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57170 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57172 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57174 * po/ja.po: Update from translation team.
57177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57178 kernel in 64-bit binaries.
57180 2011-09-01 David S. Miller <davem@davemloft.net>
57182 * elf/elf.h (HWCAP_SPARC_*): Move to..
57183 * sysdeps/sparc/sysdep.h: this new file and add new values.
57184 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57185 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57186 _DL_HWCAP_COUNT to 24.
57187 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57189 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57190 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57191 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57193 instead of magic constants.
57194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57196 2011-08-31 David S. Miller <davem@davemloft.net>
57198 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57200 Reimplement to do errno handling inline.
57201 (SYSCALL_ERROR_HANDLER): New macro.
57202 (__SYSCALL_STRING): Do not do errno handling in asm.
57203 (__CLONE_SYSCALL_STRING): Delete.
57204 (__INTERNAL_SYSCALL_STRING): Delete.
57205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57206 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57207 (PSEUDO): Reimplement to do errno handling inline.
57208 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57209 (SYSCALL_ERROR_HANDLER): New macro.
57210 (__SYSCALL_STRING): Do not do errno handling in asm.
57211 (__CLONE_SYSCALL_STRING): Delete.
57212 (__INTERNAL_SYSCALL_STRING): Delete.
57213 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57214 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57216 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57217 (inline_syscall*): Add 'err' argument.
57218 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57219 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57220 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57221 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57223 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57224 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57226 2011-08-30 Andreas Schwab <schwab@redhat.com>
57228 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57230 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57232 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57235 2011-08-24 David S. Miller <davem@davemloft.net>
57237 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57239 2011-08-24 Andreas Schwab <schwab@redhat.com>
57241 * elf/Makefile: Add rules to build and run unload8 test.
57242 * elf/unload8.c: New file.
57243 * elf/unload8mod1.c: New file.
57244 * elf/unload8mod1x.c: New file.
57245 * elf/unload8mod2.c: New file.
57246 * elf/unload8mod3.c: New file.
57248 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57251 2011-08-23 David S. Miller <davem@davemloft.net>
57253 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57254 subtract stack bias.
57255 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57256 %sp not %fp in calculations.
57257 (_JMPBUF_UNWINDS_ADJ): Likewise.
57259 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57260 (aio_suspend): Call it to force an exception region around the
57261 AIO_MISC_WAIT() invocation.
57263 2011-08-23 Andreas Schwab <schwab@redhat.com>
57265 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57268 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57270 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57272 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57273 and <dl-machine.h>.
57274 (Elf64_FuncDesc): Remove.
57276 2011-08-22 David S. Miller <davem@davemloft.net>
57278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57279 sigaltstack check, add missing cfi directives.
57280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57281 missing cfi directives, and sigaltstack handling.
57283 2011-08-16 Andreas Schwab <schwab@redhat.com>
57286 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57287 object is seen twice.
57288 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57290 * elf/Makefile (distribute): Add tst-initorder2.c.
57291 (tests): Add tst-initorder2.
57292 (modules-names): Add tst-initorder2a tst-initorder2b
57293 tst-initorder2c tst-initorder2d. Add rules to build them.
57294 ($(objpfx)tst-initorder2.out): New rule.
57295 * elf/tst-initorder2.c: New file.
57296 * elf/tst-initorder2.exp: New file.
57298 2011-08-22 Andreas Schwab <schwab@redhat.com>
57300 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57302 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57303 dependencies back to end of function.
57305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57306 $(elfobjdir)/ld.so.
57308 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57311 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57313 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57314 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57315 of __vdso_gettimeofday.
57316 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57317 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57319 (_libc_vdso_platform_setup): Remove initialization of
57320 __vdso_gettimeofday and __vdso_time.
57322 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57324 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57325 and fgetc_unlocked.
57326 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57329 * elf/dl-open.c (add_to_global): Report additions to the global scope
57330 for LD_DEBUG=scopes.
57331 (dl_open_worker): Also print scope of newly loaded dependencies.
57332 (_dl_show_scope): Indicate if there is no scope.
57335 * stdio-common/Makefile (tests): Add bug24.
57336 * stdio-common/bug24.c: New file.
57338 2011-08-19 Andreas Jaeger <aj@suse.de>
57341 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57342 non-existant file when using close-on-exec mode.
57344 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57347 the very first instruction.
57349 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57350 the CFI state in the end.
57351 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57352 inclusion of dl-trampoline.h.
57353 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57355 2011-08-19 Andreas Schwab <schwab@redhat.com>
57357 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57358 expectations for long double.
57360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57361 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57363 2011-08-14 David S. Miller <davem@davemloft.net>
57365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57366 artificual limit depends upon the system page size.
57368 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57370 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57371 * resolv/Makefile: Define CFLAGS-libresolv.
57373 2011-08-17 Andreas Schwab <schwab@redhat.com>
57375 * nss/makedb.c (compute_tables): Make variables used in nested
57378 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57380 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57381 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57382 if buffer was too small.
57384 * elf/pldd.c (main): Attach to all threads in the process.
57385 Rewrite /proc handling to use *at functions.
57387 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57389 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57390 specifies first scope to show.
57391 (dl_open_worker): Update callers. Move printing scope of new
57392 object to before the relocation.
57393 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57394 * sysdeps/generic/ldsodefs.h: Update declaration.
57396 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57397 string for the scope number.
57399 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57401 * nscd/servicescache.c (cache_addserv): Make sure written is always
57404 2011-08-14 Roland McGrath <roland@hack.frob.com>
57406 * sysdeps/i386/i486/bits/atomic.h
57407 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57408 statement expression, so as to suppress "set but not used" warning.
57409 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57411 * string/strncat.c (STRNCAT): Use prototype definition.
57413 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57414 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57416 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57417 (localedef-modules): Add localedef.
57418 (locale-modules): Add locale.
57420 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57421 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57422 to avoid a warning.
57424 2011-08-14 David S. Miller <davem@davemloft.net>
57426 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57427 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57429 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57431 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57432 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57433 * elf/rtld.c (dl_main): Set l_name of vDSO.
57434 Call _dl_show_scope when DL_DEBUG_SCOPES.
57435 (process_dl_debug): Recognize scopes flag and also set it for all.
57436 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57437 Declare _dl_show_scope.
57439 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57440 (do_dlopen): Pass caller_dlopen to dl_open.
57441 (__libc_dlopen_mode): Initialize caller_dlopen.
57443 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57444 of libc. Make tolower call locale-independent. Optimize a bit by
57445 using isdigit instead of isalnum.
57446 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57448 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57450 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57451 was a dependency or dynamically loaded.
57453 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57455 * intl/l10nflist.c: Allow architecture-specific pop function.
57456 * sysdeps/x86_64/l10nflist.c: New file.
57458 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57461 2011-08-10 Andreas Schwab <schwab@redhat.com>
57463 * include/dirent.h: Add libc_hidden_proto for scandirat and
57464 scandirat64. Don't declare __scandirat64.
57465 * dirent/scandirat.c: Add libc_hidden_def.
57466 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57467 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57469 2011-08-10 David S. Miller <davem@davemloft.net>
57471 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57477 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57479 * Versions.def [libc]: Add GLIBC_2.15.
57480 * dirent/Makefile (routines): Add scandirat and scandirat64.
57481 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57483 * dirent/dirent.h: Declare scandirat and scandirat64.
57484 * dirent/scandirat.c: New file.
57485 * dirent/scandirat64.c: New file.
57486 * sysdeps/wordsize-64/scandirat.c: New file.
57487 * sysdeps/wordsize-64/scandirat64.c: New file.
57488 * dirent/opendir.c: Define opendirat.
57489 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57491 * dirent/scandir64.c: Adjust for scandir.c change.
57492 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57493 __scandirat64, and __scandir_cancel_handler.
57494 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57495 additional parameter and use openat instead of open (outside of ld.so).
57496 Add new __opendir as wrapper around __opendirat.
57497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57498 here without requiring old scandirat implementation.
57500 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57502 * dirent/scandir.c (cancel_handler): Renamed to
57503 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57504 defined. Adjust users.
57505 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57508 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57510 * string/test-string.h (IMPL): Use __STRING to expand name and then
57513 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57516 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57518 * string/Makefile: Update.
57519 (strop-tests): Append strncat.
57520 * string/test-wcscmp.c: New file.
57521 New comprehensive test for wcscmp.
57522 * string/test-strcmp.c: Update.
57523 (WIDE): New define.
57525 2011-07-22 Andreas Schwab <schwab@redhat.com>
57527 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57530 2011-07-26 Andreas Schwab <schwab@redhat.com>
57532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57533 encoding to ACE if AI_IDN.
57535 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57538 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57540 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57543 Fix overflow bug in strncat.
57544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57546 * string/test-strncat.c: Update.
57547 Add new tests for checking overflow bugs.
57549 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57552 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57553 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57554 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57556 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57557 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57558 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57559 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57562 (USE_AS_STRCAT): Define.
57563 Add strcat and strncat support.
57564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57566 2011-07-25 Andreas Schwab <schwab@redhat.com>
57568 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57569 __n bigger than INT_MAX+1.
57570 (__strncmp_g): Likewise.
57572 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57574 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57575 * libio/stido.h: Likewise.
57577 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57582 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57585 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57589 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57594 (_dl_x86_64_save_sse): Likewise.
57596 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57600 (_dl_x86_64_save_sse): Likewise.
57602 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57604 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57606 2011-07-21 Andreas Schwab <schwab@redhat.com>
57608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57610 (_dl_x86_64_save_sse): Use correct AVX check.
57612 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57615 bug in strncpy/strncat.
57616 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57618 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57620 * string/tester.c (test_strcat): Add tests for different alignments
57621 of source and destination.
57622 (test_strncat): Likewise.
57624 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57627 * posix/glob.c (glob): Check passed in values before using them in
57628 expressions to avoid some overflows.
57629 (glob_in_dir): Likewise.
57632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57633 check for AVX enablement so that we don't crash with old kernels and
57635 * elf/tst-audit4.c: Add same checks here.
57636 * elf/tst-audit6.c: Likewise.
57638 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57640 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57642 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57644 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57646 * po/cs.po: Update from translation team.
57647 * po/bg.po: Likewise.
57649 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57651 * misc/sys/cdefs.h: Add support for const attribute.
57652 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57653 to gnu_dev_{major,minor,makedev} functions.
57655 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57657 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57659 2011-07-20 Andreas Schwab <schwab@redhat.com>
57661 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57664 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57667 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57668 register in order to avoid conflicts with the soft frame pointer
57669 being held in r11 when necessary.
57670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57671 (INTERNAL_VSYSCALL_NCS): Likewise.
57673 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57675 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57676 * elf/dl-fini.c (_dl_fini): Adjust caller.
57677 * elf/dl-close.c (_dl_close_worker): Likewise.
57678 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57680 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57682 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57683 "aux_cache->nlibs < 0".
57685 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57686 in the reload-count case.
57688 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57691 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57692 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57693 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57694 * sysdeps/x86_64/multiarch/strcat.S: New file.
57695 * sysdeps/x86_64/multiarch/strncat.S: New file.
57696 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57698 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57699 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57701 (USE_AS_STRCAT): Define.
57702 Add strcat and strncat support.
57703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57704 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57705 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57706 * string/strncat.c: Update.
57707 (USE_AS_STRNCAT): Define.
57708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57709 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57711 * sysdeps/x86_64/multiarch/init-arch.h
57712 (bit_Prefer_PMINUB_for_stringop): New.
57713 (index_Prefer_PMINUB_for_stringop): Likewise.
57714 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57715 bit_Prefer_PMINUB_for_stringop.
57717 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57719 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57721 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57722 of casting of buffer.
57723 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57724 buffer32 and buffer64.
57725 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57726 writes instead of casting of buffer.
57727 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57729 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57732 2011-07-19 Andreas Schwab <schwab@redhat.com>
57734 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57736 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57738 * nscd/nscd.c (termination_handler): Don't do anything for a database
57739 if it has not yet been initialized.
57741 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57743 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57745 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57747 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57749 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57751 * po/nl.po: Update from translation team.
57752 * po/sv.po: Likewise.
57754 2011-07-16 Roland McGrath <roland@hack.frob.com>
57756 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57757 now disallowed by GCC.
57759 * configure.in (use-default-link): Default to yes if a test -shared
57760 link meets our qualifications.
57761 * configure: Regenerated.
57763 * config.make.in (output-format): New variable.
57764 * configure.in: Check for ld --print-output-format support.
57765 * configure: Regenerated.
57766 * Makerules ($(common-objpfx)format.lds)
57767 [$(output-format) != unknown]: Just use $(output-format),
57768 instead of the linker-script munging.
57770 2011-07-14 Roland McGrath <roland@hack.frob.com>
57772 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57773 of $(common-objpfx)shlib.lds.
57774 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57776 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57777 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57779 * configure.in (-z relro check): Adjust test code to add a large
57780 writable data section after it.
57781 * configure: Regenerated.
57783 2011-07-11 Roland McGrath <roland@hack.frob.com>
57785 * configure.in (-z relro check): Fix test code to make the variable
57787 * configure: Regenerated.
57789 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57791 * nscd/nscd.h (struct traced_file): Define.
57792 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57793 elements. Add traced_files.
57794 (inotify_fd): Declare.
57795 (register_traced_file): Declare.
57796 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57797 (inotify_fd): Export.
57798 (resolv_conf_descr): Remove.
57799 (nscd_init): Move inotify descriptor creation to main.
57800 Don't register files for notification here.
57801 (register_traced_file): New function.
57802 (invalidate_cache): Don't use reset_res to determine whether to call
57803 res_init, go through the list of registered files.
57804 (main_loop_poll): The inotify descriptors are now stored in the
57805 structures for the traced files.
57806 (main_loop_epoll): Likewise
57807 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57808 to __nss_disable_nscd.
57809 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57810 for a database anymore. Check the records for all the registered
57812 * nss/Makefile (libnss_files-routines): Add files-init.
57813 (libnss_db-routines): Add db-init.
57814 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57815 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57816 * nss/nss_db/db-init.c: New file.
57817 * nss/nss_files/files-init.c: New file.
57818 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57819 __nss_lookup_function.
57820 (__nss_lookup_function): Call nss_load_library.
57821 (nss_load_all_libraries): New function.
57822 (__nss_disable_nscd): Take parameter with callback function for files
57823 to register. Set is_nscd. Load all the DSOs for the NSS modules
57824 used for the cached services.
57825 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57826 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57827 options for features to all the files in nscd.
57829 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57831 2011-07-10 Roland McGrath <roland@hack.frob.com>
57833 * csu/elf-init.c (__libc_csu_init): Comment typo.
57835 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57837 * po/pl.po: Update from translation team.
57838 * po/ja.po: Likewise.
57839 * po/ru.po: Likewise.
57840 * po/ko.po: Likewise.
57841 * po/fr.po: Likewise.
57843 2011-07-09 Roland McGrath <roland@hack.frob.com>
57845 * configure.in (.ctors/.dtors header and trailer check):
57846 Use an empirical test on a built program.
57847 * configure: Regenerated.
57849 * configure.in (-z relro check): Use an empirical test on a built DSO.
57850 Detect, but do not require, on ia64.
57851 * configure: Regenerated.
57853 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57854 Update tests that use readelf to use $READELF instead.
57855 * configure: Regenerated.
57857 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57859 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57860 if the result is not used.
57862 2011-07-05 Andreas Jaeger <aj@suse.de>
57865 * stdlib/tst-strtod.c: Add testcase.
57867 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57869 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57870 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57871 The latter has a higher limit. Take additional parameter to pass to
57873 (__pathconf): Pass file to __statfs_link_max.
57874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57876 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57880 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57884 (__statfs_filesize_max): Likewise.
57885 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57887 2011-07-05 Andreas Jaeger <aj@suse.de>
57889 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57891 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57893 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57895 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57898 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57900 * Makefile (strop-tests): Add strncat.
57901 * string/test-strncat.c: New file.
57903 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57905 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57907 2011-06-21 Andreas Jaeger <aj@suse.de>
57909 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57910 Copy rule from iconvdata/Makefile.
57912 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57915 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57916 but no long options are defined, just return 'W'.
57918 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57921 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57923 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57925 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57927 (innetgr): Likewise.
57929 2011-07-05 Roland McGrath <roland@hack.frob.com>
57931 * config.make.in (install_root): Default to $(DESTDIR).
57933 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57937 2011-07-02 Roland McGrath <roland@hack.frob.com>
57939 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57941 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57942 containing directory rather than embedding absolute directory names.
57944 * scripts/check-local-headers.sh: Rewritten using awk.
57945 Match by word, not by line. Print error messages for matches.
57946 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57948 * Makerules [shlib-lds-flags empty]:
57949 ($(common-objpfx)libc_pic.opts): New target.
57950 ($(common-objpfx)libc_pic.os.clean): New target.
57951 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57953 * config.make.in (OBJCOPY): New variable.
57954 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57955 * configure: Regenerated.
57957 * config.make.in (use-default-link): New variable.
57958 * configure.in (use_default_link): Grok --with-default-link to set it.
57959 * configure: Regenerated.
57960 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57961 (shlib-lds, shlib-lds-flags): Define to empty.
57963 * Makerules (shlib-lds): New variable.
57964 (shlib-lds-flags): New variable.
57965 (build-shlib, build-moduile, build-module-asneeded): Use it.
57966 ($(common-objpfx)libc.so): Use $(shlib-lds).
57967 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57968 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57970 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57971 DT_FLAGS/DT_FLAGS_1 with zero flags.
57973 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57974 linker script munging.
57976 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57978 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57980 * crypt/sha512.c (sha512_process_block): Perform total addition using
57981 128-bit if possible.
57982 (__sha512_finish_ctx): Likewise.
57983 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57985 * crypt/sha256.c (SWAP64): Define.
57986 (sha256_process_block): Perform total addition using 64-bit if
57988 (__sha256_finish_ctx): Likewise.
57990 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57992 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57994 * nscd/hstcache.c (cache_addhst): Likewise.
57995 * nscd/grpcache.c (cache_addgr): Likewise.
57996 * nscd/aicache.c (addhstaiX): Likewise
57997 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57999 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58001 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58003 * nscd/hstcache.c (cache_addhst): Likewise.
58004 * nscd/grpcache.c (cache_addgr): Likewise.
58005 * nscd/aicache.c (addhstaiX): Likewise
58007 2011-07-01 Andreas Schwab <schwab@redhat.com>
58009 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58010 domain only when needed.
58012 2011-06-30 Andreas Schwab <schwab@redhat.com>
58014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58015 is always restored.
58017 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58019 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58020 are re-adding the entry.
58021 * nscd/servicescache.c (cache_addserv): Likewise.
58023 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58025 * sysdeps/generic/dl-irel.h: fix protection against multiple
58027 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58029 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58032 * malloc/memusage.sh: Fix quoting in message.
58033 * debug/xtrace.sh: Likewise.
58035 * configure.in: Remove support for --experimental-malloc option, make
58037 * config.make.in: Likewise.
58038 * malloc/Makefile: Likewise.
58040 2011-06-27 Andreas Schwab <schwab@redhat.com>
58042 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58043 two-byte characters.
58045 2011-06-27 Roland McGrath <roland@hack.frob.com>
58047 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58048 AC_CACHE_CHECK invocation.
58049 * configure: Regenerated.
58051 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58053 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58056 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58057 bit from old_res_options.
58059 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58061 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58062 value type for setfct.
58064 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58067 __gettimeofday instead of gettimeofday.
58069 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58071 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58073 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58075 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58080 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58083 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58084 strcpy-sse2-unaligned strncpy-sse2-unaligned
58085 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58086 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58087 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58088 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58089 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58090 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58092 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58093 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58094 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58095 (STRCPY): Support SSE2 and SSSE3 versions.
58097 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58100 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58101 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58102 kernels which artificially limit size of requests.
58104 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58107 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58108 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58109 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58110 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58111 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58112 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58113 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58114 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58116 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58117 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58118 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58119 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58120 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58122 Enable unaligned load optimization for Intel Core i3, i5 and i7
58124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58126 (index_Fast_Unaligned_Load): Define.
58127 (HAS_FAST_UNALIGNED_LOAD): Define.
58129 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58131 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58133 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58137 until it is clear that the information is realy needed.
58138 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58140 2011-06-22 Andreas Schwab <schwab@redhat.com>
58142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58144 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58147 /sys/devices/system/cpu/online if it is usable.
58149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58150 reading the information from the /proc filesystem to once a second.
58152 2011-06-21 Andreas Jaeger <aj@suse.de>
58154 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58155 NULL after inclusion of kernel headers.
58157 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58159 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58160 calls to internal_setent.
58163 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58164 addresses using gethostbyname4_r ignore IPv4 addresses.
58166 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58167 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58169 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58171 2011-06-20 David S. Miller <davem@davemloft.net>
58173 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58175 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58177 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58178 (elf_irel): Use it.
58179 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58180 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58181 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58182 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58183 * sysdeps/x86_64/dl-irel.h: Likewise.
58185 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58186 * elf/dl-sym.c: Likewise.
58188 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58190 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58191 need to dereference resplen2.
58193 2011-06-14 Andreas Schwab <schwab@redhat.com>
58195 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58197 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58199 * Makeconfig: Define vardbdir and inst_vardbdir.
58200 * nss/Makefile: Add rules to install db-Makefile.
58202 * nss/nss_db/db-XXX.c: Cleanup.
58204 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58205 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58207 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58208 * nss/makedb.c: Implement -g option to specify that value strings
58209 are generated and should not be added to table iterated over for
58211 * nss/nss_db/db-initgroups.c: New file.
58213 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58216 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58217 (internal_getgrouplist): Adjust to name change.
58218 Update use_initgroups_entry if this is not the first call.
58219 * nss/databases.def: Add initgroups entry.
58221 * nss/makedb.c (compute_tables): Check result of multiple hash table
58222 sizes to minimize maximum chain length.
58224 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58226 * Versions.def: Add entry for libnss_db.
58227 * shlib-versions: Likewise.
58228 * nss/Makefile: Add rules to build libnss_db.
58229 * nss/Versions: Add libnss_db information. Organize libnss_files
58231 * nss/db-Makefile: Add gshadow support. Change rules for the new
58232 makedb progra. Some minor improvements to generate smaller files.
58233 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58235 * nss/makedb.c: ...here.
58236 Improve database format to be smaller and require less memory at
58238 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58240 * nss/nss_db/db-netgrp.c: Likewise.
58241 * nss/nss_db/db-open.c: Likewise.
58242 * nss/nss_files/flies-XXX.x: Adjust comments.
58243 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58244 * nss/nss_files/files-grp.c: Likewise.
58245 * nss/nss_files/files-hosts.c: Likewise.
58246 * nss/nss_files/files-network.c: Likewise.
58247 * nss/nss_files/files-proto.c: Likewise.
58248 * nss/nss_files/files-pwd.c: Likewise.
58249 * nss/nss_files/files-rpc.c: Likewise.
58250 * nss/nss_files/files-service.c: Likewise.
58251 * nss/nss_files/files-sgrp.c: Likewise.
58252 * nss/nss_files/files-spwd.c: Likewise.
58253 * nss/nss_db/db-alias.c: Removed.
58254 * nss/nss_db/dummy-db.h: Removed.
58256 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58258 * nss/makedb.c: Rewritten to not use database library.
58259 * nss/Makefile: Update to build new makedb program.
58261 2011-06-14 Andreas Jaeger <aj@suse.de>
58263 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58264 memset declaration.
58266 2011-06-10 Andreas Schwab <schwab@redhat.com>
58268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58271 2011-06-10 Roland McGrath <roland@hack.frob.com>
58273 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58274 * elf/Makefile ($(objpfx)ld.so): Likewise.
58276 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58277 Don't list ld.so twice in dependencies.
58279 * posix/bug-regex31.c: Include <stdlib.h>.
58281 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58283 * nis/nss_compat/compat-spwd.c
58284 (getspent_next_nss_netgr): Remove unused variable.
58285 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58287 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58288 nonmembers" output to use the right array.
58290 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58292 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58294 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58295 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58296 * catgets/gencat.c (read_input_file): Likewise.
58297 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58299 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58300 variable definition inside #if's controlling its use.
58302 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58304 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58306 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58308 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58311 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58313 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58314 * configure: Regenerated.
58316 * Makerules: Revert last change.
58317 * elf/Makefile: Likewise.
58319 2011-06-09 Roland McGrath <roland@hack.frob.com>
58321 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58322 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58323 (reloc-link): Likewise.
58325 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58327 * elf/Makefile: Add rules to build pldd.
58328 * elf/pldd.c: New file.
58329 * elf/pldd-xx.c: New file.
58331 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58333 * version.h: Update for 2.15 development version.
58335 2011-06-07 David S. Miller <davem@davemloft.net>
58337 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58340 elf_machine_lazy_rel): Likewise.
58341 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58342 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58343 elf_machine_lazy_rel): Likewise.
58344 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58345 dl_hwcap via passed in argument.
58346 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58349 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58351 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58353 2011-06-06 Roland McGrath <roland@hack.frob.com>
58356 * manual/fdl-1.1.texi: New file, verbatim from:
58357 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58358 * manual/lgpl-2.1.texi: New file, verbatim from:
58359 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58360 * manual/Makefile (licenses): New variable, list those new file names.
58362 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58364 * manual/fdl.texi: File removed.
58365 * manual/lesser.texi: File removed.
58366 * manual/libc.texinfo (Copying, Documentation License):
58367 Use new @include file names, put @appendix directive before @include.
58369 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58372 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58373 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58374 (mq_open): Add __NTH.
58376 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58379 Assume Intel Core i3/i5/i7 processor if AVX is available.
58381 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58386 2011-05-31 Andreas Schwab <schwab@redhat.com>
58388 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58389 memory. Use alloca_account. Fix memory leak when retrying.
58391 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58393 * version.h (RELEASE): Bump for 2.14 release.
58394 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58396 * config.make.in (RANLIB): Remove entry.
58398 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58400 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58401 (libc.pot): Work around missing support for .ksh extension in xgettext.
58404 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58405 if both request failed.
58406 (send_dg): In case of server errors clear resplen or *resplen2.
58409 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58410 when there are multiple maps.
58411 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58412 (_dl_fini): Remove test here.
58414 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58416 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58419 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58420 bit from old_res_options.
58421 (gaih_inet): Likewise.
58424 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58427 * resolv/res_init.c (res_setoptions): Make the code more compact.
58430 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58434 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58436 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58439 * malloc/malloc.h: Declare malloc hook variables as volatile.
58441 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58445 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58446 raise in the comment.
58447 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58448 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58449 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58451 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58454 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58455 grow the buffers more if it already has to be sufficient.
58456 (build_wcs_upper_buffer): Likewise.
58457 * posix/regexec.c (check_matching): Likewise.
58458 (clean_state_log_if_needed): Likewise.
58459 (extend_buffers): Don't enlarge buffers beyond size of the input
58461 Patches mostly by Emil Wojak <emil@wojak.eu>.
58462 * posix/bug-regex32.c: New file.
58463 * posix/Makefile (tests): Add bug-regex32.
58465 * locale/findlocale.c (_nl_find_locale): Return right away if
58466 _nl_explode_name failed.
58467 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58469 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58471 * debug/xtrace.sh: Unify messages.
58472 * malloc/memusage.sh: Likewise.
58475 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58476 time symbol from vDSO. Substitute with vsyscall if not available.
58477 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58480 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58481 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58482 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58483 Add sendmmsg and internal_sendmmsg.
58484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58485 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58486 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58488 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58489 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58492 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58495 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58496 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58502 * iconvdata/Makefile (tests): Add bug-iconv9.
58503 * iconvdata/bug-iconv9.c: New file.
58505 2011-05-27 Andreas Schwab <schwab@redhat.com>
58508 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58510 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58513 (struct user_regs_struct): Change intcs field back to cs.
58515 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58517 * po/ja.po: Update from translation team.
58519 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58522 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58525 2011-05-20 Andreas Schwab <schwab@redhat.com>
58527 * stdlib/longlong.h: Update from GCC.
58529 2011-05-23 Andreas Schwab <schwab@redhat.com>
58531 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58533 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58534 Add parameter name.
58535 (__sysconf): Pass it down.
58537 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58540 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58543 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58544 add in in __libc_use_alloca calls. Adjust callers.
58545 (glob): Use malloc in some situations.
58547 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58548 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58551 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58553 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58554 and CLOCK_BOOTTIME_ALARM.
58557 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58560 * string/_strerror.c (__strerror_r): Print negative errors as signed
58564 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58565 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58566 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58568 * configure.in: Fix typo in redirection and correct removal of test
58569 files in two cases.
58572 * locale/setlocale.c (new_composite_name): Fix test to check for
58573 identical name of all categories.
58576 * libio/filedoalloc.c (local_isatty): New function.
58577 (_IO_file_doallocate): Use local_isatty.
58578 * stdio-common/perror.c (perror): In case a new stream is used
58579 forward the stream error.
58580 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58583 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58588 * include/alloca.h (extend_alloca_account): Define.
58591 * posix/regex.h: Fix comments with documentation of user-accessible
58592 fields after compilation and describe correct free'ing of pattern
58593 after re_compile_pattern.
58594 Patch by Reuben Thomas <rrt@sc3d.org>.
58596 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58598 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58599 and -mno-altivec to prevent the compiler from using Altivec and/or
58600 VSX instructions when the corresponding registers are not available.
58602 2011-05-19 Andreas Schwab <schwab@redhat.com>
58604 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58606 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58608 * libio/freopen.c (freopen): Use __dup2, not dup2.
58609 * libio/freopen64.c (freopen64): Likewise.
58611 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58614 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58615 * math/Makefile (tests): Add test-powl.
58616 (CFLAGS-test-powl.c): Define.
58617 * math/test-powl.c: New file.
58619 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58621 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58623 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58626 * iconvdata/gb18030.c: Update to GB18020-2005.
58628 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58630 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58631 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58632 Patch by Aharon Robbins <arnold@skeeve.com>.
58635 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58639 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58640 through underflows.
58643 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58644 point to strings before performing equality test for error_one_per_line
58648 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58652 (struct user_fpregs_struct): Avoid __uint*_t types.
58655 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58656 symbol info. Use it instead of calling _dl_addr locally.
58657 (lock_and_info): New function.
58658 (tr_freehook): Call lock_and_info and pass symbol info as additional
58659 parameter to tr_where.
58660 (tr_mallochook): Likewise.
58661 (tr_reallochook): Likewise.
58662 (tr_memalignhook): Likewise.
58664 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58665 used and couldn't be at all thread-safe.
58667 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58669 * libio/freopen.c (freopen): Don't close old file descriptor
58670 before the new one is opened. Instead dup the new file descriptor
58671 to the old one after the new stream is created.
58672 * libio/freopen64.c (freopen64): Likewise.
58673 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58674 * libio/fileops.c (_IO_new_file_close_it): Handle new
58675 _IO_FLAGS2_NOCLOSE flag.
58676 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58677 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58678 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58679 _IO_FLAGS2_NOCLOSE flag.
58680 * include/unistd.h: Add hidden_proto for dup3.
58681 Define __have_dup3.
58682 * io/dup3.c: Define hidden symbol.
58683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58686 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58687 when an incomplete long option is used.
58688 * posix/tst-getopt_long1.c: New file.
58689 * posix/Makefile (tests): Add tst-getopt_long1.
58692 * scripts/config.guess: Update from autoconf-2.68.
58693 * scripts/config.sub: Likewise.
58696 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58698 (has_cpuclock): ...this. New function.
58699 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58700 macro here based on has_cpuclock code.
58703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58704 First byte (not low byte) is now always NUL.
58705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58708 Use non-cancelable interfaces.
58711 * locale/iso-639.def: Add entry for Sorani.
58714 * include/stdlib.h: Move include protection to the right place.
58715 Define abort_msg_s. Declare __abort_msg with it.
58716 * stdlib/abort.c (__abort_msg): Adjust type.
58717 * assert/assert.c (__assert_fail_base): New function. Majority
58718 of code from __assert_fail. Allocate memory for __abort_msg with
58720 (__assert_fail): Now call __assert_fail_base.
58721 * assert/assert-perr.c: Remove bulk of implementation. Use
58722 __assert_fail_base.
58723 * include/assert.hL Declare __assert_fail_base.
58724 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58726 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58728 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58732 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58733 until all modules are registered in the DTV.
58734 * elf/Makefile: Add rules to build and run tst-tls19.
58735 * elf/tst-tls19.c: New file.
58736 * elf/tst-tls19mod1.c: New file.
58737 * elf/tst-tls19mod2.c: New file.
58738 * elf/tst-tls19mod3.c: New file.
58739 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58742 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58746 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58747 two-byte sequence errors.
58748 * iconvdata/Makefile (tests): Add bug-iconv8.
58749 * iconvdata/bug-iconv8.c: New file.
58752 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58755 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58758 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58759 (dummy_getcfa): New function.
58760 (init): Get _Unwind_GetCFA address, use dummy if not found.
58761 (backtrace_helper): In recursion check, also check whether CFA changes.
58762 (__backtrace): Completely initialize arg.
58764 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58765 storing incomplete byte sequence in state object. Avoid testing for
58766 guaranteed too small input if we know there is enough data available.
58768 2011-05-11 Andreas Schwab <schwab@redhat.com>
58770 * Makeconfig (+link-pie): Indent.
58771 * Rules (binaries-pie): Define if $(have-fpie) and
58773 (binaries-shared): Also filter out $(binaries-pie).
58774 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58775 * nscd/Makefile (others-pie): Add nscd.
58776 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58777 ($(objpfx)nscd): Remove command override.
58778 * login/Makefile (others-pie): Add pt_chown.
58779 ($(objpfx)pt_chown): Remove command override.
58780 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58781 remove command overrides.
58783 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58785 * libio/tst_putwc.c: Fix error messages.
58788 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58789 currently writing and seek to current position when not.
58790 * libio/Makefile (tests): Add bug-fclose1.
58791 * libio/bug-fclose1.c: New file.
58793 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58796 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58797 don't set DF_1_NODELETE here.
58798 (do_lookup_x): When entering new entry test for copy relocation
58799 and if necessary set DF_1_NODELETE flag.
58800 * elf/tst-unique4.cc: New file.
58801 * elf/tst-unique4.h: New file.
58802 * elf/tst-unique4lib.cc: New file.
58803 * elf/Makefile: Add rules to build and run tst-unique4.
58804 Patch by Piotr Bury <pbury@goahead.com>.
58806 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58809 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58812 * misc/mntent_r.c (addmntent): Flush the stream after the output
58815 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58816 (is_trusted_path_normalize): Skip initial colon. Append slash
58817 to empty buffer. Duplicate is_trusted_path code but allow
58818 constructed patch to be prefix.
58819 (is_dst): Allow $ORIGIN followed by /.
58820 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58821 Correct testing of result of is_trusted_path_normalize
58822 (decompose_rpath): Fix warning.
58824 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58827 * grp/initgroups.c (internal_getgrouplist): When we found the service
58828 list through the initgroups entry in nsswitch.conf do not always
58829 continue on a successful lookup. Don't always use the
58830 __nss_group_database value if it is set.
58831 * nss/nsswitch.conf (initgroups): Change action for successful db
58832 lookup to continue for compatibility.
58834 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58837 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58839 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58841 * iconvdata/tst-tables.sh: Likewise.
58842 * iconvdata/cp770.c: New file.
58843 * iconvdata/cp771.c: New file.
58844 * iconvdata/cp772.c: New file.
58845 * iconvdata/cp773.c: New file.
58846 * iconvdata/cp774.c: New file.
58847 * iconvdata/testdata/CP770: New file.
58848 * iconvdata/testdata/CP770..UTF8: New file.
58849 * iconvdata/testdata/CP771: New file.
58850 * iconvdata/testdata/CP771..UTF8: New file.
58851 * iconvdata/testdata/CP772: New file.
58852 * iconvdata/testdata/CP772..UTF8: New file.
58853 * iconvdata/testdata/CP773: New file.
58854 * iconvdata/testdata/CP773..UTF8: New file.
58855 * iconvdata/testdata/CP774: New file.
58856 * iconvdata/testdata/CP774..UTF8: New file.
58858 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58860 * iconvdata/gen-8bit-gap.sh: Likewise.
58861 * iconvdata/gen-8bit.sh: Likewise.
58863 * locale/iso-639.def: Add ary entry.
58866 * locale/C-translit.h.in: Add U20A1 transliteration.
58869 * locale/iso-639.def: Add wae entry.
58870 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58873 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58877 * locale/C-translit.h.in: Add entry for U20B9.
58878 Patch by pravin.d.s@gmail.com.
58880 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58883 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58884 ENAMETOOLONG use generic getcwd.
58885 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58886 in rtld. Use *stat64.
58887 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58888 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58889 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58890 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58891 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58892 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58893 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58894 __fstatat64 macros.
58895 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58896 * dirent/rewinddir.c: Add libc_hidden_def.
58897 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58898 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58900 * include/dirent.h (__alloc_dir): Add flags parameter.
58901 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58902 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58904 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58905 from fdopendir if O_CLOEXEC is already set.
58907 2011-03-15 Alan Modra <amodra@gmail.com>
58909 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58910 l_tls_firstbyte_offset non-zero. Save padding offset in
58911 l_tls_firstbyte_offset for later use.
58912 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58913 freeing static tls block.
58915 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58917 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58918 where #ifdef was intended. The intent is to prevent ARG_MAX from
58919 being defined by the kernel headers.
58921 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58924 * resolv/resolv.h: Define RES_NOTLDQUERY.
58925 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58926 no-tld-query and set RES_NOTLDQUERY.
58927 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58928 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58929 modern BIND to search name as TLD unless forbidden.
58931 2011-05-07 Petr Baudis <pasky@suse.cz>
58932 Ulrich Drepper <drepper@gmail.com>
58935 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58936 (is_trusted_path): ...to here.
58937 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58938 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58939 using is_trusted_path_normalize() in setuid scripts.
58941 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58943 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58944 __BEGIN/__END_DECLS.
58946 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58949 NSS_STATUS_NOTFOUND if no record was found.
58951 2011-05-05 Andreas Schwab <schwab@redhat.com>
58953 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58954 (headers-not-in-tirpc): Remove rpc/netdb.h
58955 * resolv/netdb.h: Revert last change.
58957 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58959 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58960 circular dependency between libgcc.a and libc.a.
58962 2011-05-05 Andreas Schwab <schwab@redhat.com>
58964 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58965 * nis/Makefile: Don't install rpcsvc/*.
58966 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58967 instead of <rpc/types.h>.
58968 (MAXHOSTNAMELEN): Define.
58970 2011-05-03 Andreas Schwab <schwab@redhat.com>
58972 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58974 2011-04-28 Maciej Babinski <mbabinski@google.com>
58977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58978 gethostbyname4_r when IPv6 results are possible.
58980 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58983 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58984 _PC_PIPE_BUF handling.
58986 2011-04-30 Bruno Haible <bruno@clisp.org>
58989 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58990 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58992 * inet/getnameinfo.c (getnameinfo): Likewise.
58994 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58996 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58997 to groups setting in database lookup.
58998 * nss/nsswitch.conf: Add initgroups entry.
59000 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59003 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59005 Patch by Eric Blake <eblake@redhat.com>.
59007 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59009 * sunrpc/Makefile (need-export-routines): Add svc_run.
59010 (routines): Remove svc_run.
59011 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59012 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59013 * sunrpc/svc_run.c (svc_run): Likewise.
59014 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59016 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59019 problem in reallocation in last patch.
59021 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59023 * sunrpc/Makefile: Move inclusion of Rules.
59025 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59027 * nss/nss_files/files-initgroups.c: New file.
59028 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59029 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59030 _nss_files_initgroups_dyn.
59032 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59034 * elf/elf.h (R_ARM_IRELATIVE): Define.
59036 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59038 * po/ru.po: Update from translation team.
59040 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59042 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59045 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59048 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59049 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59052 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59054 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59056 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59062 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59065 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59067 * stdlib/bug-getcontext.c: New file.
59068 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59070 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59072 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59073 instructions into .machine "z9-109".
59074 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59075 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59077 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59079 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59080 between environment variables and auxiliary vector.
59082 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59084 * Makefile: Add rules to build linkobj/libc.so.
59085 * include/libc-symbols.h: Define libc_hidden_nolink.
59086 * include/rpc/auth.h: Mark functions which are to be hidden.
59087 * include/rpc/auth_des.h: Likewise.
59088 * include/rpc/auth_unix.h: Likewise.
59089 * include/rpc/clnt.h: Likewise.
59090 * include/rpc/des_crypt.h: Likewise.
59091 * include/rpc/key_prot.h: Likewise.
59092 * include/rpc/pmap_clnt.h: Likewise.
59093 * include/rpc/pmap_prot.h: Likewise.
59094 * include/rpc/pmap_rmt.h: Likewise.
59095 * include/rpc/rpc_msg.h: Likewise.
59096 * include/rpc/svc.h: Likewise.
59097 * include/rpc/svc_auth.h: Likewise.
59098 * include/rpc/xdr.h: Likewise.
59099 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59100 * nss/Makefile: Likewise.
59101 * sunrpc/Makefile: Don't install headers. Build library with normal
59102 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59103 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59104 for the compat linking library. Remove use of INTDEF/INTUSE.
59105 * sunrpc/auth_none.c: Likewise.
59106 * sunrpc/auth_unix.c: Likewise.
59107 * sunrpc/authdes_prot.c: Likewise.
59108 * sunrpc/authuxprot.c: Likewise.
59109 * sunrpc/clnt_gen.c: Likewise.
59110 * sunrpc/clnt_perr.c: Likewise.
59111 * sunrpc/clnt_raw.c: Likewise.
59112 * sunrpc/clnt_simp.c: Likewise.
59113 * sunrpc/clnt_tcp.c: Likewise.
59114 * sunrpc/clnt_udp.c: Likewise.
59115 * sunrpc/clnt_unix.c: Likewise.
59116 * sunrpc/des_crypt.c: Likewise.
59117 * sunrpc/des_soft.c: Likewise.
59118 * sunrpc/get_myaddr.c: Likewise.
59119 * sunrpc/key_call.c: Likewise.
59120 * sunrpc/key_prot.c: Likewise.
59121 * sunrpc/netname.c: Likewise.
59122 * sunrpc/pm_getmaps.c: Likewise.
59123 * sunrpc/pm_getport.c: Likewise.
59124 * sunrpc/pmap_clnt.c: Likewise.
59125 * sunrpc/pmap_prot.c: Likewise.
59126 * sunrpc/pmap_prot2.c: Likewise.
59127 * sunrpc/pmap_rmt.c: Likewise.
59128 * sunrpc/publickey.c: Likewise.
59129 * sunrpc/rpc_cmsg.c: Likewise.
59130 * sunrpc/rpc_common.c: Likewise.
59131 * sunrpc/rpc_dtable.c: Likewise.
59132 * sunrpc/rpc_prot.c: Likewise.
59133 * sunrpc/rpc_thread.c: Likewise.
59134 * sunrpc/rtime.c: Likewise.
59135 * sunrpc/svc.c: Likewise.
59136 * sunrpc/svc_auth.c: Likewise.
59137 * sunrpc/svc_authux.c: Likewise.
59138 * sunrpc/svc_raw.c: Likewise.
59139 * sunrpc/svc_run.c: Likewise.
59140 * sunrpc/svc_simple.c: Likewise.
59141 * sunrpc/svc_tcp.c: Likewise.
59142 * sunrpc/svc_udp.c: Likewise.
59143 * sunrpc/svc_unix.c: Likewise.
59144 * sunrpc/svcauth_des.c: Likewise.
59145 * sunrpc/xcrypt.c: Likewise.
59146 * sunrpc/xdr.c: Likewise.
59147 * sunrpc/xdr_array.c: Likewise.
59148 * sunrpc/xdr_float.c: Likewise.
59149 * sunrpc/xdr_intXX_t.c: Likewise.
59150 * sunrpc/xdr_mem.c: Likewise.
59151 * sunrpc/xdr_rec.c: Likewise.
59152 * sunrpc/xdr_ref.c: Likewise.
59153 * sunrpc/xdr_sizeof.c: Likewise.
59154 * sunrpc/xdr_stdio.c: Likewise.
59156 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59159 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59160 * sysdeps/ia64/dl-tls.h: Likewise.
59161 * sysdeps/powerpc/dl-tls.h: Likewise.
59162 * sysdeps/s390/dl-tls.h: Likewise.
59163 * sysdeps/sh/dl-tls.h: Likewise.
59164 * sysdeps/sparc/dl-tls.h: Likewise.
59165 * sysdeps/x86_64/dl-tls.h: Likewise.
59166 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59168 2011-03-14 Andreas Schwab <schwab@redhat.com>
59170 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59171 rpath element also skip the following colon.
59172 (expand_dynamic_string_token): Add is_path parameter and pass
59173 down to DL_DST_REQUIRED and _dl_dst_substitute.
59174 (decompose_rpath): Call expand_dynamic_string_token with
59175 non-zero is_path. Ignore empty rpaths.
59176 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59179 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59184 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59187 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59188 Patch by Filipe David Manana <fdmanana@apache.org>.
59190 2011-04-07 Andreas Schwab <schwab@redhat.com>
59192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59193 Maintain aligned stack.
59194 (CHECK_RSP): Remove unused macro.
59196 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59198 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59201 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59203 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59205 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59207 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59210 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59211 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59212 * sysdeps/x86_64/memmove.c: New file.
59213 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59214 (memcpy): Renamed to ...
59215 (__new_memcpy): This.
59216 (memcpy): Provide GLIBC_2_14 memcpy.
59217 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59218 (memcpy): Provide GLIBC_2_2_5 memcpy.
59220 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59223 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59225 2011-03-30 Andreas Schwab <schwab@redhat.com>
59227 * misc/syncfs.c: New file.
59228 * misc/Makefile (routines): Add syncfs.
59229 * posix/unistd.h: Declare syncfs.
59230 * sysdeps/unix/syscalls.list: Add syncfs.
59232 2011-04-01 Andreas Schwab <schwab@redhat.com>
59234 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59237 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59241 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59247 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59254 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59255 sync_file_range.c with -fexceptions.
59256 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59257 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59258 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59259 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59260 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59261 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59263 sync_file_range as cancellation point
59264 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59265 now a wrapper around __call_sync_file_range with cancellation handling.
59266 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59267 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59268 function name to __call_sync_file_range.
59269 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59270 Add call_sync_file_range.
59272 2011-04-01 Andreas Schwab <schwab@redhat.com>
59274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59277 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59279 * iconv/iconv.h: Fix typo in comment.
59280 * io/fcntl.h: Likewise.
59281 * libio/stdio.h: Likewise.
59282 * posix/spawn.h: Likewise.
59283 * posix/unistd.h: Likewise.
59284 * stdlib/stdlib.h: Likewise.
59285 * time/time.h: Likewise.
59286 * wcsmbs/wchar.h: Likewise.
59288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59289 open_by_handle): Add.
59290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59291 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59292 Augment a few comments.
59293 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59298 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59301 * io/fcntl.h (AT_EMPTY_PATH): Define.
59303 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59305 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59306 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59307 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59309 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59310 * Versions.def: Add GLIBC_2.14.
59311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59314 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59316 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59318 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59320 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59323 * string/test-strncmp.c (do_page_test): New function.
59324 (check2): Likewise.
59325 (test_main): Call check2.
59326 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59328 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59331 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59332 Handle cache information in CPU leaf 4.
59333 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59335 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59338 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59339 character representation.
59340 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59342 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59344 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59345 END(__isnan) to END(__isnanf) to match function entry point/label
59346 EALIGN(__isnanf,...).
59348 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59350 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59352 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59355 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59356 copy from the symbol referenced in the relocation to initialize the
59358 Patch by Piotr Bury <pbury@goahead.com>.
59359 * elf/Makefile: Add rules to build and tst-unique3.
59360 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59361 * elf/tst-unique3.cc: New file.
59362 * elf/tst-unique3.h: New file.
59363 * elf/tst-unique3lib.cc: New file.
59364 * elf/tst-unique3lib2.cc: New file.
59366 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59368 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59370 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59371 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59374 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59376 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59377 to-be-loaded object along a path to loader is ld.so.
59379 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59380 Ulrich Drepper <drepper@gmail.com>
59382 * sysdeps/x86_64/memset.S: After aligning destination, code
59383 branches to different locations depending on the value of
59384 misalignment, when multiarch is enabled. Fix this.
59386 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59388 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59389 Set _x86_64_preferred_memory_instruction for AMD processsors.
59390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59391 Set bit_Prefer_SSE_for_memop for AMD processors.
59393 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59395 * libio/fmemopen.c (fmemopen): Optimize a bit.
59397 2011-03-03 Andreas Schwab <schwab@redhat.com>
59399 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59401 2011-03-03 Roland McGrath <roland@redhat.com>
59403 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59405 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59407 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59408 __bzero_ultra1 instead of __memset_ultra1.
59410 2011-02-23 Andreas Schwab <schwab@redhat.com>
59411 Ulrich Drepper <drepper@gmail.com>
59414 * include/link.h (struct link_map): Add l_orig_initfini.
59415 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59416 returning unsuccessfully.
59417 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59418 close of a file loaded at startup, restore the original l_initfini
59420 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59421 list, store the pointer.
59422 * elf/Makefile ($(objpfx)noload-mem): New rule.
59423 (noload-ENV): Define.
59424 (tests): Add $(objpfx)noload-mem.
59425 * elf/noload.c: Include <memcheck.h>.
59426 (main): Call mtrace. Close all opened handles.
59428 2011-02-17 Andreas Schwab <schwab@redhat.com>
59431 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59432 dependencies are missing.
59434 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59436 Fix __if_freereq crash: Unlike the generic version which uses free,
59438 * sysdeps/mach/hurd/ifreq.h: New file.
59440 2011-01-27 Petr Baudis <pasky@suse.cz>
59441 Ulrich Drepper <drepper@gmail.com>
59444 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59445 to extend_alloca().
59446 * stdio-common/bug23.c: New file.
59447 * stdio-common/Makefile (tests): Add bug23.
59449 2010-09-28 Andreas Schwab <schwab@redhat.com>
59450 Ulrich Drepper <drepper@gmail.com>
59453 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59454 before performing relro protection. At old place add assertion
59455 to make sure nothing changed.
59457 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59458 Glauber de Oliveira Costa <glommer@gmail.com>
59460 * elf/elf.h: Add new ARM TLS relocs.
59462 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59465 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59467 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59469 * sysdeps/wordsize-64/tst-writev.c: New file.
59471 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59473 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59474 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59475 insns in _dl_start to prevent a TOC reference before relocs are
59478 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59481 * Makeconfig: Remove RANLIB definition.
59482 * Makerules: Don't use RANLIB.
59483 * aclocal.m4: Remove ranlib test.
59484 * configure.in: No need to check for ranlib.
59485 * elf/rtld-Rules: Don't use RANLIB.
59487 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59489 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59491 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59492 inclusion protection macro.
59494 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59495 SIGRTMIN and SIGRTMAX and print information in that case only when
59496 SIGRTMIN is defined.
59498 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59500 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59501 arginfo fn returning -1.
59503 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59504 and thousands string is zero terminated.
59506 2011-02-03 Andreas Schwab <schwab@redhat.com>
59508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59509 sysdeps/unix/sysv/linux/bits/socket.h.
59511 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59513 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59514 (__CPU_COUNT): Remove old macros.
59515 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59516 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59517 (__CPU_ALLOC, __CPU_FREE): Add macros.
59518 (__sched_cpualloc, __sched_cpufree): Add declarations.
59520 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59522 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59523 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59524 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59525 (readdhstai): Return value of addhstaiX call.
59526 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59527 (addgrbyX): Return value returned by cache_addgr.
59528 (readdgrbyname): Return value returned by addgrbyX.
59529 (readdgrbygid): Likewise.
59530 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59531 (addpwbyX): Return value returned by cache_addpw.
59532 (readdpwbyname): Return value returned by addhstbyX.
59533 (readdpwbyuid): Likewise.
59534 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59535 (addservbyX): Return value returned by cache_addserv.
59536 (readdservbyname): Return value returned by addservbyX:
59537 (readdservbyport): Likewise.
59538 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59539 (addhstbyX): Return value returned by cache_addhst.
59540 (readdhstbyname): Return value returned by addhstbyX.
59541 (readdhstbyaddr): Likewise.
59542 (readdhstbynamev6): Likewise.
59543 (readdhstbyaddrv6): Likewise.
59544 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59545 (readdinitgroups): Return value returned by addinitgroupsX.
59546 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59547 (prune_cache): Keep track of timeout value of re-added entries.
59548 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59549 * nscd/nscd.h: Adjust prototypes of readd* functions.
59551 2011-02-04 Roland McGrath <roland@redhat.com>
59553 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59554 (nis_stats): Likewise.
59555 * nis/nis_modify.c (nis_modify): Likewise.
59556 * nis/nis_remove.c (nis_remove): Likewise.
59557 * nis/nis_add.c (nis_add): Likewise.
59559 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59561 * posix/fnmatch_loop.c: Add some consts.
59563 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59565 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59568 * config.make.in (config-cflags-novzeroupper): Define.
59569 * configure.in: Substitute libc_cv_cc_novzeroupper.
59570 * elf/Makefile (AVX-CFLAGS): Define.
59571 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59572 (CFLAGS-tst-auditmod4a.c): Likewise.
59573 (CFLAGS-tst-auditmod4b.c): Likewise.
59574 (CFLAGS-tst-auditmod6b.c): Likewise.
59575 (CFLAGS-tst-auditmod6c.c): Likewise.
59576 (CFLAGS-tst-auditmod7b.c): Likewise.
59577 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59579 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59581 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59582 function to the callback.
59583 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59585 2011-02-02 Andreas Schwab <schwab@redhat.com>
59587 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59590 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59593 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59595 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59597 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59600 * elf/Makefile: Add rules to build and run new test.
59601 * elf/tst-initorder.c: New file.
59602 * elf/tst-initorder.exp: New file.
59603 * elf/tst-initordera1.c: New file.
59604 * elf/tst-initordera2.c: New file.
59605 * elf/tst-initordera3.c: New file.
59606 * elf/tst-initordera4.c: New file.
59607 * elf/tst-initorderb1.c: New file.
59608 * elf/tst-initorderb2.c: New file.
59609 * elf/tst-order-a1.c: New file.
59610 * elf/tst-order-a2.c: New file.
59611 * elf/tst-order-a3.c: New file.
59612 * elf/tst-order-a4.c: New file.
59613 * elf/tst-order-b1.c: New file.
59614 * elf/tst-order-b2.c: New file.
59615 * elf/tst-order-main.c: New file.
59616 New test case by George Gensure <werkt0@gmail.com>.
59618 2010-10-01 Andreas Schwab <schwab@redhat.com>
59620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59621 decoding ACE if AI_CANONIDN.
59623 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59625 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59627 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59629 * version.h (RELEASE): Bump for 2.13 release.
59630 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59632 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59636 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59637 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59638 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59640 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59641 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59643 * posix/getconf.c: Update copyright year.
59644 * catgets/gencat.c: Likewise.
59645 * csu/version.c: Likewise.
59646 * debug/catchsegv.sh: Likewise.
59647 * debug/xtrace.sh: Likewise.
59648 * elf/ldconfig.c: Likewise.
59649 * elf/ldd.bash.in: Likewise.
59650 * elf/sprof.c (print_version): Likewise.
59651 * iconv/iconv_prog.c: Likewise.
59652 * iconv/iconvconfig.c: Likewise.
59653 * locale/programs/locale.c: Likewise.
59654 * locale/programs/localedef.c: Likewise.
59655 * malloc/memusage.sh: Likewise.
59656 * malloc/mtrace.pl: Likewise.
59657 * nscd/nscd.c (print_version): Likewise.
59658 * nss/getent.c: Likewise.
59660 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59661 PF_CAIF, and PF_ALG.
59662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59664 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59666 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59667 (modules-names): Use them.
59668 (ifunc-test-modules, ifunc-pie-tests): Define.
59669 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59670 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59671 (test-extras): Likewise.
59672 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59673 $(compile-command.c).
59674 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59675 (all-built-dso): Define.
59676 (check-textrel.out, check-execstack.out): Depend on it.
59678 * configure.in: Don't override --enable-multi-arch.
59680 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59683 * nscd/hstcache.c (tryagain): Define.
59684 (cache_addhst): Return tryagain not notfound for temporary errors.
59685 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59688 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59691 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59692 to make the syscall.
59693 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59696 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59697 and fall back to matching as normal character if the string ends before
59698 the matching ']' is found. This is what POSIX requires.
59699 * posix/testfnm.c: Adjust test result.
59700 * posix/globtest.sh: Adjust test result. Add new test.
59701 * posix/tst-fnmatch.input: Likewise.
59702 * posix/tst-fnmatch2.c: Add new test.
59704 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59706 * elf/Makefile (check-execstack): Revert last change. Depend on
59708 (check-execstack.h): New target.
59709 (generated): Add check-execstack.h.
59710 * elf/check-execstack.c: Include "check-execstack.h".
59711 (main): Revert last change.
59712 (handle_file): Return zero if GNU_STACK is absent and
59713 DEFAULT_STACK_PERMS doesn't include PF_X.
59715 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59717 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59718 in child fails because the descriptor is already closed.
59719 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59720 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59724 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59728 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59729 temporary buffer used to handle multi lookups locally.
59730 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59732 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59734 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59737 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59739 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59740 alignment for SSE2.
59742 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59745 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59746 characters. When rounding increased number of integer digits recompute
59748 * stdio-common/tst-grouping.c: New file.
59749 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59751 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59753 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59754 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59756 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59758 * bits/select.h: Likewise.
59760 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59762 * po/ja.po: Update from translation team.
59764 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59767 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59768 implementation just like for lxstat, fxstatat, et al.
59770 2010-12-27 Jim Meyering <meyering@redhat.com>
59773 * posix/regexec.c (build_trtable): Return failure indication upon
59774 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59776 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59779 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59780 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59781 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59785 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59788 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59789 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59791 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59793 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59794 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59795 script has SORT_BY_INIT_PRIORITY.
59796 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59797 NO_CTORS_DTORS_SECTIONS is defined.
59798 * elf/soinit.c: Likewise.
59799 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59800 NO_CTORS_DTORS_SECTIONS is defined.
59801 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59802 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59803 * sysdeps/sh/init-first.c: Likewise.
59804 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59806 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59808 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59809 always use the slow path.
59811 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59813 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59814 similar rule which adds the sysdep directories to the header search in
59815 order to pick up the correct platform stackinfo.h.
59816 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59817 perform test if it is, otherwise return successfully without testing.
59818 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59819 DEFAULT_STACK_PERMS define in stackinfo.h.
59820 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59821 defined in stackinfo.h.
59822 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59823 DEFAULT_STACK_PERMS defined in stackinfo.h.
59824 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59825 * sysdeps/ia64/stackinfo.h: Likewise.
59826 * sysdeps/s390/stackinfo.h: Likewise.
59827 * sysdeps/sh/stackinfo.h: Likewise.
59828 * sysdeps/sparc/stackinfo.h: Likewise.
59829 * sysdeps/x86_64/stackinfo.h: Likewise.
59830 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59831 PF_X for powerpc64. Retain PF_X for powerpc32.
59833 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59835 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59837 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59838 GETDENTS_64BIT_ALIGNED.
59840 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59842 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59844 2010-12-10 Andreas Schwab <schwab@redhat.com>
59846 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59849 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59850 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59852 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59853 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59855 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59858 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59861 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59863 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59865 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59867 * po/it.po: Update from translation team.
59869 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59874 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59876 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59878 2010-11-24 Andreas Schwab <schwab@redhat.com>
59880 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59882 (gaih_getanswer_slice): Likewise.
59884 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59888 2010-05-31 Petr Baudis <pasky@suse.cz>
59891 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59892 silently even in the chroot mode.
59894 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59896 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59897 last patch a bit. Pretty printing
59899 2010-05-31 Petr Baudis <pasky@suse.cz>
59902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59903 initialization of skip_initgroups_dyn.
59905 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59907 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59910 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59912 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59914 2010-11-11 Andreas Schwab <schwab@redhat.com>
59916 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59917 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59918 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59919 ($(objpfx)tst-fnmatch-mem): New rule.
59920 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59921 * posix/tst-fnmatch.c (main): Call mtrace.
59923 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59926 Support Intel processor model 6 and model 0x2c.
59928 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59930 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59933 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59936 * string/test-strncasecmp.c (check_result): New function.
59937 (do_one_test): Use it.
59938 (check1): New function.
59939 (test_main): Use it.
59940 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59941 Support strcasecmp and strncasecmp.
59943 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59946 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59949 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59951 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59955 * sysdeps/x86_64/multiarch/bzero.S: New file.
59956 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59957 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59958 * sysdeps/x86_64/multiarch/memset.S: New file.
59959 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59961 Set bit_Prefer_SSE_for_memop for Intel processors.
59962 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59964 (index_Prefer_SSE_for_memop): Define.
59965 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59967 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59969 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59970 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59972 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59975 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59976 (__x86_64_raw_data_cache_size_half): Likewise.
59977 (__x86_64_raw_shared_cache_size): Likewise.
59978 (__x86_64_raw_shared_cache_size_half): Likewise.
59980 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59981 (__x86_64_raw_data_cache_size_half): Likewise.
59982 (__x86_64_raw_shared_cache_size): Likewise.
59983 (__x86_64_raw_shared_cache_size_half): Likewise.
59984 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59985 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59986 and __x86_64_raw_shared_cache_size_half. Round
59987 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59988 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59989 to multiple of 256 bytes.
59991 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59994 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59995 of inacessible symlinks. Verify result of symlink before returning it.
59996 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59997 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59999 2010-10-28 Erich Ritz <erichritz@gmail.com>
60001 * math/math.h (isinf): Fix typo in comment.
60003 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60005 * po/da.po: Update from translation team.
60007 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60009 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60010 is added to the list.
60012 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60013 Ulrich Drepper <drepper@gmail.com>
60015 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60016 the global list here. Move code to...
60017 (_dl_add_to_namespace_list): ...here. New function.
60018 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60019 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60020 * elf/dl-load.c (lose): Don't remove the element from the list.
60021 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60022 (_dl_map_object): Likewise.
60024 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60027 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60028 into all bytes of SSE register.
60029 Patch by Richard Li <richardpku@gmail.com>.
60031 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60034 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60037 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60039 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60040 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60041 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60042 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60047 2010-10-22 Andreas Schwab <schwab@redhat.com>
60049 * include/dlfcn.h (__RTLD_SECURE): Define.
60050 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60051 mode & __RTLD_SECURE instead.
60052 (open_path): Rename preloaded parameter to secure.
60053 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60054 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60055 * elf/dl-deps.c (openaux): Likewise.
60056 * elf/rtld.c (struct map_args): Remove is_preloaded.
60057 (map_doit): Don't use it.
60058 (dl_main): Likewise.
60059 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60060 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60062 2010-09-09 Andreas Schwab <schwab@redhat.com>
60064 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60065 (sysd-rules-targets): Remove duplicates.
60066 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60067 rtld-%.$o dependency.
60069 2010-10-18 Andreas Schwab <schwab@redhat.com>
60071 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60072 _dl_map_object do it.
60074 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60076 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60077 fast fma builtins, define the macros in the C99 standard.
60078 (FP_FAST_FMAF): Likewise.
60079 (FP_FAST_FMAL): Likewise.
60080 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60082 * bits/mathdef.h: Update copyright year.
60083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60085 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60087 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60088 builtins, define the macros in the C99 standard.
60089 (FP_FAST_FMAF): Likewise.
60090 (FP_FAST_FMAL): Likewise.
60091 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60093 (FP_FAST_FMAF): Likewise.
60095 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60098 * math/libm-test.inc (fma_test): Some new testcases.
60099 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60100 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60101 y and infinite z. Do multiplication by C already in long double.
60102 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60104 y and infinite z. Do bitwise or of inexact bit into u.d.
60105 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60106 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60107 * sysdeps/i386/fpu/s_fma.S: Removed.
60108 * sysdeps/i386/fpu/s_fmal.S: Removed.
60110 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60113 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60115 computation is not scheduled after fetestexcept. Fix value
60116 of minimum denormal long double.
60118 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60121 * math/libm-test.inc (fma_test): Add some more tests.
60122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60125 2010-10-15 Andreas Schwab <schwab@redhat.com>
60127 * scripts/data/localplt-s390-linux-gnu.data: New file.
60128 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60130 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60133 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60134 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60136 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60138 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60140 if one of x and y is very large and the other is subnormal.
60141 * sysdeps/s390/fpu/s_fmaf.c: New file.
60142 * sysdeps/s390/fpu/s_fma.c: New file.
60143 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60144 * sysdeps/powerpc/fpu/s_fma.S: New file.
60145 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60146 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60147 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60149 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60152 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60155 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60156 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60157 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60158 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60159 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60160 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60162 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60165 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60166 * posix/bug-regex31.input: Add test case.
60168 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60170 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60171 * posix/bug-regex31.input: New file.
60174 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60175 (parse_sub_exp): Fix last change, use postorder.
60177 * posix/bug-regex31.c: New file.
60178 * posix/Makefile: Add rules to build and run bug-regex31.
60180 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60183 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60186 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60187 to have entries in sys_siglist.
60190 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60193 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60196 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60197 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60198 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60199 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60200 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60201 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60202 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60203 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60204 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60205 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60206 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60207 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60208 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60209 * math/ftestexcept.c (fetestexcept): Likewise.
60210 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60211 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60212 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60213 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60214 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60215 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60218 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60221 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60224 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60226 * string/bug-strstr1.c: New file.
60227 * string/Makefile: Add rules to build and run bug-strstr1.
60229 2010-10-05 Eric Blake <eblake@redhat.com>
60232 * string/str-two-way.h (two_way_long_needle): Always clear memory
60233 when skipping input due to the shift table.
60235 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60238 * malloc/mcheck.c: Handle large requests.
60241 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60242 for strncmp and strncasecmp.
60243 * string/stratcliff.c: Add tests for strcmp and strncmp.
60244 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60246 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60248 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60251 2010-09-30 Andreas Jaeger <aj@suse.de>
60253 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60254 (CGROUP_SUPER_MAGIC): Define.
60255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60256 Handle btrfs and cgroup file systems.
60257 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60260 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60262 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60263 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60265 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60268 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60269 trying to locate the ELF header.
60271 2010-09-27 Andreas Schwab <schwab@redhat.com>
60274 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60275 Mask out sign-bit copies when constructing f_fsid.
60277 2010-09-24 Petr Baudis <pasky@suse.cz>
60279 * debug/stack_chk_fail_local.c: Add missing licence exception.
60280 * debug/warning-nop.c: Likewise.
60282 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60284 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60285 implementing getdents64 using getdents syscall, set d_type if
60286 __ASSUME_GETDENTS32_D_TYPE.
60288 2010-09-16 Andreas Schwab <schwab@redhat.com>
60290 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60291 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60293 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60296 * posix/unistd.h: Undo change of feature selection for ftruncate from
60299 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60301 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60304 2010-09-20 Andreas Schwab <schwab@redhat.com>
60306 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60310 2010-09-14 Andreas Schwab <schwab@redhat.com>
60312 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60313 variables after CHECK_SP call.
60314 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60316 2010-09-13 Andreas Schwab <schwab@redhat.com>
60317 Ulrich Drepper <drepper@redhat.com>
60319 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60320 re-relocationg ld.so.
60321 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60322 _dl_init_paths call.
60323 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60326 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60328 * resolv/res_init.c (__res_vinit): Count the default server we added.
60330 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60331 Ulrich Drepper <drepper@redhat.com>
60334 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60335 (____longjmp_chk): Use %ebx for saving value across system call.
60338 2010-09-06 Andreas Schwab <schwab@redhat.com>
60340 * manual/Makefile: Don't mix pattern rules with normal rules.
60342 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60344 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60346 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60347 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60348 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60349 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60353 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60356 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60357 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60359 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60361 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60362 * sysdeps/x86_64/addmul_1.S: Likewise.
60363 * sysdeps/x86_64/lshift.S: Likewise.
60364 * sysdeps/x86_64/mul_1.S: Likewise.
60365 * sysdeps/x86_64/rshift.S: Likewise.
60366 * sysdeps/x86_64/sub_n.S: Likewise.
60367 * sysdeps/x86_64/submul_1.S: Likewise.
60369 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60371 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60372 Define __sched_param instead of SCHED_* and sched_param when
60373 <bits/sched.h> is included with __need_schedparam defined.
60374 * bits/sched.h [__need_schedparam]
60375 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60376 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60377 (__defined_schedparam): Define to 1.
60378 (__sched_param): New structure, identical to sched_param.
60379 (__need_schedparam): Undefine.
60381 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60384 (epoll_create1): Declare.
60386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60388 2010-08-31 Andreas Schwab <schwab@redhat.com>
60391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60392 shifting retval into place.
60394 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60396 * nis/rpcsvc/nis.h: Update copyright notice.
60397 * nis/rpcsvc/nis.x: Likewise.
60398 * nis/rpcsvc/nis_callback.h: Likewise.
60399 * nis/rpcsvc/nis_callback.x: Likewise.
60400 * nis/rpcsvc/nis_object.x: Likewise.
60401 * nis/rpcsvc/nis_tags.h: Likewise.
60402 * nis/rpcsvc/yp.h: Likewise.
60403 * nis/rpcsvc/yp.x: Likewise.
60404 * nis/rpcsvc/ypupd.h: Likewise.
60405 * nis/yp_xdr.c: Likewise.
60406 * nis/ypupdate_xdr.c: Likewise.
60408 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60409 mainly the body of pmap_getport. Add parameters to specify timeouts.
60410 (pmap_getport): Use __libc_rpc_getport.
60411 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60412 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60413 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60415 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60420 2010-08-27 Roland McGrath <roland@redhat.com>
60422 * sysdeps/i386/i686/multiarch/Makefile
60423 (CFLAGS-varshift.c): New variable.
60425 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60427 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60428 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60432 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60434 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60436 * sysdeps/x86_64/strlen.S: Unroll the loop.
60437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60438 strlen-sse2 strlen-sse2-bsf.
60439 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60440 __strlen_no_bsf if bit_Slow_BSF is set.
60441 (__strlen_sse42): Removed.
60442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60443 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60445 2010-08-25 Roland McGrath <roland@redhat.com>
60447 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60448 * sysdeps/x86_64/multiarch/varshift.c: New file.
60449 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60450 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60451 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60452 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60454 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60457 strlen-sse2 strlen-sse2-bsf.
60458 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60459 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60460 (__strlen_sse2): Removed.
60461 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60464 bit_Slow_BSF for Atom.
60465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60466 (index_Slow_BSF): Define.
60467 (HAS_SLOW_BSF): Define.
60469 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60472 * resolv/res_init.c (__res_vinit): When no server address at all
60473 is given default to loopback.
60475 2010-08-24 Roland McGrath <roland@redhat.com>
60477 * configure.in: Remove config-name.h generation.
60478 * configure: Regenerated.
60479 * config-name.in: File removed.
60480 * scripts/config-uname.sh: New file.
60481 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60482 ($(objdir)config-name.h): New target.
60484 * sunrpc/rpc_parse.h: Avoid nested comment.
60486 2010-08-24 Richard Henderson <rth@redhat.com>
60487 Ulrich Drepper <drepper@redhat.com>
60488 H.J. Lu <hongjiu.lu@intel.com>
60490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60492 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60493 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60494 _mm_alignr_epi8 with _mm_loadu_si128.
60495 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60496 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60497 (__m128i_shift_right): Removed.
60498 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60499 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60500 * sysdeps/x86_64/multiarch/varshift.h: New file.
60501 * sysdeps/x86_64/multiarch/varshift.S: New file.
60503 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60505 * configure.in: Move assembler checks to before sysdep dir checking.
60507 2010-08-20 Petr Baudis <pasky@suse.cz>
60509 * LICENSES: Sync the sunrpc license.
60511 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60513 * sunrpc/auth_des.c: Update copyright notice once again.
60514 * sunrpc/auth_none.c: Likewise.
60515 * sunrpc/auth_unix.c: Likewise.
60516 * sunrpc/authdes_prot.c: Likewise.
60517 * sunrpc/authuxprot.c: Likewise.
60518 * sunrpc/bindrsvprt.c: Likewise.
60519 * sunrpc/clnt_gen.c: Likewise.
60520 * sunrpc/clnt_perr.c: Likewise.
60521 * sunrpc/clnt_raw.c: Likewise.
60522 * sunrpc/clnt_simp.c: Likewise.
60523 * sunrpc/clnt_tcp.c: Likewise.
60524 * sunrpc/clnt_udp.c: Likewise.
60525 * sunrpc/clnt_unix.c: Likewise.
60526 * sunrpc/des_crypt.c: Likewise.
60527 * sunrpc/des_soft.c: Likewise.
60528 * sunrpc/get_myaddr.c: Likewise.
60529 * sunrpc/getrpcport.c: Likewise.
60530 * sunrpc/key_call.c: Likewise.
60531 * sunrpc/key_prot.c: Likewise.
60532 * sunrpc/openchild.c: Likewise.
60533 * sunrpc/pm_getmaps.c: Likewise.
60534 * sunrpc/pm_getport.c: Likewise.
60535 * sunrpc/pmap_clnt.c: Likewise.
60536 * sunrpc/pmap_prot.c: Likewise.
60537 * sunrpc/pmap_prot2.c: Likewise.
60538 * sunrpc/pmap_rmt.c: Likewise.
60539 * sunrpc/rpc/auth.h: Likewise.
60540 * sunrpc/rpc/auth_unix.h: Likewise.
60541 * sunrpc/rpc/clnt.h: Likewise.
60542 * sunrpc/rpc/des_crypt.h: Likewise.
60543 * sunrpc/rpc/key_prot.h: Likewise.
60544 * sunrpc/rpc/netdb.h: Likewise.
60545 * sunrpc/rpc/pmap_clnt.h: Likewise.
60546 * sunrpc/rpc/pmap_prot.h: Likewise.
60547 * sunrpc/rpc/pmap_rmt.h: Likewise.
60548 * sunrpc/rpc/rpc.h: Likewise.
60549 * sunrpc/rpc/rpc_des.h: Likewise.
60550 * sunrpc/rpc/rpc_msg.h: Likewise.
60551 * sunrpc/rpc/svc.h: Likewise.
60552 * sunrpc/rpc/svc_auth.h: Likewise.
60553 * sunrpc/rpc/types.h: Likewise.
60554 * sunrpc/rpc/xdr.h: Likewise.
60555 * sunrpc/rpc_clntout.c: Likewise.
60556 * sunrpc/rpc_cmsg.c: Likewise.
60557 * sunrpc/rpc_common.c: Likewise.
60558 * sunrpc/rpc_cout.c: Likewise.
60559 * sunrpc/rpc_dtable.c: Likewise.
60560 * sunrpc/rpc_hout.c: Likewise.
60561 * sunrpc/rpc_main.c: Likewise.
60562 * sunrpc/rpc_parse.c: Likewise.
60563 * sunrpc/rpc_parse.h: Likewise.
60564 * sunrpc/rpc_prot.c: Likewise.
60565 * sunrpc/rpc_sample.c: Likewise.
60566 * sunrpc/rpc_scan.c: Likewise.
60567 * sunrpc/rpc_scan.h: Likewise.
60568 * sunrpc/rpc_svcout.c: Likewise.
60569 * sunrpc/rpc_tblout.c: Likewise.
60570 * sunrpc/rpc_util.c: Likewise.
60571 * sunrpc/rpc_util.h: Likewise.
60572 * sunrpc/rpcinfo.c: Likewise.
60573 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60574 * sunrpc/rpcsvc/key_prot.x: Likewise.
60575 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60576 * sunrpc/rpcsvc/mount.x: Likewise.
60577 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60578 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60579 * sunrpc/rpcsvc/rex.x: Likewise.
60580 * sunrpc/rpcsvc/rstat.x: Likewise.
60581 * sunrpc/rpcsvc/rusers.x: Likewise.
60582 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60583 * sunrpc/rpcsvc/spray.x: Likewise.
60584 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60585 * sunrpc/rtime.c: Likewise.
60586 * sunrpc/svc.c: Likewise.
60587 * sunrpc/svc_auth.c: Likewise.
60588 * sunrpc/svc_authux.c: Likewise.
60589 * sunrpc/svc_raw.c: Likewise.
60590 * sunrpc/svc_run.c: Likewise.
60591 * sunrpc/svc_simple.c: Likewise.
60592 * sunrpc/svc_tcp.c: Likewise.
60593 * sunrpc/svc_udp.c: Likewise.
60594 * sunrpc/svc_unix.c: Likewise.
60595 * sunrpc/svcauth_des.c: Likewise.
60596 * sunrpc/xcrypt.c: Likewise.
60597 * sunrpc/xdr.c: Likewise.
60598 * sunrpc/xdr_array.c: Likewise.
60599 * sunrpc/xdr_float.c: Likewise.
60600 * sunrpc/xdr_mem.c: Likewise.
60601 * sunrpc/xdr_rec.c: Likewise.
60602 * sunrpc/xdr_ref.c: Likewise.
60603 * sunrpc/xdr_sizeof.c: Likewise.
60604 * sunrpc/xdr_stdio.c: Likewise.
60606 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60609 2010-08-19 Andreas Schwab <schwab@redhat.com>
60611 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60613 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60615 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60616 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60617 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60618 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60619 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60620 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60621 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60622 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60625 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60626 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60627 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60628 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60630 2010-07-26 Anton Blanchard <anton@samba.org>
60632 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60633 * malloc/arena.c (heap_trim): Likewise.
60635 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60637 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60640 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60642 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60644 * sysdeps/i386/elf/Makefile: New file.
60646 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60648 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60649 from fanotify_init.
60650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60653 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60655 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60657 * sysdeps/multiarch/strcmp.S: Likewise.
60659 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60661 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60662 strncase_l-nonascii.
60663 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60664 Add strncase_l-ssse3.
60665 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60666 * sysdeps/x86_64/strcmp.S: Likewise.
60667 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60668 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60669 * sysdeps/x86_64/strncase.S: New file.
60670 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60671 * sysdeps/x86_64/strncase_l.S: New file.
60672 * string/Makefile (strop-tests): Add strncasecmp.
60673 * string/test-strncasecmp.c: New file.
60675 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60678 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60681 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60683 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60685 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60687 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60691 2010-05-01 Alan Modra <amodra@gmail.com>
60693 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60694 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60695 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60696 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60697 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60698 tidying. Don't tail-call __sigjmp_save for static lib.
60699 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60701 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60702 (CALL_MCOUNT): Add eh info, and nop after bl.
60703 (TAIL_CALL_SYSCALL_ERROR): New macro.
60704 (PSEUDO_RET): Use it.
60705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60706 Correct save location of integer regs and cr.
60707 (_dl_profile_resolve): Correct cr save location. Delete nops
60708 after bl when SHARED. Reduce cfi size a little by better
60709 placement of cfi directives.
60710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60711 make a stack frame. Instead use parm save area as a temp.
60712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60713 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60715 Don't make a stack frame for parent, use parm save area.
60716 Increase child stack frame to 112 bytes. Don't save unused reg,
60717 and adjust reg usage. Set up cfi on error recovery and
60718 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60720 (__makecontext): Add dummy nop after jump to exit.
60721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60722 Use correct parm save area and cr save, reduce stack frame.
60723 Correct cfi for possible PSEUDO_RET frame setup.
60724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60725 Branch to local label emitted by PSEUDO_RET rather than
60728 2010-08-12 Andreas Schwab <schwab@redhat.com>
60731 * locale/programs/locale.c (print_assignment): New function.
60732 (show_locale_vars): Use it.
60734 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60736 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60738 (struct statfs64): Likewise.
60739 (_STATFS_F_FLAGS): Define.
60740 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60742 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60743 (ST_VALID): Define locally.
60744 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60745 __statvfs_getflags, use the provided value.
60746 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60747 __ASSUME_STATFS_F_FLAGS.
60749 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60751 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60752 Add sys/fanotify.h.
60753 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60754 fanotify_mask for GLIBC_2.13.
60755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60756 fanotify_init and fanotify_mark.
60757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60758 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60762 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60763 prlimit64 for GLIBC_2.13.
60764 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60770 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60774 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60777 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60778 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60780 * nss/Makefile: Add rules to build and run tst-nss-test1.
60781 * shlib-versions: Add entry for libnss_test1.
60782 * nss/nss_test1.c: New file.
60783 * nss/tst-nss-test1.c: New file.
60785 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60786 (__nss_configure_lookup): Set appropriate entry in
60787 __nss_configure_lookup to true.
60788 * nss/nsswitch.h: Define enum with indeces of databases in
60789 databases and __nss_database_custom arrays. Declare
60790 __nss_database_custom.
60791 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60792 to avoid using nscd when custom rules are installed.
60793 * nss/getXXbyYY_r.c: Likewise.
60794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60796 * nss/nss_files/files-parse.c: Whitespace fixes.
60798 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60801 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60802 * posix/fnmatch_loop.c: Likewise.
60804 2010-07-17 Andi Kleen <ak@linux.intel.com>
60806 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60807 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60808 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60809 * Versions.def [GLIBC_2.13]: Add.
60811 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60814 Also fail if tpwd after pwuid call is NULL.
60816 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60818 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60819 when converting to ms.
60821 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60823 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60824 EOPNOTSUPP errors with ENOTTY.
60825 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60826 EOPNOTSUPP errors with ENOTTY.
60828 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60830 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60831 Add strcasecmp_l-ssse3.
60832 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60834 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60835 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60836 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60838 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60840 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60842 * string/Makefile (strop-tests): Add strcasecmp.
60843 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60844 strcasecmp_l-nonascii.
60845 (gen-as-const-headers): Add locale-defines.sym.
60846 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60847 * sysdeps/x86_64/strcasecmp.S: New file.
60848 * sysdeps/x86_64/strcasecmp_l.S: New file.
60849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60850 * sysdeps/x86_64/locale-defines.sym: New file.
60851 * string/test-strcasecmp.c: New file.
60853 * string/test-strcasestr.c: Test both ends of the range of characters.
60854 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60856 2010-07-29 Roland McGrath <roland@redhat.com>
60859 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60861 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60863 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60866 2010-07-27 Andreas Schwab <schwab@redhat.com>
60868 * manual/memory.texi (Malloc Tunable Parameters): Document
60871 2010-07-26 Roland McGrath <roland@redhat.com>
60874 * configure.in (-fgnu89-inline check): Set and substitute
60875 gnu89_inline, not libc_cv_gnu89_inline.
60876 * configure: Regenerated.
60877 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60879 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60881 * string/test-strnlen.c: New file.
60882 * string/Makefile (strop-tests): Add strnlen.
60883 * string/tester.c (test_strnlen): Add a few more test cases.
60884 * string/tst-strlen.c: Better error reporting.
60886 * sysdeps/x86_64/strnlen.S: New file.
60888 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60890 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60891 lower-latency instructions.
60893 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60895 * string/test-strcasestr.c: New file.
60896 * string/test-strstr.c: New file.
60897 * string/Makefile (strop-tests): Add strstr and strcasestr.
60898 * string/str-two-way.h: Don't undefine MAX.
60899 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60901 2010-07-21 Andreas Schwab <schwab@redhat.com>
60903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60904 strcasestr-nonascii.
60905 (CFLAGS-strcasestr-nonascii.c): Define.
60906 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60907 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60908 Remove unused attribute.
60910 2010-07-20 Roland McGrath <roland@redhat.com>
60912 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60913 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60914 ld.so.cache was broken. With it, there is no way to disable dsocaps
60915 like LD_HWCAP_MASK can disable hwcaps.
60917 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60919 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60921 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60923 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60924 call in strcasestr.
60925 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60926 __strcasestr_sse42_nonascii.
60927 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60928 strcasestr-nonascii.c.
60929 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60931 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60938 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60943 2010-07-06 Andreas Schwab <schwab@redhat.com>
60946 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60949 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60952 _PC_PIPE_BUF using F_GETPIPE_SZ.
60954 2010-07-05 Roland McGrath <roland@redhat.com>
60956 * manual/arith.texi (Rounding Functions): Fix rint description
60957 implicit in round description.
60959 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60961 * elf/Makefile: Fix linking for a few tests to make recent linker
60964 2010-06-30 Andreas Schwab <schwab@redhat.com>
60966 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60967 $(common-objpfx)libc_nonshared.a.
60969 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60971 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60972 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60973 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60974 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60975 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60976 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60977 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60978 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60993 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60994 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60995 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60996 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60997 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60998 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60999 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61000 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61001 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61002 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61003 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61004 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61020 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61022 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61023 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61024 * string/memmove.c (memmove): Renamed to ...
61025 (MEMMOVE): ...this. Default to memmove.
61026 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61027 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61030 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61031 mempcpy-ssse3-back memmove-ssse3-back.
61032 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61035 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61036 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61037 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61038 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61039 * sysdeps/x86_64/multiarch/memmove.c: New file.
61040 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61041 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61042 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61043 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61047 (index_Fast_Copy_Backward): Define.
61048 (HAS_ARCH_FEATURE): Define.
61049 (HAS_FAST_REP_STRING): Define.
61050 (HAS_FAST_COPY_BACKWARD): Define.
61052 2010-06-21 Andreas Schwab <schwab@redhat.com>
61054 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61055 Restore proper fallback handling.
61057 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61060 * posix/group_member.c (__group_member): Correct checking loop.
61062 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61063 OOM in getpwuid_r correctly. Return error number when the caller
61064 should return, otherwise -1.
61065 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61066 call returning > 0 value.
61067 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61069 2010-06-07 Andreas Schwab <schwab@redhat.com>
61071 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61072 libc_nonshared.a from targets in modules-names.
61074 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61076 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61079 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61086 2010-06-02 Andreas Schwab <schwab@redhat.com>
61088 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61090 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61099 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61101 2010-06-14 Roland McGrath <roland@redhat.com>
61103 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61105 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61107 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61108 __REDIRECT followed by __THROW.
61109 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61110 * posix/getopt.h (getopt): Likewise.
61112 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61114 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61115 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61116 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61118 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61119 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61121 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61123 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61125 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61129 Properly check family and model.
61131 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61133 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61135 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61137 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61139 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61141 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61144 2010-05-19 Andreas Schwab <schwab@redhat.com>
61146 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61149 2010-05-21 Andreas Schwab <schwab@redhat.com>
61151 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61152 and internal_recvmmsg.
61153 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61154 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61155 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61156 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61158 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61159 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61160 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61162 2010-05-20 Andreas Schwab <schwab@redhat.com>
61164 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61166 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61168 POWER7 optimizations.
61169 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61170 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61172 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61174 * version.h: Update for 2.13 development version.
61176 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61178 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61179 exceptions. Return 0.
61181 2010-05-07 Roland McGrath <roland@redhat.com>
61183 * elf/ldconfig.c (main): Add a const.
61185 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61187 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61188 (args_options): Add no-idn option.
61189 (ahosts_keys_int): Add idn_flags to ai_flags.
61190 (parse_option): Handle 'i' option to clear idn_flags.
61192 * malloc/malloc.c (_int_free): Possible race in the most recently
61193 added check. Only act on the data if no current modification
61196 See ChangeLog.17 for earlier changes.