]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Mark fegetround pure (bug 16296).
[thirdparty/glibc.git] / ChangeLog
1 2015-09-15 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16296]
4 * math/fenv.h (fegetround): Use __attribute_pure__.
5 * include/fenv.h (__fegetround): Likewise.
6
7 [BZ #18595]
8 * math/s_ctan.c (__ctan): Force underflow exception for results
9 whose real or imaginary part has small absolute value.
10 * math/s_ctanf.c (__ctanf): Likewise.
11 * math/s_ctanh.c (__ctanh): Likewise.
12 * math/s_ctanhf.c (__ctanhf): Likewise.
13 * math/s_ctanhl.c (__ctanhl): Likewise.
14 * math/s_ctanl.c (__ctanl): Likewise.
15 * math/auto-libm-test-in: Do not allow missing underflow for ctan
16 and ctanh. Add more tests of ctan and ctanh.
17
18 [BZ #15918]
19 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20 handling of cases where one argument is an infinity.
21
22 [BZ #18875]
23 [BZ #18966]
24 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25 (MO): New macro.
26 (__ieee754_exp10): For small results, force underflow exception
27 and remove excess range and precision from return value.
28 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29 (MO): New macro.
30 (__ieee754_exp10f): For small results, force underflow exception
31 and remove excess range and precision from return value.
32 * math/auto-libm-test-in: Add more tests of exp10.
33 * math/auto-libm-test-out: Regenerated.
34
35 2015-09-14 Joseph Myers <joseph@codesourcery.com>
36
37 [BZ #18875]
38 [BZ #18961]
39 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
40 (MO): New macro.
41 (__ieee754_exp): For small results, force underflow exception and
42 remove excess range and precision from return value.
43 (__exp_finite): Likewise.
44 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
45 (MO): New macro.
46 (__ieee754_expf): For small results, force underflow exception and
47 remove excess range and precision from return value.
48 (__expf_finite): Likewise.
49 * math/auto-libm-test-in: Add more tests of exp.
50 * math/auto-libm-test-out: Regenerated.
51
52 [BZ #16521]
53 [BZ #18875]
54 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
55 small results.
56 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
57 (MO): New macro.
58 (__ieee754_exp2): For small results, force underflow exception and
59 remove excess range and precision from return value.
60 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
61 (MO): New macro.
62 (__ieee754_exp2f): For small results, force underflow exception
63 and remove excess range and precision from return value.
64 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
65 (MO): New macro.
66 (__ieee754_exp2l): Force underflow exception for small results.
67 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
68 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
69 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
70 (MO): New macro.
71 (__ieee754_exp2l): Force underflow exception for small results.
72 * math/auto-libm-test-in: Add more tests or exp2.
73 * math/auto-libm-test-out: Regenerated.
74
75 2015-09-14 Carlos O'Donell <carlos@redhat.com>
76
77 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
78
79 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
80 /dev/null.
81
82 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
83
84 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
85 io fs process)): Drop spurious backslash.
86
87 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
88
89 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
90 Use sysinfo system call instead of parsing /proc/meminfo.
91 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
92 Likewise.
93
94 2015-09-11 Mike Frysinger <vapier@gentoo.org>
95
96 [BZ #16985]
97 * programs/localedef.c (main): Display argv[remaining] when
98 output_path is NULL.
99
100 2015-09-11 Joseph Myers <joseph@codesourcery.com>
101
102 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
103 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
104 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
105 tanh.
106 * math/auto-libm-test-out: Regenerated.
107 * sysdeps/i386/fpu/libm-test-ulps: Update.
108 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
109 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
111
112 2015-09-11 Roland McGrath <roland@hack.frob.com>
113
114 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
115 Use 'override' keyword to freeze the value here, preventing
116 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
117
118 2015-09-11 Joseph Myers <joseph@codesourcery.com>
119
120 [BZ #14912]
121 * sysdeps/aarch64/bits/atomic.h: Move to ...
122 * sysdeps/aarch64/atomic-machine.h: ...here.
123 (_AARCH64_BITS_ATOMIC_H): Rename macro to
124 _AARCH64_ATOMIC_MACHINE_H.
125 * sysdeps/alpha/bits/atomic.h: Move to ...
126 * sysdeps/alpha/atomic-machine.h: ...here.
127 * sysdeps/arm/bits/atomic.h: Move to ...
128 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
129 * bits/atomic.h: Move to ...
130 * sysdeps/generic/atomic-machine.h: ...here.
131 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
132 * sysdeps/i386/bits/atomic.h: Move to ...
133 * sysdeps/i386/atomic-machine.h: ...here.
134 * sysdeps/ia64/bits/atomic.h: Move to ...
135 * sysdeps/ia64/atomic-machine.h: ...here.
136 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
137 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
138 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
139 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
140 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
141 * sysdeps/microblaze/bits/atomic.h: Move to ...
142 * sysdeps/microblaze/atomic-machine.h: ...here.
143 * sysdeps/mips/bits/atomic.h: Move to ...
144 * sysdeps/mips/atomic-machine.h: ...here.
145 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
146 * sysdeps/powerpc/bits/atomic.h: Move to ...
147 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
148 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
149 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
150 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
151 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
152 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
153 <atomic-machine.h> instead of <bits/atomic.h>.
154 * sysdeps/s390/bits/atomic.h: Move to ...
155 * sysdeps/s390/atomic-machine.h: ...here.
156 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
157 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
158 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
159 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
160 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
161 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
162 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
163 * sysdeps/tile/bits/atomic.h: Move to ...
164 * sysdeps/tile/atomic-machine.h: ...here.
165 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
166 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
167 <sysdeps/tile/atomic-machine.h> instead of
168 <sysdeps/tile/bits/atomic.h>.
169 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
170 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
171 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
172 <sysdeps/tile/atomic-machine.h> instead of
173 <sysdeps/tile/bits/atomic.h>.
174 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
175 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
176 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
177 <sysdeps/arm/atomic-machine.h> instead of
178 <sysdeps/arm/bits/atomic.h>.
179 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
180 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
181 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
182 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
183 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
184 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
185 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
186 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
187 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
188 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
189 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
190 * sysdeps/x86_64/bits/atomic.h: Move to ...
191 * sysdeps/x86_64/atomic-machine.h: ...here.
192 * include/atomic.h: Include <atomic-machine.h> instead of
193 <bits/atomic.h>.
194
195 * sysdeps/mips/mips32/libm-test-ulps: Update.
196 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
197
198 [BZ #18952]
199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
200 not convert non-integer negative arguments to int to determine the
201 value of signgam.
202 * math/auto-libm-test-in: Add more tests of lgamma.
203 * math/auto-libm-test-out: Regenerated.
204
205 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
206 cosh, csqrt, erfc, expm1 and lgamma.
207 * math/auto-libm-test-out: Regenerated.
208 * sysdeps/i386/fpu/libm-test-ulps: Update.
209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
210
211 2015-09-10 Joseph Myers <joseph@codesourcery.com>
212
213 [BZ #2542]
214 [BZ #2543]
215 [BZ #2558]
216 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
217 __lgamma_neg for arguments from -28.0 to -2.0.
218 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
219 __lgamma_negf for arguments from -15.0 to -2.0.
220 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
221 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
222 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
223 Call __lgamma_negl for arguments from -33.0 to -2.0.
224 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
225 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
226 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
227 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
228 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
229 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
230 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
231 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
232 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
233 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
234 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
235 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
236 (__lgamma_neg): Likewise.
237 (__lgamma_negl): Likewise.
238 (__lgamma_product): Likewise.
239 (__lgamma_productl): Likewise.
240 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
241 * math/auto-libm-test-in: Add more tests of lgamma.
242 * math/auto-libm-test-out: Regenerated.
243 * sysdeps/i386/fpu/libm-test-ulps: Update.
244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245
246 2015-09-09 Justin Maggard <jmaggard@netgear.com>
247
248 [BZ #18675]
249 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
250
251 2015-09-08 Joseph Myers <joseph@codesourcery.com>
252
253 [BZ #14912]
254 * bits/libc-lock.h: Move to ...
255 * sysdeps/generic/libc-lock.h: ...here.
256 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
257 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
258 * sysdeps/mach/hurd/libc-lock.h: ...here.
259 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
260 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
261 * sysdeps/mach/bits/libc-lock.h: Move to ...
262 * sysdeps/mach/libc-lock.h: ...here.
263 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
264 * sysdeps/nptl/bits/libc-lock.h: Move to ...
265 * sysdeps/nptl/libc-lock.h: ...here.
266 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
267 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
268 * sysdeps/nptl/libc-lockP.h: ...here.
269 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
270 * crypt/crypt_util.c: Include <libc-lock.h> instead of
271 <bits/libc-lock.h>.
272 * dirent/scandir-tail.c: Likewise.
273 * dlfcn/dlerror.c: Likewise.
274 * elf/dl-close.c: Likewise.
275 * elf/dl-iteratephdr.c: Likewise.
276 * elf/dl-lookup.c: Likewise.
277 * elf/dl-open.c: Likewise.
278 * elf/dl-support.c: Likewise.
279 * elf/dl-writev.h: Likewise.
280 * elf/rtld.c: Likewise.
281 * grp/fgetgrent.c: Likewise.
282 * gshadow/fgetsgent.c: Likewise.
283 * gshadow/sgetsgent.c: Likewise.
284 * iconv/gconv_conf.c: Likewise.
285 * iconv/gconv_db.c: Likewise.
286 * iconv/gconv_dl.c: Likewise.
287 * iconv/gconv_int.h: Likewise.
288 * iconv/gconv_trans.c: Likewise.
289 * include/link.h: Likewise.
290 * inet/getnameinfo.c: Likewise.
291 * inet/getnetgrent.c: Likewise.
292 * inet/getnetgrent_r.c: Likewise.
293 * intl/bindtextdom.c: Likewise.
294 * intl/dcigettext.c: Likewise.
295 * intl/finddomain.c: Likewise.
296 * intl/gettextP.h: Likewise.
297 * intl/loadmsgcat.c: Likewise.
298 * intl/localealias.c: Likewise.
299 * intl/textdomain.c: Likewise.
300 * libidn/idn-stub.c: Likewise.
301 * libio/libioP.h: Likewise.
302 * locale/duplocale.c: Likewise.
303 * locale/freelocale.c: Likewise.
304 * locale/newlocale.c: Likewise.
305 * locale/setlocale.c: Likewise.
306 * login/getutent_r.c: Likewise.
307 * login/getutid_r.c: Likewise.
308 * login/getutline_r.c: Likewise.
309 * login/utmp-private.h: Likewise.
310 * login/utmpname.c: Likewise.
311 * malloc/mtrace.c: Likewise.
312 * misc/efgcvt.c: Likewise.
313 * misc/error.c: Likewise.
314 * misc/fstab.c: Likewise.
315 * misc/getpass.c: Likewise.
316 * misc/mntent.c: Likewise.
317 * misc/syslog.c: Likewise.
318 * nis/nis_call.c: Likewise.
319 * nis/nis_callback.c: Likewise.
320 * nis/nss-default.c: Likewise.
321 * nis/nss_compat/compat-grp.c: Likewise.
322 * nis/nss_compat/compat-initgroups.c: Likewise.
323 * nis/nss_compat/compat-pwd.c: Likewise.
324 * nis/nss_compat/compat-spwd.c: Likewise.
325 * nis/nss_nis/nis-alias.c: Likewise.
326 * nis/nss_nis/nis-ethers.c: Likewise.
327 * nis/nss_nis/nis-grp.c: Likewise.
328 * nis/nss_nis/nis-hosts.c: Likewise.
329 * nis/nss_nis/nis-network.c: Likewise.
330 * nis/nss_nis/nis-proto.c: Likewise.
331 * nis/nss_nis/nis-pwd.c: Likewise.
332 * nis/nss_nis/nis-rpc.c: Likewise.
333 * nis/nss_nis/nis-service.c: Likewise.
334 * nis/nss_nis/nis-spwd.c: Likewise.
335 * nis/nss_nisplus/nisplus-alias.c: Likewise.
336 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
337 * nis/nss_nisplus/nisplus-grp.c: Likewise.
338 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
339 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
340 * nis/nss_nisplus/nisplus-network.c: Likewise.
341 * nis/nss_nisplus/nisplus-proto.c: Likewise.
342 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
343 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
344 * nis/nss_nisplus/nisplus-service.c: Likewise.
345 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
346 * nis/ypclnt.c: Likewise.
347 * nptl/libc_pthread_init.c: Likewise.
348 * nss/getXXbyYY.c: Likewise.
349 * nss/getXXent.c: Likewise.
350 * nss/getXXent_r.c: Likewise.
351 * nss/nss_db/db-XXX.c: Likewise.
352 * nss/nss_db/db-netgrp.c: Likewise.
353 * nss/nss_db/nss_db.h: Likewise.
354 * nss/nss_files/files-XXX.c: Likewise.
355 * nss/nss_files/files-alias.c: Likewise.
356 * nss/nsswitch.c: Likewise.
357 * posix/regex_internal.h: Likewise.
358 * posix/wordexp.c: Likewise.
359 * pwd/fgetpwent.c: Likewise.
360 * resolv/res_hconf.c: Likewise.
361 * resolv/res_libc.c: Likewise.
362 * shadow/fgetspent.c: Likewise.
363 * shadow/lckpwdf.c: Likewise.
364 * shadow/sgetspent.c: Likewise.
365 * socket/opensock.c: Likewise.
366 * stdio-common/reg-modifier.c: Likewise.
367 * stdio-common/reg-printf.c: Likewise.
368 * stdio-common/reg-type.c: Likewise.
369 * stdio-common/vfprintf.c: Likewise.
370 * stdio-common/vfscanf.c: Likewise.
371 * stdlib/abort.c: Likewise.
372 * stdlib/cxa_atexit.c: Likewise.
373 * stdlib/fmtmsg.c: Likewise.
374 * stdlib/random.c: Likewise.
375 * stdlib/setenv.c: Likewise.
376 * string/strsignal.c: Likewise.
377 * sunrpc/auth_none.c: Likewise.
378 * sunrpc/bindrsvprt.c: Likewise.
379 * sunrpc/create_xid.c: Likewise.
380 * sunrpc/key_call.c: Likewise.
381 * sunrpc/rpc_thread.c: Likewise.
382 * sysdeps/arm/backtrace.c: Likewise.
383 * sysdeps/generic/ldsodefs.h: Likewise.
384 * sysdeps/generic/stdio-lock.h: Likewise.
385 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
386 * sysdeps/i386/backtrace.c: Likewise.
387 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
388 * sysdeps/m68k/backtrace.c: Likewise.
389 * sysdeps/mach/hurd/cthreads.c: Likewise.
390 * sysdeps/mach/hurd/dirstream.h: Likewise.
391 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
392 * sysdeps/nptl/malloc-machine.h: Likewise.
393 * sysdeps/nptl/stdio-lock.h: Likewise.
394 * sysdeps/posix/dirstream.h: Likewise.
395 * sysdeps/posix/getaddrinfo.c: Likewise.
396 * sysdeps/posix/system.c: Likewise.
397 * sysdeps/pthread/aio_suspend.c: Likewise.
398 * sysdeps/s390/s390-32/backtrace.c: Likewise.
399 * sysdeps/s390/s390-64/backtrace.c: Likewise.
400 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
401 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
402 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
403 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
404 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
405 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
406 * sysdeps/unix/sysv/linux/system.c: Likewise.
407 * sysdeps/x86_64/backtrace.c: Likewise.
408 * time/alt_digit.c: Likewise.
409 * time/era.c: Likewise.
410 * time/tzset.c: Likewise.
411 * wcsmbs/wcsmbsload.c: Likewise.
412 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
413 instead of <bits/libc-lock.h> in comment.
414
415 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
416
417 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
418 Only use .set mips2 if the current ISA is below mips2.
419 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
420 Likewise.
421 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
422 mips32r2 if the current ISA is below mips32r2.
423 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
424 (TLS_IE): Updated to use the TLD_RDHWR macro.
425 (TLS_LE): Likewise.
426 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
427 __ASSEMBLER__ condition.
428
429 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
430
431 Fix parallel build of before-compile targets.
432
433 * sysdeps/mach/Makefile ($(patsubst
434 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
435 mach-before-compile target.
436 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
437 io fs process)): Move rule to dedicated hurd-before-compile target.
438
439 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
440
441 Fix rules generating headers in hurd/ and mach/ when initial make call
442 has subdir= explicitly set.
443
444 * sysdeps/mach/Makefile ($(patsubst
445 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
446 calling $(MAKE).
447 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
448 io fs process)): Force subdir to hurd when calling $(MAKE).
449 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
450 subdir to mach when calling $(MAKE).
451
452 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
453
454 Check sysheaders when looking for Mach and Hurd headers
455
456 * sysdeps/mach/configure.ac: Add sysheaders check.
457 * sysdeps/mach/configure: Regenerate.
458 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
459 * sysdeps/mach/hurd/configure: Regenerate.
460
461 2015-09-04 Roland McGrath <roland@hack.frob.com>
462
463 [BZ #18921]
464 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
465 Fix inverted sense of test of 'o_directory_works' value.
466 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
467 Bernhard Voelker <mail@bernhard-voelker.de>.
468
469 2015-09-04 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #14912]
472 * bits/linkmap.h: Move to ...
473 * sysdeps/generic/linkmap.h: ...here.
474 * sysdeps/aarch64/bits/linkmap.h: Move to ...
475 * sysdeps/aarch64/linkmap.h: ...here.
476 * sysdeps/arm/bits/linkmap.h: Move to ...
477 * sysdeps/arm/linkmap.h: ...here.
478 * sysdeps/hppa/bits/linkmap.h: Move to ...
479 * sysdeps/hppa/linkmap.h: ...here.
480 * sysdeps/ia64/bits/linkmap.h: Move to ...
481 * sysdeps/ia64/linkmap.h: ...here.
482 * sysdeps/mips/bits/linkmap.h: Move to ...
483 * sysdeps/mips/linkmap.h: ...here.
484 * sysdeps/s390/bits/linkmap.h: Move to ...
485 * sysdeps/s390/linkmap.h: ...here.
486 * sysdeps/sh/bits/linkmap.h: Move to ...
487 * sysdeps/sh/linkmap.h: ...here.
488 * sysdeps/x86/bits/linkmap.h: Move to ...
489 * sysdeps/x86/linkmap.h: ...here.
490 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
491
492 2015-09-04 Andreas Schwab <schwab@suse.de>
493
494 [BZ #18635]
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
496 (__makecontext): Terminate FDE before return label.
497 (__novec_makecontext): Likewise.
498
499 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
500
501 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
502 first member of struct sv in syscall macro.
503
504 2015-09-04 Joseph Myers <joseph@codesourcery.com>
505
506 [BZ #14912]
507 * bits/stdio-lock.h: Move to ...
508 * sysdeps/generic/stdio-lock.h: ...here.
509 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
510 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
511 * sysdeps/nptl/stdio-lock.h: ...here.
512 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
513 * include/libio.h: Include <stdio-lock.h> instead of
514 <bits/stdio-lock.h>.
515 * sysdeps/nptl/fork.c: Likewise.
516 * sysdeps/pthread/flockfile.c: Likewise.
517 * sysdeps/pthread/ftrylockfile.c: Likewise.
518 * sysdeps/pthread/funlockfile.c: Likewise.
519
520 [BZ #14912]
521 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
522 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
523 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
524 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
525 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
526 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
527 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
528
529 2015-09-03 Roland McGrath <roland@hack.frob.com>
530
531 * elf/Makefile (test-xfail-tst-protected1a): New variable.
532 (test-xfail-tst-protected1b): New variable.
533
534 2015-09-03 Joseph Myers <joseph@codesourcery.com>
535
536 [BZ #14912]
537 * bits/libc-tsd.h: Move to ...
538 * sysdeps/generic/libc-tsd.h: ...here.
539 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
540 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
541 * sysdeps/mach/hurd/libc-tsd.h: ...here.
542 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
543 * include/ctype.h: Include <libc-tsd.h> instead of
544 <bits/libc-tsd.h>.
545 * include/rpc/rpc.h: Likewise.
546 * locale/localeinfo.h: Likewise.
547 * sunrpc/rpc_thread.c: Likewise.
548 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
549 * sysdeps/nptl/malloc-machine.h: Likewise.
550
551 * Makefile (headers): Remove bits/libc-lock.h.
552 * libio/Makefile (headers): Remove bits/stdio-lock.h.
553
554 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
555 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
556 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
557 <bits/stdio-lock.h>.
558 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
559 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
560
561 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
562
563 [BZ #18757]
564 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
565 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
566 BZ #18757.
567
568 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
569
570 * malloc/mtrace.pl: Filter out NULL entries.
571
572 2015-09-01 Joseph Myers <joseph@codesourcery.com>
573
574 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
575 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
576 macro.
577
578 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
579 (TCP_CC_INFO): Likewise.
580 (TCP_SAVE_SYN): Likewise.
581 (TCP_SAVED_SYN): Likewise.
582
583 2015-08-31 Brett Neumeier <brett@neumeier.us>
584
585 [BZ #18870]
586 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
587
588 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
589
590 [BZ #18873]
591 Fix broken overflow check in posix_fallocate
592 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
593 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
594 Fix parenthesization typo.
595
596 2015-08-28 Mike Frysinger <vapier@gentoo.org>
597
598 [BZ #18887]
599 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
600 tst-mntent-blank-passno.
601 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
602 * misc/tst-mntent-blank-corrupt.c: New test.
603 * misc/tst-mntent-blank-passno.c: New test ripped from ...
604 * misc/tst-mntent.c (do_test): ... here.
605
606 2015-08-29 Mike Frysinger <vapier@gentoo.org>
607
608 [BZ #4404]
609 * po/de.po: Fix SIGALRM typo.
610
611 2015-08-28 James Perkins <james@loowit.net>
612
613 * time/tst-strptime2.c (tests): Replace short list of test
614 strings for strptime %z specifier with code which exhaustively
615 tests every combination of sign and 0 to 5 digits. Tests for
616 rejection of invalid strings.
617
618 2015-08-28 James Perkins <james@loowit.net>
619
620 [BZ #16141]
621 * time/strptime_l.c (__strptime_internal): Fix %z minutes
622 calculation, removing incorrect decimal time rounding, so that
623 all minute values result in a valid seconds value.
624 * time/strptime_l.c (__strptime_internal): Extend %z time zone
625 offset range limits to UTC-99:59 through UTC+99:59 to parse
626 current and historical use cases.
627 * time/tst-strptime2.c (tests): Modify and add tests for the
628 strptime %z input field descriptor, specifically conversion of
629 minutes to seconds and validating an offset range of -9959 to
630 +9959.
631
632 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
633 Dmitry V. Levin <ldv@altlinux.org>
634
635 [BZ #18877]
636 * posix/Makefile (tests): Add tst-mmap-offset.
637 * posix/tst-mmap.c: New file.
638 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
639 offset calculation for negative values.
640
641 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
642
643 * sysdeps/i386/init-arch.h: New file.
644 * sysdeps/i386/i586/init-arch.h: Likewise.
645 * sysdeps/i386/i686/init-arch.h: Likewise.
646 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
647 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
648 * sysdeps/x86/cpu-features.h (bit_I586): New.
649 (bit_I686): Likewise.
650 (bit_CX8): Likewise.
651 (bit_CMOV): Likewise.
652 (index_CX8): Likewise.
653 (index_CMOV): Likewise.
654 (index_I586): Likewise.
655 (index_I686): Likewise.
656 (reg_CX8): Likewise.
657 (reg_CMOV): Likewise.
658 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
659 available at compile-time.
660 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
661 available at compile-time.
662 * sysdeps/x86/init-arch.h (USE_I586): New macro.
663 (USE_I686): Likewise.
664
665 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
666
667 * sysdeps/i386/bcopy.S: New file.
668 * sysdeps/i386/bzero.S: Likewise.
669 * sysdeps/i386/memcpy.S: Likewise.
670 * sysdeps/i386/memmove.S: Likewise.
671 * sysdeps/i386/mempcpy.S: Likewise.
672 * sysdeps/i386/memset.S: Likewise.
673 * sysdeps/i386/bzero.c: Removed.
674 * sysdeps/i386/memset.c: Likewise.
675 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
676 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
677 * sysdeps/i386/i586/memset_chk.S: Likewise.
678 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
679 * sysdeps/i386/memcpy_chk.S: Here.
680 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
681 * sysdeps/i386/memmove_chk.S: Here.
682 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
683 * sysdeps/i386/mempcpy_chk.S: Likewise.
684 * sysdeps/i386/i686/memset_chk.S: Moved to ...
685 * sysdeps/i386/memset_chk.S: Likewise.
686
687 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
688
689 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
690 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
691 file, move DIAG_POP_NEEDS_COMMENT to end of file.
692 * soft-fp/fmadf4.c: Ditto.
693 * soft-fp/fmatf4.c: Ditto.
694
695 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
696
697 * sysdeps/i386/i586/Implies: Removed.
698 * sysdeps/i386/i686/Implies: Likewise.
699
700 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
701
702 * sysdeps/i386/i486/strlen.S: Moved to ...
703 * sysdeps/i386/strlen.S: Here.
704
705 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
706
707 * sysdeps/i386/i486/strcat.S: Moved to ...
708 * sysdeps/i386/strcat.S: Here.
709
710 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
711
712 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
713 * sysdeps/i386/pthread_spin_trylock.S: Here.
714 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
715 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
716
717 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
718
719 * sysdeps/i386/i486/string-inlines.c: Moved to ...
720 * sysdeps/i386/string-inlines.c: Here.
721
722 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
723
724 * sysdeps/i386/i486/htonl.S: Moved ...
725 * sysdeps/i386/htonl.S: here.
726
727 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
728
729 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
730 * sysdeps/i386/bits/atomic.h: Here.
731
732 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
733
734 * sysdeps/i386/i486/Versions: Removed.
735
736 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
737
738 [BZ #2898]
739 * misc/mktemp.c: Add mkdtemp to the link_warning message.
740 Based on patch by Aurelien Jarno.
741
742 2015-08-26 Stan Shebs <stanshebs@google.com>
743
744 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
745 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
746
747 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
748
749 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
750 * sysdeps/powerpc/dl-procinfo.c:
751 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
752 feature so it shows when LD_SHOW_AUXV=1.
753
754 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
755
756 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
757 (__arch_compare_and_exchange_val_32_acq): Remove and use common
758 definition. ISA 2.07B no longer requires full sync.
759
760 2015-08-26 Mike Frysinger <vapier@gentoo.org>
761
762 [BZ #18863]
763 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
764 (si_call_addr): Define.
765 (si_syscall): Define.
766 (si_arch): Define.
767
768 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
769
770 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
771 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
772 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
773 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
774 (__memset_zero_constant_len_parameter): New.
775 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
776 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
777 (__memset_zero_constant_len_parameter): Don't define if
778 __memset_chk or USE_AS_BZERO are defined.
779
780 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
781 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
782 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
783
784 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
785 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
786 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
787 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
788 comments.
789 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
790 -mno-mmx for $(all-rtld-routines).
791 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
792 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
793 i386.
794
795 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
796
797 * sysdeps/generic/unwind.h
798 (_Unwind_Word): Use __mode__(__unwind_word__)
799 instead of __mode__(__word__).
800 (_Unwind_Sword): Likewise.
801
802 * sysdeps/s390/s390-64/utf8-utf16-z9.c
803 (MAX_NEEDED_INPUT): New define.
804 (MAX_NEEDED_OUTPUT): New define.
805
806 * NEWS: New item for IBM z13 string optimizations.
807
808 * sysdeps/s390/multiarch/memrchr-c.c: New File.
809 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
810 * sysdeps/s390/multiarch/memrchr.c: Likewise.
811 * sysdeps/s390/multiarch/Makefile
812 (sysdep_routines): Add memrchr functions.
813 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
814 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
815
816 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
817 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
818 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
819 * sysdeps/s390/multiarch/Makefile
820 (sysdep_routines): Add wmemcmp functions.
821 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
822 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
823 * benchtests/bench-wmemcmp.c: New File.
824 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
825
826 * sysdeps/s390/multiarch/wmemset-c.c: New File.
827 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
828 * sysdeps/s390/multiarch/wmemset.c: Likewise.
829 * sysdeps/s390/multiarch/Makefile
830 (sysdep_routines): Add wmemset functions.
831 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
832 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
833 * wcsmbs/wmemset.c: Use WMEMSET if defined.
834 * string/test-memset.c: Add wmemset support.
835 * wcsmbs/test-wmemset.c: New File.
836 * wcsmbs/Makefile (strop-tests): Add wmemset.
837 * benchtests/bench-memset.c: Add wmemset support.
838 * benchtests/bench-wmemset.c: New File.
839 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
840
841 * sysdeps/s390/multiarch/memccpy-c.c: New File.
842 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
843 * sysdeps/s390/multiarch/memccpy.c: Likewise.
844 * sysdeps/s390/multiarch/Makefile
845 (sysdep_routines): Add memccpy functions.
846 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
847 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
848 * string/memccpy.c: Use MEMCCPY if defined.
849
850 * sysdeps/s390/multiarch/memchr-vx.S: New File.
851 * sysdeps/s390/multiarch/memchr.c: Likewise.
852 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
853 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
854 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
855 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
856 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
857 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
858 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
859 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
860 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
861 and rawmemchr functions.
862 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
863 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
864 and wmemchr.
865 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
866 * string/test-memchr.c: Add wmemchr support.
867 * wcsmbs/test-wmemchr.c: New File.
868 * wcsmbs/Makefile (strop-tests): Add wmemchr.
869 * benchtests/bench-memchr.c: Add wmemchr support.
870 * benchtests/bench-wmemchr.c: New File.
871 * benchtests/Makefile (wcsmbs-bench): wmemchr.
872
873 * sysdeps/s390/multiarch/strcspn-c.c: New File.
874 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
875 * sysdeps/s390/multiarch/strcspn.c: Likewise.
876 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
877 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
878 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
879 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
880 wcscspn functions.
881 * sysdeps/s390/multiarch/ifunc-impl-list.c
882 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
883 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
884 * string/test-strcspn.c: Add wcscspn support.
885 * wcsmbs/test-wcscspn.c: New File.
886 * wcsmbs/Makefile (strop-tests): Add wcscspn.
887 * benchtests/bench-strcspn.c: Add wcscspn support.
888 * benchtests/bench-wcscspn.c: New File.
889 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
890
891 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
892 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
893 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
894 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
895 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
896 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
897 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
898 wcspbrk functions.
899 * sysdeps/s390/multiarch/ifunc-impl-list.c
900 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
901 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
902 * string/test-strpbrk.c: Add wcspbrk support.
903 * wcsmbs/test-wcspbrk.c: New File.
904 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
905 * benchtests/bench-strpbrk.c: Add wcspbrk support.
906 * benchtests/bench-wcspbrk.c: New File.
907 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
908
909 * sysdeps/s390/multiarch/strspn-c.c: New File.
910 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
911 * sysdeps/s390/multiarch/strspn.c: Likewise.
912 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
913 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
914 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
915 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
916 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
917 wcsspn functions.
918 * sysdeps/s390/multiarch/ifunc-impl-list.c
919 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
920 * string/test-strspn.c: Add wcsspn support.
921 * wcsmbs/test-wcsspn.c: New File.
922 * wcsmbs/Makefile (strop-tests): Add wcsspn.
923 * benchtests/bench-strspn.c: Add wcsspn support.
924 * benchtests/bench-wcsspn.c: New File.
925 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
926
927 * sysdeps/s390/multiarch/strrchr-c.c: New File.
928 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
929 * sysdeps/s390/multiarch/strrchr.c: Likewise.
930 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
931 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
932 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
933 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
934 wcsrchr functions.
935 * sysdeps/s390/multiarch/ifunc-impl-list.c
936 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
937 * benchtests/bench-wcsrchr.c: New File.
938 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
939
940 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
941 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
942 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
943 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
944 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
945 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
946 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
947 wcschrnul functions.
948 * sysdeps/s390/multiarch/ifunc-impl-list.c
949 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
950 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
951 * string/test-strchr.c: Add wcschrnul support.
952 * wcsmbs/test-wcschrnul.c: New File.
953 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
954 * benchtests/bench-strchr.c: Add wcschrnul support.
955 * benchtests/bench-wcschrnul.c: New File.
956 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
957
958 * sysdeps/s390/multiarch/strchr-c.c: New File.
959 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
960 * sysdeps/s390/multiarch/strchr.c: Likewise.
961 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
962 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
963 * sysdeps/s390/multiarch/wcschr.c: Likewise.
964 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
965 wcschr functions.
966 * sysdeps/s390/multiarch/ifunc-impl-list.c
967 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
968 * string/strchr.c (STRCHR): Define and use macro.
969 * benchtests/bench-wcschr.c: New File.
970 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
971
972 * sysdeps/s390/multiarch/strncmp-c.c: New File.
973 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
974 * sysdeps/s390/multiarch/strncmp.c: Likewise.
975 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
976 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
977 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
978 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
979 wcsncmp functions.
980 * sysdeps/s390/multiarch/ifunc-impl-list.c
981 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
982 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
983 * benchtests/bench-strncmp.c: Add wcsncmp support.
984 * benchtests/bench-wcsncmp.c: New File.
985 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
986
987 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
988 * sysdeps/s390/multiarch/strcmp.c: Likewise.
989 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
990 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
991 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
992 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
993 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
994 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
995 wcscmp functions.
996 * sysdeps/s390/multiarch/ifunc-impl-list.c
997 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
998 * string/strcmp.c (STRCMP): Define and use macro.
999 * benchtests/bench-wcscmp.c: New File.
1000 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1001 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1002 instead of _HAVE_STRING_ARCH_memchr.
1003
1004 * sysdeps/s390/multiarch/strncat-c.c: New File.
1005 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1006 * sysdeps/s390/multiarch/strncat.c: Likewise.
1007 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1008 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1009 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1010 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1011 wcsncat functions.
1012 * sysdeps/s390/multiarch/ifunc-impl-list.c
1013 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1014 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1015 * string/test-strncat.c: Add wcsncat support.
1016 * wcsmbs/test-wcsncat.c: New File.
1017 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1018 * benchtests/bench-strncat.c: Add wcsncat support.
1019 * benchtests/bench-wcsncat.c: New File.
1020 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1021
1022 * sysdeps/s390/multiarch/strcat-c.c: New File.
1023 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1024 * sysdeps/s390/multiarch/strcat.c: Likewise.
1025 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1026 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1027 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1028 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1029 wcscat functions.
1030 * sysdeps/s390/multiarch/ifunc-impl-list.c
1031 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1032 * string/strcat.c (STRCAT): Define and use macro.
1033 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1034 * string/test-strcat.c: Add wcscat support.
1035 * wcsmbs/test-wcscat.c: New File.
1036 * wcsmbs/Makefile (strop-tests): Add wcscat.
1037 * benchtests/bench-strcat.c: Add wcscat support.
1038 * benchtests/bench-wcscat.c: New File.
1039 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1040
1041 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1042 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1043 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1044 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1045 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1046 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1047 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1048 wcpncpy functions.
1049 * sysdeps/s390/multiarch/ifunc-impl-list.c
1050 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1051 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1052 * string/test-stpncpy.c: Add wcpncpy support.
1053 * wcsmbs/test-wcpncpy.c: New File.
1054 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1055 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1056 * benchtests/bench-wcpncpy.c: New File.
1057 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1058
1059 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1060 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1061 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1062 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1063 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1064 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1065 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1066 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1067 wcsncpy functions.
1068 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1069 * sysdeps/s390/multiarch/ifunc-impl-list.c
1070 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1071 * string/test-strncpy.c: Add wcsncpy support.
1072 * wcsmbs/test-wcsncpy.c: New File.
1073 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1074 * benchtests/bench-strncpy.c: Add wcsncpy support.
1075 * benchtests/bench-wcsncpy.c: New File.
1076 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1077
1078 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1079 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1080 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1081 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1082 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1083 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1084 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1085 wcpcpy functions.
1086 * string/stpcpy.c: Use STPCPY if defined.
1087 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1088 * sysdeps/s390/multiarch/ifunc-impl-list.c
1089 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1090 * string/test-stpcpy.c: Add wcpcpy support.
1091 * wcsmbs/test-wcpcpy.c: New File.
1092 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1093 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1094 * benchtests/bench-wcpcpy.c: New File.
1095 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1096
1097 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1098 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1099 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1100 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1101 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1102 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1103 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1104 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1105 wcscpy functions.
1106 * sysdeps/s390/multiarch/ifunc-impl-list.c
1107 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1108 * benchtests/bench-wcscpy.c: New File.
1109 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1110
1111 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1112 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1113 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1114 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1115 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1116 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1117 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1118 wcsnlen functions.
1119 * sysdeps/s390/multiarch/ifunc-impl-list.c
1120 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1121 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1122 * string/test-strnlen.c: Add wcsnlen support.
1123 * wcsmbs/test-wcsnlen.c: New File.
1124 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1125 * benchtests/bench-strnlen.c: Add wcsnlen support.
1126 * benchtests/bench-wcsnlen.c: New File.
1127 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1128
1129 * sysdeps/s390/multiarch/Makefile: New File.
1130 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1131 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1132 * sysdeps/s390/multiarch/strlen.c: Likewise.
1133 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1134 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1135 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1136 * string/strlen.c (STRLEN): Define and use macro.
1137 * sysdeps/s390/multiarch/ifunc-impl-list.c
1138 (IFUNC_VX_IMPL): New macro function.
1139 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1140 * benchtests/Makefile (wcsmbs-bench): New variable.
1141 (string-bench-all): Added wcsmbs-bench.
1142 * benchtests/bench-wcslen.c: New File.
1143
1144 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1145 s390_vx_libc_ifunc2): New macro function.
1146
1147 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1148 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1149 assembler support.
1150 * sysdeps/s390/configure: Regenerated.
1151
1152 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1153 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1154
1155 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1156 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1157 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1158
1159 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1160 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1161 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1162 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1163 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1164 (memcmp, bcmp): Use __memcmp_default as alias source.
1165 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1166 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1167 Rename to __memcmp_default.
1168 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1169 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1170 (memcpy): Use __memcpy_default as alias source.
1171 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1172 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1173 Rename to __memcpy_default.
1174 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1175 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1176 (memset): Use __memset_default as alias source.
1177 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1178 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1179 Rename to __memset_default.
1180 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1181 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1182 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1183 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1184 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1185 (memcmp, bcmp): Use __memcmp_default as alias source.
1186 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1187 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1188 Rename to __memcmp_default.
1189 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1190 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1191 (memcpy): Use __memcpy_default as alias source.
1192 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1193 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1194 Rename to __memcpy_default.
1195 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1196 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1197 (memset): Use __memset_default as alias source.
1198 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1199 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1200 Rename to __memset_default.
1201 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1202 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1203
1204 [BZ #18610]
1205 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1206 __ieee_instruction_pointer to __unused.
1207 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1208 __ieee_instruction_pointer.
1209 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1210 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1211 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1212 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1213 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1214 Mark dxc-field as reserved.
1215
1216 2015-08-25 Roland McGrath <roland@hack.frob.com>
1217
1218 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1219 if the weak reference is not null.
1220
1221 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1224
1225 [BZ #11214]
1226 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1227
1228 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1229
1230 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1231 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1232 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1233 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1234 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1235 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1236 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1237 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1238 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1239 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1240 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1241 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1242 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1243 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1244 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1245 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1246 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1247 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1248
1249 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1250
1251 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1252 register other than r0 for tabort, it has special meaning.
1253 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1254 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1255 transaction before starting syscall.
1256
1257 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1258
1259 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1260
1261 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1264
1265 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1266 * sysdeps/x86_64/rtld-memset.S: Likewise.
1267 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1268 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1269 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1270 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1271
1272 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1273
1274 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1275
1276 * debug/strcpy_chk.c: Improve performance.
1277 * debug/stpcpy_chk.c: Likewise.
1278 * sysdeps/x86_64/strcpy_chk.S: Remove.
1279 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1280
1281 [BZ #18240]
1282 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1283
1284 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1285
1286 [BZ #15128]
1287 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1288 ifuncmain8.
1289 (modules-names): Add ifuncmod8.
1290 ($(objpfx)ifuncmain8): New rule.
1291 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1292 <cpuid.h>.
1293 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1294 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1295 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1296 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1297 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1298 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1299 * sysdeps/x86_64/ifuncmain8.c: New file.
1300 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1301 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1302 Removed.
1303 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1304 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1305 Change rtld_savespace_sse to __glibc_unused2.
1306 (RTLD_CHECK_FOREIGN_CALL): Removed.
1307 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1308 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1309 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1310
1311 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1312
1313 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1314
1315 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1316
1317 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1318 Unconditionally set __fpcr to avoid uninialized warning.
1319 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1320
1321 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1322
1323 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1324 is corrupt.
1325
1326 * malloc/arena.c (arena_get2): Drop unused argument.
1327 (arena_lock): Adjust.
1328 (arena_get_retry): Likewise.
1329
1330 2015-08-24 Andreas Schwab <schwab@suse.de>
1331
1332 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1333 Don't define.
1334 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1335 (__ASSUME_IPC64): Don't undef.
1336 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1337 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1338 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1339 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1340 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1341 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1342 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1343 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1344 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1345 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1346 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1347 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1348 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1349 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1350 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1351 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1352 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1353 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1354 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1355 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1356 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1357
1358 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1359
1360 * manual/Makefile (install): Only build manual when perl is available.
1361
1362 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1363
1364 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1365 '#undef memcpy' by '#undef memchr'.
1366
1367 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1368
1369 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1370 memchr not point to the internal __GI_memchr implementation.
1371
1372 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1373
1374 * timezone/Makefile (CFLAGS-zdump.c): Remove
1375 -Wno-strict-prototypes.
1376 (CFLAGS-zic.c): Likewise.
1377 (CFLAGS-ialloc.c): Likewise.
1378 (CFLAGS-scheck.c): Likewise.
1379
1380 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1381 -Wno-error=undef.
1382
1383 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1384
1385 * i386/i686/multiarch/strcasestr-c.c: Removed.
1386 * x86_64/multiarch/strcasestr.c: Likewise.
1387 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1388 Remove strcasestr.
1389
1390 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1391
1392 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1393
1394 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1395 variables for high and low parts before possibly modifying them.
1396
1397 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1398
1399 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1400 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1401 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1402 of "multiarch/init-arch.h".
1403 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1404 * sysdeps/x86/init-arch.h: This.
1405
1406 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1407
1408 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1409 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1410
1411 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1412
1413 [BZ #17787]
1414 * manual/macros.texi: Add twoexp macro.
1415 * manual/filesys.texi: Fix exponents.
1416 * manual/llio.texi: Likewise.
1417 * manual/stdio.texi: Likewise.
1418
1419 2015-08-20 Florian Weimer <fweimer@redhat.com>
1420
1421 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1422 incorrect use.
1423
1424 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1425
1426 [BZ #18370]
1427 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1428 whose real or imaginary part has small absolute value.
1429 * math/s_csqrtf.c (__csqrtf): Likewise.
1430 * math/s_csqrtl.c (__csqrtl): Likewise.
1431 * math/auto-libm-test-in: Add more tests of csqrt.
1432 * math/auto-libm-test-out: Regenerated.
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1434
1435 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1436
1437 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1438 __ppc_set_ppr_very_low): New functions.
1439 * manual/platform.texi: Add documentation about
1440 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1441
1442 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1443
1444 * string/stpncpy.c (stpncpy): Improve performance using
1445 __strnlen/memcpy/memset.
1446
1447 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1448
1449 [BZ #18796]
1450 * scripts/test-installation.pl: Don't add -lmvec to build options if
1451 libmvec wasn't built.
1452
1453 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1454
1455 [BZ #14341]
1456 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1457 case when there is a gap between DT_REL and DT_JMPREL sections.
1458 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1459 (LDFLAGS-tst-split-dynreloc): New.
1460 (tst-split-dynreloc-ENV): Likewise.
1461 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1462 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1463
1464 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1465
1466 [BZ #18822]
1467 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1468 attribute_hidden.
1469 (__xstat64_conv): Likewise.
1470 (__xstat32_conv): Likewise.
1471
1472 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 [BZ #18822]
1475 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1476 Don't load %ebx when calling __setcontext. Call __setcontext
1477 with HIDDEN_JUMPTARGET.
1478 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1479 libc_hidden_def.
1480
1481 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1482
1483 * sysdeps/i386/i686/Makefile
1484 [$(subdir) == string] (sysdep_routines): Moved to ...
1485 * sysdeps/i386/Makefile: Here.
1486 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1487 * sysdeps/i386/cacheinfo.c: Here.
1488 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1489 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1490 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1491 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1492
1493 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1494
1495 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1496 __i586__ is defined.
1497 (HAS_I686): Defined to 1 if __i686__ is defined.
1498
1499 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1500
1501 * elf/Makefile [$(have-z-execstack) = yes]
1502 (CPPFLAGS-tst-execstack.c): New variable.
1503
1504 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1505 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1506 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1507 UTMPX || _HAVE_UT_TV].
1508 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1509 UTMPX || _HAVE_UT_TV - 0].
1510
1511 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1512
1513 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1514 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1515 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1516
1517 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1518
1519 * sysdeps/powerpc/dl-procinfo.c:
1520 (_dl_powerpc_cap_flags): Added missing strings for some
1521 hwcap features.
1522 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1523
1524 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1525
1526 Port the 0x7efe...feff pattern to GCC 6.
1527 See Steve Ellcey's bug report in:
1528 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1529 * string/memrchr.c (MEMRCHR):
1530 * string/rawmemchr.c (RAWMEMCHR):
1531 * string/strchr.c (strchr):
1532 * string/strchrnul.c (STRCHRNUL):
1533 Rewrite code to avoid issues with signed shift overflow.
1534
1535 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1536
1537 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1538 whether cpuid is available only if HAS_CPUID is 0.
1539 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1540 (HAS_I586): Likewise.
1541 (HAS_I686): Likewise.
1542
1543 2015-08-18 Zack Weinberg <zackw@panix.com>
1544
1545 * misc/Versions (libc): Add GLIBC_2.23.
1546
1547 2015-08-18 Alan Modra <amodra@gmail.com>
1548
1549 [BZ #18421]
1550 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1551 .Lp__global.
1552 (_start): Load %dp via .Lp__global.
1553 [!SHARED]: Use .section .rodata.
1554
1555 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1556
1557 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1558 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1559
1560 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1561
1562 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1563 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1564
1565 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1566
1567 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1568 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1569
1570 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1571
1572 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1573 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1574
1575 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1576
1577 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1578 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1579
1580 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1581
1582 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1583 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1584
1585 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1586
1587 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1588
1589 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1590
1591 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1592 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1593 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1594 (__ASSUME_LWS_CAS): Delete.
1595
1596 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1597
1598 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1599 * sysdeps/hppa/configure: Regenerated.
1600 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1601 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1602 * sysdeps/hppa/nptl/tls.h: Likewise.
1603
1604 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1605
1606 [BZ #18823]
1607 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1608 for scaling up small arguments.
1609 * math/s_csqrtf.c (__csqrtf): Likewise.
1610 * math/s_csqrtl.c (__csqrtl): Likewise.
1611 * math/auto-libm-test-in: Add more tests of csqrt.
1612 * math/auto-libm-test-out: Regenerated.
1613
1614 2015-08-17 Andreas Schwab <schwab@suse.de>
1615
1616 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1617 version set GLIBC_2.19.
1618
1619 2015-08-16 Zack Weinberg <zackw@panix.com>
1620
1621 [BZ #18681]
1622 * misc/regexp.h: This interface is no longer supported.
1623 Remove all contents, leaving only an #error directive.
1624 * misc/regexp.c (loc1, loc2, locs, step, advance):
1625 Demote to compatibility symbols.
1626
1627 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1628
1629 [BZ #18084]
1630 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1631 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1632 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1633 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1634 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1635 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1636 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1637 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1638 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1639
1640 2015-08-15 Zack Weinberg <zackw@panix.com>
1641
1642 [BZ #18795]
1643 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1644 buffer length is known to be too large, not if it's known to be
1645 small enough.
1646 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1647 overflow at runtime, involving a length parameter, twice: once
1648 with a compile-time constant length parameter, once without.
1649
1650 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1651
1652 [BZ #18824]
1653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1654 scaling x * y up instead of down.
1655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1656 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1657 * math/auto-libm-test-in: Add more tests of fma.
1658 * math/auto-libm-test-out: Regenerated.
1659
1660 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1661
1662 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1663
1664 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1665
1666 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1667 unnecessary movq.
1668 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1669 Likewise.
1670
1671 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1672
1673 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1674 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1675 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1676 and tgamma.
1677 * math/auto-libm-test-out: Regenerated.
1678 * sysdeps/i386/fpu/libm-test-ulps: Update.
1679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1680
1681 [BZ #16520]
1682 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1683 (__tanh): Force underflow exception for arguments with small
1684 absolute value.
1685 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1686 (__tanhf): Force underflow exception for arguments with small
1687 absolute value.
1688 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1689 (__tanhl): Force underflow exception for arguments with small
1690 absolute value.
1691 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1692 (__tanhl): Force underflow exception for arguments with small
1693 absolute value.
1694 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1695 (__tanhl): Force underflow exception for arguments with small
1696 absolute value.
1697 * math/auto-libm-test-in: Add more tests of tanh.
1698 * math/auto-libm-test-out: Regenerated.
1699 * sysdeps/i386/fpu/libm-test-ulps: Update.
1700
1701 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1702
1703 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1704 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1705
1706 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1709 <cpuid.h>.
1710
1711 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1714 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1715
1716 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1719 Remove $(objpfx)init-arch.o.
1720 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1721 init-arch.
1722 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1723 (INIT_ARCH_EXT): Defined as empty.
1724 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1725 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1726 __init_cpu_features call. Replace HAS_XXX with
1727 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1728 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1729 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1730 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1731 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1733 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1734 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1735 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1736 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1737 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1738 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1739 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1740 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1741 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1742 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1743 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1745 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1746 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1747 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1748 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1749 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1750 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1751 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1752 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1753 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1754 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1755 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1756 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1757 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1758 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1759 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1760 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1761 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1762 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1763
1764 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1765
1766 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1767 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1768 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1769 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1771 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1772 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1773 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1774 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1775 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1776 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1777 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1778 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1779 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1780 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1781 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1782 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1783 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1784 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1785 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1786 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1787 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1788 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1789 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1790 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1791 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1792 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1793 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1794 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1796 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1797 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1798 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1800 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1801 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1802 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1803 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1804 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1805 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1806 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1807 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1808 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1809
1810 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1813 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1814 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1817 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1818 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1819 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1820 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1821 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1822 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1823 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1824 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1825 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1826 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1827 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1828 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1829 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1830 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1831 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1833 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1834 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1835 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1837 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1838 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1839 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1840 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1841 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1842 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1843 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1844 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1845 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1846 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1847 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1848 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1849 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1850 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1851 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1852 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1853 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1854 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1855
1856 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1859 (dl_platform_init): Call init_cpu_features.
1860 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1861 * sysdeps/i386/i686/cacheinfo.c
1862 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1863 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1864 * sysdeps/i386/i686/multiarch/Versions: Removed.
1865 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1866 Removed.
1867 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1868 * sysdeps/unix/sysv/linux/x86/Makefile
1869 (libpthread-sysdep_routines): Remove init-arch.
1870 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1871 <sysdeps/x86_64/dl-procinfo.c> instead of
1872 sysdeps/generic/dl-procinfo.c>.
1873 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1874 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1875 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1876 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1877 [$(subdir) == elf] (tests-static): Add
1878 tst-get-cpu-features-static.
1879 * sysdeps/x86/Versions: New file.
1880 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1881 * sysdeps/x86/cpu-features.c: Likewise.
1882 * sysdeps/x86/cpu-features.h: Likewise.
1883 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1884 * sysdeps/x86/libc-start.c: Likewise.
1885 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1886 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1887 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1888 * sysdeps/x86_64/dl-procinfo.c: Likewise.
1889 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1890 Assume USE_MULTIARCH is defined and don't check it.
1891 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1892 (is_amd): Likewise.
1893 (max_cpuid): Likewise.
1894 (intel_check_word): Likewise.
1895 (__cache_sysconf): Don't call __init_cpu_features.
1896 (__x86_preferred_memory_instruction): Removed.
1897 (init_cacheinfo): Don't call __init_cpu_features. Replace
1898 __cpu_features with GLRO(dl_x86_cpu_features).
1899 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1900 (dl_platform_init): Call init_cpu_features.
1901 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1902 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1903 * sysdeps/x86_64/multiarch/Versions: Removed.
1904 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1905 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1906 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1907 Removed.
1908 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1909
1910 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1911
1912 [BZ #18820]
1913 * libio/Makefile (test-fmemopen-mem): New test.
1914 * libio/test-fmemopen.c (do_bz18820): New test.
1915 * libio/fmemopen.c (__fmemopen): Fix memory leak.
1916 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1917
1918 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1919
1920 [BZ #16734]
1921 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1922 (FREE_BUF): Delete.
1923 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1924 * libio/genops.c (_IO_setb): Use malloc and free directly.
1925 (_IO_default_doallocate, _IO_default_finish): Likewise.
1926 ( _IO_unbuffer_all): Likewise.
1927 ( libc_freeres_fn): Likewise.
1928 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1929 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1930 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1931 (_IO_wdefault_doallocate): Likewise.
1932
1933 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1934
1935 [BZ #18086]
1936 * sysdeps/posix/nice.c (nice): Restore old errno.
1937 * posix/tst-nice.c (do_test): Add test for BZ #18086.
1938
1939 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
1940
1941 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1942
1943 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1944
1945 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1946 __bcopy and add a weak_alias to bcopy.
1947 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1948 for static build.
1949
1950 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1951 cleanup macro usage.
1952 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1953 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1954 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1955 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1956 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1957 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1958 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1959 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1960 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1961 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1962 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1963 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1964 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1965 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1966 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1967 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1968 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1969 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1970 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1971
1972 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1973 libc_hidden_def.
1974 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1975
1976 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1977 (sysdep_routines): Add strstr-ppc64.
1978 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1979
1980 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1981
1982 [BZ #18778]
1983 * elf/Makefile (tests): Add Add tst-nodelete2.
1984 (modules-names): Add tst-nodelete2mod.
1985 (tst-nodelete2mod.so-no-z-defs): New.
1986 ($(objpfx)tst-nodelete2): Likewise.
1987 ($(objpfx)tst-nodelete2.out): Likewise.
1988 (LDFLAGS-tst-nodelete2): Likewise.
1989 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1990 out of loop through all loaded libraries.
1991 * elf/tst-nodelete2.c: New file.
1992 * elf/tst-nodelete2mod.c: Likewise.
1993 * elf/tst-znodelete-zlib.cc: Delete.
1994
1995 2015-08-11 Andreas Schwab <schwab@suse.de>
1996
1997 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1998 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1999 (__openat64_nocancel): Likewise.
2000
2001 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2002
2003 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2004 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2005 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2006 * math/auto-libm-test-out: Regenerated.
2007 * sysdeps/i386/fpu/libm-test-ulps: Update.
2008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2009
2010 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2011
2012 [BZ #18790]
2013 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2014 threshold for returning +/- 1.
2015 * math/auto-libm-test-in: Add more tests of tanh.
2016 * math/auto-libm-test-out: Regenerated.
2017 * sysdeps/i386/fpu/libm-test-ulps: Update.
2018
2019 2015-08-10 Andreas Schwab <schwab@suse.de>
2020
2021 [BZ #18781]
2022 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2023 MORE_OFLAGS to oflag.
2024 * io/test-lfs.c (do_test): Test openat64.
2025
2026 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2027
2028 [BZ #18789]
2029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2030 smaller threshold for returning the argument.
2031 * math/auto-libm-test-in: Add more tests of sinh.
2032 * math/auto-libm-test-out: Regenerated.
2033 * sysdeps/i386/fpu/libm-test-ulps: Update.
2034
2035 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 [BZ #18674]
2038 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2039 break.
2040
2041 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2042
2043 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2044 (generated): Don't add $(addprefix z.,$(tzfiles)).
2045
2046 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2047
2048 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2049 * scripts/sysd-rules.awk: Likewise.
2050
2051 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2052
2053 * iconvdata/tst-tables.sh: Change echo -n to printf.
2054 * nss/db-Makefile: Likewise.
2055 * posix/tst-getconf.sh: Likewise.
2056 * stdio-common/tst-unbputc.sh: Likewise.
2057
2058 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2059
2060 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2061 MADV_*_PAGES defines behind this feature check.
2062
2063 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2064
2065 [BZ #18480]
2066 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2067 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2068 Define.
2069 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2070 LOAD_REGS_5, LOAD_REGS_6): Update.
2071 (INTERNAL_SYSCALL): Update using new LOAD defines.
2072 (INTERNAL_SYSCALL_NCS): Likewise.
2073 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2074
2075 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2076
2077 [BZ #16734]
2078 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2079
2080 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2081
2082 [BZ #17905]
2083 * catgets/Makefile (tst-catgets-mem): New test.
2084 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2085 * catgets/open_catalog.c (__open_catalog): Likewise.
2086 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2087
2088 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2089
2090 [BZ #18787]
2091 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2092 clobber registers.
2093 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2094 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2095 Cast return to __typeof (oldval).
2096
2097 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2098
2099 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2100 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2101 and delete sys/syscall.h include.
2102
2103 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2104
2105 [BZ #16517]
2106 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2107 (tan): Force underflow exception for arguments with small absolute
2108 value.
2109 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2110 (__kernel_tanf): Force underflow exception for arguments with
2111 small absolute value.
2112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2113 (__kernel_tanl): Force underflow exception for arguments with
2114 small absolute value.
2115 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2116 (__kernel_tanl): Force underflow exception for arguments with
2117 small absolute value.
2118 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2119 (__kernel_tanl): Force underflow exception for arguments with
2120 small absolute value.
2121 * math/auto-libm-test-in: Add more tests of tan.
2122 * math/auto-libm-test-out: Regenerated.
2123
2124 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2125
2126 Fix sysdeps/i386/fpu/s_scalbn.S build
2127
2128 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2129
2130 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2131
2132 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2133
2134 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2135
2136 Fix gcrt0.o compilation
2137
2138 When static-start-installed-name is different from
2139 start-installed-name, we must not use the shared objects.
2140
2141 * csu/Makefile
2142 (extra-objs): Add gmon-start.o when building shared library and
2143 $(static-start-installed-name) is different from
2144 $(start-installed-name).
2145 $(objpfx)g$(static-start-installed-name): When building shared
2146 library and $(static-start-installed-name) is different from
2147 $(static-start-installed-name), revert to non-shared rule,
2148 i.e. using $(objpfx)% and gmon-start.o.
2149
2150 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2151
2152 [BZ #16519]
2153 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2154 (__ieee754_sinh): Force underflow exception for arguments with
2155 small absolute value.
2156 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2157 (__ieee754_sinhf): Force underflow exception for arguments with
2158 small absolute value.
2159 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2160 (__ieee754_sinhl): Force underflow exception for arguments with
2161 small absolute value.
2162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2163 (__ieee754_sinhl): Force underflow exception for arguments with
2164 small absolute value.
2165 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2166 (__ieee754_sinhl): Force underflow exception for arguments with
2167 small absolute value.
2168 * math/auto-libm-test-in: Add more tests of sinh.
2169 * math/auto-libm-test-out: Regenerated.
2170 * sysdeps/i386/fpu/libm-test-ulps: Update.
2171
2172 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2173
2174 * libio/oldfileops.c: Include unistd.h.
2175
2176 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2177
2178 * stdlib/isomac.c: Include ctype.h.
2179
2180 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2181
2182 * dirent/tst-seekdir.c (main): Converted to ...
2183 (do_test): ... this.
2184 (TEST_FUNCTION): New macro.
2185 Include test-skeleton.c.
2186 * elf/tst-dlmodcount.c (main): Converted to ...
2187 (do_test): ... this.
2188 (TEST_FUNCTION): New macro.
2189 Include test-skeleton.c.
2190 * elf/tst-order-main.c (main): Converted to ...
2191 (do_test): ... this.
2192 (TEST_FUNCTION): New macro.
2193 Include test-skeleton.c.
2194 * elf/tst-pie2.c (main): Converted to ...
2195 (do_test): ... this.
2196 (TEST_FUNCTION): New macro.
2197 Include test-skeleton.c.
2198 * inet/tst-ether_aton.c (main): Converted to ...
2199 (do_test): ... this.
2200 (TEST_FUNCTION): New macro.
2201 Include test-skeleton.c.
2202 * misc/tst-mntent.c (main): Converted to ...
2203 (do_test): ... this.
2204 (TEST_FUNCTION): New macro.
2205 Include test-skeleton.c.
2206 * misc/tst-tsearch.c (main): Converted to ...
2207 (do_test): ... this.
2208 (TEST_FUNCTION): New macro.
2209 Include test-skeleton.c.
2210 * posix/tst-regexloc.c (main): Converted to ...
2211 (do_test): ... this.
2212 (TEST_FUNCTION): New macro.
2213 Include test-skeleton.c.
2214 * resolv/tst-aton.c (main): Converted to ...
2215 (do_test): ... this.
2216 (TEST_FUNCTION): New macro.
2217 Include test-skeleton.c.
2218 * stdio-common/test-fwrite.c (main): Converted to ...
2219 (do_test): ... this.
2220 (TEST_FUNCTION): New macro.
2221 Include test-skeleton.c.
2222 * stdio-common/tst-ferror.c (main): Converted to ...
2223 (do_test): ... this.
2224 (TEST_FUNCTION): New macro.
2225 Include test-skeleton.c.
2226 * stdio-common/tst-printf.c (main): Converted to ...
2227 (do_test): ... this.
2228 (TEST_FUNCTION): New macro.
2229 Include test-skeleton.c.
2230 * stdio-common/tst-printfsz.c (main): Converted to ...
2231 (do_test): ... this.
2232 (TEST_FUNCTION): New macro.
2233 Include test-skeleton.c.
2234 * stdlib/tst-strtod.c (main): Converted to ...
2235 (do_test): ... this.
2236 (TEST_FUNCTION): New macro.
2237 Include test-skeleton.c.
2238 * string/tst-strlen.c (main): Converted to ...
2239 (do_test): ... this.
2240 (TEST_FUNCTION): New macro.
2241 Include test-skeleton.c.
2242 * string/tst-svc.c (main): Converted to ...
2243 (do_test): ... this.
2244 (TEST_FUNCTION): New macro.
2245 Include test-skeleton.c.
2246 * time/tst-strptime.c (main): Converted to ...
2247 (do_test): ... this.
2248 (TEST_FUNCTION): New macro.
2249 Include test-skeleton.c.
2250 * timezone/tst-timezone.c (main): Converted to ...
2251 (do_test): ... this.
2252 (TEST_FUNCTION): New macro.
2253 Include test-skeleton.c.
2254
2255 2015-08-05 Zack Weinberg <zackw@panix.com>
2256
2257 * misc/regexp.h: Update comments.
2258
2259 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2260
2261 [BZ #18635]
2262 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2263 before return label.
2264
2265 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2266
2267 [BZ #18661]
2268 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2269 when calling __errno_location.
2270 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2271 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2272
2273 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 [BZ #18661]
2276 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2277 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2278 __gettimeofday.
2279
2280 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 [BZ #18661]
2283 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2284 (__start_context): Don't use pop to restore %rdi so that stack
2285 is aligned to 16 bytes when calling __setcontext.
2286
2287 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2288
2289 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2290 only for libc.
2291 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2292
2293 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2294
2295 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2296 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2297 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2298
2299 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2300
2301 * string/memccpy.c (memccpy):
2302 Improve performance by using memchr/memcpy/__mempcpy.
2303
2304 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2305
2306 * string/strncpy.c (strncpy):
2307 Improve performance by using __strnlen/memcpy.
2308
2309 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2310
2311 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2312 Optimize to avoid an unnecessary FPCR read.
2313
2314 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2315
2316 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2317 Optimize to reduce FPCR/FPSR accesses.
2318
2319 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2322 dead->data[category] != NULL.
2323
2324 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2325
2326 [BZ #18647]
2327 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2328 and |x| close to 1, use absolute value of x when computing log.
2329 * math/auto-libm-test-in: Add more tests of pow.
2330 * math/auto-libm-test-out: Regenerated.
2331
2332 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2333
2334 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2335 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2336 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2337
2338 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2339
2340 [BZ #18525]
2341 * locales/km_KH: Remove timezone definition.
2342 * locales/lo_LA: Likewise.
2343 * locales/my_MM: Likewise.
2344 * locales/nan_TW@latin: Likewise.
2345 * locales/th_TH: Likewise.
2346 * locales/uk_UA: Likewise.
2347
2348 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2349
2350 [BZ #18265]
2351 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2352 (wcsncat): Likewise.
2353 (wcscmp): Likewise.
2354 (wcsncmp): Likewise.
2355
2356 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2357
2358 * test-skeleton.c (usage): New function.
2359 (main): Call usage when opt is '?'.
2360
2361 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2362
2363 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2364 before first use.
2365
2366 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2367
2368 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2369 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2370 in there too.
2371
2372 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2373
2374 * version.h (RELEASE): Set to "development".
2375 (VERSION): Set to "2.22.90"
2376
2377 * version.h (RELEASE): Set to "stable".
2378 (VERSION): Set to "2.22"
2379 * include/features.h (__GLIBC_MINOR__): Set to 22.
2380
2381 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2382
2383 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2384 Restructure macro to avoid "value computed is not used" warning.
2385 (atomic_compare_and_exchange_val_acq): Likewise.
2386
2387 2015-08-04 Andreas Schwab <schwab@suse.de>
2388
2389 [BZ #18635]
2390 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2391 ret.
2392 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2393
2394 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2395
2396 * po/pl.po: Updated translation.
2397 * po/uk.po: Likewise.
2398 * po/fi.po: Likewise.
2399 * po/ko.po: Likewise.
2400 * po/ru.po: Likewise.
2401 * po/vi.po: Likewise.
2402
2403 2015-07-31 Zack Weinberg <zackw@panix.com>
2404
2405 [BZ #18681]
2406 * regexp.h: Add unconditional #warning stating that this header
2407 will be removed soon. Revise banner comment to match.
2408 (compile): Consistently use ERROR instead of RETURN to report
2409 errors (partial fix for bz#18681).
2410 * regexp.c: Don't include regexp.h. Remove some unnecessary
2411 declarations.
2412
2413 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2414
2415 * po/libc.pot: Regenerated.
2416
2417 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2418
2419 [BZ #18740]
2420 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2421 float-vlen4-arch-ext-cflags): Removed.
2422 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2423 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2424
2425 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2426
2427 [BZ #14113]
2428 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2429 aligned to __aligned__.
2430 (pthread_cond_t, pthread_rwlock_t): Likewise.
2431
2432 2015-07-30 Torvald Riegel <triegel@redhat.com>
2433
2434 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2435
2436 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2437
2438 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2439 (struct sigaction): Change sa_flags from a long to an int, and add
2440 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2441
2442 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2443
2444 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2445 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2446 sysdeps/generic/sysdep.h include.
2447 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2448 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2449 sysdeps/hppa/sysdep.h.
2450 (ENTRY, PSEUDO): Undefine before defining.
2451
2452 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2453
2454 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2455 from scratch to use INTERNAL_SYSCALL.
2456
2457 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2458
2459 [BZ #18078]
2460 * scripts/check-localplt.awk: Support alternate relocations.
2461 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2462 sections.
2463 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2464 malloc entries with + REL R_386_GLOB_DAT.
2465 * sysdeps/x86_64/localplt.data: New file.
2466
2467 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2468
2469 [BZ #18731]
2470 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2471 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2472 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2473
2474 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2475
2476 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2477
2478 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2479
2480 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2481 directly in terms of __sync_fetch_and_add and delete (int) cast.
2482
2483 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2484
2485 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2486 the -D_ASM_IA64_CURRENT_H flag.
2487
2488 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2489
2490 [BZ #18641]
2491 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2492
2493 2015-07-27 Andreas Schwab <schwab@suse.de>
2494
2495 * conform/conformtest.pl (checknamespace): Filter out string
2496 literals while tokenizing.
2497
2498 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2499
2500 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2501 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2502 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2503
2504 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2505
2506 * nptl/tst-join7mod.c: Add #include <string.h>.
2507
2508 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2509
2510 * sysdeps/nios2/libm-test-ulps: Update.
2511
2512 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2513
2514 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2515 Fix order of arguments to the rt_sigprocmask syscall.
2516 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2517 Likewise.
2518
2519 2015-07-24 Roland McGrath <roland@hack.frob.com>
2520
2521 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2522
2523 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2524
2525 [BZ #18457]
2526 * nptl/Makefile (tests): New test case tst-join7.
2527 (modules-names): New test case module tst-join7mod.
2528 * nptl/tst-join7.c: New file.
2529 * nptl/tst-join7mod.c: New file.
2530 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2531 all translation units in libc.so, libpthread.so and rtld.
2532
2533 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2534
2535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2536
2537 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2538
2539 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2540 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2541 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2542 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2543 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2544 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2545 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2546 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2547 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2548 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2549 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2550 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2551 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2552 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2553 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2554 implementation.
2555
2556 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2557
2558 [BZ #17711]
2559 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2560 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2561 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2562 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2563 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2564 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2565
2566 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2567
2568 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2569 instead of just saying load lock in the comments.
2570
2571 2015-07-23 Roland McGrath <roland@hack.frob.com>
2572
2573 * sysdeps/unix/Subdirs: Moved ...
2574 * sysdeps/posix/Subdirs: ... here.
2575 * login/pty.h (struct termios, struct winsize): Add forward decls.
2576 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2577 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2578 * sysdeps/arm/nacl/libc.abilist: Updated.
2579 * sysdeps/nacl/libutil.abilist: New file.
2580
2581 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2582 (SIGWINCH): New macro.
2583
2584 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2585 * sysdeps/arm/nacl/libc.abilist: Add it.
2586
2587 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2588
2589 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2590
2591 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2592
2593 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2594 Swap __glibc_reserved0 and sa_flags order.
2595
2596 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
2598 [BZ #18657]
2599 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2600 are pending TLS destructor calls.
2601 * include/link.h (struct link_map): Add concurrency note for
2602 L_TLS_DTOR_COUNT.
2603 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2604 Don't touch the link map flag. Atomically increment
2605 l_tls_dtor_count.
2606 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2607 Avoid taking the load lock and don't touch the link map flag.
2608 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2609 * stdlib/Makefile (tests): Use it.
2610 * stdlib/tst-tls-atexit.c (do_test): dlopen
2611 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2612 to allow tst-tls-atexit-nodelete test case to use it.
2613
2614 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2615
2616 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2617 to bits/types.h.
2618 (msgqnum_t): New typedef.
2619 (msglen_t): Likewise.
2620 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2621 and msg_qbytes type to msglen_t.
2622
2623 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2624
2625 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2626 pad0 to __glibc_reserved0.
2627 (struct stat64): Likewise.
2628
2629 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2630
2631 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2632 Change sa_flags from a long to an int and add __glibc_reserved0 before
2633 it for padding.
2634
2635 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2636
2637 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2638 anonymous by deleting "siginfo" name.
2639
2640 2015-07-21 Roland McGrath <roland@hack.frob.com>
2641
2642 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2643 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2644 rather than __nacl_irt_filename.
2645 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2646
2647 * NEWS: New item for arm-nacl port.
2648 * sysdeps/arm/nacl/libc.abilist: New file.
2649 * sysdeps/nacl/ld.abilist: New file.
2650 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2651 * sysdeps/nacl/libanl.abilist: New file.
2652 * sysdeps/nacl/libcrypt.abilist: New file.
2653 * sysdeps/nacl/libdl.abilist: New file.
2654 * sysdeps/nacl/libm.abilist: New file.
2655 * sysdeps/nacl/libpthread.abilist: New file.
2656 * sysdeps/nacl/libresolv.abilist: New file.
2657 * sysdeps/nacl/librt.abilist: New file.
2658
2659 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2660
2661 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2662 __startcontext to initialize the new context.
2663 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2664 up CFI directive to forbid further backtracing.
2665
2666 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2667
2668 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2669 reference.
2670 * charmaps/ANSI_X3.4-1968: Likewise.
2671 * charmaps/BS_4730: Likewise.
2672 * charmaps/BS_VIEWDATA: Likewise.
2673 * charmaps/CP1250: Likewise.
2674 * charmaps/CP1251: Likewise.
2675 * charmaps/CP1252: Likewise.
2676 * charmaps/CP1253: Likewise.
2677 * charmaps/CP1254: Likewise.
2678 * charmaps/CP1255: Likewise.
2679 * charmaps/CP1256: Likewise.
2680 * charmaps/CSN_369103: Likewise.
2681 * charmaps/EBCDIC-DK-NO: Likewise.
2682 * charmaps/GB_1988-80: Likewise.
2683 * charmaps/GREEK-CCITT: Likewise.
2684 * charmaps/GREEK7: Likewise.
2685 * charmaps/INIS-8: Likewise.
2686 * charmaps/ISIRI-3342: Likewise.
2687 * charmaps/ISO_2033-1983: Likewise.
2688 * charmaps/ISO_5427-EXT: Likewise.
2689 * locales/POSIX: Likewise.
2690 * locales/ar_SA: Likewise.
2691 * locales/be_BY: Likewise.
2692 * locales/be_BY@latin: Likewise.
2693 * locales/ca_ES: Likewise.
2694 * locales/cs_CZ: Likewise.
2695 * locales/da_DK: Likewise.
2696 * locales/de_BE: Likewise.
2697 * locales/de_CH: Likewise.
2698 * locales/de_LU: Likewise.
2699 * locales/en_AU: Likewise.
2700 * locales/en_BW: Likewise.
2701 * locales/en_CA: Likewise.
2702 * locales/en_DK: Likewise.
2703 * locales/en_GB: Likewise.
2704 * locales/en_IE: Likewise.
2705 * locales/en_NZ: Likewise.
2706 * locales/en_ZA: Likewise.
2707 * locales/en_ZW: Likewise.
2708 * locales/es_AR: Likewise.
2709 * locales/es_BO: Likewise.
2710 * locales/es_CL: Likewise.
2711 * locales/es_CO: Likewise.
2712 * locales/es_DO: Likewise.
2713 * locales/es_EC: Likewise.
2714 * locales/es_ES: Likewise.
2715 * locales/es_HN: Likewise.
2716 * locales/es_MX: Likewise.
2717 * locales/es_PA: Likewise.
2718 * locales/es_PE: Likewise.
2719 * locales/es_PY: Likewise.
2720 * locales/es_SV: Likewise.
2721 * locales/es_US: Likewise.
2722 * locales/es_UY: Likewise.
2723 * locales/es_VE: Likewise.
2724 * locales/et_EE: Likewise.
2725 * locales/fa_IR: Likewise.
2726 * locales/fo_FO: Likewise.
2727 * locales/fr_CA: Likewise.
2728 * locales/fr_CH: Likewise.
2729 * locales/gv_GB: Likewise.
2730 * locales/he_IL: Likewise.
2731 * locales/hr_HR: Likewise.
2732 * locales/id_ID: Likewise.
2733 * locales/is_IS: Likewise.
2734 * locales/it_CH: Likewise.
2735 * locales/iw_IL: Likewise.
2736 * locales/kl_GL: Likewise.
2737 * locales/ko_KR: Likewise.
2738 * locales/kw_GB: Likewise.
2739 * locales/lg_UG: Likewise.
2740 * locales/lt_LT: Likewise.
2741 * locales/lv_LV: Likewise.
2742 * locales/mi_NZ: Likewise.
2743 * locales/nhn_MX: Likewise.
2744 * locales/nl_BE: Likewise.
2745 * locales/pl_PL: Likewise.
2746 * locales/sk_SK: Likewise.
2747 * locales/sl_SI: Likewise.
2748 * locales/sv_FI: Likewise.
2749 * locales/tl_PH: Likewise.
2750 * locales/tr_TR: Likewise.
2751 * locales/vi_VN: Likewise.
2752
2753 2015-07-21 Khem Raj <raj.khem@gmail.com>
2754
2755 [BZ #17475]
2756 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2757 of tu_IN and bh_IN.
2758
2759 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2760
2761 [BZ #18694]
2762 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2763 bits/wordsize.h.
2764 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2765
2766 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2767
2768 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2769 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2770 (spawn_thread): New function.
2771 (load): Rename to reg_dtor_and_close. Move dlopen to...
2772 (do_test): ... here. Use IS_LOADED to test for its
2773 availability.
2774
2775 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2776
2777 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2778
2779 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2780
2781 [BZ #18696]
2782 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2783 si_addr_bnd.
2784 (si_lower): New.
2785 (si_upper): Likewise.
2786
2787 2015-07-16 David S. Miller <davem@davemloft.net>
2788
2789 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2790
2791 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2792
2793 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2794 buffer.
2795 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2796 fail output information.
2797
2798 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2799
2800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2801 and strstr-ppc64..
2802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2803 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2804 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2805 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2806 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2807
2808 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2809
2810 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2811 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2812 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2813 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2814
2815 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2816
2817 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2818 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2819 rtld_hidden_proto.
2820 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2821
2822 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2823
2824 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2825 the test can fail.
2826
2827 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2828
2829 [BZ #18676]
2830 * elf/tst-nodelete-opened.c: New test case.
2831 * elf/tst-nodelete-opened-lib.c: New test case module.
2832 * elf/Makefile (tests, modules-names): Use them.
2833 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2834 early.
2835
2836 2015-07-15 David S. Miller <davem@davemloft.net>
2837
2838 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2839 futex-intenal.h
2840 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2841 * sysdeps/sparc/sparc64/Makefile: Likewise.
2842 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2843 Remove space from macro define.
2844 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2845
2846 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2847
2848 [BZ #17475]
2849 * locale/iso-639.def: Update Bhili and Tulu language codes as
2850 per iso639-3.
2851
2852 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2853
2854 * elf/tst-leaks1.c (main): Converted to ...
2855 (do_test): ... this.
2856 (TEST_FUNCTION): New macro.
2857 Include test-skeleton.c.
2858 * localedata/tst-langinfo.c (main): Converted to ...
2859 (do_test): ... this.
2860 (TEST_FUNCTION): New macro.
2861 Include test-skeleton.c.
2862 * math/test-fpucw.c (main): Converted to ...
2863 (do_test): ... this.
2864 (TEST_FUNCTION): New macro.
2865 Include test-skeleton.c.
2866 * math/test-tgmath.c (main): Converted to ...
2867 (do_test): ... this.
2868 (TEST_FUNCTION): New macro.
2869 Include test-skeleton.c.
2870 * math/test-tgmath2.c (main): Converted to ...
2871 (do_test): ... this.
2872 (TEST_FUNCTION): New macro.
2873 Include test-skeleton.c.
2874 * setjmp/tst-setjmp.c (main): Converted to ...
2875 (do_test): ... this.
2876 (TEST_FUNCTION): New macro.
2877 Include test-skeleton.c.
2878 * stdio-common/tst-sscanf.c (main): Converted to ...
2879 (do_test): ... this.
2880 (TEST_FUNCTION): New macro.
2881 Include test-skeleton.c.
2882 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2883 (do_test): ... this.
2884 (TEST_FUNCTION): New macro.
2885 Include test-skeleton.c.
2886
2887 * elf/tst-audit9.c (main): Converted to ...
2888 (do_test): ... this.
2889 (TEST_FUNCTION): New macro.
2890 Include test-skeleton.c.
2891
2892 2015-07-15 Mike Frysinger <vapier@gentoo.org>
2893
2894 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2895
2896 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2897
2898 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2899 New variable.
2900
2901 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2902
2903 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2904
2905 2015-07-14 Roland McGrath <roland@hack.frob.com>
2906
2907 * sysdeps/generic/dl-fileid.h: New file.
2908 * sysdeps/posix/dl-fileid.h: New file.
2909 * sysdeps/nacl/dl-fileid.h: New file.
2910 * include/link.h: Include <dl-fileid.h>.
2911 (struct link_map): Replace l_dev and l_ino with l_file_id.
2912 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2913 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
2914 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
2915
2916 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2917
2918 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2919
2920 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2921
2922 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2923 Add iff $CXX is set.
2924 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2925 Likewise.
2926 (tst-nodelete-zmodiff): Likewise.
2927 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2928
2929 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2930
2931 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2932
2933 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2934
2935 * sysdeps/aarch64/fpu/math_private.h
2936 (define math_opt_barrier): Add AArch64 version.
2937 (math_force_eval): Likewise.
2938
2939 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2940
2941 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2942
2943 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
2944
2945 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2946 %ld with %jd and cast to intmax_t.
2947 (do_test_length_zero): Likewise.
2948
2949 2015-07-10 Roland McGrath <roland@hack.frob.com>
2950
2951 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2952
2953 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
2954
2955 * sysdeps/tile/libm-test-ulps: Regenerated.
2956
2957 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2958 Comment out the whole function, not just its body.
2959
2960 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
2962 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2963 locks.
2964
2965 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2966
2967 2015-07-10 Torvald Riegel <triegel@redhat.com>
2968
2969 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2970 (sem_assume_only_signals_cause_futex_EINTR): Remove.
2971
2972 2015-07-10 Torvald Riegel <triegel@redhat.com>
2973
2974 * sysdeps/nptl/futex-internal.h: New file.
2975 * sysdeps/nacl/futex-internal.h: New file.
2976 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2977 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2978 error checking.
2979 (setxid_unmark_thread): Likewise.
2980 (__nptl_setxid): Likewise.
2981 (__wait_lookup_done): Likewise.
2982 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2983 * nptl/nptl-init.c (sighandler_setxid): Likewise.
2984 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2985 * nptl/pthread_once.c (clear_once_control): Likewise.
2986 (__pthread_once_slow): Likewise.
2987 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2988 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2989 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2990 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2991 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2992 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2993 Likewise.
2994 (__pthread_rwlock_rdlock): Likewise.
2995 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2996 Likewise.
2997 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2998 Likewise.
2999 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3000 Likewise.
3001 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3002 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3003 Likewise.
3004 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3005 __ASSUME_PRIVATE_FUTEX check.
3006 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3007 Check that shared futexes are supported.
3008 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3009 wrappers with error checking.
3010 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3011 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3012 * nptl/pthread_barrierattr_setpshared.c
3013 (pthread_barrierattr_setpshared): Check that shared futexes are
3014 supported.
3015 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3016 Likewise.
3017 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3018 Likewise.
3019 * nptl/sem_init.c (futex_private_if_supported): Remove.
3020 (__new_sem_init): Adapt and check that shared futexes are supported.
3021 * nptl/sem_open.c (sem_open): Likewise.
3022 * nptl/sem_post.c (futex_wake): Remove.
3023 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3024 (do_futex_wait): Use futex wrappers with error checking.
3025 * nptl/sem_wait.c: Include lowlevellock.h.
3026 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3027 Use futex_supports_pshared.
3028 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3029 Use futex wrappers with error checking.
3030 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3031 Likewise.
3032 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3033 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3034 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3035 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3036 (futex_wake): Likewise.
3037 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3038 (do_futex_wait): Use futex wrappers with error checking.
3039 (__new_sem_wait_slow): Update EINTR handling.
3040 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3041
3042 2015-07-09 Martin Sebor <msebor@redhat.com>
3043
3044 [BZ #18435]
3045 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3046 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3047 * nptl/Makefile (test-xfail-tst-once5): Define.
3048
3049 2015-07-09 Roland McGrath <roland@hack.frob.com>
3050
3051 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3052 * elf/dl-minimal.c: For readability, reorder some definitions and
3053 introduce more page breaks. Include <stdio.h>.
3054 (__libc_fatal): New function.
3055
3056 * include/unistd.h: Add rtld_hidden_proto for _exit.
3057 * posix/_exit.c: Add rtld_hidden_def.
3058 * sysdeps/mach/hurd/_exit.c: Likewise.
3059 * sysdeps/nacl/_exit.c: Likewise.
3060 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3061 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3062
3063 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3064
3065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3066 bndmov encoding with zero displacement.
3067
3068 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3069 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 [BZ #18134]
3072 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3073 * sysdeps/i386/configure: Regenerated.
3074 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3075 (_dl_runtime_profile): Save and restore Intel MPX return bound
3076 registers when calling _dl_call_pltexit. Add
3077 PRESERVE_BND_REGS_PREFIX before return.
3078 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3079 (LRV_BND1_OFFSET): Likewise.
3080 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3081 lrv_bnd1.
3082 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3083 typo in bndmov encoding.
3084 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3085 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3086 branch instructions to preserve bounds.
3087
3088 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3089
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3091 [GLIBC_2.22]: Add fmemopen.
3092
3093 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3094
3095 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3096 returns an error, also try to use host port from __mach_host_self for
3097 the __vm_wire call.
3098 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3099
3100 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3101
3102 [BZ #18400]
3103 [BZ #18648]
3104 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3105 Fix pr_uid and pr_gid members.
3106 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3107 definition to elf_greg_t.
3108
3109 2015-07-08 Roland McGrath <roland@hack.frob.com>
3110
3111 [BZ #18383]
3112 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3113 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3114 * sysdeps/arm/configure: Regenerated.
3115 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3116 (test-xfail-tst-tlsalign-static): Variable removed.
3117
3118 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3119 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3120 rather than explicit 'ln -s'.
3121
3122 * resolv/rpc/netdb.h: New file.
3123 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3124
3125 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3126
3127 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3128 length buffers.
3129 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3130 test-skeleton.c.
3131
3132 [BZ #6544]
3133 [BZ #11216]
3134 [BZ #12836]
3135 [BZ #13151]
3136 [BZ #13152]
3137 [BZ #14292]
3138 * include/stdio.h (fmemopen): Remove hidden prototype.
3139 (__fmemopen): Add new hidden prototype.
3140 * libio/Makefile: Add oldfmemopen object.
3141 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3142 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3143 compliance.
3144 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3145 symbol compatibility.
3146 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3147 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3148 fmemopen.
3149 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3150 on append and read mode.
3151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3152 fmemopen.
3153 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3154 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3155 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3156 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3157 Likewise.
3158 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3159 [GLIBC_2.22]: Likewise.
3160 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3161 Likewise.
3162 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3163 Likewise.
3164 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3165 [GLIBC_2.22]: Likewise.
3166 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3167 [GLIBC_2.22]: Likewise.
3168 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3169 [GLIBC_2.22]: Likewise.
3170 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3171 [GLIBC_2.22]: Likewise.
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3173 [GLIBC_2.22]: Likewise.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3175 [GLIBC_2.22]: Likewise.
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3177 [GLIBC_2.22]: Likewise.
3178 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3179 Likewise.
3180 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3181 Likewise.
3182 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3183 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3184 [GLIBC_2.22]: Likewise.
3185 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3186 [GLIBC_2.22]: Likewise.
3187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3188 [GLIBC_2.22]: Likewise.
3189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3190 [GLIBC_2.22]: Likewise.
3191 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3192 Likewise.
3193 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3196 Likewise.
3197 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3198 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3199
3200 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3201
3202 [BZ #18643]
3203 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3204 IPV6_PATHMTU, and IPV6_DONTFRAG.
3205
3206 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3207
3208 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3209 and _IO_UNBUFFERED.
3210 * libio/oldfileops.c: Likewise.
3211 * libio/wfileops.c: Likewise.
3212
3213 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3214
3215 * nscd/selinux.c: Delete selinux/flask.h include.
3216
3217 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3218
3219 [BZ #18641]
3220 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3221 (putpwent): Likewise.
3222 (getpwnam): Likewise.
3223 (getpwent_r): Likewise.
3224 (getpwuid_r): Likewise.
3225 (getpwnam_r): Likewise.
3226 (fgetpwent_r): Likewise.
3227
3228 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3229
3230 [BZ #18557]
3231 * inet/rcmd.c (__validuser2_sa): Check user first to
3232 short-circuit host check.
3233
3234 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3235 Mikhail Ilin <m.ilin@samsung.com>
3236
3237 [BZ #17833]
3238 * elf/Makefile (tests): Add tst-nodelete.
3239 (modules-names): Add tst-nodelete-uniquemod.
3240 (tst-nodelete-uniquemod.so-no-z-defs): New.
3241 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3242 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3243 ($(objpfx)tst-nodelete): Likewise.
3244 ($(objpfx)tst-nodelete.out): Likewise.
3245 (LDFLAGS-tst-nodelete): Likewise.
3246 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3247 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3248 implement forced object deletion.
3249 (_dl_close): Pass false to _dl_close_worker.
3250 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3251 * elf/tst-nodelete.cc: New file.
3252 * elf/tst-nodeletelib.cc: Likewise.
3253 * elf/tst-znodeletelib.cc: Likewise.
3254 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3255
3256 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3257
3258 [BZ #18508]
3259 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3260 Depend on $(libdl).
3261 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3262 is not called infinitely times.
3263 (backtrace_helper): New function.
3264 (trace_arg): New struct.
3265 (st1): Enlarge stack size.
3266 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3267 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3268 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3269 Likewise.
3270
3271 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3272
3273 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3274
3275 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3276
3277 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3278 Include sys/types.h instead of bits/types.h.
3279 Remove inclusion of bits/wordsize.h.
3280
3281 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3282
3283 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3284 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3285 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3286 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3287 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3288 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3289
3290 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3291
3292 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3293 link-defines.sym.
3294 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3295 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3296 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3297 and LR_SIZE.
3298 * sysdeps/i386/link-defines.sym: New file.
3299
3300 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3301
3302 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3303 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3304 ($(objpfx)tst-audit3): New rule.
3305 ($(objpfx)tst-audit3.out): Likewise.
3306 * sysdeps/i386/tst-audit3.c: New file.
3307 * sysdeps/i386/tst-audit3.h: Likewise.
3308 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3309 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3310
3311 2015-07-07 Torvald Riegel <triegel@redhat.com>
3312
3313 [BZ #18633]
3314 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3315 pointer in C code.
3316 (__strcat_c): Likewise.
3317 (__strcat_g): Likewise.
3318
3319 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3320
3321 [BZ #18592]
3322 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3323
3324 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3325
3326 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3327 New function. (__ieee754_sqrtf): New function.
3328 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3329 New function.
3330 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3331 New function.
3332
3333 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3334
3335 * sysdeps/ieee754/support.c: Remove unused file.
3336
3337 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3338
3339 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3340 registers instead of d ones so the layout is kernel abi compatible.
3341 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3342 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3343 Likewise.
3344
3345 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3346
3347 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3348
3349 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3350
3351 [BZ #18619]
3352 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3353 and return argument in case of subnormal argument.
3354
3355 2015-07-01 Martin Sebor <msebor@redhat.com>
3356
3357 [BZ #18435]
3358 * nptl/Makefile: Add tst-once5.cc.
3359 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3360 Remove macro redefinitions.
3361 * nptl/tst-once5.cc: New test.
3362
3363 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3364
3365 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3366
3367 * sysdeps/arm/libm-test-ulps: Regenerated.
3368
3369 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3370 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3371
3372 2015-06-30 Torvald Riegel <triegel@redhat.com>
3373
3374 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3375 lll_lock_wait_private and lll_futex_wake probes.
3376
3377 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3378 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3379 Likewise.
3380 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3381 atomic_spin_nop.
3382 * sysdeps/x86_64/bits/atomic.h: Likewise.
3383 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3384 to atomic_spin_nop and move ...
3385 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3386 ... here and ...
3387 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3388 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3389 atomic_spin_nop instead of BUSY_WAIT_NOP.
3390 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3391 Likewise.
3392 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3393 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3394 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3395 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3396 instead of atomic_delay.
3397
3398 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3399
3400 [BZ #18613]
3401 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3402 X_ADJ not X when adjusting exponent.
3403 (__ieee754_gamma_r): Do intermediate computations in
3404 round-to-nearest then adjust overflowing and underflowing results
3405 as needed.
3406 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3407 of X_ADJ not X when adjusting exponent.
3408 (__ieee754_gammaf_r): Do intermediate computations in
3409 round-to-nearest then adjust overflowing and underflowing results
3410 as needed.
3411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3412 log of X_ADJ not X when adjusting exponent.
3413 (__ieee754_gammal_r): Do intermediate computations in
3414 round-to-nearest then adjust overflowing and underflowing results
3415 as needed. Use 1.0L not 1.0f as numerator of division.
3416 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3417 log of X_ADJ not X when adjusting exponent.
3418 (__ieee754_gammal_r): Do intermediate computations in
3419 round-to-nearest then adjust overflowing and underflowing results
3420 as needed. Use 1.0L not 1.0f as numerator of division.
3421 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3422 of X_ADJ not X when adjusting exponent.
3423 (__ieee754_gammal_r): Do intermediate computations in
3424 round-to-nearest then adjust overflowing and underflowing results
3425 as needed. Use 1.0L not 1.0f as numerator of division.
3426 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3427 to auto-libm-test-in.
3428 (tgamma_test): Use ALL_RM_TEST.
3429 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3430 tests of tgamma with spurious-overflow.
3431 * math/auto-libm-test-out: Regenerated.
3432 * math/gen-libm-have-vector-test.sh: Do not check for START.
3433 * sysdeps/i386/fpu/libm-test-ulps: Update.
3434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3435
3436 [BZ #18612]
3437 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3438 arguments, just return 0.5 times the argument, with underflow
3439 forced as needed.
3440 * math/auto-libm-test-in: Add more tests of j1.
3441 * math/auto-libm-test-out: Regenerated.
3442
3443 [BZ #16559]
3444 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3445 (__ieee754_j1): Force underflow exception for small results.
3446 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3447 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3448 (__ieee754_j1f): Force underflow exception for small results.
3449 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3450 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3452 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3453 (__ieee754_j1l): Force underflow exception for small results.
3454 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3455 * math/auto-libm-test-in: Add more tests of j1 and jn.
3456 * math/auto-libm-test-out: Regenerated.
3457
3458 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3459 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3460 (PF_MPLS): Likewise.
3461 (AF_IB): Likewise.
3462 (AF_MPLS): Likewise.
3463 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3464 value and macro.
3465 (MS_RMT_MASK): Include MS_LAZYTIME.
3466
3467 2015-06-26 Mel Gorman <mgorman@suse.de>
3468
3469 [BZ #18502]
3470 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3471 already minimal.
3472
3473 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3474
3475 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3476 (DT_MIPS_NUM): Update.
3477 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3478 DT_MIPS_RLD_MAP_REL.
3479
3480 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3481
3482 [BZ #16559]
3483 [BZ #18602]
3484 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3485 round-to-nearest internally then recompute results that
3486 underflowed to zero in the original rounding mode.
3487 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3488 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3491 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3492 * sysdeps/i386/fpu/libm-test-ulps: Update.
3493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3494
3495 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3496
3497 * NEWS: Fixed description of link with vector math library.
3498
3499 2015-06-25 Andreas Schwab <schwab@suse.de>
3500
3501 [BZ #18549]
3502 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3503 * libio/test-fmemopen.c (do_test): Add test for it.
3504
3505 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3506
3507 [BZ #17841]
3508 * Makeconfig (no-pie-ldflag): New.
3509 (+link): Set to $(+link-pie) if default to PIE.
3510 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3511 * config.make.in (build-pie-default): New.
3512 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3513 is default. AC_SUBST.
3514 * configure: Regenerated.
3515 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3516
3517 2015-06-24 Roland McGrath <roland@hack.frob.com>
3518
3519 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3520 to 'unsigned int'.
3521
3522 * resolv/gai_misc.h (struct waitlist): Change type of field
3523 counterp to 'volatile unsigned int *'.
3524 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3525 FUTEXADDR and OLDVAL.
3526 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3527 Give local variable TOTAL type 'volatile unsigned int'.
3528 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3529 * resolv/gai_suspend.c (gai_suspend):
3530 Give local variable CNTR type 'unsigned int'.
3531
3532 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3533 counterp to 'volatile unsigned int *'.
3534 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3535 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3536 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3537 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3538 Give local variable TOTAL type 'volatile unsigned int'.
3539 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3540
3541 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3542
3543 [BZ #18383]
3544 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3545 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3546 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3547 comment for i386/x86-64.
3548 (test-xfail-tst-tlsalign-extern-static): Removed.
3549
3550 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3551
3552 * math/test-double.h: New file.
3553 * math/test-float.h: Likewise.
3554 * math/test-ldouble.h: Likewise.
3555 * math/test-math-inline.h: Likewise.
3556 * math/test-math-no-inline.h: Likewise.
3557 * math/test-math-scalar.h: Likewise.
3558 * math/test-math-vector.h: Likewise.
3559 * math/test-vec-loop.h: Remove file. Contents moved into
3560 test-math-vector.h.
3561 * math/libm-test.inc (MATHCONST): Do not document macro.
3562 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3563 and test-math-scalar.h.
3564 (FUNC): Remove macro.
3565 (FUNC_TEST): Likewise.
3566 (FLOAT): Likewise.
3567 (MATHCONST): Likewise.
3568 (PRINTF_EXPR): Likewise.
3569 (PRINTF_XEXPR): Likewise.
3570 (PRINTF_NEXPR): Likewise.
3571 (TEST_DOUBLE): Likewise.
3572 (TEST_MATHVEC): Likewise.
3573 (__NO_MATH_INLINES): Likewise.
3574 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3575 and test-math-scalar.h.
3576 (FUNC): Remove macro.
3577 (FUNC_TEST): Likewise.
3578 (FLOAT): Likewise.
3579 (MATHCONST): Likewise.
3580 (PRINTF_EXPR): Likewise.
3581 (PRINTF_XEXPR): Likewise.
3582 (PRINTF_NEXPR): Likewise.
3583 (TEST_FLOAT): Likewise.
3584 (TEST_MATHVEC): Likewise.
3585 (__NO_MATH_INLINES): Likewise.
3586 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3587 and test-math-scalar.h.
3588 (FUNC): Remove macro.
3589 (FUNC_TEST): Likewise.
3590 (FLOAT): Likewise.
3591 (MATHCONST): Likewise.
3592 (PRINTF_EXPR): Likewise.
3593 (PRINTF_XEXPR): Likewise.
3594 (PRINTF_NEXPR): Likewise.
3595 (TEST_DOUBLE): Likewise.
3596 (TEST_MATHVEC): Likewise.
3597 (TEST_INLINE): Likewise.
3598 (__NO_MATH_INLINES): Likewise.
3599 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3600 test-math-scalar.h.
3601 (FUNC): Remove macro.
3602 (FUNC_TEST): Likewise.
3603 (FLOAT): Likewise.
3604 (MATHCONST): Likewise.
3605 (PRINTF_EXPR): Likewise.
3606 (PRINTF_XEXPR): Likewise.
3607 (PRINTF_NEXPR): Likewise.
3608 (TEST_FLOAT): Likewise.
3609 (TEST_MATHVEC): Likewise.
3610 (TEST_INLINE): Likewise.
3611 (__NO_MATH_INLINES): Likewise.
3612 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3613 and test-math-scalar.h.
3614 (FUNC): Remove macro.
3615 (FUNC_TEST): Likewise.
3616 (FLOAT): Likewise.
3617 (MATHCONST): Likewise.
3618 (PRINTF_EXPR): Likewise.
3619 (PRINTF_XEXPR): Likewise.
3620 (PRINTF_NEXPR): Likewise.
3621 (TEST_LDOUBLE): Likewise.
3622 (TEST_MATHVEC): Likewise.
3623 (TEST_INLINE): Likewise.
3624 (__NO_MATH_INLINES): Likewise.
3625 * math/test-ldouble.c: Include test-ldouble.h,
3626 test-math-no-inline.h and test-math-scalar.h.
3627 (FUNC): Remove macro.
3628 (FUNC_TEST): Likewise.
3629 (FLOAT): Likewise.
3630 (MATHCONST): Likewise.
3631 (PRINTF_EXPR): Likewise.
3632 (PRINTF_XEXPR): Likewise.
3633 (PRINTF_NEXPR): Likewise.
3634 (TEST_LDOUBLE): Likewise.
3635 (TEST_MATHVEC): Likewise.
3636 (__NO_MATH_INLINES): Likewise.
3637 * math/test-double-vlen2.h: Include test-double.h,
3638 test-math-no-inline.h and test-math-vector.h.
3639 (FLOAT): Remove macro.
3640 (FUNC): Likewise.
3641 (MATHCONST): Likewise.
3642 (PRINTF_EXPR): Likewise.
3643 (PRINTF_XEXPR): Likewise.
3644 (PRINTF_NEXPR): Likewise.
3645 (TEST_DOUBLE): Likewise.
3646 (TEST_MATHVEC): Likewise.
3647 (__NO_MATH_INLINES): Likewise.
3648 (CNCT): Likewise.
3649 (CONCAT): Likewise.
3650 (WRAPPER_NAME): Likewise.
3651 (WRAPPER_DECL): Likewise.
3652 (WRAPPER_DECL_ff): Likewise.
3653 (WRAPPER_DECL_fFF): Likewise.
3654 (VECTOR_WRAPPER): Likewise.
3655 (VECTOR_WRAPPER_ff): Likewise.
3656 (VECTOR_WRAPPER_fFF): Likewise.
3657 (VEC_LEN): New macro.
3658 * math/test-double-vlen4.h: Include test-double.h,
3659 test-math-no-inline.h and test-math-vector.h.
3660 (FLOAT): Remove macro.
3661 (FUNC): Likewise.
3662 (MATHCONST): Likewise.
3663 (PRINTF_EXPR): Likewise.
3664 (PRINTF_XEXPR): Likewise.
3665 (PRINTF_NEXPR): Likewise.
3666 (TEST_DOUBLE): Likewise.
3667 (TEST_MATHVEC): Likewise.
3668 (__NO_MATH_INLINES): Likewise.
3669 (CNCT): Likewise.
3670 (CONCAT): Likewise.
3671 (WRAPPER_NAME): Likewise.
3672 (WRAPPER_DECL): Likewise.
3673 (WRAPPER_DECL_ff): Likewise.
3674 (WRAPPER_DECL_fFF): Likewise.
3675 (VECTOR_WRAPPER): Likewise.
3676 (VECTOR_WRAPPER_ff): Likewise.
3677 (VECTOR_WRAPPER_fFF): Likewise.
3678 (VEC_LEN): New macro.
3679 * math/test-double-vlen8.h: Include test-double.h,
3680 test-math-no-inline.h and test-math-vector.h.
3681 (FLOAT): Remove macro.
3682 (FUNC): Likewise.
3683 (MATHCONST): Likewise.
3684 (PRINTF_EXPR): Likewise.
3685 (PRINTF_XEXPR): Likewise.
3686 (PRINTF_NEXPR): Likewise.
3687 (TEST_DOUBLE): Likewise.
3688 (TEST_MATHVEC): Likewise.
3689 (__NO_MATH_INLINES): Likewise.
3690 (CNCT): Likewise.
3691 (CONCAT): Likewise.
3692 (WRAPPER_NAME): Likewise.
3693 (WRAPPER_DECL): Likewise.
3694 (WRAPPER_DECL_ff): Likewise.
3695 (WRAPPER_DECL_fFF): Likewise.
3696 (VECTOR_WRAPPER): Likewise.
3697 (VECTOR_WRAPPER_ff): Likewise.
3698 (VECTOR_WRAPPER_fFF): Likewise.
3699 (VEC_LEN): New macro.
3700 * math/test-float-vlen4.h: Include test-float.h,
3701 test-math-no-inline.h and test-math-vector.h.
3702 (FLOAT): Remove macro.
3703 (FUNC): Likewise.
3704 (MATHCONST): Likewise.
3705 (PRINTF_EXPR): Likewise.
3706 (PRINTF_XEXPR): Likewise.
3707 (PRINTF_NEXPR): Likewise.
3708 (TEST_FLOAT): Likewise.
3709 (TEST_MATHVEC): Likewise.
3710 (__NO_MATH_INLINES): Likewise.
3711 (CNCT): Likewise.
3712 (CONCAT): Likewise.
3713 (WRAPPER_NAME): Likewise.
3714 (WRAPPER_DECL): Likewise.
3715 (WRAPPER_DECL_ff): Likewise.
3716 (WRAPPER_DECL_fFF): Likewise.
3717 (VECTOR_WRAPPER): Likewise.
3718 (VECTOR_WRAPPER_ff): Likewise.
3719 (VECTOR_WRAPPER_fFF): Likewise.
3720 (VEC_LEN): New macro.
3721 * math/test-float-vlen8.h: Include test-float.h,
3722 test-math-no-inline.h and test-math-vector.h.
3723 (FLOAT): Remove macro.
3724 (FUNC): Likewise.
3725 (MATHCONST): Likewise.
3726 (PRINTF_EXPR): Likewise.
3727 (PRINTF_XEXPR): Likewise.
3728 (PRINTF_NEXPR): Likewise.
3729 (TEST_FLOAT): Likewise.
3730 (TEST_MATHVEC): Likewise.
3731 (__NO_MATH_INLINES): Likewise.
3732 (CNCT): Likewise.
3733 (CONCAT): Likewise.
3734 (WRAPPER_NAME): Likewise.
3735 (WRAPPER_DECL): Likewise.
3736 (WRAPPER_DECL_ff): Likewise.
3737 (WRAPPER_DECL_fFF): Likewise.
3738 (VECTOR_WRAPPER): Likewise.
3739 (VECTOR_WRAPPER_ff): Likewise.
3740 (VECTOR_WRAPPER_fFF): Likewise.
3741 (VEC_LEN): New macro.
3742 * math/test-float-vlen16.h: Include test-float.h,
3743 test-math-no-inline.h and test-math-vector.h.
3744 (FLOAT): Remove macro.
3745 (FUNC): Likewise.
3746 (MATHCONST): Likewise.
3747 (PRINTF_EXPR): Likewise.
3748 (PRINTF_XEXPR): Likewise.
3749 (PRINTF_NEXPR): Likewise.
3750 (TEST_FLOAT): Likewise.
3751 (TEST_MATHVEC): Likewise.
3752 (__NO_MATH_INLINES): Likewise.
3753 (CNCT): Likewise.
3754 (CONCAT): Likewise.
3755 (WRAPPER_NAME): Likewise.
3756 (WRAPPER_DECL): Likewise.
3757 (WRAPPER_DECL_ff): Likewise.
3758 (WRAPPER_DECL_fFF): Likewise.
3759 (VECTOR_WRAPPER): Likewise.
3760 (VECTOR_WRAPPER_ff): Likewise.
3761 (VECTOR_WRAPPER_fFF): Likewise.
3762 (VEC_LEN): New macro.
3763 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3764 test-vec-loop.h.
3765 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3766 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3767 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3768 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3769 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3770 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3771 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3772
3773 2015-06-24 Roland McGrath <roland@hack.frob.com>
3774
3775 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3776 (__getlogin_r): ... this.
3777
3778 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3779
3780 [BZ #18594]
3781 * math/s_ccosh.c (__ccosh): Compare with least normal value
3782 instead of comparing class with FP_SUBNORMAL.
3783 * math/s_ccoshf.c (__ccoshf): Likewise.
3784 * math/s_ccoshl.c (__ccoshl): Likewise.
3785 * math/s_cexp.c (__cexp): Likewise.
3786 * math/s_cexpf.c (__cexpf): Likewise.
3787 * math/s_cexpl.c (__cexpl): Likewise.
3788 * math/s_csin.c (__csin): Likewise.
3789 * math/s_csinf.c (__csinf): Likewise.
3790 * math/s_csinh.c (__csinh): Likewise.
3791 * math/s_csinhf.c (__csinhf): Likewise.
3792 * math/s_csinhl.c (__csinhl): Likewise.
3793 * math/s_csinl.c (__csinl): Likewise.
3794 * math/s_ctan.c (__ctan): Likewise.
3795 * math/s_ctanf.c (__ctanf): Likewise.
3796 * math/s_ctanh.c (__ctanh): Likewise.
3797 * math/s_ctanhf.c (__ctanhf): Likewise.
3798 * math/s_ctanhl.c (__ctanhl): Likewise.
3799 * math/s_ctanl.c (__ctanl): Likewise.
3800 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3801 csin, csinh, ctan and ctanh.
3802 * math/auto-libm-test-out: Regenerated.
3803 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3804 * sysdeps/i386/fpu/libm-test-ulps: Update.
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3806
3807 2015-06-24 Roland McGrath <roland@hack.frob.com>
3808
3809 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3810 return value is wrong, print the expected value too.
3811
3812 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3813
3814 [BZ #18585]
3815 * elf/readlib.c (is_gdb_python_file): New.
3816 (process_file): Don't issue errors on filenames with -gdb.py
3817 suffix.
3818
3819 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3820
3821 * math/auto-libm-test-in: Add more tests of csin and csinh.
3822 * math/auto-libm-test-out: Regenerated.
3823 * math/libm-test.inc (csin_test_data): Remove tests moved to
3824 auto-libm-test-in.
3825 (csinh_test_data): Likewise.
3826
3827 [BZ #18593]
3828 * math/s_csin.c (__csin): Negate before rather than after possibly
3829 overflowing multiplication.
3830 * math/s_csinf.c (__csinf): Likewise.
3831 * math/s_csinh.c (__csinh): Likewise.
3832 * math/s_csinhf.c (__csinhf): Likewise.
3833 * math/s_csinhl.c (__csinhl): Likewise.
3834 * math/s_csinl.c (__csinl): Likewise.
3835 * math/auto-libm-test-in: Add some tests of csin and csinh.
3836 * math/auto-libm-test-out: Regenerated.
3837 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3838 (csinh_test_data): Likewise.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3840
3841 [BZ #18586]
3842 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3843 underflow exception for small results.
3844
3845 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3846
3847 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3848 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3849 variable and included header.
3850 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3851 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3852 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3853 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3854 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3855 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3856 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3857 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3858 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3859 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3860 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3861 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3862 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3863 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3864 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3865 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3866
3867 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3868
3869 [BZ #16526]
3870 [BZ #16538]
3871 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3872 (__sin): Force underflow exception for arguments with small
3873 absolute value.
3874 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3875 (__kernel_sinf): Force underflow exception for arguments with
3876 small absolute value.
3877 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3878 (__kernel_sincosl): Force underflow exception for arguments with
3879 small absolute value.
3880 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3881 (__kernel_sinl): Force underflow exception for arguments with
3882 small absolute value.
3883 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3884 (__kernel_sincosl): Force underflow exception for arguments with
3885 small absolute value.
3886 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3887 (__kernel_sinl): Force underflow exception for arguments with
3888 small absolute value.
3889 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3890 (__kernel_sinl): Force underflow exception for arguments with
3891 small absolute value.
3892 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3893 (__kernel_sinf): Force underflow exception for arguments with
3894 small absolute value.
3895 * math/auto-libm-test-in: Add more tests of sin and sincos.
3896 * math/auto-libm-test-out: Regenerated.
3897
3898 [BZ #18245]
3899 [BZ #18583]
3900 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3901 (__kernel_standard_l): Use feholdexcept and fesetenv around
3902 conversion to double instead of special-casing overflow and
3903 underflow.
3904 * math/libm-test.inc (fmod_test_data): Add more tests.
3905 (remainder_test_data): Likewise.
3906 (sqrt_test_data): Likewise.
3907
3908 2015-06-23 Torvald Riegel <triegel@redhat.com>
3909
3910 [BZ #17403]
3911 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3912 atomic_read_barrier, atomic_write_barrier): Define.
3913 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3914 atomic_read_barrier, atomic_write_barrier): Define.
3915
3916 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3917
3918 * math/Makefile [$(PERL) != no]
3919 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3920 dependency on libm-test.stmp below the inclusion of Rules.
3921
3922 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
3923
3924 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3925 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3926 and included header.
3927 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3928 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3929 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3930 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3931 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3932 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3933 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3934 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3935 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3936 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3937 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3938 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3939 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3940 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3941 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3942 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3943 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3944 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3945 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3946
3947 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3948
3949 [BZ #18371]
3950 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3951 intermediate but not final result might underflow.
3952 * math/s_csqrtf.c (__csqrtf): Likewise.
3953 * math/s_csqrtl.c (__csqrtl): Likewise.
3954 * math/auto-libm-test-in: Add more tests of csqrt.
3955 * math/auto-libm-test-out: Regenerated.
3956 * sysdeps/i386/fpu/libm-test-ulps: Update.
3957
3958 [BZ #18219]
3959 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3960 threshold on absolute value of exponent for which scaling is used.
3961 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3962 * math/auto-libm-test-in: Add more tests of exp2.
3963 * math/auto-libm-test-out: Regenerated.
3964
3965 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
3966
3967 [BZ #17977]
3968 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3969 when initializing interface list, based on the bug analysis
3970 and the patch proposed by Eric Newton.
3971 * resolv/tst-res_hconf_reorder.c: New test.
3972 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3973 tst-res_hconf_reorder.
3974 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3975 and $(shared-thread-library).
3976 (tst-res_hconf_reorder-ENV): New variable.
3977
3978 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3979 in comment.
3980
3981 2015-06-22 Joseph Myers <joseph@codesourcery.com>
3982
3983 [BZ #16353]
3984 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3985 (__expm1): Force underflow exception for arguments with small
3986 absolute value.
3987 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3988 (__expm1f): Force underflow exception for arguments with small
3989 absolute value.
3990 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3991 (__expm1): Force underflow exception for arguments with small
3992 absolute value.
3993 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3994 (__expm1f): Force underflow exception for arguments with small
3995 absolute value.
3996 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3997 Check for small arguments before calling __expm1.
3998 * math/auto-libm-test-in: Do not mark underflow exceptions as
3999 possibly missing for bug 16353.
4000 * math/auto-libm-test-out: Regenerated.
4001
4002 2015-06-22 Andreas Schwab <schwab@suse.de>
4003
4004 [BZ #18513]
4005 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4006 PTR queries.
4007
4008 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4009
4010 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4011
4012 * string/strcoll_l.c: Remove unused struct element idxnow.
4013
4014 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4015
4016 [BZ #18569]
4017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4018 underflow and return argument in case of subnormal argument.
4019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4020 Likewise.
4021 * math/auto-libm-test-in: Add more tests of expm1.
4022 * math/auto-libm-test-out: Regenerated.
4023
4024 [BZ #16361]
4025 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4026 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4027 tiny results.
4028 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4029 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4030 tiny results.
4031 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4032 mark underflow exceptions as possibly missing for bug 16361.
4033 * math/auto-libm-test-out: Regenerated.
4034
4035 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4036
4037 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4038 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4039 Remove variable.
4040 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4041 (test-xfail-XOPEN2K8/utmpx.h/conform).
4042
4043 * conform/conformtest.pl ($xerrors): New variable.
4044 (note_error): New function.
4045 (compiletest): New argument $xfail. Use not_error.
4046 (runtest): Likewise.
4047 (top level): Handle xfail- lines. Update calls to compiletest and
4048 runtest. Handle xfail- and optional- in headers listed with
4049 allow-header.
4050 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4051 (O_EXEC): Likewise.
4052 (O_SEARCH): Likewise.
4053 * conform/data/stropts.h-data (ioctl): Likewise.
4054 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4055 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4056 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4057 (msghdr.msg_controllen): Likewise.
4058 (cmsghdr.cmsg_len): Likewise.
4059 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4060 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4061 variable.
4062 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4063 (test-xfail-XPG4/stropts.h/conform): Likewise.
4064 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4065 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4066 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4067 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4068 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4069 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4070 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4071 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4072 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4073 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4074 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4075 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4076 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4077 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4078 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4079 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4080 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4081 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4082 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4083
4084 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4085
4086 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4087 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4088 definitions for proper unfolding of __MATHDECL_VEC.
4089
4090 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4091
4092 * benchtests/bench-strcoll.c:
4093 Include string.h.
4094 (main): Remove unused variable res.
4095
4096 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4097
4098 * timezone/Makefile (%/UTC %/Universal):
4099 Generate test-result files for UTC and Universal.
4100
4101 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4102
4103 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4104
4105 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4106
4107 [BZ #16350]
4108 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4109 for arguments with small absolute value.
4110 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4111 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4112 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4113 (__asinh): Force underflow exception for arguments with small
4114 absolute value.
4115 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4116 (__asinhf): Force underflow exception for arguments with small
4117 absolute value.
4118 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4119 (__asinhl): Force underflow exception for arguments with small
4120 absolute value.
4121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4122 (__asinhl): Force underflow exception for arguments with small
4123 absolute value.
4124 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4125 (__asinhl): Force underflow exception for arguments with small
4126 absolute value.
4127 * math/auto-libm-test-in: Do not mark underflow exceptions as
4128 possibly missing for bug 16350.
4129 * math/auto-libm-test-out: Regenerated.
4130
4131 * include/bits/ipc.h: Remove file.
4132 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4133 variable.
4134 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4135 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4136 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4137 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4138 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4139 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4140 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4141 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4142 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4143
4144 * math/auto-libm-test-in: Remove spurious underflow allowance for
4145 tests of cexp.
4146 * math/auto-libm-test-out: Regenerated.
4147
4148 [BZ #18558]
4149 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4150 unconditional definition.
4151 (MCAST_BLOCK_SOURCE): Likewise.
4152 (MCAST_UNBLOCK_SOURCE): Likewise.
4153 (MCAST_LEAVE_GROUP): Likewise.
4154 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4155 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4156 (MCAST_MSFILTER): Likewise.
4157 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4158 Remove variable.
4159 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4160 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4161 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4162 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4163 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4164
4165 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4166
4167 * NEWS: Mention addition of x86_64 vector sincosf.
4168 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4169 * math/test-float-vlen4.h: Likewise.
4170 * math/test-float-vlen8.h: Likewise.
4171 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4172 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4173 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4174 * sysdeps/x86_64/fpu/Versions: New versions added.
4175 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4176 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4177 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4178 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4179 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4180 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4181 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4182 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4183 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4184 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4185 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4186 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4187 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4188 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4189 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4190 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4191 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4192 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4193 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4194 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4195 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4196 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4197 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4198 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4199
4200 * NEWS: Mention addition of x86_64 vector sincos.
4201 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4202 * math/math.h (__MATHDECL_VEC): New macro.
4203 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4204 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4205 declaration under condition.
4206 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4207 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4208 TEST_VEC_LOOP change.
4209 * math/test-double-vlen4.h: Likewise.
4210 * math/test-double-vlen8.h: Likewise.
4211 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4212 * math/test-float-vlen4.h: Likewise.
4213 * math/test-float-vlen8.h: Likewise.
4214 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4215 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4216 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4217 * sysdeps/x86_64/fpu/Versions: New versions added.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4219 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4220 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4221 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4224 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4225 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4226 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4227 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4228 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4229 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4230 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4231 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4232 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4233 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4234 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4235 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4236 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4237 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4238 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4239 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4240 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4241 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4242
4243 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4244 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4245 redirections for powf.
4246 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4247 * sysdeps/x86_64/fpu/Versions: New versions added.
4248 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4249 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4250 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4251 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4252 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4253 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4254 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4255 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4256 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4257 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4258 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4259 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4260 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4261 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4262 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4263 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4264 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4265 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4266 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4267 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4268 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4269 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4270 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4271 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4272 * math/test-float-vlen16.h: Fixed 2 argument macro.
4273 * math/test-float-vlen4.h: Likewise.
4274 * math/test-float-vlen8.h: Likewise.
4275 * NEWS: Mention addition of x86_64 vector powf.
4276
4277 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4278
4279 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4280 and redefine.
4281 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4282 and redefine.
4283 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4284 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4286
4287 [BZ #18553]
4288 * resource/getpriority.c (getpriority): Rename to __getpriority
4289 and define as weak alias of __getpriority.
4290 * resource/setpriority.c (setpriority): Rename to __setpriority
4291 and define as weak alias of __setpriority.
4292 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4293 __getpriority and define as weak alias of __getpriority.
4294 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4295 __setpriority and define as weak alias of __setpriority.
4296 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4297 strong name.
4298 (setpriority): Use __setpriority as strong name.
4299 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4300 __getpriority and define as weak alias of __getpriority.
4301 * include/sys/resource.h (__getpriority): Declare. Use
4302 libc_hidden_proto.
4303 (__setpriority): Likewise.
4304 (getpriority): Don't use libc_hidden_proto.
4305 (setpriority): Likewise.
4306 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4307 getpriority. Call __setpriority instead of setpriority.
4308 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4309 Remove variable.
4310
4311 [BZ #18547]
4312 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4313 as weak alias of __getttynam. Use prototype function definition.
4314 Call __setttyent, __getttyent and __endttyent instead of
4315 setttyent, getttyent and endttyent.
4316 (getttyent): Rename to __getttyent and define as weak alias of
4317 __getttyent. Call __setttyent instead of setttyent. Call
4318 __fgets_unlocked instead of fgets_unlocked.
4319 (setttyent): Rename to __setttyent and define as weak alias of
4320 __setttyent.
4321 (endttyent): Rename to __endttyent and define as weak alias of
4322 __endttyent.
4323 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4324 (__setttyent): Likewise.
4325 (__endttyent): Likewise.
4326 (getttyent): Don't use libc_hidden_proto.
4327 (setttyent): Likewise.
4328 (endttyent): Likewise.
4329 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4330 __endttyent instead of setttyent, getttyent and endttyent.
4331 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4332 Remove variable.
4333
4334 [BZ #18546]
4335 * socket/recv.c (__recv): Use libc_hidden_def.
4336 * socket/socket.c (__socket): Likewise.
4337 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4338 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4339 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4340 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4341 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4342 libc_hidden_def.
4343 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4344 libc_hidden_weak.
4345 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4346 Use libc_hidden_proto.
4347 (__recv): Likewise.
4348 * socket/Versions (libc): Export __recv and __socket at version
4349 GLIBC_PRIVATE.
4350 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4351 instead of recv.
4352 (init_mq_netlink): Call __socket instead of socket.
4353 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4354 Remove variable.
4355
4356 [BZ #18545]
4357 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4358 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4359 hidden_weak.
4360 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4361 define as alias of __mq_timedsend. Use hidden_weak.
4362 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4363 __mq_timedsend as strong name.
4364 (mq_timedreceive): Use __mq_timedreceive as strong name.
4365 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4366 (__mq_timedreceive): Likewise.
4367 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4368 __mq_timedreceive instead of mq_timedreceive.
4369 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4370 instead of mq_timedsend.
4371 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4372 Remove variable.
4373
4374 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4375 hidden_def and hidden_weak instead of libc_hidden_def and
4376 libc_hidden_weak.
4377 (top level): Refer to hidden_def in comment.
4378 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4379 macro. Use it instead of libc_hidden_def.
4380 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4381 specify __GI_* name explicitly.
4382 (mq_timedreceive): Likewise.
4383 (mq_setattr): Likewise.
4384
4385 [BZ #18544]
4386 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4387 __pthread_barrier_init and define as weak alias of
4388 __pthread_barrier_init.
4389 * sysdeps/sparc/nptl/pthread_barrier_init.c
4390 (pthread_barrier_init): Likewise.
4391 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4392 __pthread_barrier_wait and define as weak alias of
4393 __pthread_barrier_wait.
4394 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4395 (pthread_barrier_wait): Likewise.
4396 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4397 (pthread_barrier_wait): Likewise.
4398 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4399 (pthread_barrier_wait): Likewise.
4400 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4401 (pthread_barrier_wait): Likewise.
4402 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4403 __pthread_barrier_wait at version GLIBC_PRIVATE.
4404 * include/pthread.h (__pthread_barrier_init): Declare.
4405 (__pthread_barrier_wait): Likewise.
4406 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4407 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4408 (helper_thread): Likewise.
4409 (init_mq_netlink): Call __pthread_barrier_init instead of
4410 pthread_barrier_init.
4411
4412 [BZ #18542]
4413 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4414 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4415 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4416 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4417 vswscanf.
4418 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4419 Remove variable.
4420
4421 [BZ #18540]
4422 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4423 strong alias of _IO_fflush. Use libc_hidden_def.
4424 * libio/iofflush_u.c (fflush_unlocked): Rename to
4425 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4426 Use libc_hidden_weak.
4427 * include/stdio.h (__fflush_unlocked): Declare. Use
4428 libc_hidden_proto.
4429 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4430 fflush_unlocked.
4431 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4432 Remove variable.
4433
4434 [BZ #18539]
4435 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4436 define as weak alias of __addseverity.
4437 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4438 Remove variable.
4439 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4440 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4441 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4442
4443 [BZ #18536]
4444 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4445 (__tfind): Likewise.
4446 (__tdelete): Likewise.
4447 (__twalk): Likewise.
4448 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4449 __twalk to GLIBC_PRIVATE.
4450 * include/search.h (__tsearch): Use libc_hidden_proto.
4451 (__tfind): Likewise.
4452 (__tdelete): Likewise.
4453 (__twalk): Likewise.
4454 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4455 Call __tdelete instead of tdelete.
4456 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4457 tfind. Call __tsearch instead of tsearch.
4458 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4459 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4460 Remove variable.
4461 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4462
4463 [BZ #18534]
4464 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4465 (dprintf): Define as a weak alias of __dprintf, not a strong
4466 alias.
4467 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4468 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4469 dprintf.
4470 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4471 Remove variable.
4472 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4473 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4474
4475 [BZ #18533]
4476 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4477 not a strong alias.
4478 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4479 Remove variable.
4480
4481 [BZ #18532]
4482 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4483 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4484 (in6addr_loopback): Rename to __in6addr_loopback and define as
4485 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4486 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4487 libc_hidden_proto.
4488 (__in6addr_any): Likewise.
4489 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4490 in6addr_any.
4491 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4492 variable.
4493 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4494
4495 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4496
4497 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4498 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4499 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4500 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4501 redirections for pow.
4502 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4503 * sysdeps/x86_64/fpu/Versions: New versions added.
4504 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4505 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4506 build of SSE, AVX2 and AVX512 IFUNC versions.
4507 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4508 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4510 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4512 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4513 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4514 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4515 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4516 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4517 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4518 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4519 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4520 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4521 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4522 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4523 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4524 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4525 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4526 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4527 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4528 * NEWS: Mention addition of x86_64 vector pow.
4529
4530 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4531 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4532 redirections for expf.
4533 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4534 * sysdeps/x86_64/fpu/Versions: New versions added.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4536 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4537 build of SSE, AVX2 and AVX512 IFUNC versions.
4538 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4539 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4540 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4541 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4542 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4543 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4544 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4545 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4546 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4547 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4548 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4549 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4550 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4551 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4552 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4553 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4554 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4555 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4556 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4557 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4558 * NEWS: Mention addition of x86_64 vector expf.
4559
4560 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4561 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4562 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4563 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4564 redirections for exp.
4565 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4566 * sysdeps/x86_64/fpu/Versions: New versions added.
4567 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4568 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4569 build of SSE, AVX2 and AVX512 IFUNC versions.
4570 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4571 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4572 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4573 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4574 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4575 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4576 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4577 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4578 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4579 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4580 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4581 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4582 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4583 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4584 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4585 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4586 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4587 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4588 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4589 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4590 * NEWS: Mention addition of x86_64 vector exp.
4591
4592 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4593 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4594 redirections for logf.
4595 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4596 * sysdeps/x86_64/fpu/Versions: New versions added.
4597 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4598 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4599 build of SSE, AVX2 and AVX512 IFUNC versions.
4600 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4601 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4602 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4603 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4604 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4605 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4606 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4607 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4608 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4609 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4610 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4611 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4612 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4613 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4614 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4615 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4616 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4617 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4618 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4619 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4620 * NEWS: Mention addition of x86_64 vector logf.
4621
4622 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4623 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4624 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4625 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4626 redirections for log.
4627 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4628 * sysdeps/x86_64/fpu/Versions: New versions added.
4629 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4630 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4631 build of SSE, AVX2 and AVX512 IFUNC versions.
4632 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4633 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4634 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4635 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4636 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4637 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4638 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4639 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4640 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4641 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4642 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4643 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4644 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4645 test.
4646 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4647 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4648 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4649 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4650 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4651 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4652 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4653 * NEWS: Mention addition of x86_64 vector log.
4654
4655 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4656
4657 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4658 cfi_adjust_cfa_offset argument.
4659 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4660 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4661
4662 [BZ #18034]
4663 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4664 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4665 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4666 ordering using ldar.
4667 (_dl_tlsdesc_dynamic): Likewise.
4668 (_dl_tlsdesc_return_lazy): Likewise.
4669 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4670 relaxed atomics instead of volatile and synchronize with release store.
4671 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4672 volatile.
4673 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4674
4675 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4676
4677 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4678 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4679 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4680 * sysdeps/x86_64/fpu/Versions: New versions added.
4681 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4682 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4683 build of SSE, AVX2 and AVX512 IFUNC versions.
4684 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4685 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4686 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4687 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4688 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4689 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4690 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4691 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4692 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4693 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4694 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4695 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4696 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4697 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4698 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4699 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4700 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4701 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4702 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4703 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4704 * NEWS: Mention addition of x86_64 vector sinf.
4705
4706 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4707
4708 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4709 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4710 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4711 Remove variable.
4712 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4713 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4714
4715 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4716
4717 [BZ #18530]
4718 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4719 strong alias of _IO_fputs. Use libc_hidden_def.
4720 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4721 and define as weak alias of __fputs_unlocked. Use
4722 libc_hidden_weak.
4723 * include/stdio.h (__fputs_unlocked): Declare. Use
4724 libc_hidden_proto.
4725 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4726 fputs_unlocked.
4727
4728 [BZ #18529]
4729 * resolv/netdb.h [__USE_POSIX]: Change condition to
4730 [__USE_XOPEN2K].
4731 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4732 not expect.
4733 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4734 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4735 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4736 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4737 [XPG4 || UNIX98] (AI_ALL): Likewise.
4738 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4739 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4740 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4741 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4742 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4743 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4744 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4745 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4746 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4747 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4748 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4749 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4750 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4751 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4752 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4753 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4754 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4755 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4756 [XPG4 || UNIX98] (gai_strerror): Likewise.
4757 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4758 [XPG4 || UNIX98] (getnameinfo): Likewise.
4759
4760 [BZ #18528]
4761 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4762 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4763 __USE_XOPEN2K8].
4764 (getgrent): Likewise.
4765 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4766 expect.
4767 [XPG3 || POSIX2008] (endgrent): Likewise.
4768 [XPG3] (setgrent): Likewise.
4769 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4770 variable.
4771 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4772
4773 [BZ #18527]
4774 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4775 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4776 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4777 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4778 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4779 * include/unistd.h (__getlogin_r): Declare. Use
4780 libc_hidden_proto.
4781 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4782 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4783 variable.
4784 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4785 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4786 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4787
4788 2015-06-12 Martin Sebor <msebor@redhat.com>
4789
4790 [BZ #18512]
4791 * Makerules (check-install-supported): New target.
4792 (install): Add check-install-supported as a dependency.
4793 * manual/install.texi (Installing the C Library): Document
4794 that overriding prefix and exec_prefix is not supported.
4795 Mention DESTDIR.
4796 * INSTALL: Regenerate from the above.
4797
4798 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4799
4800 [BZ #18519]
4801 * posix/Versions (libc): Export __libc_pread at version
4802 GLIBC_PRIVATE.
4803 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4804 instead of pread.
4805 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4806 variable.
4807
4808 [BZ #18522]
4809 * misc/efgcvt_r.c
4810 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4811 (cvt_symbol): Use weak_alias instead of strong_alias.
4812 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4813 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4814 Remove variable.
4815 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4816 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4817
4818 [BZ #18520]
4819 * inet/herrno.c (h_errno): Rename to __h_errno.
4820 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4821 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4822 to __h_errno instead of h_errno.
4823 * nptl/herrno.c (h_errno): Rename to __h_errno.
4824 (__h_errno_location): Refer to __h_errno not h_errno.
4825 * resolv/Versions (h_errno): Rename to __h_errno.
4826 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4827 Remove variable.
4828 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4829
4830 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4831
4832 * configure.ac: More strict check for AVX512 assembler support.
4833 * configure: Regenerated.
4834
4835 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4836 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4837 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4838 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4839 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4840 * sysdeps/x86_64/fpu/Versions: New versions added.
4841 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4842 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4843 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4844 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4845 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4846 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4847 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4848 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4849 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4850 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4851 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4852 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4853 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4854 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4855 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4856 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4857 test.
4858 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4859 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4860 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4861 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4862 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4863 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4864 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4865 * NEWS: Mention addition of x86_64 vector sin.
4866
4867 2015-06-11 Florian Weimer <fweimer@redhat.com>
4868
4869 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4870 comment.
4871
4872 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4873
4874 [BZ #18479]
4875 * nptl/pt-interp.c: New file.
4876 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4877 Add pt-interp.
4878 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4879 $(common-objpfx)runtime-linker.h.
4880
4881 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
4882
4883 * Makeconfig (+interp): Remove unused variable.
4884 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4885 only. Depend on $(common-objpfx)runtime-linker.h instead of
4886 $(elf-objpfx)runtime-linker.h.
4887 ($(elf-objpfx)runtime-linker.h): Rename to
4888 $(common-objpfx)runtime-linker.h and move ...
4889 * Makerules [$(build-shared) = yes]: ... here.
4890 * elf/interp.c: Include <runtime-linker.h> instead of
4891 <elf/runtime-linker.h>.
4892
4893 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4894
4895 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4896 (__gettimeofday_syscall): Remove vsyscall fallback.
4897 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4898 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4899 Add syscall fallback function.
4900 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4901 if vDSO is not present.
4902 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4903 fallback function.
4904 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4905 present.
4906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4907 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4908
4909 2015-06-09 Joseph Myers <joseph@codesourcery.com>
4910
4911 [BZ #18497]
4912 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4913 of wcscmp.
4914 (wcscmp): Define as weak alias of WCSCMP.
4915 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4916 wcscoll.
4917 (USE_HIDDEN_DEF): Define.
4918 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4919 __wcscoll. Don't use libc_hidden_weak.
4920 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4921 wcscmp.
4922 * sysdeps/i386/i686/multiarch/wcscmp-c.c
4923 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4924 __GI_wcscmp.
4925 (weak_alias): Undefine and redefine.
4926 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4927 __wcscmp and define as weak alias of __wcscmp.
4928 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4929 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
4930 (__wcscoll): Likewise.
4931 (wcscmp): Don't use libc_hidden_proto.
4932 (wcscoll): Likewise.
4933 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4934 wcscoll.
4935 * posix/regexec.c (check_node_accept_bytes): Likewise.
4936 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4937 variable.
4938 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4939 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4940
4941 [BZ #18507]
4942 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4943 __fstatvfs and define as weak alias of __fstatvfs. Use
4944 libc_hidden_weak.
4945 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4946 and define as weak alias of __statvfs. Use libc_hidden_weak.
4947 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4948 Define as alias of __fstatvfs, not fstatvfs.
4949 (fstatvfs64): Likewise.
4950 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4951 Define as alias of __statvfs, not statvfs.
4952 (statvfs64): Likewise.
4953 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4954 Remove variable.
4955
4956 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4957
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4959 (HAVE_GETCPU_VSYSCALL): Define.
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4961 (HAVE_GETCPU_VSYSCALL): Likewise.
4962 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4963 * sysdeps/unix/sysv/linux/sched_getcpu.c
4964 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4965 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4966 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4967 prototype.
4968 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4969 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4972 Define.
4973 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4974 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4975 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4977
4978 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
4979
4980 * sysdeps/x86_64/fpu/Makefile: New file.
4981 * sysdeps/x86_64/fpu/Versions: New file.
4982 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4983 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4984 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4985 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4986 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4987 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4988 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4989 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4991 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4992 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4993 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4994 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4995 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4996 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4997 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4998 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4999 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5000 * sysdeps/x86_64/configure: Regenerated.
5001 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5002 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5003 * manual/install.texi (Configuring and compiling): Document
5004 --disable-mathvec.
5005 * INSTALL: Regenerated.
5006 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5007
5008 * math/Makefile: Added rules for vector tests.
5009 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5010 declaration under condition.
5011 * math/test-double-vlen2.h: New file.
5012 * math/test-double-vlen4.h: New file.
5013 * math/test-double-vlen8.h: New file.
5014 * math/test-vec-loop.h: Added initialization macro.
5015 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5016 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5017 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5018 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5019 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5020 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5021 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5022 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5023 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5024 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5025 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5026
5027 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5028 * sysdeps/x86_64/fpu/Versions: New versions added.
5029 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5030 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5031 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5032 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5033 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5034 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5035 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5036 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5037 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5038 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5039 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5040 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5041 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5042 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5043 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5044 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5045 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5046 * NEWS: Mention addition of x86_64 vector cosf.
5047
5048 * math/Makefile: Added CFLAGS for new tests.
5049 * math/test-float-vlen16.h: New file.
5050 * math/test-float-vlen4.h: New file.
5051 * math/test-float-vlen8.h: New file.
5052 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5053 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5054 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5055 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5056 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5057 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5058 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5059 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5060 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5061 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5062 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5063
5064 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5065
5066 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5067 * locale/programs/ld-ctype.c: Likewise.
5068
5069 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5070
5071 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5072 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5073 bit_ZMM16_31_state): New macro.
5074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5075 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5076
5077 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5078
5079 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5080
5081 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5082
5083 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5084
5085 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5086
5087 [BZ #18498]
5088 * libio/memstream.c (open_memstream): Rename to __open_memstream
5089 and define as weak alias of __open_memstream.
5090 * include/stdio.h (__open_memstream): Declare. Use
5091 libc_hidden_proto.
5092 (open_memstream): Don't use libc_hidden_proto.
5093 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5094 open_memstream.
5095 * posix/getopt.c (_getopt_internal_r): Likewise.
5096 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5097 variable.
5098 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5099 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5100 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5101
5102 [BZ #18496]
5103 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5104 instead of wcrtomb.
5105
5106 [BZ #18483]
5107 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5108 [__USE_XOPEN2K8]. Remove redundant #endif.
5109 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5110 Remove redundant #if.
5111 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5112 Remove variable.
5113 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5114 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5115
5116 [BZ #18495]
5117 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5118 (__iswlower): Likewise.
5119 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5120 (__iswlower): Likewise.
5121 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5122 instead of towlower.
5123 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5124 instead of iswlower. Call __towupper instead of towupper.
5125 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5126 instead of iswalnum.
5127
5128 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5129
5130 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5131 errors to stderr.
5132
5133 2015-06-05 Florian Weimer <fweimer@redhat.com>
5134
5135 [BZ #15661]
5136 [BZ #17322]
5137 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5138 Check for overflow properly. Check for O_APPEND. Ignore large
5139 file system block sizes. Add comments about problems.
5140 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5141 * manual/filesys.texi (Storage Allocation): New node.
5142
5143 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5144
5145 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5146 cancellable syscalls.
5147 (SYS_ify): Add guard to no redefine it.
5148 (INLINE_SYSCALL): Likewise.
5149 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5150 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5151 SYSCALL_CANCEL instead.
5152 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5153 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5154 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5155 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5156 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5157 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5158 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5159 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5160 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5161 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5162 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5163 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5164 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5165 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5166 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5167 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5168 Likewise.
5169 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5170 (__libc_pread64): Likewise.
5171 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5172 (__libc_preadv): Likewise.
5173 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5174 (__libc_readv64): Likewise.
5175 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5176 (__libc_pwrite): Likewise.
5177 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5178 (__libc_pwrite64): Likewise.
5179 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5180 (__libc_pwritev): Likewise.
5181 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5182 (__libc_pwritev64): Likewise.
5183 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5184 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5185 (sync_file_range): Likewise.
5186 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5187 Likewise.
5188 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5189 Likewise.
5190 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5191 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5192 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5193 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5194 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5195 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5196 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5197 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5199 Likewise.
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5201 (__libc_read64): Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5203 Likewise.
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5205 Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5207 Likewise.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5209 Likewise.
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5211 (__libc_pread64): Likewise.
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5213 Likewise.
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5215 (__libc_pwrite64): Likewise.
5216 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5217 (sync_file_range): Likewise.
5218 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5219 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5220 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5221 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5222 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5223 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5224 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5225 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5226 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5227 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5228 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5229 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5230 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5231 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5232 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5233 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5234 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5235 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5236 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5237 Likewise.
5238 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5239 Likewise.
5240 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5241 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5242 Likewise.
5243 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5244 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5245 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5246 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5247 Likewise.
5248 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5249 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5250 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5251 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5252 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5253
5254 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5255
5256 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5257 Include dl-vdso.
5258 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5259 Use VDSO routines for gettimeofday, clock_gettime if
5260 available.
5261 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5262 Declare VDSO symbols.
5263 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5264 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5265 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5266 * sysdeps/unix/sysv/linux/arm/Versions: Add
5267 __vdso_clock_gettime.
5268
5269 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5270
5271 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5272 be an inline implementation regardless of library is built within.
5273 (open_not_cancel_2): Likewise.
5274 (__read_nocancel): Likewise.
5275 (__write_nocancel): Likewise.
5276 (openat_not_cancel): Likewise.
5277 (openat_not_cancel_3): Likewise.
5278 (openat64_not_cancel): Likewise.
5279 (openat64_not_cancel_3): Likewise.
5280 (__close_nocancel): Likewise.
5281 (pause_not_cancel): Likewise.
5282 (nanosleep_not_cancel): Likewise.
5283 (sigsuspend_not_cancel): Likewise.
5284
5285 2015-06-04 Torvald Riegel <triegel@redhat.com>
5286
5287 [BZ #14958]
5288 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5289 wake-up.
5290 (__pthread_rwlock_rdlock_slow): Likewise.
5291 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5292 Likewise.
5293 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5294 Likewise.
5295 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5296 * nptl/tst-rwlock16.c: New file.
5297 * nptl/Makefile (tests): Add new test.
5298
5299 2015-06-04 Torvald Riegel <triegel@redhat.com>
5300
5301 [BZ #18324]
5302 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5303 missing wake-up of readers.
5304 * nptl/tst-rwlock15.c: New file.
5305 * nptl/Makefile (tests): Add new test.
5306
5307 2015-06-03 Roland McGrath <roland@hack.frob.com>
5308
5309 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5310 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5311 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5312 and __nacl_supply_interface_rtld.
5313 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5314 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5315 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5316 Add __nacl_supply_interface_rtld.
5317 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5318
5319 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5320
5321 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5322 isfinite.
5323 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5324 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5325
5326 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5327
5328 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5329 __signbit* with standard C99 macros.
5330 * math/e_exp10l.c: Likewise.
5331 * math/e_exp2l.c: Likewise.
5332 * math/e_scalb.c: Likewise.
5333 * math/e_scalbf.c: Likewise.
5334 * math/e_scalbl.c: Likewise.
5335 * math/s_ldexp.c: Likewise.
5336 * math/s_ldexpf.c: Likewise.
5337 * math/s_ldexpl.c: Likewise.
5338 * math/w_atan2.c: Likewise.
5339 * math/w_atan2f.c: Likewise.
5340 * math/w_atan2l.c: Likewise.
5341 * math/w_cosh.c: Likewise.
5342 * math/w_coshf.c: Likewise.
5343 * math/w_coshl.c: Likewise.
5344 * math/w_exp10.c: Likewise.
5345 * math/w_exp10f.c: Likewise.
5346 * math/w_exp10l.c: Likewise.
5347 * math/w_exp2.c: Likewise.
5348 * math/w_exp2f.c: Likewise.
5349 * math/w_exp2l.c: Likewise.
5350 * math/w_fmod.c: Likewise.
5351 * math/w_fmodf.c: Likewise.
5352 * math/w_fmodl.c: Likewise.
5353 * math/w_hypot.c: Likewise.
5354 * math/w_hypotf.c: Likewise.
5355 * math/w_hypotl.c: Likewise.
5356 * math/w_jnl.c: Likewise.
5357 * math/w_lgamma.c: Likewise.
5358 * math/w_lgamma_r.c: Likewise.
5359 * math/w_lgammaf.c: Likewise.
5360 * math/w_lgammaf_r.c: Likewise.
5361 * math/w_lgammal.c: Likewise.
5362 * math/w_lgammal_r.c: Likewise.
5363 * math/w_pow.c: Likewise.
5364 * math/w_powf.c: Likewise.
5365 * math/w_powl.c: Likewise.
5366 * math/w_remainder.c: Likewise.
5367 * math/w_remainderf.c: Likewise.
5368 * math/w_remainderl.c: Likewise.
5369 * math/w_scalb.c: Likewise.
5370 * math/w_scalbf.c: Likewise.
5371 * math/w_scalbl.c: Likewise.
5372 * math/w_scalbln.c: Likewise.
5373 * math/w_scalblnf.c: Likewise.
5374 * math/w_scalblnl.c: Likewise.
5375 * math/w_sinh.c: Likewise.
5376 * math/w_sinhf.c: Likewise.
5377 * math/w_sinhl.c: Likewise.
5378 * math/w_tgamma.c: Likewise.
5379 * math/w_tgammaf.c: Likewise.
5380 * math/w_tgammal.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5388 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5412 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5413 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5414 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5415 * stdio-common/printf_fp.c: Likewise.
5416 * stdio-common/printf_fphex.c: Likewise.
5417 * stdio-common/printf_size.c: Likewise.
5418
5419 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5420
5421 [BZ #18470]
5422 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5423 strnlen.
5424 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5425 Remove variable.
5426 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5427 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5428 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5429 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5430 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5431 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5432 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5433 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5434 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5435 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5436
5437 [BZ #18468]
5438 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5439 weak alias of __wmemchr. Use libc_hidden_weak.
5440 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5441 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5442 instead of wmemchr.
5443
5444 2015-06-02 Roland McGrath <roland@hack.frob.com>
5445
5446 [BZ #18383]
5447 * elf/tst-tlsalign-extern.c: New file.
5448 * elf/tst-tlsalign-extern-static.c: New file.
5449 * elf/tst-tlsalign-vars.c: New file.
5450 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5451 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5452 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5453 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5454 (test-xfail-tst-tlsalign-extern-static): New variable.
5455
5456 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5457
5458 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5459 Use variable name _sc_err instead of err.
5460 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5461 instead of ret.
5462 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5463 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5464 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5465 (INLINE_SYSCALL): Likewise.
5466
5467 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5468 * include/string.h (__strnlen): Use libc_hidden_proto.
5469 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5470 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5471 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5472 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5473 (libc_hidden_def): Undefine and redefine.
5474 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5475 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5476 __GI_strnlen.
5477 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5478 libc_hidden_def.
5479 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5480
5481 [BZ #18469]
5482 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5483 weak alias of __towlower. Use libc_hidden_weak.
5484 (towupper): Rename to __towupper and define as weak alias of
5485 __towupper. Use libc_hidden_weak.
5486 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5487 (__towupper): Likewise.
5488 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5489 __towlower instead of towlower.
5490
5491 2015-06-02 Roland McGrath <roland@hack.frob.com>
5492
5493 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5494 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5495
5496 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5497
5498 * sysdeps/aarch64/libm-test-ulps: Update.
5499
5500 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5501
5502 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5503 Define.
5504 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5506 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5507 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5508 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5509 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5510 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5511
5512 2015-06-01 Martin Sebor <msebor@redhat.com>
5513
5514 [BZ #18116]
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5516 (__setcontext): Use extended four-operand version of mtsf whenever
5517 possible.
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5519 (__novec_swapcontext): Likewise.
5520
5521 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5522
5523 * benchtests/scripts/compare_bench.py: New file.
5524 * benchtests/scripts/import_bench.py (mean): New function.
5525 (split_list): Likewise.
5526 (do_for_all_timings): Likewise.
5527 (compress_timings): Likewise.
5528
5529 * benchtests/scripts/import_bench.py: New file.
5530 * benchtests/scripts/validate_benchout.py: Import import_bench
5531 instead of jsonschema.
5532 (validate_bench): Remove function.
5533 (main): Use import_bench.
5534
5535 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5536
5537 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5538 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5539
5540 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5541
5542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5543
5544 2015-05-28 Roland McGrath <roland@hack.frob.com>
5545
5546 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5547 set THREAD_SELF->tid to a magic value and futex-wake it.
5548 Pass its address to the thread_exit system call.
5549 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5550 bit is clear.
5551 * sysdeps/nacl/lowlevellock.h: New file.
5552 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5553
5554 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5555 Add TIMEOUT to current time, don't subtract it.
5556
5557 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5558
5559 [BZ #2981]
5560 [BZ #18422]
5561 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5562 ($(objpfx)tst-audit2.out): Also depend on
5563 $(objpfx)tst-auditmod9b.so.
5564 * elf/tst-audit2.c: Include <dlfcn.h>.
5565 (calloc_called): New.
5566 (calloc): Allow to be called more than once.
5567 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5568
5569 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5570
5571 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5572 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5573
5574 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5575
5576 * stdlib/monetary.h: Fix comment.
5577
5578 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5579
5580 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5581 Avoid using variables in #defines that might cause shadowing.
5582 (INTERNAL_VSYSCALL_CALL): Likewise.
5583
5584 2015-05-26 Roland McGrath <roland@hack.frob.com>
5585
5586 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5587
5588 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5589 * nptl/lll_timedlock_wait.c: ... to this new file.
5590 * nptl/Makefile (libpthread-routines): Add it.
5591 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5592 * nptl/lll_timedwait_tid.c: ... to this new file.
5593 * nptl/Makefile (libpthread-routines): Add it.
5594 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5595 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5596 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5597 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5598 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5599 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5600 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5601 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5602 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5603 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5604
5605 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5606
5607 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5608 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5609 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5611 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5613 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5615 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5616 * sysdeps/unix/sysv/linux/tile/sysdep.h
5617 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5618 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5619 using vDSO syscall macro.
5620
5621 2015-05-26 Andriy Rysin <arysin@gmail.com>
5622
5623 [BZ #17293]
5624 * uk_UA: Fix sorting order for Ukrainian locale
5625
5626 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5627
5628 * stdlib/monetary.h: Fix comment.
5629
5630 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5631
5632 [BZ #18234]
5633 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5634 st_mtim and st_ctim members.
5635 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5636 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5637 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5638 (struct stat64): Likewise.
5639 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5640 (struct stat64): Likewise.
5641 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5642 (struct stat64): Likewise.
5643
5644 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5645
5646 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5647 Define and include sysdep-vdso.h.
5648 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5649 Likewise.
5650 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5651 Likewise.
5652 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5653 Define with VDSO_SYMBOL and use PTR_MANGLE.
5654 (__vdso_clock_gettime): Likewise.
5655 (__vdso_clock_getres): Likewise.
5656 (_libc_vdso_platform_setup): Likewise.
5657 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5658 Likewise.
5659 (_libc_vdso_platform_setup): Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5661 Likewise.
5662 (__vdso_clock_gettime): Likewise.
5663 (__vdso_clock_getres): Likewise.
5664 (__vdso_get_tbfreq): Likewise.
5665 (__vdso_getcpu): Likewise.
5666 (__vdso_time): Likewise.
5667 (__vdso_sigtramp_rt64): Likewise.
5668 (__vdso_signtramp32): Likewise.
5669 (__vdso_sigtramp_rt32): Likewise.
5670 (_libc_vdso_platform_setup): Likewise.
5671 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5672 Likewise.
5673 (__vdso_clock_gettime): Likewise.
5674 (__vdso_clock_getres): Likewise.
5675 (_libc_vdso_platform_setup): Likewise.
5676 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5677 Likewise.
5678 (__vdso_clock_gettime): Likewise.
5679 (_libc_vdso_platform_setup): Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5681 Likewise.
5682 (__vdso_getcpu): Likewise.
5683 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5684 Use VDSO_SYMBOL macro to define.
5685 (__vdso_clock_gettime): Likewise.
5686 (__vdso_clock_getres): Likewise.
5687 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5688 Likewise.
5689 (__vdso_clock_gettime): Likewise.
5690 (__vdso_clock_getres): Likewise.
5691 (__vdso_get_tbfreq): Likewise.
5692 (__vdso_getcpu): Likewise.
5693 (__vdso_time): Likewise.
5694 (__vdso_sigtramp_rt64): Likewise.
5695 (__vdso_signtramp32): Likewise.
5696 (__vdso_sigtramp_rt32): Likewise.
5697 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5698 Likewise.
5699 (__vdso_clock_gettime): Likewise.
5700 (__vdso_clock_getres): Likewise.
5701 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5702 Likewise.
5703 (__vdso_clock_gettime): Likewise.
5704 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5705 Likewise.
5706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5707 macro.
5708 (INTERNAL_VSYSCALL): Likewise.
5709 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5710 Remove macro.
5711 (INTERNAL_VSYSCALL): Likewise.
5712 (INTERNAL_VSYSCALL_NCS): Likewise.
5713 (INTERNAL_VSYSCALL_CALL): New macro.
5714 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5716 Likewise.
5717 (INTERNAL_VSYSCALL): Likewise.
5718 (INTERNAL_VSYSCALL_NCS): Likewise.
5719 (INTERNAL_VSYSCALL_CALL): New macro.
5720 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5722 (INLINE_VSYSCALL): Remove macro.
5723 (INTERNAL_VSYSCALL): Remove macro.
5724 (INTERNAL_VSYSCALL_NCS): Remove macro.
5725 (INTERNAL_VSYSCALL_CALL): New macro.
5726 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5727 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5728 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5729 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5730 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5732 (INLINE_VSYSCALL): Remove macro.
5733 (INTERNAL_VSYSCALL): Likewise.
5734 (INTERNAL_VSYSCALL_NCS): Likewise.
5735 (INTERNAL_VSYSCALL_CALL): New macro.
5736 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5737 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5738 PTR_DEMANGLE on vDSO pointer.
5739 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5740 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5741 macro.
5742 (INTERNAL_SYSCALL): Likewise.
5743 (INTERNAL_VSYSCALL_NCS): Remove macro.
5744 (INTERNAL_VSYSCALL_CALL): New macro.
5745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5746 Remove macro.
5747 (INTERNAL_VSYSCALL): Likewise.
5748 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5749 sysdep-vdso.h instead of libc-vdso.h.
5750 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5751 definition.
5752 (INLINE_VSYSCALL): Likewise.
5753 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5754 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5755 definition.
5756 (INLINE_VSYSCALL): Likewise.
5757 (INTERNAL_VSYSCALL): Likewise.
5758 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5759 * sysdeps/unix/sysv/linux/timespec_get.c
5760 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5761 (timespec_get): Use ANSI prototype.
5762 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5763 and definition for Linux.
5764
5765 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5766
5767 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5768 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5769
5770 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5771
5772 [BZ #2981]
5773 [BZ #18410]
5774 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5775 for missing DT_PLTRELSZ.
5776
5777 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5778
5779 Remove obsolete aliases that broke 'locale -a'
5780 [BZ #18412]
5781 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5782 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5783 breaking some applications that use 'locale -a' output.
5784 Change the encoding of this file from Latin-1 to ASCII to avoid
5785 other potential problems with people grepping this file.
5786
5787 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5788
5789 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5790 -fasynchronous-unwind-tables.
5791 (CFLAGS-sendto.c): Likewise.
5792 (CFLAGS-sendmsg.c): Likewise.
5793 (CFLAGS-connect.c): Likewise.
5794 (CFLAGS-recvmsg.c): Likewise.
5795 (CFLAGS-recvfrom.c): Likewise.
5796 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5797 (SOCKETCALL): New macro: non-cancellable socketcall.
5798 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5799 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5800 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5801 * sysdeps/unix/sysv/linux/accept.c: New file.
5802 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5803 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5804 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5805 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5806 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5807 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5808 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5809 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5810 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5811 * sysdeps/unix/sysv/linux/send.c: Likewise.
5812 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5813 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5814 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5815 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5816 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5817 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5818 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5819 prototype.
5820 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5821 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5822 instead of __internal_xxx function.
5823 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5824 prototype.
5825 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5826 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5827 instead of __internal_xxx function.
5828 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5829 prototype.
5830 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5831 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5832 instead of __internal_xxx function.
5833 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5834 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5835 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5836 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5837 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5838 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5839 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5840 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5841 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5842 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5843 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5844 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5845 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5846 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5847 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5848 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5849 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5850 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5851 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5852 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5855 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5856 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5857 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5858 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5859 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5860 * sysdeps/unix/sysv/linux/send.S: Likewise.
5861 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5862 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5863 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5864 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5865 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5866 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5867 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5869 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5870 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5871 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5872 socketcall is implemented in GLIBC.
5873
5874 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5875
5876 * soft-fp/fmadf4.c: Include <libc-internal.h>.
5877 (__fma): Ignore uninitialized warnings around packing.
5878 * soft-fp/fmasf4.c: Include <libc-internal.h>.
5879 (__fmaf): Ignore uninitialized warnings around packing.
5880 * soft-fp/fmatf4.c: Include <libc-internal.h>.
5881 (__fmal): Ignore uninitialized warnings around packing.
5882
5883 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5884 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5885 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5886 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5887
5888 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5889 switch statement into default case.
5890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5891
5892 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5893 a conditional in forcing "inexact".
5894 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5895 Likewise.
5896
5897 2015-05-22 Roland McGrath <roland@hack.frob.com>
5898
5899 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5900 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5901 for each INTERNAL_SYSCALL use.
5902
5903 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5904
5905 [BZ #438]
5906 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5907 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5908 variable.
5909
5910 [BZ #18444]
5911 * string/basename.c (basename): Rename to __basename and define as
5912 weak alias of __basename. Use libc_hidden_weak.
5913 * include/string.h (__basename): Declare. Use libc_hidden_proto.
5914 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5915 __basename instead of basename.
5916 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5917 Remove variable.
5918 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5919
5920 2015-05-18 Florian Weimer <fweimer@redhat.com>
5921
5922 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5923 (_IO_JUMPS_FILE_plus): New.
5924 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5925 _IO_CAST_FIELD_ACCESS.
5926 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5927 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5928 * libio/freopen.c (freopen): Likewise.
5929 * libio/freopen64.c (freopen64): Likewise.
5930 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5931 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5932 * libio/iofwide.c (_IO_fwide): Likewise.
5933 * libio/memstream.c (open_memstream): Likewise.
5934 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5935 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5936 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5937
5938 2015-05-21 Joseph Myers <joseph@codesourcery.com>
5939
5940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5941 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5942 NADJ.
5943 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5944 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5945 NADJ.
5946 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5947 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5948 NADJ.
5949
5950 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5951 (p == 4) case.
5952
5953 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5954 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5955 Remove variable.
5956 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5957 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5958 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5959
5960 2015-05-21 Florian Weimer <fweimer@redhat.com>
5961
5962 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5963 Adjust jump table label generation macros.
5964
5965 2015-05-21 Florian Weimer <fweimer@redhat.com>
5966
5967 * stdio-common/vfprintf.c (vfprintf): Move local variables
5968 args_malloced, specs, specs_malloced, and the code after
5969 do_positional to the printf_positional function.
5970 (printf_positional): New function.
5971
5972 2015-05-21 Florian Weimer <fweimer@redhat.com>
5973
5974 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5975 function.
5976 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5977 STEP4_TABLE, process_arg): Move macro definitions
5978 out of the vfprintf function. (Cosmetic change only.)
5979
5980 2015-05-21 Carlos O'Donell <carlos@redhat.com>
5981
5982 * benchtests/Makefile (stdio-common-bench): Define.
5983 (benchset): Add stdio-common-bench.
5984 * sprintf-inputs: New file.
5985 * sprintf-source.c: New file.
5986
5987 2015-05-21 Andreas Schwab <schwab@suse.de>
5988
5989 [BZ #13028]
5990 [BZ #17053]
5991 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5992 of struct __res_state.
5993 * resolv/res_send.c (__libc_res_nsend): Likewise.
5994 (get_nsaddr): New function.
5995 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5996 statp directly.
5997
5998 2015-05-20 Joseph Myers <joseph@codesourcery.com>
5999
6000 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6001 -D_POSIX_C_SOURCE=199506L.
6002
6003 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6004
6005 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6006 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6007 Do not mention otherwise.
6008 [POSIX] (_XOPEN_VERSION): Do not expect.
6009 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6010 [POSIX] (_POSIX2_C_BIND): Likewise.
6011 [POSIX] (_POSIX2_VERSION): Likewise.
6012 [POSIX] (_XOPEN_XPG2): Likewise.
6013 [POSIX] (_XOPEN_XPG3): Likewise.
6014 [POSIX] (_XOPEN_XPG4): Likewise.
6015 [POSIX] (_XOPEN_UNIX): Likewise.
6016 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6017 [POSIX] (_POSIX_BARRIERS): Likewise.
6018 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6019 [POSIX] (_POSIX_CPUTIME): Likewise.
6020 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6021 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6022 [POSIX] (_POSIX_SHELL): Likewise.
6023 [POSIX] (_POSIX_SPAWN): Likewise.
6024 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6025 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6026 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6027 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6028 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6029 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6030 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6031 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6032 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6033 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6034 [POSIX] (_POSIX2_PBS): Likewise.
6035 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6036 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6037 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6038 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6039 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6040 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6041 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6042 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6043 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6044 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6045 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6046 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6047 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6048 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6049 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6050 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6051 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6052 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6053 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6054 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6055 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6056 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6057 [POSIX] (_SC_2_C_BIND): Likewise.
6058 [POSIX] (_SC_2_C_VERSION): Likewise.
6059 [POSIX] (_SC_2_PBS): Likewise.
6060 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6061 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6062 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6063 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6064 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6065 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6066 [POSIX] (_SC_BARRIERS): Likewise.
6067 [POSIX] (_SC_BASE): Likewise.
6068 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6069 [POSIX] (_SC_DEVICE_IO): Likewise.
6070 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6071 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6072 [POSIX] (_SC_FD_MGMT): Likewise.
6073 [POSIX] (_SC_FIFO): Likewise.
6074 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6075 [POSIX] (_SC_FILE_LOCKING): Likewise.
6076 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6077 [POSIX] (_SC_IOV_MAX): Likewise.
6078 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6079 [POSIX] (_SC_NETWORKING): Likewise.
6080 [POSIX] (_SC_PAGE_SIZE): Likewise.
6081 [POSIX] (_SC_PASS_MAX): Likewise.
6082 [POSIX] (_SC_PIPE): Likewise.
6083 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6084 [POSIX] (_SC_REGEXP): Likewise.
6085 [POSIX] (_SC_SHELL): Likewise.
6086 [POSIX] (_SC_SIGNALS): Likewise.
6087 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6088 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6089 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6090 [POSIX] (_SC_USER_GROUPS): Likewise.
6091 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6092 [POSIX] (_SC_STREAMS): Likewise.
6093 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6094 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6095 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6096 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6097 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6098 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6099 [POSIX] (_PC_FILESIZEBITS): Likewise.
6100 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6101 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6102 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6103 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6104 [POSIX] (uid_t): Likewise.
6105 [POSIX] (gid_t): Likewise.
6106 [POSIX] (off_t): Likewise.
6107 [POSIX] (pid_t): Likewise.
6108 [POSIX] (cuserid): Allow.
6109 (_SC_2_CHAR_TERM): Require constant.
6110 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6111 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6112 variable.
6113
6114 2015-05-20 Roland McGrath <roland@hack.frob.com>
6115
6116 * sysdeps/nacl/pthread-pids.h: New file.
6117 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6118 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6119
6120 * nptl/pthread-pids.h: New file.
6121 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6122 * nptl/nptl-init.c: Include <pthread-pids.h>.
6123 (__pthread_initialize_minimal_internal):
6124 Call __pthread_initialize_pids instead of set_tid_address syscall.
6125
6126 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6127 * sysdeps/posix/usleep.c: ... here.
6128
6129 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6130
6131 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6132 call_pselect6 object.
6133 [$(subdir) = io]: Remove call_sync_file_range object.
6134 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6135 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6136 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6137 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6138
6139 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6140
6141 * math/s_cproj.c: Add include "math_private.h".
6142 * math/s_cprojf.c: Likewise.
6143 * math/s_cprojl.c: Likewise.
6144
6145 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6146
6147 [BZ #18244]
6148 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6149 high mantissa bit when testing whether P is a NaN.
6150 * math/libm-test.inc (remainder_test_data): Add more tests.
6151 (remquo_test_data): Likewise.
6152
6153 [BZ #18049]
6154 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6155 below -32, return the argument, with underflow if subnormal.
6156 * math/auto-libm-test-in: Add more tests of atanh.
6157 * math/auto-libm-test-out: Regenerated.
6158
6159 2015-05-19 Roland McGrath <roland@hack.frob.com>
6160
6161 [BZ #18434]
6162 * nptl/tst-sem15.c: New file.
6163 * nptl/Makefile (tests): Add it.
6164 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6165 s/<</>>/ to fix typo in EOVERFLOW check.
6166 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6167
6168 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6169
6170 * manual/strings.texi (envz_remove): Fix typo in safety
6171 annotations.
6172
6173 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6174 Steve Ellcey <sellcey@imgtec.com>
6175
6176 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6177 in order to avoid strict alias warnings.
6178 (iruserok_af): Ditto for ra.
6179
6180 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6181
6182 [BZ #17581]
6183 * malloc/hooks.c
6184 (magicbyte): Convert to a function and avoid returning 0x01.
6185 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6186 (mem2chunk_check): Fix unsigned comparisons to zero.
6187 Hoist defs of sz and magic.
6188
6189 2015-05-19 Richard Henderson <rth@redhat.com>
6190
6191 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6192
6193 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6194
6195 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6196
6197 [BZ #16159]
6198 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6199 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6200 (reused_arena): Find a non-corrupt arena.
6201 (heap_trim): Pass arena to unlink.
6202 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6203 malloc_printerr.
6204 (top_check): Likewise.
6205 (free_check): Likewise.
6206 (realloc_check): Likewise.
6207 * malloc/malloc.c (malloc_printerr): Add arena argument.
6208 (unlink): Likewise.
6209 (munmap_chunk): Adjust.
6210 (ARENA_CORRUPTION_BIT): New macro.
6211 (arena_is_corrupt): Likewise.
6212 (set_arena_corrupt): Likewise.
6213 (sysmalloc): Use mmap if there are no usable arenas.
6214 (_int_malloc): Likewise.
6215 (__libc_malloc): Don't fail if arena_get returns NULL.
6216 (_mid_memalign): Likewise.
6217 (__libc_calloc): Likewise.
6218 (__libc_realloc): Adjust for additional argument to
6219 malloc_printerr.
6220 (_int_free): Likewise.
6221 (malloc_consolidate): Likewise.
6222 (_int_realloc): Likewise.
6223 (_int_memalign): Don't touch corrupt arenas.
6224 * malloc/tst-malloc-backtrace.c: New test case.
6225
6226 * Makefile (summarize-tests): Fix return value on success.
6227
6228 * manual/string.texi (Envz Functions): Add envz_remove.
6229
6230 2015-05-18 Roland McGrath <roland@hack.frob.com>
6231
6232 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6233 (invalid_name): New function, broken out of ...
6234 (__opendirat): ... here. Call it.
6235 (need_isdir_precheck): New function, broken out of ...
6236 (__opendirat): ... here. Call it.
6237 Use __fxstatat64, not __xstatat64.
6238 (opendir_oflags): New function, broken out of ...
6239 (__opendirat): ... here. Call it.
6240 (opendir_tail): New function, broken out of ...
6241 (__opendirat): ... here. Call it.
6242 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6243 opendir_tail, rather than punting to __opendirat.
6244 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6245
6246 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6247
6248 * .gitignore: Ignore generated *.pyc.
6249
6250 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6251
6252 * include/stdio.h: Define __need_wint_t.
6253 * test-skeleton.c: Avoid `for' loop initial declaration.
6254 * nptl/tst-initializers1.c: Use test-skeleton.c.
6255
6256 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6257
6258 [BZ #18418]
6259 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6260
6261 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6262
6263 [BZ #16352]
6264 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6265 (__ieee754_atanh): Force underflow exception for results with
6266 small absolute value.
6267 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6268 (__ieee754_atanhf): Force underflow exception for results with
6269 small absolute value.
6270 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6271 (__ieee754_atanh): Force underflow exception for results with
6272 small absolute value.
6273 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6274 (__ieee754_atanhf): Force underflow exception for results with
6275 small absolute value.
6276 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6277 (__ieee754_atanhl): Force underflow exception for results with
6278 small absolute value.
6279 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6280 (__ieee754_atanhl): Force underflow exception for results with
6281 small absolute value.
6282 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6283 (__ieee754_atanhl): Force underflow exception for results with
6284 small absolute value.
6285 * math/auto-libm-test-in: Do not allow missing underflow
6286 exceptions from atanh.
6287 * math/auto-libm-test-out: Regenerated.
6288
6289 [BZ #18221]
6290 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6291 2**-28 as threshold for returning x or +/- 1/x.
6292 * math/auto-libm-test-in: Add more tests of tan.
6293 * math/auto-libm-test-out: Regenerated.
6294
6295 [BZ #18220]
6296 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6297 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6298 * math/auto-libm-test-in: Add another test of lgamma.
6299 * math/auto-libm-test-out: Regenerated.
6300
6301 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6302
6303 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6304 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6305 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6306 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6307 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6308 (ADD2A): Use fabs. (SUB2A): Use fabs.
6309 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6312 (log1): Use fabs. (my_log2): Use fabs.
6313 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6314 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6315 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6316 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6318 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6319 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6320 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6321 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6322 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6323 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6324
6325 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6326
6327 [BZ #18217]
6328 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6329 as threshold for returning 1 - x.
6330 * math/auto-libm-test-in: Add more tests of erfc.
6331 * math/auto-libm-test-out: Regenerated.
6332
6333 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6334
6335 [BZ #18196]
6336 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6337 threshold for large arguments.
6338 * math/auto-libm-test-in: Add another test of atan.
6339 * math/auto-libm-test-out: Regenerated.
6340
6341 [BZ #16339]
6342 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6343 (__log1p): Force underflow exception for results with small
6344 absolute value.
6345 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6346 (__log1pf): Force underflow exception for results with small
6347 absolute value.
6348 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6349 (__log1p): Force underflow exception for results with small
6350 absolute value.
6351 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6352 (__log1pf): Force underflow exception for results with small
6353 absolute value.
6354 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6355 (__log1pl): Force underflow exception for results with small
6356 absolute value.
6357 * math/auto-libm-test-in: Do not allow missing underflow
6358 exceptions from log1p.
6359 * math/auto-libm-test-out: Regenerated.
6360
6361 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6362 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6363
6364 [BZ #16704]
6365 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6366
6367 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6368
6369 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6370 (libmvec): New variable.
6371 * configure.ac: Added option for mathvec build.
6372 * configure: Regenerated.
6373 * mathvec/Depend: New file.
6374 * mathvec/Makefile: New file.
6375 * shlib-versions: Added libmvec.
6376 * math/Makefile: Added rule for libm.so installation.
6377
6378 * bits/math-vector.h: New file.
6379 * bits/libm-simd-decl-stubs.h: New header.
6380 * math/Makefile (headers): Added new header
6381 libm-simd-decl-stubs.h.
6382 * math/math.h (__MATHCALL_VEC): New macro.
6383
6384 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6385 for conditions in testing functions.
6386 * math/Makefile: Added call of libm-have-vector-test.sh.
6387 * math/libm-test.inc (HAVE_VECTOR): New macros.
6388
6389 * math/libm-test.inc: START refactored.
6390 * math/test-double.c (TEST_MATHVEC): Add define.
6391 * math/test-float.c: Likewise.
6392 * math/test-idouble.c: Likewise.
6393 * math/test-ifloat.c: Likewise.
6394 * math/test-ildoubl.c: Likewise.
6395 * math/test-ldouble.c: Likewise.
6396 * sysdeps/generic/math-tests-arch.h
6397 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6398 architecture check.
6399
6400 * math/test-double.c (FUNC_TEST): New macro.
6401 * math/test-float.c: Likewise.
6402 * math/test-idouble.c: Likewise.
6403 * math/test-ifloat.c: Likewise.
6404 * math/test-ildoubl.c: Likewise.
6405 * math/test-ldouble.c: Likewise.
6406 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6407
6408 2015-05-13 Roland McGrath <roland@hack.frob.com>
6409
6410 * sysdeps/nacl/fdopendir.c: New file.
6411
6412 * dirent/scandir-tail.c: New file.
6413 * dirent/scandir64-tail.c: New file.
6414 * dirent/Makefile (routines): Add them.
6415 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6416 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6417 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6418 [!SCANDIR] (SCANDIR_TAIL): New macro.
6419 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6420 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6421 (SCANDIRAT): Macro removed.
6422 (SCANDIR_TAIL): New macro.
6423 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6424 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6425 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6426 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6427 (READDIR): Macro removed.
6428 (SCANDIR_TAIL): New macro.
6429 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6430 (SCANDIR_TAIL): New macro.
6431
6432 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6433 * dirent/scandir-cancel.c: ... to this new file.
6434 * dirent/Makefile (routines): Add it.
6435 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6436 * sysdeps/unix/sysv/linux/i386/scandir64.c
6437 (SKIP_SCANDIR_CANCEL): Macro removed.
6438 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6439
6440 * dirent/tst-scandir.c: New file.
6441 * dirent/tst-scandir64.c: New file.
6442 * dirent/Makefile (tests): Add them.
6443
6444 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6445
6446 [BZ #18409]
6447 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6448
6449 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6450
6451 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6452 list.
6453
6454 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6455
6456 * benchtests/bench-strcoll.c: New benchmark.
6457 * benchtests/Makefile: Generate locales and run benchmark.
6458 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6459 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6460 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6461 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6462 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6463 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6464 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6465 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6466 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6467 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6468 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6469 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6470 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6471 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6472 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6473 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6474 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6475 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6476 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6477 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6478 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6479 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6480 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6481 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6482
6483 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6484
6485 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6486 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6487
6488 2015-05-12 Roland McGrath <roland@hack.frob.com>
6489
6490 * posix/uname-values.h: New file.
6491 * posix/uname.c: Include that instead of <config-name.h>.
6492 * sysdeps/nacl/uname-values.h: New file.
6493 * sysdeps/arm/nacl/uname-values.h: New file.
6494
6495 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6496
6497 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6498 splitting into fields.
6499
6500 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6501
6502 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6503 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6504 * locale/localeinfo.h: Add enum collation_encoding_type.
6505 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6506 * programs/ld-collate.c (collate_output): Add encoding type info.
6507 * string/strcoll_l.c (STRDIFF): New function.
6508 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6509 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6510
6511 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6512
6513 [BZ #18397]
6514 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6515 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6516 <fpu_control.h> instead of <math/fpu_control.c>.
6517 * sysdeps/mips/mips32/fpu/Makefile: New file.
6518
6519 2015-05-11 Andreas Schwab <schwab@suse.de>
6520
6521 [BZ #18007]
6522 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6523 nss_endgrent.
6524 (_nss_compat_endgrent): Call nss_endgrent.
6525 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6526 nss_endpwent.
6527 (_nss_compat_endpwent): Call nss_endpwent.
6528 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6529 needent, call nss_setspent only if non-zero.
6530 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6531 (internal_endspent): Don't call nss_endspent.
6532 (_nss_compat_endspent): Call nss_endspent.
6533 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6534 Remove. All uses removed.
6535 (internal_setent): Remove parameter stayopen, add parameter
6536 stream. Use it instead of global variable.
6537 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6538 (internal_endent, internal_getent): Add parameter stream. Use it
6539 instead of global variable.
6540 (CONCAT(_nss_files_end,ENTNAME))
6541 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6542 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6543 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6544 uses removed.
6545 (internal_setent, internal_endent): Add parameter stream. Use it
6546 instead of global variable.
6547 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6548 stream.
6549 (get_next_alias): Add parameter stream.
6550 (_nss_files_getaliasent_r): Pass global stream.
6551 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6552 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6553 (_nss_files_gethostbyname4_r): Pass local stream to
6554 internal_setent, internal_getent and internal_endent. Remove
6555 locking.
6556
6557 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6558
6559 * tst-strfmon1.c (tests): Update expected currency symbol.
6560
6561 2015-05-08 Roland McGrath <roland@hack.frob.com>
6562
6563 * sysdeps/nacl/gethostname.c: New file.
6564
6565 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6566
6567 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6568 and sinh.
6569 * math/auto-libm-test-out: Regenerated.
6570 * sysdeps/i386/fpu/libm-test-ulps: Update.
6571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6572
6573 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6574
6575 [BZ #18125]
6576 * stdlib/tst-setcontext3.c: New file.
6577 * stdlib/tst-setcontext3.sh: New file.
6578 * stdlib/Makefile (tests): Add tst-setcontext3.
6579 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6580 to verify test program created output file.
6581 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6582 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6583 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6584 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6585
6586 2015-05-06 Roland McGrath <roland@hack.frob.com>
6587
6588 [BZ #18383]
6589 * elf/tst-tlsalign.c: New file.
6590 * elf/tst-tlsalign-static.c: New file.
6591 * elf/tst-tlsalign-lib.c: New file.
6592 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6593 (tests-static): Add tst-tlsalign-static.
6594 (modules-names): Add tst-tlsalign-lib.
6595 (test-xfail-tst-tlsalign): New variable.
6596 (test-xfail-tst-tlsalign-static): New variable.
6597
6598 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6599 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6600
6601 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6602
6603 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6604 csqrt, erfc, sin and sincos.
6605 * math/auto-libm-test-out: Regenerated.
6606 * sysdeps/i386/fpu/libm-test-ulps: Update.
6607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6608
6609 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6610
6611 * sysdeps/aarch64/libm-test-ulps: Update.
6612
6613 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6614
6615 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6616 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6617 * math/auto-libm-test-out: Regenerated.
6618 * sysdeps/i386/fpu/libm-test-ulps: Update.
6619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6620
6621 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6622
6623 [BZ #18265]
6624 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6625 (wcsncpy): Likewise.
6626
6627 2015-05-05 Florian Weimer <fweimer@redhat.com>
6628
6629 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6630 Assume __ASSUME_FALLOCATE is always true.
6631 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6632 (__posix_fallocate64_l64): Likweise.
6633 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6634 (posix_fallocate): Likewise.
6635 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6636 (__posix_fallocate64_l64): Likewise.
6637 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6638 [!__ASSUME_FALLOCATE]: Add comment.
6639
6640 2015-05-05 Florian Weimer <fweimer@redhat.com>
6641
6642 * sysdeps/unix/sysv/linux/i386/Makefile
6643 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6644 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6645 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6646 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6647 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6648 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6649 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6650
6651 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6652
6653 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6654 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6655 tgamma.
6656 * math/auto-libm-test-out: Regenerated.
6657 * sysdeps/i386/fpu/libm-test-ulps: Update.
6658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6659
6660 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6661
6662 * math/auto-libm-test-in: Add more tests of tgamma.
6663 * math/auto-libm-test-out: Regenerated.
6664 * sysdeps/i386/fpu/libm-test-ulps: Update.
6665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6666
6667 * math/auto-libm-test-in: Add more tests of tanh.
6668 * math/auto-libm-test-out: Regenerated.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6671
6672 * math/auto-libm-test-in: Add more tests of tan.
6673 * math/auto-libm-test-out: Regenerated.
6674 * sysdeps/i386/fpu/libm-test-ulps: Update.
6675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6676
6677 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6678 * math/auto-libm-test-out: Regenerated.
6679 * sysdeps/i386/fpu/libm-test-ulps: Update.
6680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6681
6682 * math/auto-libm-test-in: Add another test of pow.
6683 * math/auto-libm-test-out: Regenerated.
6684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6685
6686 * math/auto-libm-test-in: Add more tests of lgamma.
6687 * math/auto-libm-test-out: Regenerated.
6688 * sysdeps/i386/fpu/libm-test-ulps: Update.
6689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6690
6691 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6692 log1p.
6693 * math/auto-libm-test-out: Regenerated.
6694 * sysdeps/i386/fpu/libm-test-ulps: Update.
6695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6696
6697 2015-05-01 Mark Wielaard <mjw@redhat.com>
6698
6699 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6700 Elf64_Chdr structs and ELFCOMPRESS constants.
6701
6702 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6703
6704 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6705 expm1.
6706 * math/auto-libm-test-out: Regenerated.
6707 * sysdeps/i386/fpu/libm-test-ulps: Update.
6708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6709
6710 * math/auto-libm-test-in: Add more tests of erf and erfc.
6711 * math/auto-libm-test-out: Regenerated.
6712 * sysdeps/i386/fpu/libm-test-ulps: Update.
6713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6714
6715 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6716
6717 * config.h.in (HAVE_AARCH64_BE): Add.
6718
6719 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6720
6721 * math/auto-libm-test-in: Add more tests of csqrt.
6722 * math/auto-libm-test-out: Regenerated.
6723 * sysdeps/i386/fpu/libm-test-ulps: Update.
6724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6725
6726 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6727 * math/auto-libm-test-out: Regenerated.
6728 * sysdeps/i386/fpu/libm-test-ulps: Update.
6729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6730
6731 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6732
6733 2015-04-29 Roland McGrath <roland@hack.frob.com>
6734
6735 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6736 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6737
6738 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6739 (euidaccess, eaccess): Define as weak aliases.
6740
6741 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6742 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6743 but __suseconds_t is often 'long int' so some sources assume that
6744 type is being used (e.g. they use %ld to print tv_usec).
6745
6746 2015-04-29 Florian Weimer <fweimer@redhat.com>
6747
6748 [BZ #18007]
6749 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6750 (CVE-2014-8121)
6751 * nss/tst-nss-getpwent.c: New file.
6752 * nss/Makefile (tests): Add new test.
6753
6754 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6755
6756 [BZ #18346]
6757 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6758 exponents less than 48 as cases where high part of mantissa needs
6759 examining to determine whether argument is integral.
6760 * math/libm-test.inc (round_test_data): Add more tests.
6761
6762 2015-04-28 Mark Wielaard <mjw@redhat.com>
6763
6764 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6765
6766 2015-04-27 David S. Miller <davem@davemloft.net>
6767
6768 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6769 __tls_get_addr.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6771
6772 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6773
6774 [BZ#18333]
6775 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6776
6777 2015-04-27 Florian Weimer <fweimer@redhat.com>
6778
6779 [BZ#18333]
6780 * time/tzset.c (parse_tzname): Return error on memory allocation
6781 failure.
6782 * test-skeleton.c (struct temp_name_list): Change type of name
6783 member to non-const.
6784 (add_temp_file): Create a copy of the file name.
6785 (delete_temp_files): Deallocate memory.
6786 (create_temp_file): Add comment.
6787
6788 2015-04-24 Florian Weimer <fweimer@redhat.com>
6789
6790 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6791 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6792
6793 2015-04-24 Roland McGrath <roland@hack.frob.com>
6794
6795 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6796 * sysdeps/arm/configure: Regenerated.
6797
6798 2015-04-24 Florian Weimer <fweimer@redhat.com>
6799
6800 [BZ #17715]
6801 * time/tzfile.c (__tzfile_read): Check for large values of
6802 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6803 * time/tzset.c (__tzstring_len): New function, based on the old
6804 __tzstring function.
6805 (__tzstring): Call __tzstring_len.
6806 (parse_tzname): New helper function extracted from
6807 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6808 the input string.
6809 (parse_offset): New helper function extracted from
6810 __tzset_parse_tz. Replace switch with fallthrough with
6811 initialization before sscanf.
6812 (parse_rule): Likewise.
6813 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6814 new-style function definition.
6815 * timezone/Makefile (tests): Add tst-tzset.
6816 (tst-tzset.out): Dependencies on time zone files.
6817 (tst-tzset-ENV): Set TZDIR.
6818 (testdata/XT%): Copy crafted time zone files.
6819 * timezone/README: Mention crafted time zone files.
6820 * timezone/testdata/XT1, timezone/testdata/XT2,
6821 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6822 files.
6823 * timezone/tst-tzset.c: New test.
6824
6825 2015-04-24 Florian Weimer <fweimer@redhat.com>
6826
6827 * Makeconfig (+gccwarn): Remove -Winline.
6828
6829 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6830
6831 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6832
6833 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6834
6835 * NEWS: Mention sysconf() cache information support for s390.
6836 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6837
6838 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6839
6840 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6841 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6842 (__nearbyint): Likewise.
6843 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6844 (copysignl): Likewise.
6845
6846 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6847
6848 [BZ #18287]
6849 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6850 based on padding. (CVE-2015-1781)
6851
6852 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6853
6854 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6855 libc-vdso.h.
6856 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6857 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6858 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6859 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6860 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6861 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6862 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6863 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6864 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6865 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6866 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6867 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6868 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6869 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6870 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6871 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6872 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6874 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6875 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6876 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6877 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6878 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6879
6880 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
6881
6882 * stdlib/setenv.c (__add_to_environ):
6883 Dump core quickly if setenv (..., NULL, ...) is called.
6884 This time, do it the right way, and pacify GCC with a pragma.
6885
6886 2015-04-17 Roland McGrath <roland@hack.frob.com>
6887
6888 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6889 IMAP->l_prev cannot be null, and #if out the code for the contrary
6890 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6891 believe that NS (&_dl_ns[NSID]) could point outside the array.
6892
6893 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6894 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6895 before using NSID as an index.
6896
6897 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
6898
6899 [BZ #17825]
6900 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6901 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6902 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6903
6904 2015-04-17 Roland McGrath <roland@hack.frob.com>
6905
6906 Add preliminary port to Google Native Client on ARM.
6907 * abi-tags (.*-.*-nacl.*): New entry.
6908 * sysdeps/arm/nacl: New directory.
6909 * sysdeps/nacl: New directory.
6910
6911 2015-04-16 David S. Miller <davem@davemloft.net>
6912
6913 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6914 lowlevellock-futex.h
6915
6916 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
6917
6918 * sysdeps/tile/configure.ac: New file.
6919 * sysdeps/tile/configure: Regenerated.
6920
6921 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6922
6923 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
6924 conditionals for weak_alias and libc_hidden_weak.
6925 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6926 libc_hidden_weak and weak_alias.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6928 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6929 and weak_alias for static one.
6930
6931 2015-04-15 David S. Miller <davem@davemloft.net>
6932
6933 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6934
6935 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6936
6937 [BZ #18206]
6938 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6939 Use signed comparision instead of substraction to avoid
6940 overflow bug.
6941 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6942 Take the sign of ret.
6943 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6944 Do not expect precise return values. Only the sign matters.
6945 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6946 * wcsmbs/test-wcsncmp.c: New File.
6947 * string/test-strncmp.c: Add wcsncmp support.
6948
6949 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6950
6951 [BZ #6792]
6952 * math/w_log1p.c: New file.
6953 * math/w_log1pf.c: Likewise.
6954 * math/w_log1pl.c: Likewise.
6955 * math/Makefile (libm-calls): Add w_log1p.
6956 * math/s_log1pl.c (log1pl): Remove weak_alias.
6957 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6958 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6959 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6960 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6961 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6962 [NO_LONG_DOUBLE] (log1pl): Likewise.
6963 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6964 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6965 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6966 (log1p): Remove long_double_symbol.
6967 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6968 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6969 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6970 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6971 remove weak_alias for corresponding log1p function.
6972 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6973 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6974 * sysdeps/ia64/fpu/w_log1p.c: New file.
6975 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6976 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6977 * math/libm-test.inc (log1p_test_data): Add errno expectations.
6978
6979 2015-04-10 Joseph Myers <joseph@codesourcery.com>
6980
6981 [BZ #18247]
6982 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6983 decimal exponent by 1.
6984 * stdlib/tst-strtod-round-data: Add more tests.
6985 * stdlib/tst-strtod-round.c (tests): Regenerated.
6986
6987 2015-04-09 Joseph Myers <joseph@codesourcery.com>
6988
6989 * math/auto-libm-test-in: Add more tests of clog and clog10.
6990 * math/auto-libm-test-out: Regenerated.
6991 * sysdeps/i386/fpu/libm-test-ulps: Update.
6992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6993
6994 2015-04-09 Roland McGrath <roland@hack.frob.com>
6995
6996 * Makeconfig (module-cppflags): Exclude all .v.i files.
6997 (skip-module-cppflags): Variable removed.
6998
6999 * configure.ac (libc_config_ok): Initialize before reading
7000 preconfigure scripts, not after.
7001 * configure: Regenerated.
7002
7003 * test-skeleton.c (TIMEOUT): Move #define to top level.
7004 (main): Grok environment variable TEST_DIRECT. If set, print
7005 test expectation details into that file and then behave as if
7006 given --direct.
7007
7008 2015-04-09 Florian Weimer <fweimer@redhat.com>
7009
7010 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7011 warning on 32-bit.
7012
7013 2015-04-08 David S. Miller <davem@davemloft.net>
7014
7015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7016
7017 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7018
7019 * math/auto-libm-test-in: Add more tests of atanh.
7020 * math/auto-libm-test-out: Regenerated.
7021 * sysdeps/i386/fpu/libm-test-ulps: Update.
7022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7023
7024 * math/auto-libm-test-in: Add more tests of atan.
7025 * math/auto-libm-test-out: Regenerated.
7026 * sysdeps/i386/fpu/libm-test-ulps: Update.
7027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7028
7029 2015-04-08 Florian Weimer <fweimer@redhat.com>
7030
7031 * elf/pldd.c (main): Rewrite to use struct
7032 scratch_buffer instead of extend_alloca.
7033 * elf/pldd-xx.c (find_maps): Likewise.
7034 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7035 <alloca.h>.
7036 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7037 scratch_buffer instead of extend_alloca.
7038 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7039 grp/compat-initgroups.c.
7040 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7041 Rewrite to use struct scratch_buffer instead of extend_alloca.
7042 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7043 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7044
7045 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7046
7047 * math/auto-libm-test-in: Add more tests of cbrt.
7048 * math/auto-libm-test-out: Regenerated.
7049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7050
7051 * math/auto-libm-test-in: Add more tests of cabs.
7052 * math/auto-libm-test-out: Regenerated.
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055
7056 [BZ #18210]
7057 [BZ #18211]
7058 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7059 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7060 computations.
7061 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7062 clog10.
7063 * math/auto-libm-test-out: Regenerated.
7064 * sysdeps/i386/fpu/libm-test-ulps: Update.
7065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7066
7067 [BZ #18197]
7068 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7069 (atan): Set FE_TONEAREST mode for internal computations.
7070 * math/auto-libm-test-in: Add more tests of atan.
7071 * math/auto-libm-test-out: Regenerated.
7072
7073 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7074
7075 [BZ #17930]
7076 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7077
7078 2015-04-07 Florian Weimer <fweimer@redhat.com>
7079
7080 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7081
7082 2015-04-07 Florian Weimer <fweimer@redhat.com>
7083
7084 * include/scratch_buffer.h: New file.
7085 * malloc/scratch_buffer_grow.c: Likewise.
7086 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7087 * malloc/scratch_buffer_set_array_size.c: Likewise.
7088 * malloc/tst-scratch_buffer.c: Likewise.
7089 * malloc/Makefile (routines): Add scratch_buffer_grow.
7090 (tests): Add test case.
7091 * malloc/Versions (GLIBC_PRIVATE): Export
7092 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7093 __libc_scratch_buffer_set_array_size.
7094
7095 2015-04-06 Richard Henderson <rth@redhat.com>
7096
7097 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7098 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7099
7100 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7101 unsigned int before printing.
7102
7103 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7104
7105 [BZ #17596]
7106 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7107 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7108
7109 2015-04-02 Florian Weimer <fweimer@redhat.com>
7110
7111 * include/libc-internal.h (libc_max_align_t): Define.
7112
7113 2015-04-02 Andreas Schwab <schwab@suse.de>
7114
7115 [BZ #16850]
7116 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7117
7118 2015-04-02 Mel Gorman <mgorman@suse.de>
7119
7120 [BZ #17195]
7121 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7122 as well as the main arena.
7123
7124 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7125
7126 [BZ #18185]
7127 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7128 sharing L2 cache to 2 for Silvermont/Knights Landing.
7129
7130 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7131
7132 [BZ #17711]
7133 * config.make.in (have-protected-data): New.
7134 * configure.ac: Check linker support for protected data symbol.
7135 * configure: Regenerated.
7136 * elf/Makefile (modules-names): Add tst-protected1moda and
7137 tst-protected1modb if $(have-protected-data) is yes.
7138 (tests): Add tst-protected1a and tst-protected1b if
7139 $(have-protected-data) is yes.
7140 ($(objpfx)tst-protected1a): New.
7141 ($(objpfx)tst-protected1b): Likewise.
7142 (tst-protected1modb.so-no-z-defs): Likewise.
7143 * elf/tst-protected1a.c: New file.
7144 * elf/tst-protected1b.c: Likewise.
7145 * elf/tst-protected1mod.h: Likewise.
7146 * elf/tst-protected1moda.c: Likewise.
7147 * elf/tst-protected1modb.c: Likewise.
7148
7149 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7150
7151 [BZ #17711]
7152 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7153 indicates it is called from do_lookup_x on relocation against
7154 protected data, skip the data definion in the executable from
7155 copy reloc.
7156 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7157 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7158 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7159 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7160 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7161 otherwise to 0.
7162 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7163 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7164 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7165 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7166 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7167 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7168
7169 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7170
7171 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7172 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7173
7174 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7175
7176 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7177 THREAD_SETMEM_NC.
7178 * sysdeps/x86_64/nptl/tls.h: Ditto.
7179
7180 2015-03-27 Roland McGrath <roland@hack.frob.com>
7181
7182 * dlfcn/tststatic.c (main): Converted to ...
7183 (do_test): ... this.
7184 (TEST_FUNCTION): New macro.
7185 Include test-skeleton.c.
7186
7187 2015-03-26 Alan Modra <amodra@gmail.com>
7188
7189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7190 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7191 zero for undefined weak.
7192 (elf_machine_plt_conflict): Similarly.
7193
7194 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7195
7196 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7197 atanh.
7198 * math/auto-libm-test-out: Regenerated.
7199 * sysdeps/i386/fpu/libm-test-ulps: Update.
7200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7201
7202 * math/auto-libm-test-in: Add another test of asin.
7203 * math/auto-libm-test-out: Regenerated.
7204 * sysdeps/i386/fpu/libm-test-ulps: Update.
7205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7206
7207 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7208 Remove macro.
7209 (LLL_EBX_REG): Likewise.
7210 (LLL_ENTER_KERNEL): Likewise.
7211
7212 * math/auto-libm-test-in: Add more tests of asin.
7213 * math/auto-libm-test-out: Regenerated.
7214 * sysdeps/i386/fpu/libm-test-ulps: Update.
7215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7216
7217 [BZ #18138]
7218 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7219 libc_do_syscall_args): New structure.
7220 (INTERNAL_SYSCALL_MAIN_0): New macro.
7221 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7222 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7223 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7224 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7225 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7226 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7227 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7228 Replace conditional definitions by conditional definitions of ....
7229 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7230 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7231 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7232 (libpthread-sysdep_routines): Add libc-do-syscall.
7233 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7235 to __NR_futex not 240.
7236
7237 2015-03-25 Alan Modra <amodra@gmail.com>
7238
7239 * NEWS: Advertise TLS optimization.
7240 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7241 (DT_PPC_NUM): Increment.
7242 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7243 (CHECK_STATIC_TLS): Use here.
7244 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7245 TLS descriptors.
7246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7247 * sysdeps/powerpc/dl-tls.c: New file.
7248 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7249 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7250 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7251 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7255
7256 2015-03-25 Alan Modra <amodra@gmail.com>
7257
7258 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7259 for overlapping .opd entries" to "support...".
7260 * sysdeps/powerpc/powerpc64/configure: Regenerate
7261
7262 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7263
7264 * math/auto-libm-test-in: Add more tests of acos.
7265 * math/auto-libm-test-out: Regenerated.
7266 * sysdeps/i386/fpu/libm-test-ulps: Update.
7267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7268
7269 * math/auto-libm-test-in: Add more tests of expm1.
7270 * math/auto-libm-test-out: Regenerated.
7271 * sysdeps/i386/fpu/libm-test-ulps: Update.
7272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7273
7274 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7275
7276 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7277 * math/auto-libm-test-out: Regenerated.
7278 * sysdeps/i386/fpu/libm-test-ulps: Update.
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7280
7281 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7283
7284 * math/auto-libm-test-in: Add more tests of log2.
7285 * math/auto-libm-test-out: Regenerated.
7286 * sysdeps/i386/fpu/libm-test-ulps: Update.
7287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7288
7289 2015-03-23 Roland McGrath <roland@hack.frob.com>
7290
7291 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7292 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7293 _IO_IS_APPENDING bit in READ_WRITE instead.
7294
7295 2015-03-23 Florian Weimer <fweimer@redhat.com>
7296
7297 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7298 (__determine_cpumask_size): Replace extend_alloca with a
7299 variable-length array. Do not treat res == 0 as an error.
7300
7301 2015-03-23 Florian Weimer <fweimer@redhat.com>
7302
7303 [BZ #18100]
7304 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7305 and integer overflow.
7306 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7307 (main): Add integer overflow tests.
7308 * manual/pattern.texi (Calling Wordexp): Document additional use
7309 for WRDE_SYNTAX.
7310
7311 2015-03-23 Alan Modra <amodra@gmail.com>
7312
7313 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7314 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7315 and false branch of conditional.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7317 Likewise.
7318
7319 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7320
7321 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7322 libc-modules.h
7323 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7324 unused declaration of _hurd_intr_rpc_msg_in_trap.
7325 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7326 defined instead of whether it is non-zero.
7327 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7328 input constraint instead of both input and output constraint. Use ecx
7329 clobber instead of %ecx.
7330 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7331 mutex_unlock): Use a statement expression instead of an expression list.
7332 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7333 type to vm_size_t instead of vm_address_t.
7334 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7335 defined instead of whether it is non-zero.
7336 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7337 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7338 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7339 comparisons with mapaddr.
7340 * nscd/nscd-client.h: Include <time.h>.
7341 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7342 9th parameter to __vm_region instead of int.
7343 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7344 * scripts/check-local-headers.sh (exclude): Add device/,
7345 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7346 cthreads.h.
7347
7348 2015-03-19 Roland McGrath <roland@hack.frob.com>
7349
7350 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7351 to account for alignment padding.
7352 * sysdeps/arm/memmove.S: Likewise.
7353
7354 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7355
7356 * sysdeps/unix/sysv/linux/generic/README: New file.
7357
7358 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7359
7360 [BZ #18138]
7361 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7362 (futex_abstimed_wait)
7363 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7364 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7365 of lll_futex_timed_wait.
7366
7367 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7368
7369 [BZ #17542]
7370 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7371
7372 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7373
7374 [BZ #17090]
7375 [BZ #17620]
7376 [BZ #17621]
7377 [BZ #17628]
7378 * NEWS: Update.
7379 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7380 entries with Static TLS too. Skip entries past the end of the
7381 allocated DTV, from Alan Modra.
7382 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7383 Static TLS DTV entry set up from...
7384 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7385 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7386 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7387 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7388 for Static TLS.
7389 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7390 that the slot we find is associated with the given map before
7391 using its generation count.
7392 * nptl_db/db_info.c: Include ldsodefs.h.
7393 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7394 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7395 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7396 (link_map::l_tls_offset): New struct field.
7397 (dtv_t::counter): Likewise.
7398 (rtld_global): New struct.
7399 (_rtld_global): New rtld variable.
7400 (dl_tls_dtv_slotinfo_list): New rtld global field.
7401 (dtv_slotinfo_list): New struct.
7402 (dtv_slotinfo): Likewise.
7403 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7404 (td_lookup): Rename to...
7405 (td_mod_lookup): ... this. Use new mod parameter instead of
7406 LIBPTHREAD_SO.
7407 * nptl_db/td_thr_tlsbase.c: Include link.h.
7408 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7409 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7410 addresses even if the DTV is out of date or missing them.
7411 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7412 index zero-length arrays.
7413 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7414 (td_lookup): Make it a macro implemented in terms of...
7415 (td_mod_lookup): ... this declaration.
7416 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7417 (DB_MAIN_VARIABLE): Likewise.
7418
7419 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7420
7421 [BZ #18134]
7422 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7423
7424 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7425
7426 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7427
7428 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7429
7430 [BZ #18128]
7431 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7432 (atomic_add, atomic_increment_and_test)
7433 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7434
7435 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7436
7437 * stdlib/setenv.c (__add_to_environ):
7438 Dump core quickly if setenv (..., NULL, ...) is called.
7439
7440 2015-03-13 Roland McGrath <roland@hack.frob.com>
7441
7442 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7443 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7444 all the necessary asm magic in one place.
7445 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7446 using those.
7447
7448 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7449
7450 [BZ #14906]
7451 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7452 traced file mtime. Use consistent log message.
7453 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7454 (register_traced_file): Call install_watches. Always set mtime.
7455 (invalidate_cache): Iterate over all trace files. Call install_watches.
7456 (inotify_check_files): Don't inline. Handle watching parent
7457 directories and configuration file movement in and out.
7458 (handle_inotify_events): New function.
7459 (main_loop_poll): Call handle_inotify_events.
7460 (main_loop_epoll): Likewise.
7461 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7462 (struct traced_file): Use array of inotify fds. Add parent directory,
7463 and basename.
7464 (struct database_dyn): Remove unused file_mtime.
7465 (init_traced_file): New inline function.
7466 (define_traced_file): New macro.
7467 * nss/nss_db/db-init.c: Use define_traced_file.
7468 (_nss_db_init): Use init_traced_file.
7469 * nss/nss_files/files-init.c: Use define_traced_file.
7470 (_nss_files_init): Use init_traced_file.
7471
7472 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7473
7474 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7475 [_LIBC]: Do not include <stdlib.h>.
7476 [!_LIBC] (abort): Remove declaration.
7477 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7478 _FP_STATIC_ASSERT instead of conditionally calling abort.
7479 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7480 (_FP_EXTEND_CNAN): Likewise.
7481 (FP_TRUNC): Likewise.
7482 (__FP_CLZ): Likewise.
7483 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7484
7485 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7486
7487 * manual/string.texi (XPG basename): Fix prototype.
7488
7489 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7490
7491 [BZ #18080]
7492 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7493 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7494 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7495 (__setcontext): Likewise.
7496 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7497 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7498 Call rt_sigprocmask syscall one time to set new signal mask
7499 and retrieve the current signal mask instead of two calls.
7500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7501 (__swapcontext): Likewise.
7502 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7503 * stdlib/tst-setcontext2.c: New file.
7504
7505 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7506
7507 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7508
7509 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7510
7511 [BZ #18093]
7512 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7513 the wrong size.
7514
7515 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7516
7517 [BZ #18043]
7518 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7519
7520 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7521
7522 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7523 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7524 Remove define.
7525 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7526 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7527 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7528 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7529 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7530 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7531 define.
7532 * nptl_db/td_symbol_list.c (td_lookup): Remove
7533 HAVE_ASM_GLOBAL_DOT_NAME code.
7534 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7535 HAVE_ASM_GLOBAL_DOT_NAME check.
7536 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7537 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7538 (DOT_LABEL): Remove define.
7539 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7540 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7541 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7542 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7543 (__TLS_GET_ADDR): Likewise.
7544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7545 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7546
7547 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7548
7549 [BZ #18111]
7550 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7551 (_FPU_SETCW): Initialize cw from fpsr before storing.
7552 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7553 (fesetexceptflag): Rewrite using fpu_control.h.
7554 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7555
7556 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7557
7558 [BZ #18110]
7559 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7560 asms.
7561 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7562
7563 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7564
7565 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7566 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7567 abort.
7568 (_FP_FMA): Likewise.
7569 (_FP_DIV): Likewise.
7570
7571 2015-03-10 Roland McGrath <roland@hack.frob.com>
7572
7573 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7574 with 0 in that case.
7575 * Makefile (summarize-tests): New canned sequence, factored out of
7576 commands for targets tests and xtests. Display summary lines that
7577 don't start with PASS: or XFAIL: rather than ones that do start with
7578 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7579 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7580 do start with ERROR: or FAIL:.
7581 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7582 (except for [$(build-shared) = yes]).
7583 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7584 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7585 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7586 * nptl/Makefile: Revert 2015-03-04 changes.
7587 [$(CXX) empty] (tests-unsupported): New variable.
7588 * debug/Makefile: Likewise.
7589
7590 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7591 gnulib file. Replace __attribute with __attribute__ throughout.
7592
7593 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7594
7595 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7596
7597 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7598
7599 [BZ #18104]
7600 * math/auto-libm-test-in: Add another test of pow.
7601 * math/auto-libm-test-out: Regenerated.
7602
7603 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7604
7605 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7606 $(config-cflags-nofma).
7607
7608 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7609
7610 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7611 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7612 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7613 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7614 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7615 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7616 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7617 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7618 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7619 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7620 Add comment on closing #endif.
7621
7622 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7623
7624 * posix/wordexp.c (CHAR_IN_SET): New macro.
7625 (parse_param): Use it.
7626
7627 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7628
7629 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7630
7631 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7632
7633 [BZ #18043]
7634 * posix/wordexp.c (parse_param): Fix buffer overflow.
7635 * posix/wordexp-test.c (test_case): Add test case.
7636
7637 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7638
7639 [BZ #18042]
7640 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7641 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7642
7643 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7644
7645 [BZ #18043]
7646 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7647 (do_bz18043): Delete.
7648 (at_page_end): New.
7649 (testit): Refactor to have words at the edge of unreadable page.
7650
7651 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7652
7653 [BZ #16734]
7654 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7655 Cleanup read-only streams as well.
7656 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7657
7658 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7659
7660 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7661 <bits/libc-lockP.h>
7662
7663 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7664
7665 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7666 on [__KERNEL__].
7667 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7668 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7669 * soft-fp/op-common.h (_FP_DECL): Likewise.
7670
7671 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7672
7673 * elf/ifuncdep2.c (global): Replace
7674 __attribute__((visibility("protected"))) with
7675 asm (".protected global").
7676 * elf/ifuncmod1.c (global): Likewise.
7677 * elf/ifuncmod5.c (global): Likewise.
7678
7679 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7680
7681 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7682 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7683
7684 2015-03-06 Roland McGrath <roland@hack.frob.com>
7685
7686 * manual/install.texi (Configuring and compiling):
7687 Document test-wrapper-env-only.
7688 * INSTALL: Regenerated.
7689
7690 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7691
7692 [BZ #18043]
7693 * posix/wordexp.c (parse_param): Fix buffer overflow.
7694 * posix/wordexp-test.c (do_bz18043): Add test case.
7695
7696 2015-03-06 Vincent Bernat <vincent@bernat.im>
7697
7698 * time/tst-strptime2.c (do_test): Ensure failing tests are
7699 reported correctly.
7700 * time/tst-strptime3.c (do_test): Likewise.
7701
7702 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7703
7704 Fix aio_error thread-safety.
7705 * sysdeps/pthread/aio_error.c: New file
7706 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7707 synchronization.
7708
7709 2015-03-06 Florian Weimer <fweimer@redhat.com>
7710
7711 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7712 (group_number, vfprintf): Use it.
7713 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7714 (JUMP, REF): Use it.
7715 (WORK_BUFFER_SIZE): New enum constant.
7716 (process_arg, vfprintf): Use it.
7717
7718 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7719
7720 * manual/errno.texi (Error Messages): Complete example function
7721 by adding missing #define.
7722 (program_invocation_name): Add statement indicating GNU
7723 extension and reference which header file declares the variable.
7724 (program_invocation_short_name): Likewise.
7725
7726 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7727
7728 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7729 compatibility note.
7730
7731 2015-03-05 Roland McGrath <roland@hack.frob.com>
7732
7733 * Makeconfig (test-wrapper-env-only): New variable.
7734 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7735 then use that with $(test-wrapper-env-only) rather than using
7736 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7737
7738 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7739
7740 [BZ #18082]
7741 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7742 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7743 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7744 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7745 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7746 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7747 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7748 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7749 Likewise.
7750 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7752 Likewise.
7753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7754 Likewise.
7755 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7756 Likewise.
7757 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7758 Likewise.
7759 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7761 Likewise.
7762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7763 Likewise.
7764 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7765 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7766
7767 2015-03-04 Roland McGrath <roland@hack.frob.com>
7768
7769 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7770 (ETH_ALEN): New macro.
7771 (struct ether_addr): Use it for length of ether_addr_octet.
7772
7773 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7774 (setdb): Don't call __nss_configure_lookup for "rpc".
7775 (do_test): Don't call test_rpc.
7776 (output_rpcent, test_rpc): Functions moved ...
7777 * sunrpc/test-rpcent.c: ... to this new file.
7778 * sunrpc/Makefile (tests): Add it.
7779
7780 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7781 __xpg_sigpause.
7782 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7783 * nptl/tst-signal6.c: Likewise.
7784 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7785 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7786
7787 * configure.ac (libc_cv_cxx_link_ok): New check.
7788 Reset CXX to empty if it fails to link.
7789 * configure: Regenerated.
7790 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7791 bug-atexit3-lib only if $(CXX) is nonempty.
7792 * nptl/Makefile (tests): Likewise for tst-cancel24.
7793 (tests, tests-static): Likewise for tst-cancel24-static.
7794 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7795 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7796 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7797 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7798
7799 2015-03-04 Andreas Schwab <schwab@suse.de>
7800
7801 [BZ #17631]
7802 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7803 for non-GCC compilers.
7804 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7805 Likewise.
7806
7807 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7808
7809 [BZ #17776]
7810 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7811 integer before bitwise and assembly operations.
7812 (feclearexcept): Likewise.
7813 * math/test-fenvinline.c: New file.
7814 * math/Makefile: Add test-fenvinline test.
7815
7816 2015-03-03 Alan Modra <amodra@gmail.com>
7817
7818 [BZ #16512]
7819 * scripts/localplt.awk: Strip off symbol version.
7820 * NEWS: Mention bug fix.
7821
7822 2015-03-02 Roland McGrath <roland@hack.frob.com>
7823
7824 * sysdeps/pthread/timer_routines.c
7825 (timer_free_list, thread_free_list, thread_active_list): Make static.
7826
7827 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7828
7829 [BZ #17779]
7830 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7831 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7832 Undefine.
7833 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7834 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7835 Likewise.
7836 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7837 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7838 Likewise.
7839
7840 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7841
7842 [BZ #18036]
7843 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7844 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7845
7846 2015-03-02 Andreas Schwab <schwab@suse.de>
7847
7848 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7849 variable name.
7850
7851 2015-03-02 Florian Weimer <fweimer@redhat.com>
7852
7853 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7854 Return error status.
7855
7856 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7857
7858 [BZ #15969]
7859 * locale/findlocale.c (_nl_find_locale): Introduce const
7860 version of loc_name and drop unsafe type casts.
7861
7862 2015-02-27 Roland McGrath <roland@hack.frob.com>
7863
7864 * dlfcn/tststatic2.c (main): Converted to ...
7865 (do_test): ... this.
7866 (TEST_FUNCTION): New macro.
7867 Include test-skeleton.c.
7868
7869 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 [BZ #17711]
7872 * elf/Makefile (tests): Add vismain only if PIE is enabled.
7873 (tests-pie): Add vismain.
7874 (CFLAGS-vismain.c): New.
7875 * elf/vismain.c: Add comments for PIE requirement.
7876
7877 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7878
7879 [BZ #18046]
7880 [BZ #18047]
7881 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7882 0x1p-56L as threshold for just returning the argument.
7883 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7884 0x1p-32L as threshold for just returning the argument.
7885 * math/auto-libm-test-in: Add more tests of atanh.
7886 * math/auto-libm-test-out: Regenerated.
7887 * sysdeps/i386/fpu/libm-test-ulps: Update.
7888 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7889
7890 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7891
7892 * string/bcopy.c (bcopy): Call memmove for performance.
7893
7894 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7895
7896 * string/bzero.c (__bzero): Call memset for performance.
7897
7898 2015-02-27 John David Anglin <dave.anglin@bell.net>
7899
7900 [BZ #18068]
7901 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7902 to 00100000.
7903
7904 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7905
7906 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7907
7908 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7909
7910 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7911 (__kernel_standard): Use CSTR macro when setting exc.name.
7912 * sysdeps/ieee754/Makefile [$(subdir) = math]
7913 (CFLAGS-k_standard.c): Remove variable.
7914
7915 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7916 setting p and q from "else if" to "else".
7917 (qzero): Likewise.
7918 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7919 (qone): Likewise.
7920 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7921 (qzerof): Likewise.
7922 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7923 (qonef): Likewise.
7924 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7925 (qzero): Likewise.
7926 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7927 (qone): Likewise.
7928
7929 [BZ #18038]
7930 [BZ #18039]
7931 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7932 return pi/2 for arguments below 0x1p-113L.
7933 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7934 return pi/2 for arguments below 0x1p-106L.
7935 * math/auto-libm-test-in: Add more tests of acos.
7936 * math/auto-libm-test-out: Regenerated.
7937
7938 [BZ #16351]
7939 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7940 (MO): New macro.
7941 (__ieee754_asin): Force underflow exception for results with small
7942 absolute value.
7943 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7944 (MO): New macro.
7945 (__ieee754_asinf): Force underflow exception for results with
7946 small absolute value.
7947 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7948 (__ieee754_asin): Force underflow exception for results with small
7949 absolute value.
7950 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7951 (__ieee754_asinf): Force underflow exception for results with
7952 small absolute value.
7953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7954 (__ieee754_asinl): Force underflow exception for results with
7955 small absolute value.
7956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7957 (__ieee754_asinl): Force underflow exception for results with
7958 small absolute value.
7959 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7960 (__ieee754_asinl): Force underflow exception for results with
7961 small absolute value.
7962 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7963 Include <math.h>.
7964 * math/auto-libm-test-in: Do not mark underflow exceptions as
7965 possibly missing for bug 16351.
7966 * math/auto-libm-test-out: Regenerated.
7967
7968 [BZ #18030]
7969 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7970 of power of 2 down when low part has opposite sign.
7971 * math/libm-test.inc (logb_test_data): Add more tests.
7972
7973 2015-02-26 Andreas Schwab <schwab@suse.de>
7974
7975 [BZ #18032]
7976 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7977 over collating symbol inside a bracket expression. Minor cleanup.
7978 * posix/tst-fnmatch3.c (do_test): Add test case.
7979
7980 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7981
7982 [BZ #18029]
7983 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7984 Adjust exponent of power of 2 down when low part has opposite
7985 sign.
7986 * math/libm-test.inc (ilogb_test_data): Add more tests.
7987
7988 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
7989
7990 [BZ #15969]
7991 * locale/findlocale.c (_nl_find_locale): Fix constness error in
7992 the previous change.
7993
7994 [BZ #15969]
7995 * locale/findlocale.c (_nl_find_locale): Retry archive search
7996 after alias expansion.
7997
7998 2015-02-25 Roland McGrath <roland@hack.frob.com>
7999
8000 * iconv/tst-iconv3.c (main): Converted to ...
8001 (do_test): ... this.
8002 (TEST_FUNCTION): New macro.
8003 Include test-skeleton.c.
8004
8005 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8006 (convert): Make function static.
8007 (test_unalign): Likewise. Add const to argument pointee types.
8008 (main): Replace with static function do_test.
8009 Print "Succeeded." only if RET is zero.
8010 (TEST_FUNCTION): New macro.
8011 Include test-skeleton.c.
8012
8013 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8014 returns a null pointer.
8015
8016 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8017
8018 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8019 to __memcpy_ppc only for static builds.
8020
8021 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8022
8023 [BZ #18020]
8024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8025 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8026 * math/auto-libm-test-in: Add more tests of asinh.
8027 * math/auto-libm-test-out: Regenerated.
8028 * sysdeps/i386/fpu/libm-test-ulps: Update.
8029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030
8031 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8032
8033 [BZ #15850]
8034 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8035 and ip6_mtuinfo definitions here.
8036 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8037 in this define too. Update comment.
8038
8039 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8040
8041 * elf/sprof.c (load_shobj): Tweak error message to match others.
8042
8043 2015-02-24 Kevin Easton <kevin@guarana.org>
8044
8045 [BZ #16145] (partial fix)
8046 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8047 to reduce lock contention.
8048
8049 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8050
8051 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8052 (struct timex): Update time comment.
8053 (ADJ_SETOFFSET): Define.
8054
8055 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8056
8057 [BZ #18019]
8058 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8059 2**56 not 2**28 as threshold for log (2x) formula.
8060 * math/auto-libm-test-in: Add more tests of acosh.
8061 * math/auto-libm-test-out: Regenerated.
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8064
8065 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8066
8067 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8068 parenthesis around the buf assignment.
8069 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8070
8071 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8072
8073 [BZ #16783]
8074 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8075 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8076 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8077 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8078 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8079 * math/libm-test.inc (scalb_test_data): Add more tests.
8080
8081 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8082
8083 [BZ #17916]
8084 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8085 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8086
8087 2015-02-24 Eric Rannaud <e@nanocritical.com>
8088
8089 [BZ #17523]
8090 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8091 * io/bits/fcntl2.h (open): Use it.
8092 (openat): Likewise.
8093 * io/open.c (__libc_open): Likewise.
8094 * io/open64.c (__libc_open64): Likewise.
8095 * io/open64_2.c (__open64_2): Likewise.
8096 * io/open_2.c (__open_2): Likewise.
8097 * io/openat.c (__openat): Likewise.
8098 * io/openat64.c (__openat64): Likewise.
8099 * io/openat64_2.c (__openat64_2): Likewise.
8100 * io/openat_2.c (__openat_2): Likewise.
8101 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8102 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8103 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8104 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8105 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8106 (__open_nocancel): Likewise.
8107 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8108 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8109 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8110
8111 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8112
8113 [BZ #14841]
8114 * resolv/gethnamaddr.c (getanswer): Skip logging if
8115 RES_USE_DNSSEC is set.
8116 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8117
8118 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8119
8120 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8121
8122 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8123
8124 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8125 201304L, for Unicode 7.
8126
8127 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8128
8129 [BZ #17836]
8130 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8131 shared library. Add gmon-start.os otherwise.
8132 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8133 $(objpfx)gmon-start.os if builing shared library.
8134 ($(objpfx)g$(static-start-installed-name)): Likewise.
8135
8136 2015-02-23 Andreas Schwab <schwab@suse.de>
8137
8138 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8139
8140 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8141
8142 [BZ #17269]
8143 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8144 (enlarge_userbuf): Likewise.
8145
8146 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8147
8148 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8149 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8150 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8151 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8152
8153 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8154
8155 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8156 expression inside statement expression.
8157
8158 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8159
8160 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8161 <sysdeps/nptl/lowlevellock.h> and remove macros and
8162 functions that are now defined there.
8163 (SYS_futex): Remove.
8164 (lll_compare_and_swap): Remove.
8165 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8166
8167 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8168
8169 [BZ #17999]
8170 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8171 instead of scandirat.
8172 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8173 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8174 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8175 __scandirat.
8176 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8177 (__scandirat): Declare. Use libc_hidden_proto.
8178 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8179 Remove variable.
8180 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8181
8182 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8183
8184 [BZ #15319]
8185 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8186 (MO): New macro.
8187 (__ieee754_atan2): For results with small absolute value, force
8188 underflow exception and remove excess range and precision from
8189 return value.
8190 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8191 (MO): New macro.
8192 (__ieee754_atan2f): For results with small absolute value, force
8193 underflow exception and remove excess range and precision from
8194 return value.
8195 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8196 (MO): New macro.
8197 (__atan): For results with small absolute value, force underflow
8198 exception and remove excess range and precision from return value.
8199 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8200 (MO): New macro.
8201 (__atanf): For results with small absolute value, force underflow
8202 exception and remove excess range and precision from return value.
8203 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8204 <math.h>.
8205 (__ieee754_atan2): Force underflow exception for results with
8206 small absolute value.
8207 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8208 <math_private.h>.
8209 (atan): Force underflow exception for results with small absolute
8210 value.
8211 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8212 (__atanf): Force underflow exception for results with small
8213 absolute value.
8214 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8215 <math.h>.
8216 (__atanl): Force underflow exception for results with small
8217 absolute value.
8218 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8219 (__atanl): Force underflow exception for results with small
8220 absolute value.
8221 * sysdeps/x86/fpu/bits/mathinline.h
8222 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8223 (__ieee754_atan2): Only define inline for long double.
8224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8225 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8226 * math/auto-libm-test-in: Do not mark underflow exceptions as
8227 possibly missing for bug 15319. Add more tests of atan2.
8228 * math/auto-libm-test-out: Regenerated.
8229 * math/libm-test.inc (casin_test_data): Do not mark underflow
8230 exceptions as possibly missing for bug 15319.
8231 (casinh_test_data): Likewise.
8232 * sysdeps/i386/fpu/libm-test-ulps: Update.
8233
8234 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8235
8236 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8237 * sysdeps/mips/bits/endian.h: Fix comments.
8238
8239 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8240
8241 [BZ #17996]
8242 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8243 (hdestroy_r): Likewise.
8244 (hsearch_r): Likewise.
8245 (__hcreate_r): Declare and use libc_hidden_proto.
8246 (__hdestroy_r): Likewise.
8247 (__hsearch_r): Likewise.
8248 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8249 (hcreate): Call __hcreate_r instead of hcreate_r.
8250 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8251 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8252 as weak alias of __hcreate_r.
8253 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8254 __hdestroy_r.
8255 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8256 __hsearch_r.
8257 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8258 Remove variable.
8259 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8260 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8261 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8262 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8263
8264 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8265
8266 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8267 arena_lock into a single arena_get.
8268
8269 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8270
8271 * dl-reloc.c: Inlucde libc-internal.h.
8272 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8273 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8274 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8275 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8276 (grow_heap): Likewise.
8277 * malloc/malloc.c: Include libc-internal.h.
8278 (do_check_malloc): Call powerof2.
8279 (sysmalloc): Use pagesize. Call ALIGN_UP.
8280 (systrim): Use pagesize.
8281 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8282 (__libc_valloc): Use pagesize.
8283 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8284
8285 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8286
8287 [BZ #17991]
8288 * include/sys/resource.h (__getrlimit64): Declare. Use
8289 libc_hidden_proto.
8290 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8291 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8292 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8293 getrlimit64.
8294 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8295 __getrlimit64.
8296 [!getrlimit64] (getrlimit64): Define as weak alias of
8297 __getrlimit64. Use libc_hidden_weak.
8298 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8299 using __getrlimit64 not __new_getrlimit64.
8300 (__GI_getrlimit64): Likewise.
8301 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8302 Likewise.
8303 (__GI_getrlimit64): Likewise.
8304 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8306 (getrlimit): Add __getrlimit64 alias.
8307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8308 Likewise.
8309 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8310 Remove variable.
8311 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8312 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8313
8314 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8315
8316 * libio/fileops.c: Add missing sys/mman.h
8317 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8318
8319 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8320
8321 * manual/math.texi (Errors in Math Functions): Clarify goals
8322 regarding inexact and underflow exceptions.
8323
8324 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8325
8326 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8327 * sysdeps/mips/memset.S: Ditto.
8328
8329 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8330
8331 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8332
8333 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8334
8335 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8336 (__v1longjmp): Remove versioned symbol.
8337 (__v1siglongjmp): Remove alias and versioned symbol.
8338 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8339 (__v2siglongjmp): Likewise.
8340
8341 2015-02-16 Torvald Riegel <triegel@redhat.com>
8342
8343 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8344
8345 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8346
8347 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8348
8349 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8350
8351 [BZ #17987]
8352 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8353 zero result does not depend on the sign resulting from
8354 subtraction.
8355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8356 Likewise.
8357 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8358 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8360 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8361 * math/libm-test.inc (remquo_test_data): Add more tests.
8362
8363 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8364
8365 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8366 Problem reported by J William Piggott.
8367
8368 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8369
8370 [BZ #17978]
8371 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8372 products 4 * y and 2 * y where those would overflow.
8373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8374 Likewise.
8375 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8376 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8377 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8379 * math/libm-test.inc (remquo_test_data): Add more tests.
8380
8381 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8382
8383 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8384 [defined _COMPILING_NEWLIB].
8385 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8386 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8387
8388 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8389 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8390
8391 2015-02-16 Torvald Riegel <triegel@redhat.com>
8392
8393 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8394 acquired.
8395
8396 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8397
8398 [BZ #17792]
8399 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8400 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8401 HOST_STACK_END_ADDR): Likewise.
8402
8403 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8404
8405 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8406 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8407 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8408
8409 2015-02-13 Roland McGrath <roland@hack.frob.com>
8410
8411 * sysdeps/generic/c++-types.data: New file.
8412 * sysdeps/generic/ld.abilist: New file.
8413 * sysdeps/generic/libBrokenLocale.abilist: New file.
8414 * sysdeps/generic/libanl.abilist: New file.
8415 * sysdeps/generic/libc.abilist: New file.
8416 * sysdeps/generic/libcrypt.abilist: New file.
8417 * sysdeps/generic/libdl.abilist: New file.
8418 * sysdeps/generic/libm.abilist: New file.
8419 * sysdeps/generic/libpthread.abilist: New file.
8420 * sysdeps/generic/libresolv.abilist: New file.
8421 * sysdeps/generic/librt.abilist: New file.
8422
8423 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8424
8425 [BZ #17569]
8426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8427 Compute absolute value of x as modified by fmod, not original
8428 value of x.
8429 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8430 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8431 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8432 RUN_TEST_ffI_f1_mod8.
8433 (remquo_test_data): Add more tests.
8434
8435 2015-02-13 Roland McGrath <roland@hack.frob.com>
8436
8437 * sysdeps/init_array/pt-crti.S: New file.
8438
8439 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8440
8441 [BZ #17967]
8442 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8443 __builtin_fmaf instead of relying on contraction of a * b + c.
8444
8445 2015-02-12 J William Piggott <elseifthen@gmx.com>
8446
8447 [BZ #17969]
8448 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8449 node.
8450
8451 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8452
8453 [BZ #17964]
8454 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8455 __builtin_fma instead of relying on contraction of a * b + c.
8456
8457 2015-02-12 Roland McGrath <roland@hack.frob.com>
8458
8459 * Makeconfig (ASFLAGS): Add -Werror=undef.
8460 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8461 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8462 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8463
8464 * Makeconfig (after-link): New variable.
8465 (+link-pie, +link-pie-tests): Use it.
8466 (+link-static, +link-static-tests): Likewise.
8467 (+link, +link-tests): Likewise.
8468 * Makerules (build-module, build-module-asneeded): Likewise.
8469 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8470 Likewise.
8471 * elf/Makefile ($(objpfx)ld.so): Likewise.
8472
8473 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8474
8475 [BZ #17965]
8476 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8477 both struct timeval and struct timespec.
8478
8479 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8480
8481 [BZ #16560]
8482 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8483 and redefine.
8484 (__ieee754_exp2l): Do not multiply small fractional parts by
8485 M_LN2l.
8486 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8487 small argument.
8488 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8489 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8490 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8491 * math/auto-libm-test-in: Add more tests of exp2.
8492 * math/auto-libm-test-out: Regenerated.
8493
8494 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8495
8496 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8497 unaligned path.
8498
8499 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8500
8501 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8502 little endian.
8503
8504 2015-02-12 Andreas Schwab <schwab@suse.de>
8505
8506 [BZ #15790]
8507 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8508 Filter out elision flags from value returned in kind.
8509 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8510 * nptl/tst-pthread-mutexattr.c: New file.
8511
8512 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8513
8514 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8515 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8516 into gnu-gnu, and update comment to refer to abi-tags.
8517
8518 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8519
8520 [BZ #15467]
8521 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8522 (__sincos): Set errno to EDOM for infinite argument.
8523 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8524 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8525 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8526 (__sincosl): Set errno to EDOM for infinite argument.
8527 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8528 (__sincosl): Set errno to EDOM for infinite argument.
8529 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8530 (__sincosl): Set errno to EDOM for infinite argument.
8531 * math/libm-test.inc (sincos_test_data): Test errno setting.
8532
8533 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8534
8535 * string/strxfrm_l.c: Remove #define STRCMP.
8536 * string/strcoll_l.c: Remove #define STRLEN.
8537 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8538 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8539
8540 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8541
8542 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8543 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8544 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8545 * sysdeps/mips/mips64/Makefile: ... here.
8546 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8547 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8548 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8549 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8550 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8551 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8552 * sysdeps/mips/mips64/n64/Implies: Likewise.
8553
8554 2015-02-10 Roland McGrath <roland@hack.frob.com>
8555
8556 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8557 <sys/time.h>, <string.h>, and <errno.h>.
8558 (dest_offset, dest_address, value, zero): Remove unused variables.
8559 (ldouble): Remove typedef.
8560 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8561 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8562 1). Fix code style.
8563 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8564 (check): Function removed.
8565 (CHECK): New macro.
8566 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8567 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8568 Don't call set_sigaction_FP and remove_sigaction_FP here.
8569 (ldouble_test): Just use 'long double' as macro argument, no need for
8570 the 'ldouble' typedef.
8571 (do_test): Set up SIGFPE handler at start, using plain signal rather
8572 than sigaction. Fix code style.
8573
8574 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8575
8576 [BZ #17949]
8577 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8578 jump label.
8579
8580 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8581
8582 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8583 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8584
8585 * sysdeps/powerpc/configure.ac: Remove file.
8586 * sysdeps/powerpc/configure: Likewise.
8587
8588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8589 [sysdep_routines]: Remove wordcopy-power6 object.
8590 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8591 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8592 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8593 (__memmove_ppc32): Likewise.
8594 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8595 file.
8596 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8598 Remove preprocessor.
8599
8600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8601 [sysdep_routines]: Remove wide chars objects.
8602 [wcsmbs]: New rule for wide char objects.
8603
8604 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8605 Remove wordcopy-power6 obejct.
8606 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8607 Use local call for wordcopy and memcpy symbols.
8608 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8610 implementation for loader.
8611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8612
8613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8614 Remove wordcopy-power7 object.
8615 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8617 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8618 (_wordcopy_fwd_dest_aligned): Likewise.
8619 (_wordcopy_bwd_aligned): Likewise.
8620 (_wordcopy_bwd_dest_aligned): Likewise.
8621
8622 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8623 Rewrite to call __memmove_ppc instead of include default
8624 implementation.
8625
8626 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8627 Remove wide chars objects.
8628 [wcsmbs]: New rule for wide char objects.
8629
8630 2015-02-09 Andreas Schwab <schwab@suse.de>
8631
8632 [BZ #17912]
8633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8634 in terms of __O_DIRECTORY.
8635
8636 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8637
8638 * time/getdate.c: Include <stdbool.h>.
8639 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8640 call PTR_MANGLE.
8641 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8642 PTR_DEMANGLE.
8643
8644 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8645
8646 Add ersatz _Static_assert on older C hosts
8647 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8648 pre-C11 C platform that is not known to support _Static_assert.
8649
8650 2015-02-07 Richard Braun <rbraun@sceen.net>
8651
8652 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8653 sigstate.
8654 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8655
8656 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8657
8658 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8659 priority against unexistent AIO_PRIO_DELTA_MAX.
8660 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8661 instead of int.
8662 * misc/fchflags.c (fchflags): Likewise.
8663 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8664 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8665 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8666 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8667 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8668 Declare macros.
8669 [__USE_MISC] (chflags, fchflags): Declare functions.
8670 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8671 EINVAL when nfds is greater than FD_SETSIZE.
8672 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8673 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8674 45.
8675 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8676 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8677 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8678 MACH_RCV_TIMED_OUT.
8679 * hurd/hurd/signal.h (_hurd_self_sigstate,
8680 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8681 Explicit casts from void *.
8682 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8683 * abi-tags: Rename gnu-gnu os into gnu.
8684
8685 [BZ #4719]
8686 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8687 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8688 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8689 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8690 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8691 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8692
8693 [BZ #17944]
8694 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8695 duplicates ADDR->sun_path with sockaddr LEN limitation.
8696 * sysdeps/mach/hurd/connect.c: Include <string.h>
8697 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8698 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8699 * sysdeps/mach/hurd/sendto.c: Likewise.
8700 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8701 implementing it by hand.
8702
8703 2015-02-06 Roland McGrath <roland@hack.frob.com>
8704
8705 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8706 Use sfi_breg on ldr.
8707 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8708 Likewise.
8709
8710 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8711 it's defined.
8712 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8713 Test SIGSETXID only if it's defined.
8714
8715 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8716
8717 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8718 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8719
8720 * nptl/tst-align2.c: Moved ...
8721 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8722 * nptl/Makefile (tests): Remove tst-align2.
8723 * sysdeps/unix/sysv/linux/Makefile
8724 [$(subdir) = nptl] (tests): Add tst-align-clone.
8725 * nptl/tst-getpid1.c: Moved ...
8726 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8727 * nptl/tst-getpid2.c: Moved ...
8728 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8729 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8730 * sysdeps/unix/sysv/linux/Makefile
8731 [$(subdir) = nptl] (tests): ... here.
8732 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8733 * sysdeps/unix/sysv/linux/Makefile
8734 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8735
8736 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8737 Drop trailing \n from perror argument. Use return rather than exit.
8738
8739 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8740 on [SA_SIGINFO].
8741 * nptl/tst-cancel21.c (do_test): Likewise.
8742 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8743 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8744 [!SA_SIGINFO]: Make it a stub test.
8745
8746 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8747 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8748
8749 * posix/tst-getlogin.c: Move to ...
8750 * login/tst-getlogin.c: ... here.
8751 * posix/Makefile (tests): Move tst-getlogin to ...
8752 * login/Makefile (tests): ... here.
8753
8754 * libio/tst-atime.c (do_test): Move local variables SV and E
8755 inside [ST_NOATIME] conditional.
8756
8757 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8758
8759 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8760
8761 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8762 (wait_code): New function replaces macro.
8763 Call nanosleep rather than syscall.
8764
8765 * nptl/pt-system.c: Rewritten. Put everything under
8766 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8767 Use IFUNC to redirect when possible.
8768
8769 * nptl/pt-longjmp.c: Rewritten. Put everything under
8770 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8771 Use IFUNC to redirect when possible.
8772
8773 * nptl/pt-fork.c: Rewritten. Put everything under
8774 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8775 Use IFUNC to redirect when possible.
8776 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8777
8778 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8779 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8780 unconditionally nowadays. This included the only reference to
8781 __vdso_clock_gettime that appears outside libc proper.
8782 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8783 Remove version set (containing only __vdso_clock_gettime).
8784 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8785 Add attribute_hidden.
8786 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8787 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8788 libc_hidden_data_def.
8789 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8791
8792 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8793 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8794 setrpcent, and getrpcport to ...
8795 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8796 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8797 getrpcbynumber_r, and getrpcent_r to ...
8798 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8799 * inet/getrpcbyname.c: Moved ...
8800 * sunrpc/getrpcbyname.c: ... here.
8801 * inet/getrpcbyname_r.c: Moved ...
8802 * sunrpc/getrpcbyname_r.c: ... here.
8803 * inet/getrpcbynumber.c: Moved ...
8804 * sunrpc/getrpcbynumber.c: ... here.
8805 * inet/getrpcbynumber_r.c: Moved ...
8806 * sunrpc/getrpcbynumber_r.c: ... here.
8807 * inet/getrpcent.c: Moved ...
8808 * sunrpc/getrpcent.c: ... here.
8809 * inet/getrpcent_r.c: Moved ...
8810 * sunrpc/getrpcent_r.c: ... here.
8811 * inet/Makefile (routines): Move those to ...
8812 * sunrpc/Makefile (routines): ... here.
8813 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8814 the $(subdirs) list.
8815 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8816 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8817 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8818 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8819
8820 * elf/Makefile (routines): Include $(all-dl-routines), not just
8821 $(dl-routines).
8822 (rtld-routines): Likewise. Use = rather than :=.
8823 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8824 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8825 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8826 * sysdeps/arm/Makefile: Likewise.
8827 * sysdeps/i386/Makefile: Likewise.
8828 * sysdeps/x86_64/Makefile: Likewise.
8829 * sysdeps/hppa/Makefile [$(subdir) = elf]
8830 (sysdep_routines, sysdep-rtld-routines): Don't add
8831 $(sysdep-dl-routines) to these.
8832 * sysdeps/ia64/Makefile: Likewise.
8833 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8834 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8835 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8836 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8837 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8838 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8839 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8840 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8841 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8842 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8843 these; sysdep-dl-routines alone is enough.
8844
8845 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8846
8847 [BZ #17932]
8848 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8849 where multiplication results in zero and third argument is finite
8850 and nonzero.
8851 * math/auto-libm-test-in: Add more tests of fma.
8852 * math/auto-libm-test-out: Regenerated.
8853
8854 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8855 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8856 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8857 (_FP_CMP_EQ): Likewise.
8858 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8859
8860 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8861 extra argument CHECK_NAN. Redefine as wrapper around
8862 _FP_EXTEND_CNAN.
8863
8864 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8865
8866 * version.h (RELEASE): Set to "stable".
8867 (VERSION): Set to "2.21"
8868 * include/features.h (__GLIBC_MINOR__): Set to 21.
8869
8870 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8871
8872 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8873 Paul Eggert <eggert@cs.ucla.edu>
8874
8875 [BZ #16618]
8876 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8877 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8878 size in bytes. Store needed elements in wpmax. Use needed size
8879 in bytes for extend_alloca.
8880
8881 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
8882
8883 * manual/install.texi: Latest tested versions are GCC 4.9.2,
8884 binutls 2.25, and texinfo 5.2.
8885 * INSTALL: Regenerate.
8886 * sysdeps/nios2/configure: Regenerate.
8887 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8888 * manual/contrib.texi: Update.
8889 * po/be.po: Update.
8890 * po/bg.po: Update.
8891 * po/ca.po: Update.
8892 * po/cs.po: Update.
8893 * po/da.po: Update.
8894 * po/de.po: Update.
8895 * po/el.po: Update.
8896 * po/eo.po: Update.
8897 * po/es.po: Update.
8898 * po/fi.po: Update.
8899 * po/fr.po: Update.
8900 * po/gl.po: Update.
8901 * po/hr.po: Update.
8902 * po/hu.po: Update.
8903 * po/ia.po: Update.
8904 * po/id.po: Update.
8905 * po/it.po: Update.
8906 * po/ja.po: Update.
8907 * po/ko.po: Update.
8908 * po/lt.po: Update.
8909 * po/nb.po: Update.
8910 * po/nl.po: Update.
8911 * po/pl.po: Update.
8912 * po/pt_BR.po: Update.
8913 * po/ru.po: Update.
8914 * po/rw.po: Update.
8915 * po/sk.po: Update.
8916 * po/sl.po: Update.
8917 * po/sv.po: Update.
8918 * po/tr.po: Update.
8919 * po/uk.po: Update.
8920 * po/vi.po: Update.
8921 * po/zh_CN.po: Update.
8922 * po/zh_TW.po: Update.
8923
8924 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8925 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8926 * sysdeps/hppa/dl-irel.h: Remove #warning.
8927 * sysdeps/hppa/entry.h: Provide prototype for
8928 __canonicalize_funcptr_for_compare and cast argument.
8929 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8930 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8931 * sysdeps/hppa/sotruss-lib.c: New file.
8932 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8933 (atomic_compare_and_exchange_val_acq): Use __typeof__.
8934 (atomic_compare_and_exchange_bool_acq): Likewise.
8935 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8936 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8937
8938 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8939 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8940 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8941
8942 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8943
8944 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8945 called function in non-PIC case.
8946
8947 2015-01-31 David S. Miller <davem@davemloft.net>
8948
8949 * sysdeps/sparc/sparc32/bits/atomic.h
8950 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8951 unlock not after it.
8952 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8953 volatile register usage warnings from the compiler.
8954
8955 * sysdeps/sparc/nptl/sem_init.c: Delete.
8956 * sysdeps/sparc/nptl/sem_post.c: Delete.
8957 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8958 * sysdeps/sparc/nptl/sem_wait.c: Delete.
8959 * sysdeps/sparc/sparc32/sem_init.c: New file.
8960 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8961 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8962 padding explicitly initialized.
8963 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8964 padding for in-semaphore spinlock.
8965 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8966 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8967 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8968 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8969 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8970 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8971 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8972 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8973 version.
8974 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8975 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8976
8977 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
8978
8979 [BZ #17801]
8980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8981 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8982 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8983 New.
8984 (index_AVX_Fast_Unaligned_Load): Likewise.
8985 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8986 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8987 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8988 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8989 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8990 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8991 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8992 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8993 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8994
8995 2015-01-29 Andreas Schwab <schwab@suse.de>
8996
8997 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8998
8999 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9000
9001 [BZ #17892]
9002 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9003
9004 2015-01-28 Martin Sebor <msebor@redhat.com>
9005
9006 * math/README.libm-test: Clarify. Add "How to read the test output."
9007
9008 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9009
9010 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9011 Define to 0.
9012
9013 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9014
9015 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9016 (__HAVE_64B_ATOMICS): Define to 0.
9017
9018 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9019
9020 [BZ #17885]
9021 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9022 value to set as new flag.
9023
9024 [BZ #16576]
9025 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9026 and use _ARCH_PPCSQ instead.
9027 (__ieee754_sqrt): Likewise.
9028 (__ieee754_sqrtf): Likewise.
9029 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9030 _ARCH_PPCSQ is defined.
9031 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9032 fsqrt instruction.
9033 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9034 _ARCH_PPCSQ is defined.
9035 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9036 fsqrts instruction.
9037 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9038
9039 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9040
9041 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9042 bug (GCC BZ #64739).
9043
9044 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9045
9046 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9047 Mark _retval as used.
9048 (lll_futex_wake_unlock): Likewise.
9049 (lll_futex_timed_wait_requeue_pi): Likewise.
9050
9051 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9052 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9053 register variables.
9054
9055 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9056 libm_hidden_def.
9057
9058 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9059 (__bswap_64): Mark as __always_inline.
9060
9061 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9062
9063 [BZ #15378]
9064 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9065 when none of the search directories exist.
9066
9067 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9068
9069 [BZ #17869]
9070 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9071 power8 in .machine directive.
9072
9073 [BZ #17868]
9074 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9075 set dependency from opd value.
9076
9077 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9080 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9081 architecture.
9082
9083 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 [BZ #17870]
9086 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9087 with uint64_t.
9088 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9089 (uint64_t) 1.
9090 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9091 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9092 Replace 1UL with (uint64_t) 1.
9093 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9094 int with uint64_t.
9095
9096 2015-01-23 Roland McGrath <roland@hack.frob.com>
9097
9098 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9099 (if_freenameindex): Likewise.
9100
9101 * resource/getrlimit64.c: Add missing libc_hidden_def.
9102
9103 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9104
9105 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9106 __label__.
9107 (_FP_FMA): Likewise.
9108 (_FP_TO_INT_ROUND): Likewise.
9109 (_FP_FROM_INT): Likewise.
9110
9111 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9112
9113 [BZ #16418]
9114 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9115 Make code racy and cancel safe.
9116
9117 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9118
9119 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9120 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9121 attribution.
9122
9123 * pwd/tst-getpw.c: Rewrite.
9124
9125 [BZ #17702]
9126 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9127 (modules-names): Add moddummy1 and moddummy2.
9128 ($(objpfx)tst-rec-dlopen): Define.
9129 * dlfcn/moddummy1.c: New file.
9130 * dlfcn/moddummy2.c: New file.
9131 * dlfcn/tst-rec-dlopen.c: New file.
9132 * elf/dl-cache.c (_dl_load_cache_lookup):
9133 Return char*. Copy result with alloca/strcpy/strdup.
9134 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9135 returns char*. Free cached. If not saving realname
9136 free cached.
9137 * elf/dl-open.c (dl_open_worker): Do not assert that
9138 _r_debug->r_state is RT_CONSISTENT.
9139 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9140 returns char*.
9141
9142 2015-01-21 Torvald Riegel <triegel@redhat.com>
9143 Carlos O'Donell <carlos@redhat.com>
9144
9145 [BZ #12674]
9146 * nptl/sem_waitcommon.c: New file.
9147 * nptl/sem_wait.c: Include sem_waitcommon.c.
9148 (__sem_wait_cleanup, do_futex_wait): Remove.
9149 (__new_sem_wait): Adapt.
9150 (__new_sem_trywait): New function.
9151 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9152 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9153 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9154 (sem_timedwait): Adapt.
9155 * nptl/sem_post.c (__new_sem_post): Adapt.
9156 (futex_wake): New function.
9157 (__old_sem_post): Add release MO fence.
9158 * nptl/sem_open.c (sem_open): Adapt.
9159 * nptl/sem_init.c (__new_sem_init): Adapt.
9160 (futex_private_if_supported): New function.
9161 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9162 (__old_sem_getvalue): Add using previous code.
9163 * sysdeps/nptl/internaltypes.h: Adapt.
9164 * nptl/tst-sem13.c (do_test): Adapt.
9165 * nptl/tst-sem11.c (main): Adapt.
9166 * nptl/sem_trywait.c: Remove.
9167 * nptl/DESIGN-sem.txt: Remove.
9168 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9169 (gen-as-const-headers): Remove structsem.sym.
9170 * nptl/structsem.sym: Remove.
9171 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9172 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9173 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9174 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9175 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9176 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9177 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9178 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9179 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9180 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9181 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9182 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9183 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9184 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9185 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9186 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9187 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9188 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9189 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9190 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9191 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9192 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9193
9194 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9195
9196 * INSTALL: Regenerated.
9197
9198 * po/libc.pot: Regenerated.
9199
9200 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9201 Sandra Loosemore <sandra@codesourcery.com>
9202 Andrew Jenner <andrew@codesourcery.com>
9203 Joseph Myers <joseph@codesourcery.com>
9204 Nathan Sidwell <nathan@codesourcery.com>
9205
9206 * NEWS: Mention new Nios II port.
9207 * sysdeps/nios2/Implies: New file.
9208 * sysdeps/nios2/Makefile: New file.
9209 * sysdeps/nios2/Subdirs: New file.
9210 * sysdeps/nios2/Versions: New file.
9211 * sysdeps/nios2/__longjmp.S: New file.
9212 * sysdeps/nios2/abort-instr.h: New file.
9213 * sysdeps/nios2/backtrace.c: New file.
9214 * sysdeps/nios2/bits/endian.h: New file.
9215 * sysdeps/nios2/bits/fenv.h: New file.
9216 * sysdeps/nios2/bits/link.h: New file.
9217 * sysdeps/nios2/bits/setjmp.h: New file.
9218 * sysdeps/nios2/bsd-_setjmp.S: New file.
9219 * sysdeps/nios2/bsd-setjmp.S: New file.
9220 * sysdeps/nios2/configure: New generated file.
9221 * sysdeps/nios2/configure.ac: New file.
9222 * sysdeps/nios2/crti.S: New file.
9223 * sysdeps/nios2/crtn.S: New file.
9224 * sysdeps/nios2/dl-init.c: New file.
9225 * sysdeps/nios2/dl-machine.h: New file.
9226 * sysdeps/nios2/dl-sysdep.h: New file.
9227 * sysdeps/nios2/dl-tls.h: New file.
9228 * sysdeps/nios2/dl-trampoline.S: New file.
9229 * sysdeps/nios2/gccframe.h: New file.
9230 * sysdeps/nios2/gmp-mparam.h: New file.
9231 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9232 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9233 * sysdeps/nios2/ldsodefs.h: New file.
9234 * sysdeps/nios2/libc-tls.c: New file.
9235 * sysdeps/nios2/libm-test-ulps: New file.
9236 * sysdeps/nios2/machine-gmon.h: New file.
9237 * sysdeps/nios2/math-tests.h: New file.
9238 * sysdeps/nios2/math_private.h: New file.
9239 * sysdeps/nios2/memusage.h: New file.
9240 * sysdeps/nios2/nptl/Makefile: New file.
9241 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9242 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9243 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9244 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9245 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9246 * sysdeps/nios2/nptl/tls.h: New file.
9247 * sysdeps/nios2/preconfigure: New file.
9248 * sysdeps/nios2/s_fma.c: New file.
9249 * sysdeps/nios2/s_fmaf.c: New file.
9250 * sysdeps/nios2/setjmp.S: New file.
9251 * sysdeps/nios2/sfp-machine.h: New file.
9252 * sysdeps/nios2/sotruss-lib.c: New file.
9253 * sysdeps/nios2/stackguard-macros.h: New file.
9254 * sysdeps/nios2/stackinfo.h: New file.
9255 * sysdeps/nios2/start.S: New file.
9256 * sysdeps/nios2/sysdep.h: New file.
9257 * sysdeps/nios2/tls-macros.h: New file.
9258 * sysdeps/nios2/tst-audit.h: New file.
9259 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9260 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9261 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9262 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9263 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9264 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9265 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9266 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9267 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9268 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9269 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9270 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9271 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9272 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9273 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9274 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9275 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9276 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9277 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9278 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9279 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9280 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9281 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9282 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9283 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9284 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9285 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9286 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9287 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9288 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9289 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9290 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9291 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9292 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9293 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9294 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9295 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9296 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9297 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9298 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9299 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9300 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9301 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9302 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9303
9304 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9305
9306 [BZ #17844]
9307 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9308 (getutent): Use weak_alias in non SHARED case
9309 and default_symbol_version in SHARED case.
9310 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9311 (getutent_r, pututline): Likewise.
9312 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9313 (getutid): Likewise.
9314 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9315 (getutid_r): Likewise.
9316 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9317 (getutline): Likewise.
9318 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9319 (getutline_r): Likewise.
9320 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9321 (updwtmp): Likewise.
9322
9323 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9324
9325 [BZ #17848]
9326 * sysdeps/s390/s390-32/memcmp.S
9327 (memcmp_g5): Rename to __memcmp_g5.
9328 * sysdeps/s390/s390-32/memcpy.S
9329 (memcpy_g5): Rename to __memcpy_g5.
9330 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9331 (memcpy_mvcle) Rename to __memcpy_mvcle.
9332 * sysdeps/s390/s390-32/memset.S
9333 (memset_g5): Rename to __memset_g5.
9334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9335 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9336 and use prefixed functions.
9337 * sysdeps/s390/s390-32/multiarch/memcmp.S
9338 (memcmp_z196): Rename to __memcmp_z196.
9339 (memcmp_z10): Rename to __memcmp_z10.
9340 (memcmp): Set alias to __memcmp_g5.
9341 (bcmp): Set alias to __memcmp_g5.
9342 * sysdeps/s390/s390-32/multiarch/memcpy.S
9343 (memcpy_z196): Rename to __memcpy_z196.
9344 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9345 (memcpy_z10): Rename to __memcpy_z10.
9346 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9347 (memcpy): Set alias to __memcpy_g5.
9348 * sysdeps/s390/s390-32/multiarch/memset.S
9349 (memset_z196): Rename to __memset_z196.
9350 Jump to __memset_mvcle instead of memset_mvcle.
9351 (memset_z10): Rename to __memset_z10.
9352 Jump to __memset_mvcle instead of memset_mvcle.
9353 (memset_mvcle) Rename to __memset_mvcle.
9354 (memset): Set alias to __memset_g5.
9355 * sysdeps/s390/s390-64/memcmp.S
9356 (memcmp_z900): Rename to __memcmp_z900.
9357 * sysdeps/s390/s390-64/memcpy.S
9358 (memcpy_z900): Rename to __memcpy_z900.
9359 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9360 (memcpy_mvcle) Rename to __memcpy_mvcle.
9361 * sysdeps/s390/s390-64/memset.S
9362 (memset_z900): Rename to __memset_z900.
9363 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9364 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9365 and use prefixed functions.
9366 * sysdeps/s390/s390-64/multiarch/memcmp.S
9367 (memcmp_z196): Rename to __memcmp_z196.
9368 (memcmp_z10): Rename to __memcmp_z10.
9369 (memcmp): Set alias to __memcmp_z900.
9370 (bcmp): Set alias to __memcmp_z900.
9371 * sysdeps/s390/s390-64/multiarch/memcpy.S
9372 (memcpy_z196): Rename to __memcpy_z196.
9373 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9374 (memcpy_z10): Rename to __memcpy_z10.
9375 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9376 (memcpy): Set alias to __memcpy_z900.
9377 * sysdeps/s390/s390-64/multiarch/memset.S
9378 (memset_z196): Rename to __memset_z196.
9379 Jump to __memset_mvcle instead of memset_mvcle.
9380 (memset_z10): Rename to __memset_z10.
9381 Jump to __memset_mvcle instead of memset_mvcle.
9382 (memset_mvcle) Rename to __memset_mvcle.
9383 (memset): Set alias to __memset_z900.
9384
9385 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9386
9387 [BZ #17748]
9388 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9389 __fesetenv instead of fesetenv.
9390
9391 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9392
9393 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9394 macro.
9395
9396 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9397
9398 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9399 regression on LE.
9400
9401 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9402 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9403 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9404 strncmp-power8 object.
9405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9406 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9407 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9408 * NEWS: Update.
9409
9410 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9411 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9412
9413 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9414 trailing byte check.
9415
9416 2015-01-13 David S. Miller <davem@davemloft.net>
9417
9418 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9419
9420 2015-01-13 Roland McGrath <roland@hack.frob.com>
9421
9422 * login/logout.c (logout): Use memset rather than bzero.
9423 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9424 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9425 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9426 (_gethtbyaddr): Likewise.
9427 * locale/programs/simple-hash.c (bcopy): Macro removed.
9428
9429 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9430
9431 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9432 Add strcmp-power8 object.
9433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9434 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9435 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9436 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9437 __strcmp_power8 implementation.
9438 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9439 * NEWS: Update.
9440
9441 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9442 Add strncpy-power8 and stpncpy-power8 objects.
9443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9444 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9445 implementations.
9446 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9447 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9448 __stpncpy_power8 implementation.
9449 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9450 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9451 __strncpy_power8 implementation.
9452 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9453 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9454 * NEWS: Update.
9455
9456 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9457 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9458 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9459
9460 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9461 strncat-power8 object.
9462 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9463 __strcat_power8 implementation.
9464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9465 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9466 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9467 optimized strcat for power8.
9468
9469 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9470 strcpy-power8 and stpcpy-power8 objects.
9471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9472 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9473 implementations.
9474 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9475 multiarch stpcpy implementation for POWER8.
9476 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9477 multiarch strcpy implementation for POWER8.
9478 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9479 __strcpy_power8 function.
9480 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9481 stpcpy for POWER8.
9482 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9483 strcpy for POWER8.
9484 * NEWS: Update.
9485
9486 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9487
9488 [BZ #16009]
9489 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9490 weights and rules. Use do_xfrm_cached if data fits in cache,
9491 do_xfrm otherwise. Moved former main loop to...
9492 * (do_xfrm_cached): New function.
9493 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9494 find_idx, find_position and stack_push.
9495 * (find_idx): New function.
9496 * (find_position): Likewise.
9497 * localedata/sort-test.sh: Added test run for do_xfrm.
9498 * localedata/xfrm-test.c (main): Added command line option
9499 -nocache to run the test with strings that are too large for
9500 the STRXFRM cache.
9501
9502 2015-01-13 Torvald Riegel <triegel@redhat.com>
9503
9504 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9505 variable to lll_futex_wake call, not the value itself.
9506
9507 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9508
9509 [BZ #17803]
9510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9511 twom64. Adjust value to 0x1p-64L.
9512 (__scalblnl): Only return standard underflowing result for K <=
9513 -64 not K <= -63; adjust exponent for underflowing result by 64
9514 not 63.
9515 * math/libm-test.inc (scalbn_test_data): Add more tests.
9516 (scalbln_test_data): Likewise.
9517
9518 [BZ #17834]
9519 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9520 0x1p63L.
9521 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9522 not HX.
9523 * math/libm-test.inc (scalbn_test_data): Add more tests.
9524 (scalbln_test_data): Likewise.
9525
9526 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9527 Stefani Seibold <stefani@seibold.net>
9528
9529 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9530 (sysdep_routines): Add dl-vdso here, ...
9531 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9532 (sysdep_routines): ... not here.
9533 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9534 fallback when vDSO is not presented.
9535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9536 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9537 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9538 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9539 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9540 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9541 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9543 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9545 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9546 fallback configurable symbol when vDSO is not available.
9547 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9548 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9549 be able to redefine fallback symbol when vDSO is not available.
9550 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9551 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9552
9553 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9554
9555 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9556 (TLS_INIT_TP): Add tm_capable initialization.
9557 (TLS_DEFINE_INIT_TP): Likewise.
9558 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9559 TCB.
9560 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9561 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9562 calculation.
9563 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9564 transactoion is lock elision is built and TCB tm_capable is set.
9565 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9567 (INTERNAL_SYSCALL_NCS): Likewise.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9569 (INTERNAL_SYSCALL_NCS): Likewise.
9570 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9571
9572 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9573 for powerpc.
9574 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9575 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9576 and remove it for 32 bits case.
9577 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9579 initialization.
9580 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9581 Disable lock elision with rdlocks if elision is not available.
9582
9583 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9584 (sysdep_routines): Add lock elision objects.
9585 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9586 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9587 [pthread_mutex_t] (__elision): Add field.
9588 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9589 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9590 elision definitions for powerpc.
9591 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9592 implementation of lock elision for powerpc.
9593 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9594 implementation of timed lock elision for powerpc.
9595 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9596 implementation of trylock with lock elision for powerpc.
9597 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9598 implementaion of unlock for lock elision for powerpc.
9599 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9600 automatic enable lock elision for mutexes.
9601 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9602 transaction execution definitions for powerpc.
9603 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9604 definitions.
9605 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9606 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9607 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9608 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9609 * NEWS: Update.
9610
9611 2015-01-09 Roland McGrath <roland@hack.frob.com>
9612
9613 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9614 for #include of <shm-directory.h>.
9615
9616 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9617
9618 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9619 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9620
9621 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9622
9623 [BZ #17791]
9624 * NEWS: Mention bug fix.
9625 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9626 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9627 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9628
9629 2015-01-09 Torvald Riegel <triegel@redhat.com>
9630
9631 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9632
9633 2015-01-09 Torvald Riegel <triegel@redhat.com>
9634
9635 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9636
9637 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9638
9639 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9640 pointer and cast to uintptr_t.
9641
9642 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9643
9644 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9645 removed.
9646 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9647
9648 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9649
9650 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9651 of 0.
9652
9653 2015-01-08 Roland McGrath <roland@hack.frob.com>
9654
9655 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9656 <nptl/pthreadP.h> instead.
9657 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9658
9659 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9660 already defined.
9661 [__SIGRTMIN] (init): Function removed.
9662 [__SIGRTMIN] (initialized): Variable removed.
9663 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9664 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9665 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9666 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9667 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9668 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9669 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9670 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9671 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9672 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9673 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9674 * sysdeps/nptl/allocrtsig.c: New file.
9675 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9676 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9677 * sysdeps/generic/testrtsig.h: File removed.
9678
9679 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9680 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9681
9682 * nptl/nptl-init.c (pthread_functions): Conditionalize
9683 .ptr__nptl_setxid initialization on [SIGSETXID].
9684
9685 * sysdeps/nptl/sys/procfs.h: New file.
9686 * nptl_db/Makefile (headers): Add it.
9687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9688
9689 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9690 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9691 * nptl/pthread_attr_setaffinity.c: Include it.
9692 * nptl/pthread_setattr_default_np.c: Likewise.
9693 * nptl/check-cpuset.h: New file.
9694
9695 2015-01-08 Richard Henderson <rth@redhat.com>
9696
9697 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9698 (CFLAGS-tst-execstack-prog.c): Likewise.
9699 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9700
9701 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9702 Sandra Loosemore <sandra@codesourcery.com>
9703 Andrew Jenner <andrew@codesourcery.com>
9704 Joseph Myers <joseph@codesourcery.com>
9705 Nathan Sidwell <nathan@codesourcery.com>
9706
9707 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9708 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9709 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9710 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9711 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9712 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9713 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9714 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9715 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9716 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9717 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9718 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9719 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9720 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9721 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9722 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9723 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9724
9725 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9726
9727 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9728 timespec struct member in syscall macro.
9729 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9730 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9731 first timeval struct member in syscall macro.
9732 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9733
9734 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9735
9736 [BZ #17748]
9737 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9738 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9739 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9740 __feupdateenv and define as weak alias of __feupdateenv. Use
9741 libm_hidden_weak.
9742 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9743 libm_hidden_def.
9744 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9745 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9746 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9747 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9748 libm_hidden_def.
9749 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9750 __feupdateenv and define as weak alias of __feupdateenv. Use
9751 libm_hidden_weak.
9752 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9753 libm_hidden_def.
9754 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9755 __feupdateenv and define as weak alias of __feupdateenv. Use
9756 libm_hidden_weak.
9757 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9758 libm_hidden_def.
9759 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9760 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9761 (__feupdateenv): Likewise.
9762 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9763 __feupdateenv and define as weak alias of __feupdateenv. Use
9764 libm_hidden_weak.
9765 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9766 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9767 libm_hidden_def.
9768 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9769 function.
9770 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9771 libm_hidden_def.
9772 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9773 __feupdateenv instead of feupdateenv.
9774 (default_libc_feupdateenv_test): Likewise.
9775 (libc_feresetround_ctx): Likewise.
9776
9777 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9778
9779 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9780 prototype.
9781
9782 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9783
9784 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9785 COLL_SYM in a couple of places to avoid uninitialized variable
9786 wanings on tilegx gcc 4.8.2.
9787
9788 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9789
9790 * sysdeps/aarch64/strcpy.S: New file.
9791 * sysdeps/aarch64/stpcpy.S: New file.
9792 * NEWS: Updated.
9793
9794 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9795
9796 * sysdeps/aarch64/strrchr.S: New file.
9797 * NEWS: Updated.
9798
9799 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9800
9801 [BZ #17658]
9802 * stdlib/setenv.c: Fix memory leak when setting large,
9803 duplicate string.
9804
9805 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9806
9807 [BZ #17273]
9808 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9809 and tabs from buffer before parsing fstab entry.
9810 * misc/tst-mntent.c (main): Add test for mount entry with
9811 trailing spaces and tabs.
9812
9813 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9814
9815 [BZ #17748]
9816 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9817 * math/fesetround.c (fesetround): Rename to __fesetround and
9818 define as weak alias of __fesetround. Use libm_hidden_weak.
9819 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9820 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9821 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9822 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9823 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9824 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9825 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9826 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9827 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9828 __fesetround_inline.
9829 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9830 __fesetround_inline instead of __fesetround.
9831 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9832 __fesetround and define as weak alias of __fesetround. Use
9833 libm_hidden_weak. Call __fesetround_inline instead of
9834 __fesetround.
9835 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9836 __fesetround and define as weak alias of __fesetround. Use
9837 libm_hidden_weak.
9838 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9839 Likewise.
9840 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9841 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9842 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9843 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9844 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9845 __fesetround and define as weak alias of __fesetround. Use
9846 libm_hidden_weak.
9847 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9848 __fesetround instead of fesetround.
9849 (default_libc_feholdexcept_setround): Likewise.
9850 (libc_feholdsetround_ctx): Likewise.
9851 (libc_feholdsetround_noex_ctx): Likewise.
9852
9853 [BZ #17748]
9854 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9855 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9856 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9857 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9858 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9859 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9860 define as weak alias of __fesetenv. Use libm_hidden_weak.
9861 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9862 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9863 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9864 define as weak alias of __fesetenv. Use libm_hidden_weak.
9865 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9866 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9867 define as weak alias of __fesetenv. Use libm_hidden_weak.
9868 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9869 libm_hidden_def.
9870 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9871 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9872 Likewise.
9873 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9874 define as weak alias of __fesetenv. Use libm_hidden_weak.
9875 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9876 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9877 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9878 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9879 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9880 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9881 __fesetenv instead of fesetenv.
9882 (libc_feresetround_noex_ctx): Likewise.
9883 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9884 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9885 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9886 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9887 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9888 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9889 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9890 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9891 (__feupdateenv): Likewise.
9892 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9893 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9894 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9895 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9896
9897 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9898
9899 [BZ #17806]
9900 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9901 addresses have been freed.
9902
9903 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9904
9905 * resolv/res_init.c (__res_vinit): Improve comments about nserv
9906 and nservall.
9907
9908 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
9909
9910 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9911 Clean up check_pf allocation pattern. addresses
9912
9913 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9914
9915 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9916 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9917 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9918 * nptl/pthread_exit.c (__pthread_exit): Likewise.
9919 * nptl/pthread_join.c (pthread_join): Likewise.
9920 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9921 * sysdeps/posix/waitid.c (__waitid): Likewise.
9922 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9923 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9924 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9925 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9926 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9927 Likewise.
9928 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9929 (__libc_pread64): Likewise.
9930 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9931 (__libc_pwrite): Likewise.
9932 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9933 (__libc_pwrite64): Likewsie.
9934 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9935 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9936 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9937 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9938 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9939 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9940 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9942 Likewise.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9944 (__libc_pread64): Likewise.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9946 Likewise.
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9948 (__libc_pwrite64): Likewise.
9949 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9950 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9951 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9952 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9953 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9954 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9955 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9956 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9957 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9958 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9959 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9960 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9961 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9962 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9963 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9964 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9965 Likewise.
9966
9967 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9968
9969 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9970 (CFLAGS-test-double.c): Likewise.
9971 (CFLAGS-test-ldouble.c): Likewise.
9972 (CPPFLAGS-test-ifloat.c): Likewise.
9973 (CPPFLAGS-test-idouble.c): Likewise.
9974 (CPPFLAGS-test-ildoubl.c): Likewise.
9975 (CFLAGS-test-test-fenv.c): Remove variable.
9976 (CFLAGS-test-misc.c): Likewise.
9977
9978 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
9979
9980 [BZ #17797]
9981 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9982 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9983 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9984 CLOCKS_PER_SEC == 1000000.
9985 * time/clocktest.c (main): Replace %ld with %jd and cast to
9986 intmax_t.
9987
9988 2015-01-05 Roland McGrath <roland@hack.frob.com>
9989
9990 * sysdeps/generic/unwind-resume.h: New file.
9991 * sysdeps/gnu/unwind-resume.c: Include it.
9992 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9993 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9994 argument list.
9995 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9996 global rather than static.
9997 (_Unwind_Resume): Update user.
9998 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9999 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10000 rather than static. Add __attribute__ ((cold)).
10001 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10002 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10003 * sysdeps/arm/arm-unwind-resume.S: New file.
10004 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10005 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10006 * sysdeps/arm/Makefile [$(subdir) = csu]
10007 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10008 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10009 Add rt-arm-unwind-resume.
10010 [$(subdir) = nptl]
10011 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10012 Add pt-arm-unwind-resume.
10013 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10014 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10015
10016 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10017
10018 [BZ #17748]
10019 * include/fenv.h (__feholdexcept): Declare. Use
10020 libm_hidden_proto.
10021 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10022 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10023 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10024 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10025 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10026 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10027 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10028 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10029 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10030 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10031 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10032 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10033 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10034 (feholdexcept): Likewise.
10035 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10036 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10037 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10038 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10039 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10040 __feholdexcept instead of feholdexcept.
10041 (default_libc_feholdexcept_setround): Likewise.
10042
10043 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10044
10045 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10046 to avoid using stl/str to align destination.
10047
10048 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10049
10050 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10051
10052 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10053
10054 [BZ #17796]
10055 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10056 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10057 Define as weak alias not strong alias.
10058
10059 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10060
10061 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10062 bltzal with addiupc.
10063 (RTLD_START): Ditto.
10064
10065 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10066
10067 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10068 for __vdso_* functions in declarations.
10069 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10070 definitions.
10071 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10072 INTERNAL_VSYSCALL): Use struct return types to check for error.
10073
10074 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10075 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10076 function with cast from llround().
10077 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10078 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10079 Define.
10080
10081 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10082
10083 [BZ #17793]
10084 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10085 Define as weak alias not strong alias.
10086
10087 [BZ #17635]
10088 * ctype/ctype-c99.c: New file. isblank implementation moved from
10089 ...
10090 * ctype/ctype-extn.c: ... here.
10091 (__isblank_l): Move to ...
10092 * ctype/ctype-c99_l.c: ... here. New file.
10093 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10094 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10095 Remove variable.
10096 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10097 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10098 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10099 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10100 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10101
10102 [BZ #17777]
10103 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10104 (posix_fadvise64): Define as weak alias not strong alias.
10105 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10106 (posix_fallocate64): Likewise.
10107 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10108 Remove variable.
10109 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10110 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10111 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10112 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10113 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10114
10115 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10116
10117 [BZ #16191]
10118 * NEWS: Mention bug fix.
10119 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10120 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10121 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10122 (HOST_STACK_END_ADDR): Likewise.
10123
10124 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10125
10126 [BZ #17748]
10127 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10128 * math/fegetround.c (fegetround): Rename to __fegetround and
10129 define as weak alias of __fegetround. Use libm_hidden_weak.
10130 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10131 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10132 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10133 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10134 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10135 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10136 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10137 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10138 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10139 Undefine after rather than before function definition; use
10140 parentheses around function name in definition.
10141 (__fegetround): Also undefine macro after function definition.
10142 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10143 __fegetround and define as weak alias of __fegetround. Use
10144 libm_hidden_weak. Do not undefine as macro.
10145 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10146 Likewise.
10147 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10148 __fegetround and define as weak alias of __fegetround. Use
10149 libm_hidden_weak.
10150 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10151 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10152 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10153 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10154 __fegetround and define as weak alias of __fegetround. Use
10155 libm_hidden_weak.
10156 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10157 __fegetround instead of fegetround.
10158
10159 [BZ #17782]
10160 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10161 Condition macro definition on [__USE_MISC].
10162
10163 [BZ #17781]
10164 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10165 (struct sigaction): Change type of sa_flags field to int.
10166
10167 [BZ #17780]
10168 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10169 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10170 __glibc_reserved0.
10171
10172 * nptl/version.c (banner): Use single year in copyright notice.
10173
10174 * NEWS: Update copyright dates.
10175 * catgets/gencat.c (print_version): Likewise.
10176 * csu/version.c (banner): Likewise.
10177 * debug/catchsegv.sh: Likewise.
10178 * debug/pcprofiledump.c (print_version): Likewise.
10179 * debug/xtrace.sh (do_version): Likewise.
10180 * elf/ldconfig.c (print_version): Likewise.
10181 * elf/ldd.bash.in: Likewise.
10182 * elf/pldd.c (print_version): Likewise.
10183 * elf/sotruss.sh: Likewise.
10184 * elf/sprof.c (print_version): Likewise.
10185 * iconv/iconv_prog.c (print_version): Likewise.
10186 * iconv/iconvconfig.c (print_version): Likewise.
10187 * locale/programs/locale.c (print_version): Likewise.
10188 * locale/programs/localedef.c (print_version): Likewise.
10189 * login/programs/pt_chown.c (print_version): Likewise.
10190 * malloc/memusage.sh (do_version): Likewise.
10191 * malloc/memusagestat.c (print_version): Likewise.
10192 * malloc/mtrace.pl: Likewise.
10193 * manual/libc.texinfo: Likewise.
10194 * nptl/version.c (banner): Likewise.
10195 * nscd/nscd.c (print_version): Likewise.
10196 * nss/getent.c (print_version): Likewise.
10197 * nss/makedb.c (print_version): Likewise.
10198 * posix/getconf.c (main): Likewise.
10199 * scripts/test-installation.pl: Likewise.
10200 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10201
10202 2015-01-02 Will Newton <will.newton@linaro.org>
10203
10204 * sysdeps/arm/armv7/configure: Removed.
10205 * sysdeps/arm/armv7/configure.ac: Likewise.
10206
10207 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10208
10209 * All files with FSF copyright notices: Update copyright dates
10210 using scripts/update-copyrights.
10211 * intl/plural.c: Regenerated.
10212 * locale/programs/charmap-kw.h: Likewise.
10213 * locale/programs/locfile-kw.h: Likewise.
10214
10215 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10216
10217 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10218
10219 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10220
10221 [BZ #17748]
10222 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10223 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10224 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10225 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10226 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10227 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10228 define as weak alias of __fegetenv. Use libm_hidden_weak.
10229 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10230 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10231 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10232 define as weak alias of __fegetenv. Use libm_hidden_weak.
10233 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10234 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10235 define as weak alias of __fegetenv. Use libm_hidden_weak.
10236 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10237 libm_hidden_def.
10238 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10239 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10240 Likewise.
10241 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10242 define as weak alias of __fegetenv. Use libm_hidden_weak.
10243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10244 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10245 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10246 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10247 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10248 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10249 __fegetenv instead of fegetenv.
10250 (libc_feholdsetround_noex_ctx): Likewise.
10251
10252 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10253
10254 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10255 (Elf_MIPS_ABIFlags_v0): New structure.
10256 (EF_MIPS_FP64): Define.
10257 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10258 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10259 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10260 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10261 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10262 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10263 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10264 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10265 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10266 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10267 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10268 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10269 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10270 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10271 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10272 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10273 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10274 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10275 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10276 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10277 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10278 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10279 field.
10280 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10281 EF_MIPS_FP64.
10282 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10283 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10284 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10285 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10286 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10287 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10288 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10289 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10290 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10291 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10292 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10293 record the current FP ABI extension.
10294 (mips-mode-switch): Define to show if kernel headers support mode
10295 switching.
10296 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10297 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10298 supported SYSV ABI version to 3.
10299 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10300 feature.
10301
10302 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10303 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10304
10305 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10306 path.
10307 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10308
10309 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10310
10311 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10312 __fegetround and redefine to call __fegetround. Remove condition
10313 on [!__NO_MATH_INLINES].
10314 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10315 function.
10316 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10317 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10318 Remove macro.
10319 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10320 instead of <fenv_libc.h>.
10321 (__llrintl): Call fegetround instead of __fegetround.
10322 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10323 instead of <fenv_libc.h>.
10324 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10325 (__lrintl): Call fegetround instead of __fegetround.
10326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10327 instead of <fenv_libc.h>.
10328 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10329 (__rintl): Call fegetround instead of __fegetround.
10330
10331 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10332
10333 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10334 arrays.
10335
10336 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10337
10338 [BZ #17775]
10339 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10340 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10341 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10342
10343 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10344
10345 * sysdeps/i386/tls-macros.h: Include <features.h>.
10346 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10347 (TLS_IE): Likewise.
10348 (TLS_LD): Likewise.
10349 (TLS_GD): Likewise.
10350 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10351 define for GCC >= 5.0.
10352
10353 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10354
10355 * math/test-fenv.c (test_single_exception, set_single_exc,
10356 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10357 feexcp_mask_test, feenable_test, fe_single_test): Add
10358 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10359 case where they are not used.
10360 * math/libm-test.inc: Likewise.
10361 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10362 unused in the absence of FP rounding/exception support.
10363 * stdio-common/tst-printf-round.c: Likewise.
10364 * stdlib/tst-strtod-round.c: Likewise.
10365 * stdlib/tst-strtod-underflow.c: Likewise.
10366
10367 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10368
10369 [BZ #17723]
10370 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10371 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10372 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10373 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10374 libm_hidden_weak.
10375 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10376 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10377 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10378 libm_hidden_def.
10379 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10380 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10381 libm_hidden_weak.
10382 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10383 Likewise.
10384 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10385 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10386 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10387 libm_hidden_weak.
10388 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10389 libm_hidden_def.
10390 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10391 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10392 (__feraiseexcept): Likewise.
10393 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10394 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10395 libm_hidden_weak.
10396 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10397 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10398 libm_hidden_def.
10399 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10400 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10401 Use libm_hidden_def.
10402 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10403 libm_hidden_def.
10404 (feraiseexcept): Define as weak not strong alias. Use
10405 libm_hidden_weak.
10406 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10407 New inline function. Factored out of ...
10408 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10409 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10410 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10411 feraiseexcept.
10412 * math/w_acos.c (__acos): Likewise.
10413 * math/w_asin.c (__asin): Likewise.
10414 * math/w_ilogb.c (__ilogb): Likewise.
10415 * math/w_j0.c (y0): Likewise.
10416 * math/w_j1.c (y1): Likewise.
10417 * math/w_jn.c (yn): Likewise.
10418 * math/w_log.c (__log): Likewise.
10419 * math/w_log10.c (__log10): Likewise.
10420 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10421 * sysdeps/aarch64/fpu/math_private.h
10422 (libc_feupdateenv_test_aarch64): Likewise.
10423 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10424 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10425 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10426 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10427 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10428 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10429 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10430 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10431 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10432 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10433
10434 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10435
10436 [BZ #17732]
10437 * io/test-utime.c (main): Replace %ld with %jd and cast to
10438 intmax_t.
10439 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10440 * nptl/tst-mutex5.c: Include <stdint.h>.
10441 (do_test): Replace %ld with %jd and cast to intmax_t.
10442 * posix/tst-regex.c (run_test): Likewise.
10443 (run_test_backwards): Likewise.
10444 * rt/tst-clock.c: Include <stdint.h>.
10445 (clock_test): Replace %ld with %jd and cast to intmax_t.
10446 * rt/tst-cpuclock1.c: Include <stdint.h>.
10447 (do_test): Replace %lu with %ju and cast to uintmax_t.
10448 * rt/tst-cpuclock2.c: Include <stdint.h>.
10449 (do_test): Replace %lu with %ju and cast to uintmax_t.
10450 * rt/tst-mqueue1.c: Include <stdint.h>.
10451 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10452 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10453 intmax_t.
10454 * rt/tst-mqueue4.c (do_test): Likewise.
10455 * rt/tst-timer4.c: Include <stdint.h>.
10456 (check_ts): Replace %ld with %jd and cast to intmax_t.
10457 (do_test): Likewise.
10458 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10459 and cast to intmax_t.
10460 * sysdeps/pthread/tst-timer.c (main): Likewise.
10461 * time/clocktest.c (main): Likewise.
10462 * time/tst-posixtz.c (do_test): Likewise.
10463 * timezone/tst-timezone.c (main): Likewise.
10464
10465 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10466 H.J. Lu <hongjiu.lu@intel.com>
10467
10468 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10469 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10470 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10471 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10472 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10473 version if bit_Fast_Unaligned_Load is set.
10474 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10475 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10476 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10477 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10478 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10479 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10481 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10482 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10483 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10484 to 4.
10485 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10486 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10487 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10488 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10489
10490 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10491
10492 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10493 instead of #if to avoid a Wundef warning.
10494 * stdlib/tst-limits.c (do_test): Likewise.
10495
10496 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10497 parallel other exception macros.
10498 (fegetenv): Convert from macro to extern inline so that it applies
10499 retroactively to inline functions already seen by the compiler.
10500 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10501
10502 * posix/Makefile (before-compile): Use $(objpfx) for
10503 posix-conf-vars-def.h.
10504
10505 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10506
10507 * posix/getconf.c (main): Use size_t for type of I.
10508 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10509 NSPEC.
10510
10511 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10512 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10513 * posix/posix-envs.def: Likewise.
10514 * sysdeps/posix/sysconf.c: Likewise.
10515 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10516 (specs): Remove array.
10517 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10518 array.
10519
10520 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10521 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10522 (__sysconf): Use CONF_IS_* macros.
10523
10524 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10525 ($(objpfx)posix-conf-vars-def.h): New target.
10526 * posix/posix-conf-vars.list: New file.
10527 * posix/posix-conf-vars.h: New file.
10528 * posix/confstr.c: Include posix-conf-vars.h.
10529 (confstr): Use CONF_IS_* macros.
10530 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10531 CONF_IS_* macros.
10532 * scripts/gen-posix-conf-vars.awk: New file.
10533
10534 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10535
10536 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10537 fegetround): Add no-op macros to avoid linknamespace issues.
10538
10539 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10540 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10541
10542 * sysdeps/unix/sysv/linux/tile/sysdep.h
10543 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10544 assembly-specific section to avoid a redefinition warning.
10545
10546 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10547 long before casting to pointer to avoid a cast warning.
10548
10549 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10550
10551 * sysdeps/tile/tilegx/Implies: New file.
10552
10553 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10554
10555 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10556
10557 2014-12-23 Florian Weimer <fweimer@redhat.com>
10558
10559 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10560
10561 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10562
10563 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10564 not define.
10565 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10566 <kernel-features.h>.
10567 (__utimes) [__NR_utimes]: Make code unconditional.
10568 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10569 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10570 (__ASSUME_UTIMES): Do not undefine.
10571 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10572 (__ASSUME_UTIMES): Likewise.
10573 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10574 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10575 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10576 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10577
10578 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10579
10580 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10581
10582 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10583
10584 [BZ #17747]
10585 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10586 alias to weak alias for j0l, y0l.
10587 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10588 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10589
10590 [BZ #17746]
10591 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10592 conversion.
10593
10594 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10595
10596 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10597 to zero if not already defined.
10598
10599 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10600
10601 [BZ #17724]
10602 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10603 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10604 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10605 (char *) casts added.
10606 * sysdeps/ieee754/k_standardf.c: New file.
10607 * sysdeps/ieee754/k_standardl.c: Likewise.
10608 * math/Makefile (libm-support): Remove k_standard.
10609 (libm-calls): Add k_standard.
10610
10611 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10612
10613 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10614 Optimize to avoid an unnecessary FPCR read.
10615
10616 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10617
10618 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10619 Optimize to reduce FPCR/FPSR accesses.
10620
10621 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10622
10623 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10624 Call libc_fetestexcept_aarch64.
10625
10626 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10627
10628 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10629 Call libc_fesetround_aarch64.
10630
10631 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10632
10633 [BZ #17733]
10634 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10635 (__bind): Do not define as weak alias.
10636 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10637 define.
10638 (__getsockname): Do not define as weak alias.
10639
10640 2014-12-22 Will Newton <will.newton@linaro.org>
10641
10642 * manual/install.texi: Document that we require bison 2.7
10643 or above.
10644 * INSTALL: Regenerate.
10645 * configure.ac: Use AC_CHECK_PROG_VER instead of
10646 AC_PATH_PROG when checking for bison and check for
10647 version 2.7 or above.
10648 * configure: Regenerate.
10649
10650 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10651
10652 [BZ #17745]
10653 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10654 * sysdeps/tile/ffsll.c (ffsll): To here.
10655
10656 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10657
10658 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10661 if not defined.
10662 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10663 definition.
10664 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10665 hidden ___tls_get_addr.
10666 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10667 hidden __tls_get_addr.
10668 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10669 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10670 Likewise.
10671
10672 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10675 _dl_init call.
10676
10677 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10678
10679 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10680 from "call _dl_init@PLT".
10681 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10682
10683 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10684
10685 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10686 guarantees.
10687
10688 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10689
10690 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10691
10692 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10693
10694 [BZ #17744]
10695 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10696 strnlen.
10697
10698 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10699
10700 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10701 of multu on MIPSr6.
10702 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10703 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10704 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10705 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10706 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10707
10708 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10709
10710 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10711 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10712 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10713 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10714 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10715 mips32r6/mips64r6.
10716 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10717
10718 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10719
10720 * string/strncat.c (STRNCAT): Simplify implementation.
10721
10722 2014-12-19 David S. Miller <davem@davemloft.net>
10723
10724 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10725 access the quad as both a long double and as a series of 4 words.
10726
10727 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10728 link_map->l_info array access.
10729
10730 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10731
10732 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10733
10734 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10735 * math/atest-exp2.c (TIMEOUT): Likewise.
10736 * math/atest-sincos.c (TIMEOUT): Likewise.
10737
10738 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10741 -Wno-error with -fno-builtin-lround.
10742
10743 2014-12-19 Torvald Riegel <triegel@redhat.com>
10744
10745 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10746 Contains futex constants and functions moved over from ...
10747 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10748 <lowlevellock-futex.h>.
10749 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10750 (lll_timedwait_tid): Add comments and parentheses around macro
10751 arguments.
10752
10753 2014-12-19 Torvald Riegel <triegel@redhat.com>
10754
10755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10756 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10757 (__lll_private_flag): Remove.
10758 (lll_futex_wait): Likewise.
10759 (lll_futex_timed_wait): Likewise.
10760 (lll_futex_wake): Likewise.
10761 (lll_futex_requeue): Likewise.
10762 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10763 (__lll_timedwait_tid): Spell out argument names.
10764 (lll_timedwait_tid): Add comments and parentheses around macro
10765 arguments.
10766 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10767 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10768
10769 2014-12-19 Torvald Riegel <triegel@redhat.com>
10770
10771 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10772 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10773 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10774 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10775 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10776 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10777 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10778 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10779 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10780 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10781 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10783 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10785 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10786 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10787 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10788 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10789 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10790
10791 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 * sysdeps/x86_64/x32/Makefile: New file.
10794
10795 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10798 1L with (mp_limb_t) 1.
10799
10800 2014-12-17 Roland McGrath <roland@hack.frob.com>
10801
10802 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10803 * nptl/libc_pthread_init.c: ... here.
10804 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10805 * nptl/register-atfork.c: ... here.
10806
10807 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10808 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10809 Use assert_perror to check its return value.
10810 (__gai_create_helper_thread): Likewise.
10811
10812 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10813
10814 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10815
10816 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10817
10818 [BZ #17725]
10819 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10820 __profil_counter.
10821 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10822 Likewise.
10823 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10824 Likewise.
10825 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10826 Likewise.
10827 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10828 (profil_counter): Likewise.
10829 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10830 (profil_counter): Likewise.
10831 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10832 Likewise.
10833 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10834 Likewise.
10835 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10836 (profil_counter): Likewise.
10837 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10838 Likewise.
10839 [!__profil_counter] (profil_counter): Define as weak alias of
10840 __profil_counter.
10841 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10842 (profil_counter): Rename to __profil_counter.
10843 [!__profil_counter] (profil_counter): Define as weak alias of
10844 __profil_counter.
10845 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10846 (profil_counter): Rename to __profil_counter.
10847 [!__profil_counter] (profil_counter): Define as weak alias of
10848 __profil_counter.
10849 * sysdeps/posix/profil.c: Update comment referring to
10850 profil_counter.
10851 (__profil): Use __profil_counter instead of profil_counter.
10852 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10853 __profil_counter. Use __profil_counter_ushort and
10854 __profil_counter_uint in definitions.
10855 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10856 instead of profil_counter_uint and profil_counter_ushort.
10857
10858 [BZ #17722]
10859 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10860 define as weak alias of __inet_makeaddr.
10861 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10862 as weak alias of __inet_addr.
10863 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10864 as weak alias of __inet_pton. Use libc_hidden_weak.
10865 * include/arpa/inet.h (__inet_pton): Declare. Use
10866 libc_hidden_proto.
10867 (inet_makeaddr): Don't use libc_hidden_proto.
10868 (__inet_makeaddr): Declare. Use libc_hidden_proto.
10869 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10870 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
10871 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10872 Remove variable.
10873 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10874 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10875
10876 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
10877
10878 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10879
10880 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10881
10882 * stdio-common/bug-vfprintf-nargs.c (do_test):
10883 Cast value to intptr_t to avoid format warning
10884 for usage with PRIdPTR printing macro.
10885
10886 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10887
10888 * libio/tst-widetext.c (do_test):
10889 Use format type %td instead of %Zd for ptrdiff_t
10890 in order to avoid format warning.
10891
10892 2014-12-17 Andreas Schwab <schwab@suse.de>
10893
10894 * nscd/mem.c (gc): Add size_t cast to match printf format.
10895
10896 2014-12-16 Roland McGrath <roland@hack.frob.com>
10897
10898 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10899 (init): Apply PTR_MANGLE to pointers before storing them.
10900 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10901 before using them.
10902
10903 2014-12-16 Joseph Myers <joseph@codesourcery.com>
10904
10905 [BZ #17719]
10906 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10907 define as weak alias of __memrchr.
10908 (__memrchr): Do not define as strong alias of memrchr.
10909 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10910 Remove variable.
10911 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10912 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10913 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10914
10915 [BZ #17717]
10916 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10917 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
10918 (if_indextoname): Rename to __if_indextoname and define as weak
10919 alias of __if_indextoname. Use libc_hidden_weak.
10920 (if_freenameindex): Rename to __if_freenameindex and define as
10921 weak alias of __if_freenameindex.
10922 (if_nameindex): Rename to __if_nameindex and define as weak alias
10923 of __if_nameindex.
10924 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10925 __if_nametoindex and define as weak alias of __if_nametoindex.
10926 Use libc_hidden_weak.
10927 (if_freenameindex): Rename to __if_freenameindex and define as
10928 weak alias of __if_freenameindex.
10929 (if_nameindex): Rename to __if_nameindex and define as weak alias
10930 of __if_nameindex.
10931 (if_indextoname): Rename to __if_indextoname and define as weak
10932 alias of __if_indextoname. Use libc_hidden_weak.
10933 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10934 __if_nametoindex and define as weak alias of __if_nametoindex.
10935 Use libc_hidden_weak.
10936 (if_freenameindex): Rename to __if_freenameindex and define as
10937 weak alias of __if_freenameindex. Use libc_hidden_weak.
10938 (if_nameindex_netlink): Use __if_freenameindex instead of
10939 if_freenameindex.
10940 (if_nameindex): Rename to __if_nameindex and define as weak alias
10941 of __if_nameindex. Use libc_hidden_weak.
10942 (if_indextoname): Rename to __if_indextoname and define as weak
10943 alias of __if_indextoname. Use libc_hidden_weak.
10944 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10945 libc_hidden_proto.
10946 [!_ISOMAC] (__if_freenameindex): Likewise.
10947 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10948 if_nametoindex.
10949 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10950 variable.
10951 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10952 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10953 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10954 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10955 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10956 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10957 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10958
10959 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10960 Remove variable.
10961 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10962 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10963
10964 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10965
10966 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10967 subscript above bounds'
10968
10969 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10970 bounds.
10971
10972 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
10973
10974 * libio/tst-fopenloc.c: Use test-skeleton.c.
10975
10976 * stdlib/tst-bsearch.c: Use test-skeleton.c.
10977 (entry): Rename to ITEM.
10978 (do_test, comp): Adjust.
10979
10980 * stdio-common/tst-fseek.c: Use test-skeleton.c.
10981
10982 2014-12-16 Torvald Riegel <triegel@redhat.com>
10983
10984 * string/tester.c: Include <libc-internal.h>.
10985 (test_memset): Ignore -Wmemset-transposed-args.
10986
10987 2014-12-16 Torvald Riegel <triegel@redhat.com>
10988
10989 * misc/tst-mntent2.c (do_test): Fix warning.
10990
10991 2014-12-16 Torvald Riegel <triegel@redhat.com>
10992
10993 * elf/tst-unique4lib.cc(a): Mark as used.
10994
10995 2014-12-16 Florian Weimer <fweimer@redhat.com>
10996
10997 [BZ #17630]
10998 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10999 names.
11000
11001 2014-12-16 Allan McRae <allan@archlinux.org>
11002
11003 * stdio-common/Makefile (tests): Re-add bug26.
11004
11005 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11006
11007 [BZ #17657]
11008 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11009 static array.
11010
11011 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11012
11013 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11014 (__lll_lock_wait): Likewise.
11015 (__lll_timedlock_wait): Likewise.
11016 (__lll_timedwait_tid): Likewise.
11017 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11018 (__lll_robust_timedlock_wait): Likewise.
11019 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11020 (lll_cond_trylock): Likewise.
11021 (__lll_lock): Likewise.
11022 (__lll_robust_lock): Likewise.
11023 (__lll_cond_lock): Likewise.
11024 (lll_robust_cond_lock): Likewise.
11025 (__lll_timedlock): Likewise.
11026 (__lll_robust_timedlock): Likewise.
11027 (__lll_unlock): Likewise.
11028 (__lll_robust_unlock): Likewise.
11029 (lll_wait_tid): Likewise.
11030 (lll_timedwait_tid): Likewise.
11031
11032 2014-12-15 Torvald Riegel <triegel@redhat.com>
11033
11034 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11035
11036 2014-12-15 Torvald Riegel <triegel@redhat.com>
11037
11038 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11039
11040 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11041
11042 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11043 * stdio-common/tst-sprintf.c: Likewise.
11044
11045 2014-12-15 Torvald Riegel <triegel@redhat.com>
11046
11047 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11048
11049 2014-12-15 Jeff Law <law@redhat.com>
11050
11051 [BZ #16617]
11052 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11053 on the heap. (CVE-2012-3406)
11054 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11055 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11056 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11057
11058 2014-12-15 Will Newton <will.newton@linaro.org>
11059
11060 * manual/install.texi: Bump required version of texinfo
11061 to 4.7 from 4.5.
11062 * INSTALL: Regenerated.
11063 * configure.ac: Check for makeinfo version 4.7 and above.
11064 * configure: Regenerated.
11065
11066 2014-12-12 Roland McGrath <roland@hack.frob.com>
11067
11068 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11069 PREFIX, string constant to insert between directory and name.
11070 * sysdeps/posix/shm_open.c: Update caller.
11071 * sysdeps/posix/shm_unlink.c: Likewise.
11072 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11073 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11074 (SEM_SHM_PREFIX): New macro.
11075 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11076 [$(have-thread-library) = no].
11077 * nptl/Makefile (libpthread-routines): Add shm-directory.
11078 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11079 * sysdeps/nptl/shm-directory.h: New file.
11080 * sysdeps/posix/shm-directory.c
11081 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11082 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11083 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11084 INTERNAL_SYSCALL.
11085 (__where_is_shmfs): Function removed.
11086 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11087 Variables removed.
11088 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11089 Use SHM_GET_NAME.
11090 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11091
11092 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11093 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11094 unconditional for use inside libpthread.
11095 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11096
11097 2014-12-12 Roland McGrath <roland@hack.frob.com>
11098
11099 * nptl/pthread_getaffinity.c: New file.
11100 * nptl/pthread_setaffinity.c: New file.
11101 * nptl/pthread_getname.c: New file.
11102 * nptl/pthread_setname.c: New file.
11103
11104 * nptl/pthread_create.c (START_THREAD_DEFN)
11105 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11106
11107 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11108 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11109
11110 * resolv/res_send.c (send_vc): Disable warning resplen may
11111 be used uninitialized.
11112
11113 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11114
11115 * nptl/tst-mutex6.c
11116 (ATTR_NULL): New define checks ATTR against NULL.
11117 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11118 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11119
11120 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11121
11122 [BZ #17581]
11123 * malloc/hooks.c
11124 (mem2mem_check): Revert my previous change.
11125 (malloc_check_get_size): Revert my previous change.
11126 (mem2chunk_check): Revert my previous change.
11127
11128 2014-12-11 Roland McGrath <roland@hack.frob.com>
11129
11130 * sysdeps/posix/shm-directory.c: New file.
11131 * sysdeps/posix/shm-directory.h: New file.
11132 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11133 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11134 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11135 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11136 Transmute EPERM to EACCES.
11137 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11138 from ...
11139 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11140 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11141
11142 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11143
11144 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11145 pointer and cast to uintptr_t.
11146 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11147 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11148 Add cast to avoid warning.
11149 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11150
11151 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11152
11153 * nptl/semaphore.h: Move to ...
11154 * sysdeps/pthread/semaphore.h: ... here.
11155 * Makefile (installed-headers): Change nptl/semaphore.h to
11156 sysdeps/pthread/semaphore.h.
11157
11158 2014-12-11 Roland McGrath <roland@hack.frob.com>
11159
11160 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11161 generated error format strings.
11162
11163 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11164 -Wformat-extra-args warnings for scanf formats.
11165 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11166 test of zero-length format (duh).
11167 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11168 corner-case scanf format test.
11169 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11170 generated fprintf format string.
11171 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11172 corner-case sprintf format tests.
11173 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11174 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11175 -Wformat-extra-args warnings throughout.
11176 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11177 (CFLAGS-scanf4.c): Likewise.
11178 (CFLAGS-scanf7.c): Likewise.
11179 (CFLAGS-tst-sprintf.c): Likewise.
11180 (CFLAGS-tst-printf.c): Likewise.
11181 (CFLAGS-tst-printfsz.c): Likewise.
11182
11183 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11184
11185 * include/cpio.h: New file.
11186 * include/fmtmsg.h: Likewise.
11187
11188 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11189 corresponding format argument to size_t.
11190 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11191 arguments.
11192 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11193 corresponding format argument to size_t.
11194 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11195 arguments.
11196 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11197 corresponding format argument to size_t.
11198 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11199 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11200 (CFLAGS-tst-mbswcs2.c): Likewise.
11201 (CFLAGS-tst-mbswcs3.c): Likewise.
11202 (CFLAGS-tst-mbswcs4.c): Likewise.
11203 (CFLAGS-tst-mbswcs5.c): Likewise.
11204 (CFLAGS-tst-trans.c): Likewise
11205
11206 2014-12-11 Roland McGrath <roland@hack.frob.com>
11207
11208 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11209 rather than assuming they won't contain any '%'s.
11210
11211 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11212
11213 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11214 inhibit_loop_to_libcall to avoid recursive calls.
11215 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11216 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11217
11218 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11219
11220 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11221 prototype.
11222
11223 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11224
11225 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11226 integer value instead of boolean.
11227
11228 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11229
11230 * malloc/malloc.c: Fix powerof2 check.
11231
11232 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11233
11234 * locale/programs/locfile.h (maybe_swap_uint32):
11235 Remove inline and add unused attribute.
11236
11237 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11238
11239 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11240 Truncating assembler expression to a .long expression.
11241
11242 2014-12-11 Andreas Schwab <schwab@suse.de>
11243
11244 * elf/rtld.c (struct map_args): Constify str member.
11245 (do_preload): Constify fname argument.
11246
11247 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11248
11249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11250 constants definition.
11251
11252 2014-12-11 Andreas Schwab <schwab@suse.de>
11253
11254 [BZ #16657]
11255 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11256 FORCE_ELISION instead of DO_ELISION.
11257 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11258 Remove.
11259 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11260 Likewise.
11261
11262 * iconvdata/gconv-modules: Remove duplicate entry.
11263
11264 2014-12-11 Will Newton <will.newton@linaro.org>
11265
11266 Merge gettext 0.19.3 into intl/.
11267
11268 This involves a number of cosmetic changes to comments
11269 and ANSI function definitions and prototypes throughout
11270 all the files. The gettext copyright header is used but
11271 with the date ranges taken from the glibc copy.
11272
11273 * NEWS: Add gettext merge to 2.21.
11274 * intl/bindtextdom.c: Switch to gettext copyright.
11275 Use ANSI definitions and prototypes.
11276 Use gl_* locking primitives rather than __libc_* ones.
11277 Use __builtin_expect rather than __glibc_likely/unlikely.
11278 * intl/dcgettext.c: Switch to gettext copyright.
11279 Use ANSI definitions and prototypes.
11280 * intl/dcigettext.c: Switch to gettext copyright.
11281 Use ANSI definitions and prototypes.
11282 (INTDIV0_RAISES_SIGFPE): New define.
11283 Use gl_* locking primitives rather than __libc_* ones.
11284 Include eval-plural.h instead of plural-eval.c.
11285 Use __builtin_expect rather than __glibc_likely/unlikely.
11286 * intl/dcngettext.c: Switch to gettext copyright.
11287 Use ANSI definitions and prototypes.
11288 * intl/dgettext.c: Likewise.
11289 * intl/dngettext.c: Likewise.
11290 * intl/plural-eval.c: Renamed to...
11291 * intl/eval-plural.h: ...this.
11292 * intl/explodename.c: Switch to gettext copyright.
11293 Use ANSI definitions and prototypes.
11294 (_nl_explode_name): Use strchr instead of __rawmemchr.
11295 * intl/finddomain.c: Switch to gettext copyright.
11296 Use ANSI definitions and prototypes.
11297 Use gl_* locking primitives rather than __libc_* ones.
11298 (_nl_find_domain): Use malloc rather than alloca for
11299 allocation of temporary locale name.
11300 * intl/gettext.c: Switch to gettext copyright.
11301 Use ANSI definitions and prototypes.
11302 * intl/gettextP.h: Switch to gettext copyright.
11303 Use ANSI definitions and prototypes.
11304 Use gl_* locking primitives rather than __libc_* ones.
11305 * intl/gmo.h: Switch to gettext copyright.
11306 (struct sysdep_string): Move struct segment_pair outside of
11307 struct definition.
11308 * intl/hash-string.c: Use ANSI definitions and prototypes.
11309 * intl/hash-string.h: Switch to gettext copyright.
11310 Use ANSI definitions and prototypes.
11311 * intl/l10nflist.c: Switch to gettext copyright.
11312 Use ANSI definitions and prototypes.
11313 (_nl_normalize_codeset): Avoid integer overflow.
11314 * intl/loadinfo.h: Switch to gettext copyright.
11315 Use ANSI definitions and prototypes.
11316 (LIBINTL_DLL_EXPORTED): New define.
11317 (PATH_SEPARATOR): New define.
11318 * intl/loadmsgcat.c: Switch to gettext copyright.
11319 * intl/localealias.c: Switch to gettext copyright.
11320 Use ANSI definitions and prototypes.
11321 (_nl_expand_alias): Use PATH_SEPARATOR.
11322 * intl/ngettext.c: Switch to gettext copyright.
11323 Use ANSI definitions and prototypes.
11324 * intl/plural-exp.c: Likewise.
11325 * intl/plural-exp.h: Switch to gettext copyright.
11326 Use ANSI definitions and prototypes.
11327 (struct expression): Move definition of enum operator outside
11328 of struct definition.
11329 * intl/plural.c: Regenerate.
11330 * intl/plural.y: Switch to gettext copyright.
11331 Use ANSI definitions and prototypes.
11332 Port to bison 3.0.
11333 * intl/textdomain.c: Switch to gettext copyright.
11334 Use ANSI definitions and prototypes.
11335 Use gl_* locking primitives rather than __libc_* ones.
11336
11337 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11338
11339 * debug/warning-nop.c: Add used atrribute.
11340
11341 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11342
11343 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11344
11345 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11346 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11347 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11348
11349 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11350 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11351
11352 [BZ #17634]
11353 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11354 Undefine after defining function. Define as weak alias of
11355 __wcschr. Use libc_hidden_weak.
11356 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11357 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11358 (libc_hidden_def): Also define __GI___wcschr alias.
11359 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11360 __wcschr and define as weak alias of __wcschr.
11361 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11362 __wcschr.
11363 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11364 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11365 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11366 libc_hidden_weak. Do not use libc_hidden_def.
11367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11368 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11369 __GI___wcschr alias.
11370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11371 [IS_IN (libc)] (wcschr): Define as macro expanding to
11372 __redirect_wcschr.
11373 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11374 [IS_IN (libc)] (__wcschr_power6): Likewise.
11375 [IS_IN (libc)] (__wcschr_power7): Likewise.
11376 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11377 instead of wcschr.
11378 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11379 __libc_wcschr.
11380 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11381 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11382 __wcschr and define as weak alias of __wcschr. Use
11383 libc_hidden_builtin_def.
11384 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11385 as weak alias of __wcschr. Use libc_hidden_weak.
11386 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11387 wcschr.
11388 * time/era.c (_nl_init_era_entries): Likewise.
11389 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11390 variable.
11391 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11392 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11393
11394 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11395
11396 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11397 format for long int variable.
11398
11399 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11400
11401 [BZ #10672]
11402 * manual/search.texi: (Array Sort Function): Remove claim how to make
11403 qsort stable.
11404
11405 2014-12-10 Andreas Schwab <schwab@suse.de>
11406
11407 [BZ #12847]
11408 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11409 user-controlled locks.
11410
11411 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11412
11413 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11414 register.
11415
11416 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11417
11418 * configure.ac (--disable-werror): New configure option.
11419 (enable_werror): New AC_SUBST.
11420 * configure: Regenerated.
11421 * config.make.in (enable-werror): New variable.
11422 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11423 -Wno-error=undef.
11424 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11425 * manual/install.texi (Configuring and compiling): Document
11426 --disable-werror.
11427 * INSTALL: Regenerated.
11428 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11429 (CFLAGS-tst-chk2.c): Likewise.
11430 (CFLAGS-tst-chk3.c): Likewise.
11431 (CFLAGS-tst-chk4.cc): Likewise.
11432 (CFLAGS-tst-chk5.cc): Likewise.
11433 (CFLAGS-tst-chk6.cc): Likewise.
11434 (CFLAGS-tst-lfschk1.c): Likewise.
11435 (CFLAGS-tst-lfschk2.c): Likewise.
11436 (CFLAGS-tst-lfschk3.c): Likewise.
11437 (CFLAGS-tst-lfschk4.cc): Likewise.
11438 (CFLAGS-tst-lfschk5.cc): Likewise.
11439 (CFLAGS-tst-lfschk6.cc): Likewise.
11440
11441 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11442 (main): Disable -Wdeprecated-declarations around calls to
11443 register_printf_function.
11444
11445 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11446 (do_test): Disable -Wdiv-by-zero around some calls to
11447 fwrite_unlocked and fread_unlocked.
11448
11449 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11450 (DIAG_POP_NEEDS_COMMENT): Likewise.
11451 (_DIAG_STR1): Likewise.
11452 (_DIAG_STR): Likewise.
11453 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11454 * stdio-common/bug21.c: Include <libc-internal.h>.
11455 (do_test): Disable -Wformat around call to sscanf.
11456 * stdio-common/scanf14.c: Include <libc-internal.h>.
11457 (main): Disable -Wformat around some calls to scanf functions.
11458
11459 2014-12-09 Torvald Riegel <triegel@redhat.com>
11460
11461 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11462
11463 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11464
11465 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11466 stack variable alignment.
11467
11468 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11469
11470 [BZ #17682]
11471 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11472 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11473 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11474 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11475 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11476 __getrlimit instead of getrlimit.
11477 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11478 __gettimeofday instead of gettimeofday.
11479 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11480 Likewise.
11481 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11482 Likewise.
11483 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11484 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11485 Remove variable.
11486 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11487 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11488
11489 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11490
11491 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11492 for wide-character tests.
11493
11494 2014-12-04 Roland McGrath <roland@hack.frob.com>
11495
11496 * io/openat64.c: #include <libc-internal.h>
11497 (__openat64): Prototypify. Use ignore_value on MODE.
11498 * io/openat.c: Likewise.
11499 * misc/reboot.c: #include <libc-internal.h>
11500 (reboot): Prototypify. Use ignore_value on HOWTO.
11501 * misc/ptrace.c: #include <libc-internal.h>
11502 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11503
11504 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11505
11506 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11507 XPG4, UNIX98 and XOPEN2K.
11508 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11509 Remove variable.
11510 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11511
11512 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11513
11514 * libio/fileops.c: Use ISO C style for function definitions.
11515 * libio/iofopen.c: Likewise.
11516 * libio/wfileops.c: Likewise.
11517
11518 [BZ #17653]
11519 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11520 offset on EOF.
11521 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11522 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11523 (fgets_func): Function pointer to fgets and fgetws.
11524 (do_ftell_test): Add test to verify ftell value after read
11525 EOF.
11526 (do_test): Set fgets_func.
11527
11528 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11529 O_TRUNC flag for w and w+ modes.
11530 (do_rewind_test): Likewise.
11531 (do_ftell_test): Likewise.
11532 (do_write_test): Likewise.
11533
11534 [BZ #17647]
11535 * libio/fileops.c (do_ftell): Seek only when there are
11536 unflushed writes.
11537 * libio/wfileops.c (do_ftell_wide): Likewise.
11538 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11539 test case.
11540 (do_one_test): Call it.
11541
11542 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11543
11544 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11545 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11546 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11547 Remove variable.
11548 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11549 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11550 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11551
11552 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11553
11554 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11555 Remove variable.
11556 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11557
11558 [BZ #17668]
11559 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11560 as weak alias of __getifaddrs. Use libc_hidden_weak.
11561 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11562 __freeifaddrs. Use libc_hidden_weak.
11563 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11564 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11565 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11566 __freeifaddrs. Use libc_hidden_weak.
11567 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11568 __getifaddrs and define as weak alias of __getifaddrs. Use
11569 libc_hidden_weak.
11570 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11571 __freeifaddrs. Use libc_hidden_weak.
11572 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11573 Remove variable.
11574 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11575 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11576
11577 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11578
11579 [BZ #17601]
11580 * sysdeps/mips/start.S (__start): Use indirect jump to call
11581 __libc_start_main.
11582
11583 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11584
11585 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11586
11587 * nptl/tst-mutex1.c: Include <stdbool.h>.
11588 [!ATTR] (ATTR_NULL): New macro.
11589 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11590 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11591 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11592
11593 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11594 to char *.
11595
11596 [BZ #17665]
11597 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11598 Change conditional to [__USE_MISC].
11599
11600 [BZ #17664]
11601 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11602 fgets_unlocked.
11603 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11604 __fgets_unlocked.
11605 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11606 fgets_unlocked.
11607 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11608 Remove variable.
11609 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11610 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11611 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11612 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11613 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11614 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11615 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11616 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11617 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11618
11619 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11620
11621 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11622
11623 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11624 Remove strpbrk objects.
11625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11626 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11627 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11628 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11629 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11630 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11631
11632 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11633 Remove strcspn objects.
11634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11635 (__libc_ifunc_impl_list): Remove strcspn implementation.
11636 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11637 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11638 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11639 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11640
11641 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11642 Remove strspn objetcs.
11643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11644 (__libc_ifunc_impl_list): Remove strspn implementation.
11645 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11646 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11647 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11648 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11649
11650 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11651
11652 [BZ #17581]
11653 * malloc/hooks.c
11654 (mem2mem_check): Add a terminator to the chain of checking blocks.
11655 (malloc_check_get_size): Use it here.
11656 (mem2chunk_check): Ditto.
11657
11658 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11659
11660 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11661 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11662
11663 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11664
11665 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11666
11667 * nptl/nptl-init.c: Include libc-internal.h.
11668 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11669
11670 * elf/ldconfig.c (search_dir): Expand comment.
11671
11672 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11673
11674 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11675 variable.
11676 (linknamespace-symlist-stdlibs-tests): Likewise.
11677 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11678 instead of $(objpfx)symlist-stdlibs.
11679 (linknamespace-libs-isoc): New variable.
11680 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11681 (linknamespace-libs-ISO): New variable.
11682 (linknamespace-libs-ISO99): Likewise.
11683 (linknamespace-libs-ISO11): Likewise.
11684 (linknamespace-libs-XPG3): Likewise.
11685 (linknamespace-libs-XPG4): Likewise.
11686 (linknamespace-libs-POSIX): Likewise.
11687 (linknamespace-libs-UNIX98): Likewise.
11688 (linknamespace-libs-XOPEN2K): Likewise.
11689 (linknamespace-libs-POSIX2008): Likewise.
11690 (linknamespace-libs-XOPEN2K8): Likewise.
11691 ($(objpfx)symlist-stdlibs): Replace by
11692 $(linknamespace-symlist-stdlibs-tests). Use
11693 $(linknamespace-libs-$*) as set of libraries.
11694 ($(linknamespace-header-tests)): Update dependencies. Use
11695 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11696 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11697 * conform/linknamespace.pl: Remove comment about considering
11698 definitions of symbols from irrelevant libraries.
11699
11700 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11701
11702 [BZ #13862]
11703 * elf/dl-tls.c: Include <atomic.h>.
11704 (oom): Remove #ifdef SHARED/#endif.
11705 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11706 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11707 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11708 big enough.
11709 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11710 * nptl/Makefile (tests): Add tst-stack4.
11711 (modules-names): Add tst-stack4mod.
11712 ($(objpfx)tst-stack4): New.
11713 (tst-stack4mod.sos): Likewise.
11714 ($(objpfx)tst-stack4.out): Likewise.
11715 ($(tst-stack4mod.sos)): Likewise.
11716 (clean): Likewise.
11717 * nptl/tst-stack4.c: New file.
11718 * nptl/tst-stack4mod.c: Likewise.
11719
11720 2014-11-27 J. Brown <jb999@gmx.de>
11721
11722 * sysdeps/x86/bits/string.h: Add recent CPUs.
11723
11724 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11725
11726 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11727 sigblock.
11728
11729 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11730 feof.
11731
11732 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11733 variable.
11734
11735 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11736
11737 * nscd/connections.c: Include libc-internal.h because of macro
11738 usage ignore_value.
11739
11740 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11741
11742 * string/bits/string3.h (__warn_memset_zero_len): Don't
11743 declare for gcc newer than 5.0.
11744 (memset): Don't test for zero-length __LEN for gcc newer than
11745 5.0.
11746
11747 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11748
11749 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11750 size_t for %zu format.
11751
11752 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11753 difference, not %ju.
11754
11755 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11756
11757 * include/libc-internal.h (ignore_value): New macro.
11758 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11759 with ignore_value.
11760
11761 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11762 definition.
11763
11764 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11765 pthread_cleanup_push to void *.
11766
11767 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11768 Undefine.
11769
11770 [BZ #16619]
11771 [BZ #16740]
11772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11773 instead of 1L << 52.
11774
11775 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11776 * libio/bug-rewind2.c (do_test): Likewise.
11777
11778 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11779 * debug/test-strcpy_chk-ifunc.c: Likewise.
11780 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11781 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11782 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11783 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11784 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11785 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11786 * Rules [$(multi-arch) = no] (tests): Do not filter out
11787 $(tests-ifunc).
11788 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11789 * debug/Makefile (tests-ifunc): Remove variable.
11790 (tests): Do not add $(tests-ifunc).
11791 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11792 (tests): Do not add $(tests-ifunc).
11793 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11794 [TEST_IFUNC]: Remove conditionals.
11795 * string/test-string.h (TEST_IFUNC): Remove macro.
11796 [TEST_IFUNC]: Remove conditionals.
11797
11798 * string/test-strchr.c [!WIDE] (L): New macro.
11799 [WIDE] (L): Likewise.
11800 (check1): Use CHAR instead of char. Use L on string and character
11801 constants.
11802
11803 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11804
11805 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11806 tests.
11807 * sysdeps/powerpc/bits/atomic.h
11808 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11809 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11810 (atomic_exchange_and_add_acq): Likewise.
11811 (atomic_exchange_and_add_rel): Likewise.
11812 * sysdeps/powerpc/powerpc32/bits/atomic.h
11813 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11814 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11815 * sysdeps/powerpc/powerpc64/bits/atomic.h
11816 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11817 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11818
11819 2014-11-26 Torvald Riegel <triegel@redhat.com>
11820
11821 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11822 Change synchronization of __sched_fifo_min_prio and
11823 __sched_fifo_max_prio.
11824 * nptl/pthread_mutexattr_getprioceiling.c
11825 (pthread_mutexattr_getprioceiling): Likewise.
11826 * nptl/pthread_mutexattr_setprioceiling.c
11827 (pthread_mutexattr_setprioceiling): Likewise.
11828 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11829 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11830 Likewise.
11831
11832 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11833
11834 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11835 void.
11836
11837 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11838
11839 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11840 third argument const.
11841
11842 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11843
11844 fnmatch: work around GCC compiler warning bug with uninit var
11845 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11846 This works around a bug with x86-64 GCC 4.9.2 and earlier
11847 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11848 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11849 used uninitialized in this function [-Wmaybe-uninitialized]".
11850
11851 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11852
11853 * posix/bug-regex31.c (main): Return RES not 0.
11854
11855 2014-11-25 Anton Blanchard <anton@samba.org>
11856
11857 * sysdeps/powerpc/bits/atomic.h
11858 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11859
11860 2014-11-24 Sterling Augustine <saugustine@google.com>
11861
11862 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11863
11864 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11865
11866 [BZ #17608]
11867 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11868
11869 2014-11-24 Joseph Myers <joseph@codesourcery.com>
11870
11871 [BZ #17633]
11872 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11873 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11874 variable.
11875 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11876 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11877
11878 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11879
11880 * string/strncpy.c (strncpy): Improve performance by using memset.
11881
11882 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11883
11884 * string/strcpy.c (strcpy):
11885 Improve performance by using strlen and memcpy.
11886
11887 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
11888
11889 * string/strcoll_l.c (get_next_seq): __always_inline.
11890 * string/strcoll_l.c (do_compare): __always_inline.
11891
11892 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11893
11894 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11895 defined.
11896 * include/mqueue.h: Likewise.
11897 * include/stdlib.h: Likewise.
11898
11899 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11900 (get_null_defines): Adjust.
11901 * sunrpc/Makefile: Adjust comment.
11902 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11903 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11904 (CFLAGS-interp.c): Likewise.
11905 (CFLAGS-ldconfig.c): Likewise.
11906 (CPPFLAGS-.os): Likewise.
11907 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11908 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11909 * extra-modules.mk (extra-modules.mk): Likewise.
11910 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11911 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11912 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11913 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11914 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11915 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11916 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11917 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11918 * iconvdata/Makefile (CPPFLAGS): Likewise.
11919 (cpp-srcs-left): Add libof for all iconvdata routines.
11920 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11921 * include/assert.h: Likewise.
11922 * include/ctype.h: Likewise.
11923 * include/errno.h: Likewise.
11924 * include/libc-symbols.h: Likewise.
11925 * include/math.h: Likewise.
11926 * include/netdb.h: Likewise.
11927 * include/resolv.h: Likewise.
11928 * include/stdio.h: Likewise.
11929 * include/stdlib.h: Likewise.
11930 * include/string.h: Likewise.
11931 * include/sys/stat.h: Likewise.
11932 * include/wctype.h: Likewise.
11933 * intl/l10nflist.c: Likewise.
11934 * libidn/idn-stub.c: Likewise.
11935 * libio/libioP.h: Likewise.
11936 * nptl/libc_multiple_threads.c: Likewise.
11937 * nptl/pthreadP.h: Likewise.
11938 * posix/regex_internal.h: Likewise.
11939 * resolv/res_hconf.c: Likewise.
11940 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11941 * sysdeps/arm/memmove.S: Likewise.
11942 * sysdeps/arm/sysdep.h: Likewise.
11943 * sysdeps/generic/_itoa.h: Likewise.
11944 * sysdeps/generic/symbol-hacks.h: Likewise.
11945 * sysdeps/gnu/errlist.awk: Likewise.
11946 * sysdeps/gnu/errlist.c: Likewise.
11947 * sysdeps/i386/i586/memcpy.S: Likewise.
11948 * sysdeps/i386/i586/memset.S: Likewise.
11949 * sysdeps/i386/i686/memcpy.S: Likewise.
11950 * sysdeps/i386/i686/memmove.S: Likewise.
11951 * sysdeps/i386/i686/mempcpy.S: Likewise.
11952 * sysdeps/i386/i686/memset.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11954 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11955 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11956 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11961 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11963 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11964 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11965 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11966 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11971 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11974 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11975 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11976 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11981 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11988 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11991 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11993 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11994 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11996 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11997 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11998 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11999 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12000 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12005 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12008 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12011 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12014 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12015 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12016 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12017 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12018 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12019 * sysdeps/posix/closedir.c: Likewise.
12020 * sysdeps/posix/opendir.c: Likewise.
12021 * sysdeps/posix/readdir.c: Likewise.
12022 * sysdeps/posix/rewinddir.c: Likewise.
12023 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12024 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12025 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12026 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12027 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12029 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12035 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12039 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12040 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12041 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12042 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12044 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12046 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12049 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12051 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12058 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12059 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12061 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12062 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12063 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12064 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12065 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12066 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12067 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12068 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12071 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12072 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12073 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12074 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12076 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12077 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12080 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12081 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12082 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12083 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12084 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12085 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12086 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12087 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12088 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12089 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12090 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12092 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12094 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12095 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12096 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12097 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12098 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12099 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12100 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12101 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12102 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12103 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12104 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12105 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12106 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12107 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12109 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12110 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12111 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12113 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12114 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12115 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12119 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12121 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12122 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12124 * sysdeps/unix/alpha/sysdep.S: Likewise.
12125 * sysdeps/unix/alpha/sysdep.h: Likewise.
12126 * sysdeps/unix/make-syscalls.sh: Likewise.
12127 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12129 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12130 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12131 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12132 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12133 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12134 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12135 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12136 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12138 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12139 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12140 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12141 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12142 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12143 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12144 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12145 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12146 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12147 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12148 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12149 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12150 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12151 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12152 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12153 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12156 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12157 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12161 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12162 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12165 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12166 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12167 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12168 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12170 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12171 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12174 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12177 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12178 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12179 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12180 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12181 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12182 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12183 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12185 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12186 * sysdeps/x86_64/memcpy.S: Likewise.
12187 * sysdeps/x86_64/memmove.c: Likewise.
12188 * sysdeps/x86_64/memset.S: Likewise.
12189 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12190 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12191 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12192 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12193 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12194 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12196 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12197 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12198 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12199 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12201 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12206 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12207 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12208 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12209 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12210 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12211 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12213 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12214 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12215 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12216 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12218 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12219 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12220 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12221 * sysdeps/x86_64/strcmp.S: Likewise.
12222
12223 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12224
12225 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12226 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12227 * elf/rtld-Rules: Likewise.
12228 * elf/setup-vdso.h: Likewise.
12229 * include/assert.h: Likewise.
12230 * include/bits/stdlib-float.h: Likewise.
12231 * include/errno.h: Likewise.
12232 * include/sys/stat.h: Likewise.
12233 * include/unistd.h: Likewise.
12234 * sysdeps/aarch64/setjmp.S: Likewise.
12235 * sysdeps/alpha/setjmp.S: Likewise.
12236 * sysdeps/arm/__longjmp.S: Likewise.
12237 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12238 * sysdeps/arm/setjmp.S: Likewise.
12239 * sysdeps/arm/sysdep.h: Likewise.
12240 * sysdeps/generic/_itoa.h: Likewise.
12241 * sysdeps/generic/dl-sysdep.h: Likewise.
12242 * sysdeps/generic/ldsodefs.h: Likewise.
12243 * sysdeps/i386/dl-tls.h: Likewise.
12244 * sysdeps/i386/setjmp.S: Likewise.
12245 * sysdeps/m68k/setjmp.c: Likewise.
12246 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12247 * sysdeps/mach/hurd/opendir.c: Likewise.
12248 * sysdeps/posix/getcwd.c: Likewise.
12249 * sysdeps/posix/opendir.c: Likewise.
12250 * sysdeps/posix/profil.c: Likewise.
12251 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12253 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12255 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12256 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12257 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12258 * sysdeps/s390/dl-tls.h: Likewise.
12259 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12260 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12261 * sysdeps/sh/sh3/setjmp.S: Likewise.
12262 * sysdeps/sh/sh4/setjmp.S: Likewise.
12263 * sysdeps/unix/alpha/sysdep.h: Likewise.
12264 * sysdeps/unix/arm/sysdep.S: Likewise.
12265 * sysdeps/unix/i386/sysdep.S: Likewise.
12266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12267 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12268 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12269 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12271 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12272 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12273 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12274 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12275 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12276 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12277 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12278 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12284 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12286 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12289 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12290 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12294 * sysdeps/x86_64/setjmp.S: Likewise.
12295
12296 * include/math.h: Use IS_IN instead of IS_IN_libm.
12297 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12309 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12317 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12318 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12319 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12320 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12321 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12322 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12324 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12325 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12326 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12327 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12328 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12329 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12331 Likewise.
12332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12333 Likewise.
12334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12335 Likewise.
12336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12337 Likewise.
12338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12339 Likewise.
12340 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12341 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12342 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12343 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12344 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12345 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12351 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12352 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12353 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12354 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12355 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12356 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12358 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12359 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12360 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12361 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12363 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12364 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12366 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12367
12368 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12369 * nptl/pthreadP.h: Likewise.
12370 * nptl_db/structs.def: Likewise.
12371 * sysdeps/arm/sysdep.h: Likewise.
12372 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12373 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12374 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12375 * sysdeps/unix/alpha/sysdep.h: Likewise.
12376 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12377 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12378 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12380 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12381 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12383 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12384 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12385 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12386 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12387 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12388 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12389 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12394 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12397 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12398 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12399 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12400 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12401 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12402
12403 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12404 * nptl/pthreadP.h: Likewise.
12405 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12406 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12407 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12408 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12409 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12410 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12411 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12412 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12413 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12414 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12415 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12416 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12418 Likewise.
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12420 Likewise.
12421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12423 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12426 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12427 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12429
12430 * dlfcn/dladdr.c: Use IS_IN.
12431 * dlfcn/dladdr1.c: Likewise.
12432 * dlfcn/dlclose.c: Likewise.
12433 * dlfcn/dlerror.c: Likewise.
12434 * dlfcn/dlinfo.c: Likewise.
12435 * dlfcn/dlmopen.c: Likewise.
12436 * dlfcn/dlopen.c: Likewise.
12437 * dlfcn/dlsym.c: Likewise.
12438 * dlfcn/dlvsym.c: Likewise.
12439
12440 * include/ifaddrs.h: Use IS_IN.
12441 * inet/check_pf.c: Likewise.
12442 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12443 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12444
12445 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12446 IS_IN_ldconfig.
12447 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12448 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12449
12450 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12451 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12452 IS_IN (libc).
12453
12454 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12455
12456 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12457 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12458 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12459 * include/libc-symbols.h (IS_IN_LIB): New macro.
12460 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12461 * include/netdb.h: Likewise.
12462 * include/stap-probe.h: Remove all uses of IN_LIB.
12463
12464 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12465 instead of IN_MODULE.
12466 * include/libc-symbols.h (IN_MODULE): Define using
12467 MODULE_NAME.
12468 (PASTE_NAME, PASTE_NAME1): New macros.
12469 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12470 of IN_LIB.
12471 (STAP_PROBE_ASM): Likewise.
12472
12473 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12474
12475 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12476 __mach_init in dlopened libc.
12477
12478 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12479
12480 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12481 * sysdeps/arm/preconfigure: Regenerate.
12482
12483 2014-11-21 Roland McGrath <roland@hack.frob.com>
12484
12485 * nptl/pthread_create.c (__pthread_create_2_1): Set
12486 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12487 when copying values from IATTR into PD.
12488
12489 2014-11-21 Will Newton <will.newton@linaro.org>
12490 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12491
12492 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12493 Refactor inline-asm. Also add comment.
12494
12495 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12496 ElfW macro instead of hardcoded Elf64 types.
12497 (la_aarch64_gnu_pltenter): Likewise.
12498 * sysdeps/aarch64/dl-machine.h
12499 (elf_machine_runtime_setup): Use ElfW(Addr).
12500
12501 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12502 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12503 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12504 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12505 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12506 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12507 (R_AARCH64_TLS_DTPMOD): This.
12508 (R_AARCH64_TLS_DTPREL64): Rename to ...
12509 (R_AARCH64_TLS_DTPREL): This.
12510 (R_AARCH64_TLS_TPREL64): Rename to ...
12511 (R_AARCH64_TLS_TPREL): This.
12512 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12513 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12514 R_AARCH64_TLS_TPREL64.
12515 (elf_machine_rela): Likewise.
12516
12517 2014-11-21 Torvald Riegel <triegel@redhat.com>
12518
12519 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12520 by setting it to 0. 64b atomics are not supported currently.
12521
12522 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12523
12524 [BZ #16469]
12525 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12526 search domain names.
12527
12528 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12529
12530 [BZ #16469]
12531 * NEWS: Update.
12532 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12533 trailing dot.
12534 * posix/tst-getaddrinfo5.c: New.
12535 * posix/Makefile (tests): Add it.
12536
12537 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12538
12539 [BZ #14498]
12540 * NEWS: Fixed.
12541 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12542 after parsing line but before break_if_match.
12543 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12544 if there is a protocol mismatch.
12545
12546 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12547
12548 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12549 because the potential race is on the user-supplied stream.
12550
12551 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12552
12553 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12554 string literal if not passed a buffer.
12555 * manual/job.texi (ctermid): Update reasoning, note deviation
12556 from posix, suggest mtasurace when not passed a buffer, for
12557 future non-preliminary safety notes.
12558
12559 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12560
12561 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12562 of not passing it a buffer.
12563 Reported by Peng Haitao.
12564
12565 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12566
12567 * manual/Makefile ($(objpfx)stamp-summary): Require
12568 check-safety.sh to pass.
12569 * manual/check-safety.sh: Wish for verification that every
12570 @deftypefn and @deftypefun is followed by a @safety remark.
12571
12572 2014-11-20 Roland McGrath <roland@hack.frob.com>
12573
12574 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12575
12576 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12577 PTHREAD_CANCEL_ASYNCHRONOUS.
12578 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12579 send SIGCANCEL.
12580
12581 * nptl/default-sched.h: New file.
12582 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12583 * nptl/pthread_create.c: Include it.
12584 (__pthread_create_2_1): Use collect_default_sched instead of making
12585 Linux syscalls here directly.
12586
12587 2014-11-20 Torvald Riegel <triegel@redhat.com>
12588
12589 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12590 __pthread_once): Use C11 atomics.
12591
12592 2014-11-20 Torvald Riegel <triegel@redhat.com>
12593
12594 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12595
12596 2014-11-20 Torvald Riegel <triegel@redhat.com>
12597
12598 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12599 atomic_thread_fence_acquire, atomic_thread_fence_release,
12600 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12601 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12602 atomic_compare_exchange_weak_relaxed,
12603 atomic_compare_exchange_weak_acquire,
12604 atomic_compare_exchange_weak_release,
12605 atomic_exchange_acquire, atomic_exchange_release,
12606 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12607 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12608 atomic_fetch_and_acquire,
12609 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12610
12611 2014-11-20 Torvald Riegel <triegel@redhat.com>
12612
12613 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12614 USE_ATOMIC_COMPILER_BUILTINS): Define.
12615 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12617 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12619 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12621 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12622 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12623 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12625 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12627 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12628 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12629 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12630 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12631 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12633 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12635 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12637 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12638 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12639 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12640 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12641 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12643 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12645 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12646 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12647 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12648 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12649 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12650 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12651 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12653 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12655
12656 2014-11-19 Roland McGrath <roland@hack.frob.com>
12657
12658 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12659 the sched_priority value here. It was already checked when the user
12660 called pthread_attr_setschedparam.
12661
12662 * nptl/tst-bad-schedattr.c: New file.
12663 * nptl/Makefile (tests): Add it.
12664
12665 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12666 Florian Weimer <fweimer@redhat.com>
12667 Joseph Myers <joseph@codesourcery.com>
12668 Adam Conrad <adconrad@0c3.net>
12669 Andreas Schwab <schwab@suse.de>
12670 Brooks <bmoses@google.com>
12671
12672 [BZ #17625]
12673 * wordexp-test.c (__dso_handle): Add prototype.
12674 (__register_atfork): Likewise.
12675 (__app_register_atfork): New function.
12676 (registered_forks): New global.
12677 (register_fork): New function.
12678 (test_case): Add 3 new tests for WRDE_CMDSUB.
12679 (main): Call __app_register_atfork.
12680 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12681 fork count is non-zero fail the test.
12682 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12683 is set.
12684 (parse_dollars): Remove check for WRDE_NOCMD.
12685 (parse_dquote): Likewise.
12686
12687 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12688
12689 * Makeconfig (built-modules): List non-library modules to be
12690 built.
12691 (module-cppflags): Include libc-modules.h for
12692 everything except shlib-versions.v.i.
12693 (CPPFLAGS): Use it.
12694 (before-compile): Add libc-modules.h.
12695 ($(common-objpfx)libc-modules.h,
12696 $(common-objpfx)libc-modules.stmp): New targets.
12697 (common-generated): Add libc-modules.h and libc-modules.stmp.
12698 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12699 * include/libc-symbols.h: Don't include libc-modules.h.
12700 * include/libc-modules.h: Remove file.
12701 * scripts/gen-libc-modules.awk: New script to generate
12702 libc-modules.h.
12703 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12704 Depend on libc-modules.stmp.
12705
12706 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12707
12708 * Makeconfig (in-module): Get value of libof set for the
12709 translation unit.
12710 (CPPFLAGS): Use $(in-module).
12711 * Makerules: Don't suffix routine names for nonlib.
12712 * include/libc-modules.h: New file.
12713 * include/libc-symbols.h: Include libc-modules.h
12714 (IS_IN): New macro to replace IS_IN_* macros.
12715 * elf/Makefile: Set libof-* for each routine.
12716 * elf/rtld-Rules: Likewise.
12717 * extra-modules.mk: Likewise.
12718 * iconv/Makefile: Likewise.
12719 * iconvdata/Makefile: Likewise.
12720 * locale/Makefile: Likewise.
12721 * malloc/Makefile: Likewise.
12722 * nss/Makefile: Likewise.
12723 * sysdeps/gnu/Makefile: Likewise.
12724 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12725 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12726 * sysdeps/s390/s390-64/Makefile: Likewise.
12727 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12728 CPPFLAGS for nscd instead of nonlib.
12729
12730 2014-11-18 Roland McGrath <roland@hack.frob.com>
12731
12732 * nptl/createthread.c: New file.
12733
12734 * nptl/createthread.c: Moved ...
12735 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12736
12737 * nptl/createthread.c: Add proper top-line comment.
12738 (do_clone): Folded into ...
12739 (create_thread): ... here. Take new arguments STOPPED_START and
12740 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12741 increment __nptl_threads, do event-reporting logic, do
12742 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12743 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12744 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12745 just send SIGCANCEL.
12746 * nptl/pthread_create.c: Forward-declare create_thread before
12747 including createthread.c.
12748 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12749 declaration, and new macro START_THREAD_SELF to replace argument.
12750 Remove return statement.
12751 (report_thread_creation): New function.
12752 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12753 synchronization logic, and __nptl_nthreads increment here, around
12754 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12755 PD->parent_cancelhandling here, before create_thread. When
12756 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12757 __deallocate_stack, and ENOMEM translation here.
12758
12759 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12760
12761 [BZ #17616]
12762 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12763 (mptwo): Rename to __mptwo.
12764 (__inv): Use __mptwo instead of mptwo.
12765 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12766 (mptwo): Rename to __mptwo.
12767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12768 of mpone and __mptwo instead of mptwo.
12769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12770 instead of mpone.
12771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12772 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12773 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12774 of mpone and __mptwo instead of mptwo.
12775 (__mpranred): Use __mpone instead of mpone.
12776 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12777 variable.
12778 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12779 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12780 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12781 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12782 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12783 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12784 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12785 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12786 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12787 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12788 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12789 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12790 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12791 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12792 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12793 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12794 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12795 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12796 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12797
12798 2014-11-18 Tom de Vries <tom@codesoucery.com>
12799
12800 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12801 replace BSD Handler xref with BSD Signal Handling.
12802
12803 2014-11-17 Richard Henderson <rth@redhat.com>
12804
12805 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12806 (_FP_PACK_RAW_2): Remove.
12807 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12808 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12809 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12810 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12811 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12812 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12813 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12814 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12815 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12816 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12817 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12818 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12819 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12820 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12821 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12822 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12823
12824 2014-11-14 Roland McGrath <roland@hack.frob.com>
12825
12826 * signal/signal.h [__USE_MISC]
12827 (struct sigvec): Remove type.
12828 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12829 (sigvec): Remove declaration.
12830 * sysdeps/posix/sigvec.c: Moved ...
12831 * signal/sigvec.c: ... here, replacing old file.
12832 (struct sigvec): New type, copied from old signal.h definition.
12833 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12834 (__sigvec): Convert definition to prototype.
12835 (sigvec): Replace weak_alias with compat_symbol.
12836 * signal/Versions (libc: GLIBC_2.21): New version set.
12837 * include/signal.h: Remove __sigvec declaration.
12838 * sysdeps/unix/bsd/sigvec.c: Remove file.
12839 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12840 * manual/signal.texi (BSD Handler): Remove subsection.
12841 Move siginterrupt up to ...
12842 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12843 (Blocking in BSD): Fold subsection into its parent.
12844 * NEWS: Mention sigvec removal.
12845
12846 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12847
12848 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12849 (DLA_FMS): Make definition conditional only on [__FMA4__].
12850 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12851 definition.
12852
12853 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12854 Make definition conditional only on [PROF].
12855 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12856 definition.
12857 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12858 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12859
12860 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12861 !__GNUC__].
12862 * include/signal.h (__sigpause): Move declaration above call to
12863 libc_hidden_proto.
12864 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12865 variable.
12866 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12867 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12868
12869 2014-11-14 David S. Miller <davem@davemloft.net>
12870
12871 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12872 Define before including <string/memcpy.c> and <string/mempcpy.c>.
12873
12874 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12875
12876 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12877 * configure: Regenerated.
12878 * manual/install.texi (Tools for Compilation): Document a
12879 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12880 compiler verified to work.
12881 * INSTALL: Regenerated.
12882
12883 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12884 redeclare with asm name.
12885 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12886 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12887 including <string.h>.
12888 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12889 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12890 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12891 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12892 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12893 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12894 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12895
12896 2014-11-13 Joseph Myers <joseph@codesourcery.com>
12897
12898 * stdlib/strtol.c (__strtol): Use prototype definition.
12899
12900 [BZ #17594]
12901 * stdlib/strtol.c (SYM__): New macro.
12902 (SYM__1): Likewise.
12903 (__strtol): Likewise.
12904 (strtol): Rename to __strtol and define as weak alias of
12905 __strtol. Use libc_hidden_weak.
12906
12907 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12908
12909 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12910 Use numbered labels in inline assembly.
12911
12912 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12913
12914 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12915 Add setjmp LIBC_PROBE.
12916 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12917 Likewise.
12918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12919 Add longjmp, longjmp_target LIBC_PROBE.
12920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12921 Likewise.
12922
12923 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12924
12925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12926 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12927 to get rid of unused variable warning.
12928
12929 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12930
12931 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12932 Check for unwind_backtrace == NULL only in SHARED case.
12933 (__backchain_backtrace): Compile only in SHARED case.
12934 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12935 Likewise.
12936 (__backchain_backtrace): Declare as static.
12937
12938 2014-11-12 Roland McGrath <roland@hack.frob.com>
12939
12940 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12941 (__libc_multiple_threads_ptr): Variable moved ...
12942 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12943
12944 2014-11-12 Joseph Myers <joseph@codesourcery.com>
12945
12946 * conform/GlibcConform.pm: New file.
12947 * conform/conformtest.pl: Use GlibcConform module.
12948 * conform/linknamespace.pl: New file.
12949 * conform/list-header-symbols.pl: Likewise.
12950 * conform/Makefile (linknamespace-symlists-base): New variable.
12951 (linknamespace-symlists-tests): Likewise.
12952 (linknamespace-header-base): Likewise.
12953 (linknamespace-header-tests): Likewise.
12954 (tests-special): Add new tests.
12955 ($(linknamespace-symlists-tests)): New rule.
12956 (linknamespace-libs): New variable.
12957 ($(objpfx)symlist-stdlibs): New rule.
12958 ($(linknamespace-header-tests)): Likewise.
12959 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12960 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12961 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12962 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12963 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12964 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12965 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12966 (test-xfail-ISO/math.h/linknamespace): Likewise.
12967 (test-xfail-ISO/signal.h/linknamespace): Likewise.
12968 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12969 (test-xfail-ISO/time.h/linknamespace): Likewise.
12970 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12971 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12972 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12973 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12974 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12975 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12976 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12977 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12978 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12979 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12980 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12981 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12982 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12983 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12984 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12985 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12986 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12987 (test-xfail-XPG3/search.h/linknamespace): Likewise.
12988 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12989 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12990 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12991 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12992 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12993 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12994 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12995 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12996 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12997 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12998 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12999 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13000 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13001 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13002 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13003 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13004 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13005 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13006 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13007 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13008 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13009 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13010 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13011 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13012 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13013 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13014 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13015 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13016 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13017 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13018 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13019 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13020 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13021 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13022 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13023 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13024 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13025 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13026 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13027 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13028 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13029 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13030 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13031 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13032 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13033 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13034 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13035 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13036 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13037 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13038 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13039 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13040 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13041 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13042 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13043 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13044 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13045 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13046 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13047 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13048 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13049 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13050 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13051 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13052 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13053 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13054 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13055 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13056 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13057 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13058 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13059 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13060 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13061 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13062 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13063 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13064 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13065 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13066 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13067 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13068 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13069 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13070 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13071 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13072 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13073 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13074 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13075 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13076 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13077 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13078 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13079 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13080 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13081 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13082 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13083 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13084 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13085 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13086 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13087 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13088 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13089 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13090 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13091 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13092 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13093 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13094 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13095 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13096 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13097 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13098 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13099 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13100 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13101 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13102 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13103 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13104 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13105 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13106 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13107 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13108 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13109 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13110 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13111 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13112 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13113 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13114 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13115 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13116 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13117 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13118 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13119 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13120
13121 [BZ #17589]
13122 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13123 of fgets_unlocked.
13124
13125 [BZ #17585]
13126 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13127 (memmem): Rename to __memmem and define as weak alias of
13128 __memmem. Use libc_hidden_weak.
13129 (__memmem): Use libc_hidden_def.
13130 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13131 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13132 memmem.
13133
13134 [BZ #17582]
13135 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13136 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13137 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13138 and define as weak alias of __fgets_unlocked. Use
13139 libc_hidden_weak.
13140 (__fgets_unlocked): Use libc_hidden_def.
13141 * include/stdio.h (__fgets_unlocked): Declare. Use
13142 libc_hidden_proto.
13143 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13144 __fgets_unlocked instead of fgets_unlocked.
13145 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13146 (GET_NPROCS_CONF_PARSER): Likewise.
13147 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13148 (GET_NPROCS_CONF_PARSER): Likewise.
13149
13150 [BZ #17574]
13151 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13152 weak alias of __wmemset. Use libc_hidden_weak.
13153 (__wmemset): Use libc_hidden_def.
13154 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13155 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13156 of wmemset.
13157
13158 [BZ #17573]
13159 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13160 with asm name __mempcpy.
13161 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13162
13163 [BZ #17572]
13164 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13165 and define as weak alias of __rawmemchr.
13166 (__rawmemchr): Do not define as strong alias of rawmemchr.
13167
13168 [BZ #17571]
13169 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13170 alias of __qsort_r.
13171 (qsort): Call __qsort_r instead of qsort_r.
13172 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13173 (__qsort_r): Declare. Call libc_hidden_proto.
13174 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13175 instead of qsort_r.
13176 * nscd/gai.c (__qsort_r): Define to qsort_r.
13177 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13178 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13179 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13180
13181 [BZ #17570]
13182 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13183 define as weak alias of __malloc_info.
13184
13185 [BZ #17584]
13186 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13187 as weak alias of __rewinddir. Don't use libc_hidden_def.
13188 (__rewinddir): Use libc_hidden_def.
13189 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13190 as weak alias of __rewinddir. Don't use libc_hidden_def.
13191 (__rewinddir): Use libc_hidden_def.
13192 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13193 weak alias of __rewinddir. Don't use libc_hidden_def.
13194 (__rewinddir): Use libc_hidden_def.
13195 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13196 (__rewinddir): Use libc_hidden_proto.
13197 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13198 rewinddir.
13199 (__getcwd): Use __rewinddir instead of rewinddir.
13200
13201 [BZ #17583]
13202 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13203 alias of __fileno. Use libc_hidden_weak.
13204 (__fileno): Use libc_hidden_def.
13205 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13206 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13207 alias of __ftello.
13208 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13209 __ftello.
13210 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13211 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13212 libc_hidden_def.
13213 (fread_unlocked): Don't use libc_hidden_ver.
13214 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13215 and define as weak alias of __fread_unlocked. Don't use
13216 libc_hidden_def.
13217 (__fread_unlocked): Use libc_hidden_def.
13218 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13219 (ftello): Don't use libc_hidden_proto.
13220 (__ftello): Declare. Use libc_hidden_proto.
13221 (fread_unlocked): Don't use libc_hidden_proto.
13222 (__fread_unlocked): Declare. Use libc_hidden_proto.
13223 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13224 and __ftello instead of fileno, fread_unlocked and ftello.
13225
13226 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13227
13228 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13229 GOT12.
13230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13231 Likewise.
13232 (_dl_start_user): Likewise.
13233 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13234
13235 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13236 Siddhesh Poyarekar <siddhesh@redhat.com>
13237
13238 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13239 Move argv and envp down instead of moving argc up.
13240 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13241
13242 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13243
13244 [BZ #17506]
13245 * test-skeleton.c (main): Return successful if one of
13246 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13247 * string/tst-strcoll-overflow.c: Define expected status.
13248
13249 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13250
13251 [BZ #17475]
13252 * locale/iso-639.def: Define Bhili and Tulu language codes.
13253
13254 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13255
13256 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13257
13258 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13259
13260 [BZ #17555]
13261 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13262
13263 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13264
13265 * configure.ac: Updated check of minimal required version to
13266 2.22.
13267 * manual/install.texi (Tools for Compilation): Updated version
13268 number.
13269 * configure: Regenerated.
13270 * INSTALL: Likewise.
13271
13272 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13273
13274 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13275 __tls_get_addr.
13276
13277 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13278
13279 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13280 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13281 (__waitpid): Don't define as alias. Use libc_hidden_def not
13282 libc_hidden_weak.
13283 (waitpid): Define as alias of __waitpid.
13284 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13285 __waitpid.
13286 (__waitpid): Don't define as alias. Use libc_hidden_def not
13287 libc_hidden_weak.
13288 (waitpid): Define as alias of __waitpid.
13289 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13290 __libc_waitpid alias.
13291 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13292 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13293 Likewise.
13294 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13296 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13297 alias.
13298 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13299 __waitpid.
13300 (__waitpid): Don't define as alias. Use libc_hidden_def not
13301 libc_hidden_weak.
13302 (waitpid): Define as alias of __waitpid.
13303
13304 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13305
13306 * manual/llio.texi: Add comment that write safety has been
13307 fixed in Linux.
13308
13309 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13310 (localplt-build-dso): Add elf/ld.so.
13311 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13312 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13313 and free for ld.so.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13315 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13317 Likewise.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13319 Likewise.
13320 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13321 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13322 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13323 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13324 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13325 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13326 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13327 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13328 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13329 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13330 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13331
13332 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13333
13334 [BZ #14132]
13335 * include/libc-symbols.h (INTUSE): Remove macro.
13336 (INTDEF): Likewise.
13337 (INTVARDEF): Likewise.
13338 (_INTVARDEF): Likewise.
13339 (INTDEF2): Likewise.
13340 (INTVARDEF2): Likewise.
13341 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13342 rtld_hidden_def instead of INTVARDEF.
13343 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13344 (_dl_starting_up_internal): Remove declaration.
13345 (_dl_starting_up): Use rtld_hidden_proto.
13346 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13347 declaration.
13348 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13349 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13350 _dl_starting_up.
13351 * elf/dl-writev.h (_dl_writev): Likewise.
13352 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13353 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13354 _dl_starting_up_internal.
13355
13356 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13357
13358 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13359 test-skeleton.c.
13360
13361 2014-11-05 Will Newton <will.newton@linaro.org>
13362
13363 * benchtests/Makefile: (bench-malloc): Add malloc thread
13364 scalability benchmark.
13365 * benchtests/bench-malloc-threads.c: New file.
13366
13367 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13368
13369 * sysdeps/aarch64/strchrnul.S: New file.
13370
13371 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13372
13373 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13374 definition.
13375 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13376 Likwise.
13377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13378 Likewise.
13379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13380 Likewise.
13381 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13382 Likewise.
13383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13384 Likewise.
13385
13386 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13387
13388 * catgets/test-gencat.c: Use test-skeleton.c.
13389 * catgets/tst-catgets.c: Likewise.
13390 * csu/tst-empty.c: Likewise.
13391 * elf/tst-audit2.c: Likewise.
13392 * elf/tst-global1.c: Likewise.
13393 * elf/tst-pathopt.c: Likewise.
13394 * elf/tst-piemod1.c: Likewise.
13395 * elf/tst-tls10.c: Likewise.
13396 * elf/tst-tls11.c: Likewise.
13397 * elf/tst-tls12.c: Likewise.
13398 * gnulib/tst-gcc.c: Likewise.
13399 * iconvdata/tst-e2big.c: Likewise.
13400 * iconvdata/tst-loading.c: Likewise.
13401 * iconv/tst-iconv1.c: Likewise.
13402 * iconv/tst-iconv2.c: Likewise.
13403 * inet/test-inet6_opt.c: Likewise.
13404 * inet/tst-gethnm.c: Likewise.
13405 * inet/tst-network.c: Likewise.
13406 * inet/tst-ntoa.c: Likewise.
13407 * intl/tst-codeset.c: Likewise.
13408 * intl/tst-gettext2.c: Likewise.
13409 * intl/tst-gettext3.c: Likewise.
13410 * intl/tst-ngettext.c: Likewise.
13411 * intl/tst-translit.c: Likewise.
13412 * io/test-stat.c: Likewise.
13413 * libio/test-fmemopen.c: Likewise.
13414 * libio/tst-freopen.c: Likewise.
13415 * libio/tst-sscanf.c: Likewise.
13416 * libio/tst-ungetwc1.c: Likewise.
13417 * libio/tst-ungetwc2.c: Likewise.
13418 * libio/tst-widetext.c: Likewise.
13419 * localedata/tst-ctype.c: Likewise.
13420 * localedata/tst-digits.c: Likewise.
13421 * localedata/tst-leaks.c: Likewise.
13422 * localedata/tst-mbswcs1.c: Likewise.
13423 * localedata/tst-mbswcs2.c: Likewise.
13424 * localedata/tst-mbswcs3.c: Likewise.
13425 * localedata/tst-mbswcs4.c: Likewise.
13426 * localedata/tst-mbswcs5.c: Likewise.
13427 * localedata/tst-setlocale.c: Likewise.
13428 * localedata/tst-trans.c: Likewise.
13429 * localedata/tst-wctype.c: Likewise.
13430 * localedata/tst-xlocale1.c: Likewise.
13431 * login/tst-grantpt.c: Likewise.
13432 * malloc/tst-calloc.c: Likewise.
13433 * malloc/tst-malloc.c: Likewise.
13434 * malloc/tst-mallocstate.c: Likewise.
13435 * malloc/tst-mcheck.c: Likewise.
13436 * malloc/tst-mtrace.c: Likewise.
13437 * malloc/tst-obstack.c: Likewise.
13438 * math/atest-exp2.c: Likewise.
13439 * math/atest-exp.c: Likewise.
13440 * math/atest-sincos.c: Likewise.
13441 * math/test-matherr.c: Likewise.
13442 * math/test-misc.c: Likewise.
13443 * math/test-powl.c: Likewise.
13444 * math/tst-definitions.c: Likewise.
13445 * misc/tst-dirname.c: Likewise.
13446 * misc/tst-efgcvt.c: Likewise.
13447 * misc/tst-fdset.c: Likewise.
13448 * misc/tst-hsearch.c: Likewise.
13449 * misc/tst-mntent2.c: Likewise.
13450 * nptl/tst-sem7.c: Likewise.
13451 * nptl/tst-sem8.c: Likewise.
13452 * nptl/tst-sem9.c: Likewise.
13453 * nss/test-netdb.c: Likewise.
13454 * posix/tst-fnmatch.c: Likewise.
13455 * posix/tst-getlogin.c: Likewise.
13456 * posix/tst-gnuglob.c: Likewise.
13457 * posix/tst-mmap.c: Likewise.
13458 * pwd/tst-getpw.c: Likewise.
13459 * resolv/tst-inet_ntop.c: Likewise.
13460 * rt/tst-timer.c: Likewise.
13461 * stdio-common/test-fseek.c: Likewise.
13462 * stdio-common/test-popen.c: Likewise.
13463 * stdio-common/test-vfprintf.c: Likewise.
13464 * stdio-common/tst-cookie.c: Likewise.
13465 * stdio-common/tst-fileno.c: Likewise.
13466 * stdio-common/tst-gets.c: Likewise.
13467 * stdio-common/tst-obprintf.c: Likewise.
13468 * stdio-common/tst-perror.c: Likewise.
13469 * stdio-common/tst-sprintf2.c: Likewise.
13470 * stdio-common/tst-sprintf3.c: Likewise.
13471 * stdio-common/tst-sprintf.c: Likewise.
13472 * stdio-common/tst-swprintf.c: Likewise.
13473 * stdio-common/tst-tmpnam.c: Likewise.
13474 * stdio-common/tst-unbputc.c: Likewise.
13475 * stdio-common/tst-wc-printf.c: Likewise.
13476 * stdlib/tst-environ.c: Likewise.
13477 * stdlib/tst-fmtmsg.c: Likewise.
13478 * stdlib/tst-limits.c: Likewise.
13479 * stdlib/tst-rand48-2.c: Likewise.
13480 * stdlib/tst-rand48.c: Likewise.
13481 * stdlib/tst-random2.c: Likewise.
13482 * stdlib/tst-random.c: Likewise.
13483 * stdlib/tst-strtol.c: Likewise.
13484 * stdlib/tst-strtoll.c: Likewise.
13485 * stdlib/tst-tls-atexit.c: Likewise.
13486 * stdlib/tst-xpg-basename.c: Likewise.
13487 * string/test-ffs.c: Likewise.
13488 * string/tst-bswap.c: Likewise.
13489 * string/tst-inlcall.c: Likewise.
13490 * string/tst-strtok.c: Likewise.
13491 * string/tst-strxfrm.c: Likewise.
13492 * sysdeps/x86_64/tst-audit10.c: Likewise.
13493 * sysdeps/x86_64/tst-audit3.c: Likewise.
13494 * sysdeps/x86_64/tst-audit4.c: Likewise.
13495 * sysdeps/x86_64/tst-audit5.c: Likewise.
13496 * time/tst-ftime_l.c: Likewise.
13497 * time/tst-getdate.c: Likewise.
13498 * time/tst-mktime3.c: Likewise.
13499 * time/tst-mktime.c: Likewise.
13500 * time/tst-posixtz.c: Likewise.
13501 * time/tst-strptime2.c: Likewise.
13502 * time/tst-strptime3.c: Likewise.
13503 * wcsmbs/tst-btowc.c: Likewise.
13504 * wcsmbs/tst-mbrtowc.c: Likewise.
13505 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13506 * wcsmbs/tst-wchar-h.c: Likewise.
13507 * wcsmbs/tst-wcpncpy.c: Likewise.
13508 * wcsmbs/tst-wcrtomb.c: Likewise.
13509 * wcsmbs/tst-wcsnlen.c: Likewise.
13510 * wcsmbs/tst-wcstof.c: Likewise.
13511
13512 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13513
13514 [BZ #14132]
13515 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13516 INTDEF.
13517 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13518 declaration.
13519 (_dl_mcount): Use rtld_hidden_proto.
13520 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13521 _dl_mcount.
13522 * elf/rtld.c (_rtld_global_ro): Likewise.
13523
13524 [BZ #14132]
13525 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13526 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13527 of _dl_init_internal.
13528 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13529 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13530 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13531 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13532 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13533 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13534 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13535 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13536 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13537 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13538 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13539 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13540 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13541 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13542 * sysdeps/tile/dl-start.S (_start): Likewise.
13543 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13544 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13545
13546 [BZ #14132]
13547 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13548 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13549 (rtld_progname): Make macro definition unconditional.
13550 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13551 INTDEF.
13552 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13553 (dl_main): Likewise.
13554 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13555 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13556 instead of _dl_argv_internal.
13557 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13558 __GI__dl_argv instead of INTUSE(_dl_argv).
13559 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13560 __GI__dl_argv instead of _dl_argv_internal.
13561
13562 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13563 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13564 macro.
13565 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13566 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13567 New macro.
13568 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13569 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13570 macro.
13571 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13572 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13573
13574 2014-11-04 Andreas Schwab <schwab@suse.de>
13575
13576 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13577
13578 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579
13580 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13581 mtvsrd instruction in binary form.
13582
13583 2014-11-03 Andreas Schwab <schwab@suse.de>
13584
13585 [BZ #17522]
13586 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13587 for less than MB_LEN_MAX use a local buffer of that size.
13588 * libio/tst-fputws.c: New file.
13589 * libio/Makefile (tests): Add tst-fputws.
13590
13591 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13592
13593 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13594 the size of the fpu_fr.fpu_dregs[] array.
13595
13596 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13597
13598 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13599 (__nanosleep): Do not define as alias.
13600 (nanosleep): Define as alias of __nanosleep.
13601 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13602 __libc_nanosleep name.
13603
13604 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13605
13606 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13607 install.texi in comment.
13608
13609 2014-10-31 Torvald Riegel <triegel@redhat.com>
13610
13611 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13612 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13613 ... add here and use lwsync or sync ...
13614 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13615 ... and add here using lwsync.
13616
13617 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13618
13619 * elf/dl-machine-reject-phdr.h: New file.
13620 * elf/dl-load.c: #include that.
13621 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13622 if that returned true.
13623
13624 2014-10-31 Roland McGrath <roland@hack.frob.com>
13625
13626 [BZ #17496]
13627 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13628 gen-as-const-headers chunk. Add a big scare comment after the last
13629 safe place to touch before-compile.
13630
13631 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13632
13633 * manual/install.texi (Tools for Compilation): Update autoconf
13634 version requirements.
13635 * INSTALL: Regenerated.
13636
13637 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13638 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13639 (__libc_pselect): Likewise.
13640
13641 [BZ #14138]
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13646
13647 2014-10-31 Torvald Riegel <triegel@redhat.com>
13648
13649 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13650 correct barrier instruction.
13651 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13652 Likewise.
13653 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13654 Likewise.
13655
13656 2014-10-30 Roland McGrath <roland@hack.frob.com>
13657
13658 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13659 after defining inlines. Instead, just use parens to defeat macro
13660 expansion of __isctype in its declaration.
13661
13662 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13663
13664 * include/sys/uio.h (__libc_readv): Remove declaration.
13665 (__libc_writev): Likewise.
13666 * misc/readv.c (__libc_readv): Rename to __readv.
13667 (__readv): Do not define as alias.
13668 (readv): Define as alias of __readv.
13669 * misc/writev.c (__libc_writev): Rename to __writev.
13670 (__writev): Do not define as alias.
13671 (writev): Define as alias of __writev.
13672 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13673 (__readv): Do not define as alias.
13674 (readv): Define unconditionally as alias of __readv.
13675 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13676 (__writev): Do not define as alias.
13677 (writev): Define unconditionally as alias of __writev.
13678 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13679 name.
13680 (writev): Do not define __libc_writev name.
13681
13682 2014-10-30 Roland McGrath <roland@hack.frob.com>
13683
13684 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13685 (convert_charseq): New function, broken out of ...
13686 (use_from_charmap): ... here. Call it.
13687 (use_to_charmap): Use convert_charseq and free instead of duplicating
13688 its code with a variable-length stack struct.
13689
13690 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13691
13692 * include/fcntl.h (__libc_creat): Remove declaration.
13693 * io/creat.c (__libc_creat): Rename to creat.
13694 (creat): Do not define as alias.
13695 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13696 of creat instead of __libc_creat.
13697 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13698 to creat.
13699 (creat): Do not define as alias.
13700 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13701 __libc_creat.
13702 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13703 __libc_creat name.
13704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13705 Likewise.
13706
13707 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13708
13709 * manual/llio.texi: Add comments discussing why write() may be
13710 considered MT-unsafe on Linux.
13711
13712 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13713
13714 * dl-load.c (local_strdup): Remove.
13715 (expand_dynamic_string_token): Use __strdup.
13716 (decompose_rpath): Likewise.
13717 (_dl_map_object): Likewise.
13718
13719 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13720
13721 [BZ #14132]
13722 * sysdeps/generic/unwind-dw2-fde.c
13723 (__register_frame_info_bases_internal): Do not declare.
13724 (__register_frame_info_table_bases_internal): Likewise.
13725 (__deregister_frame_info_bases_internal): Likewise.
13726 (__register_frame_info_bases): Declare and use hidden_proto before
13727 definition. Use hidden_def instead of INTDEF.
13728 (__register_frame_info_table_bases): Likewise.
13729 (__deregister_frame_info_bases): Likewise.
13730 (__register_frame_info): Do not use INTUSE.
13731 (__register_frame): Likewise.
13732 (__register_frame_info_table): Likewise.
13733 (__register_frame_table): Likewise.
13734 (__deregister_frame_info): Likewise.
13735 (__deregister_frame): Likewise.
13736
13737 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13738
13739 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13740 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13741 not undefine.
13742 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13743 Likewise.
13744 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13745 Likewise.
13746
13747 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13748
13749 [BZ #14138]
13750 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13751 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13752 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13753 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13754 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13755 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13756 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13757 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13758 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13759 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13760 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13762 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13763 syscall.
13764 (setfsuid): Likewise.
13765 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13766 (setfsuid): Likewise.
13767 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13768 (setfsuid): Likewise.
13769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13770 Likewise.
13771 (setfsuid): Likewise.
13772 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13773 (setfsuid): Likewise.
13774 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13775 Likewise.
13776 (setfsuid): Likewise.
13777
13778 2014-10-27 Andreas Schwab <schwab@suse.de>
13779
13780 [BZ #17501]
13781 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13782 check for Slow_SSE4_2 feature bit.
13783 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13784 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13785 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13786 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13787
13788 2014-10-24 Roland McGrath <roland@hack.frob.com>
13789
13790 * configure.ac: Validate compiler version with a empirical test of
13791 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13792 $CC -v output.
13793 * configure: Regenerated.
13794
13795 * inet/htons.c (htons): Prototypify.
13796 * inet/htonl.c (htonl): Likewise.
13797
13798 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13799
13800 * string/strncat.c (strncat): Improve performance by using strlen.
13801
13802 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13803
13804 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13805
13806 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13807
13808 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13809 Call libc_fetestexcept_aarch64.
13810
13811 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13812
13813 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13814 Call libc_feholdexcept_aarch64.
13815
13816 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13817
13818 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13819 Call get_rounding_mode.
13820
13821 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13822
13823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13824 Simplify logic.
13825
13826 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13827
13828 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13829 Simplify logic.
13830
13831 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13832
13833 [BZ #14138]
13834 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13835 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13836 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13837 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13838 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13839 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13840 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13841 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13842 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13843 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13844 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13845 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13846 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13847 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13848 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13849 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13850 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13851 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13852 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13853 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13854 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13855 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13856 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13857 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13858 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13859 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13860 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13861 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13862 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13863 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13864 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13865 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13866 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13867 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13868 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13869 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13870 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13871 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13872 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13873 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13874 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13875 syscall.
13876 (geteuid): Likewise.
13877 (getgid): Likewise.
13878 (getuid): Likewise.
13879 (getresgid): Likewise.
13880 (getresuid): Likewise.
13881 (getgroups): Likewise.
13882 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13883 (geteuid): Likewise.
13884 (getgid): Likewise.
13885 (getuid): Likewise.
13886 (getresgid): Likewise.
13887 (getresuid): Likewise.
13888 (getgroups): Likewise.
13889 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13890 (geteuid): Likewise.
13891 (getgid): Likewise.
13892 (getuid): Likewise.
13893 (getresgid): Likewise.
13894 (getresuid): Likewise.
13895 (getgroups): Likewise.
13896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13897 Likewise.
13898 (geteuid): Likewise.
13899 (getgid): Likewise.
13900 (getuid): Likewise.
13901 (getresgid): Likewise.
13902 (getresuid): Likewise.
13903 (getgroups): Likewise.
13904 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13905 (geteuid): Likewise.
13906 (getgid): Likewise.
13907 (getuid): Likewise.
13908 (getresgid): Likewise.
13909 (getresuid): Likewise.
13910 (getgroups): Likewise.
13911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13912 Likewise.
13913 (geteuid): Likewise.
13914 (getgid): Likewise.
13915 (getuid): Likewise.
13916 (getgroups): Likewise.
13917
13918 [BZ #14138]
13919 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13920 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13921 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13922 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13923 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13924 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13925 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13926 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13927 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13928 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13929 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13930 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13931 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13932 __chown.
13933 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13934 (lchown): Likewise.
13935 (fchown): Likewise.
13936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13937 Likewise.
13938 (lchown): Likewise.
13939 (fchown): Likewise.
13940 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13941 (lchown): Likewise.
13942 (fchown): Likewise.
13943 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13944 Likewise.
13945 (lchown): Likewise.
13946 (fchown): Likewise.
13947
13948 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13949
13950 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13951 Simplify logic.
13952
13953 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13954
13955 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13956 Cleanup logic.
13957
13958 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13959
13960 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13961 Remove unused include.
13962
13963 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13964
13965 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13966 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13967 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13968 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13969
13970 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
13971 Helge Deller <deller@gmx.de>
13972
13973 [BZ #17508]
13974 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13975 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13976 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13977
13978 2014-10-23 Joseph Myers <joseph@codesourcery.com>
13979
13980 [BZ #14132]
13981 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13982 Remove macro definition.
13983 (__ashrdi3_v_glibc20): Likewise.
13984 (__lshrdi3_v_glibc20): Likewise.
13985 (__cmpdi2_v_glibc20): Likewise.
13986 (__ucmpdi2_v_glibc20): Likewise.
13987 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13988 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13989 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13990 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13991 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13992 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13993
13994 2014-10-22 Roland McGrath <roland@hack.frob.com>
13995
13996 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13997 old GNU extension [0] syntax.
13998 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13999 alloca rather than an array member with variable length.
14000 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14001 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14002 (parse_opt): ... here. Likewise use alloca there.
14003 Validate the -i argument before checking for rootness.
14004 (send_shutdown): New function, broken out of ...
14005 (parse_opt): ... here.
14006
14007 2014-10-22 Roland McGrath <roland@hack.frob.com>
14008
14009 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14010 macro to get at the _rt_local_ro field.
14011 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14012 ([PIC] case) or _dl_hwcap ([!PIC] case).
14013 * sysdeps/arm/setjmp.S: Likewise.
14014
14015 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14016 * sysdeps/arm/configure.ac: New check to define it.
14017 * sysdeps/arm/configure: Regenerated.
14018 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14019 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14020 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14021 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14022 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14023 Use move/movt pair instead of a load.
14024 (LDST_GLOBAL): Macro removed.
14025 (LDR_GLOBAL): New macro replaces it.
14026 (LDR_HIDDEN): New macro.
14027 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14028 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14029
14030 * setjmp/tst-setjmp-static.c: New file.
14031 * setjmp/Makefile (tests): Add it.
14032 (tests-static): New variable.
14033
14034 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14035
14036 [BZ #17485]
14037 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14038
14039 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14040
14041 [BZ #14132]
14042 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14043
14044 2014-10-21 Roland McGrath <roland@hack.frob.com>
14045
14046 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14047
14048 2014-10-20 Roland McGrath <roland@hack.frob.com>
14049
14050 * io/fts.c (dirent_not_directory): New function.
14051 (fts_build): Call it.
14052
14053 2014-10-20 Roland McGrath <roland@hack.frob.com>
14054
14055 * nptl/version.c (__nptl_main): Use normal __write rather than
14056 INTERNAL_SYSCALL.
14057 (banner): Update copyright years.
14058
14059 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14060 gettimeofday.
14061 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14062 * nptl/pthread_cond_timedwait.c: Likewise.
14063 * nptl/pthread_mutex_timedlock.c: Likewise.
14064 * nptl/sem_timedwait.c: Likewise.
14065
14066 * sysdeps/nptl/bits/libc-lock.h
14067 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14068 (__libc_lock_init_recursive): Return void, not 0.
14069 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14070 (__libc_rwlock_init): Likewise.
14071 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14072
14073 2014-10-20 Torvald Riegel <triegel@redhat.com>
14074
14075 [BZ #15215]
14076 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14077 (__pthread_once_slow): ... here.
14078 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14079 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14080
14081 2014-10-20 Torvald Riegel <triegel@redhat.com>
14082
14083 [BZ #15215]
14084 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14085 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14086 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14087 * nptl/pthread_once.c (__pthread_once): Likewise.
14088 Update comments.
14089
14090 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14091
14092 [BZ #14138]
14093 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14094 name.
14095 (writev): Use __libc_writev as strong name.
14096 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14097 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14098
14099 2014-10-17 Roland McGrath <roland@hack.frob.com>
14100
14101 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14102
14103 * sysdeps/i386/nptl/tls.h
14104 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14105 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14106 New macros.
14107 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14108 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14109 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14110 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14111 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14112 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14113
14114 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14115 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14116 on [__NR_futex].
14117 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14118 broken out of ...
14119 (__pthread_mutex_init): ... here. Call it.
14120 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14121 Conditionalize PI cases on [__NR_futex].
14122 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14123 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14124 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14125
14126 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14127 conditional on [SIGSETXID].
14128 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14129 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14130 is defined. Likewise for SIGSETXID.
14131 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14132 Conditionalize definitions on [SIGSETXID].
14133 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14134 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14135 unblocking on [SIGCANCEL].
14136
14137 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14138 [__NR_set_robust_list].
14139
14140 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14141
14142 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14143 (do_compare): Likewise.
14144
14145 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14146
14147 [BZ #15884]
14148 * string/strcoll_l.c: Don't include stdio.h.
14149 (coll_seq): Remove members idxarr and rulearr.
14150 (get_next_seq_cached): Remove function.
14151 (get_next_seq): Likewise.
14152 (get_next_seq_nocache): Rename to get_next_seq.
14153 (do_compare): Remove function.
14154 (do_compare_nocache): Rename to do_compare.
14155 (STRCOLL): Remove weight and rules cache.
14156
14157 2014-10-16 Roland McGrath <roland@hack.frob.com>
14158
14159 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14160 * sysdeps/arm/sfp-machine.h: ... to here.
14161 * sysdeps/arm/Implies: Remove arm/soft-fp.
14162
14163 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14164
14165 * conform/data/sys/utsname.h-data (*_t): Allow.
14166 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14167 [POSIX] (WEXITED): Do not expect constant.
14168 [POSIX] (WSTOPPED): Likewise.
14169 [POSIX] (WNOHANG): Likewise.
14170 [POSIX] (WNOWAIT): Likewise.
14171 [POSIX] (siginfo_t): Do not expect type or elements.
14172 [POSIX] (pid_t): Do not expect type.
14173 [POSIX] (signal.h): Do not allow header.
14174 [POSIX] (sys/resource.h): Likewise.
14175 [POSIX] (si_*): Do not allow pattern.
14176 [POSIX] (W*): Likewise.
14177 [POSIX] (P_*): Likewise.
14178 [POSIX] (BUS_*): Likewise.
14179 [POSIX] (CLD_*): Likewise.
14180 [POSIX] (FPE_*): Likewise.
14181 [POSIX] (ILL_*): Likewise.
14182 [POSIX] (POLL_*): Likewise.
14183 [POSIX] (SEGV_*): Likewise.
14184 [POSIX] (SI_*): Likewise.
14185 [POSIX] (TRAP_*): Likewise.
14186 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14187 variable.
14188
14189 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14190
14191 [BZ #12926]
14192 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14193 infinite loop when __recvmsg returns 0.
14194
14195 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14196
14197 * CANCEL-FCT-WAIVE: Remove file.
14198 * CANCEL-FILE-WAIVE: Likewise.
14199
14200 [BZ #14132]
14201 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14202 instead of INTVARDEF.
14203 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14204 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14205 rtld_hidden_data_def instead of INTVARDEF.
14206 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14207 * elf/dl-deps.c (expand_dst): Likewise.
14208 * elf/dl-load.c (_dl_dst_count): Likewise.
14209 (_dl_dst_substitute): Likewise.
14210 (decompose_rpath): Likewise.
14211 (_dl_init_paths): Likewise.
14212 (open_path): Likewise.
14213 (_dl_map_object): Likewise.
14214 * elf/rtld.c (dl_main): Likewise.
14215 (process_dl_audit): Likewise.
14216 (process_envvars): Likewise.
14217 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14218 Remove declaration.
14219 (__libc_enable_secure): Use rtld_hidden_proto.
14220
14221 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14222
14223 * elf/dl-load.c
14224 (add_path): New function broken out of _dl_rtld_di_serinfo.
14225 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14226
14227 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14228
14229 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14230 parentheses around macro arguments.
14231 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14233 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14234 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14235 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14236 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14237 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14238 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14239 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14240 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14241 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14242 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14243 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14244 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14245 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14246 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14247 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14252 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14253 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14254 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14255 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14256 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14257 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14258 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14259 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14260 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14261 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14262 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14263 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14264 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14265 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14266 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14267 Likewise.
14268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14271 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14275 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14276 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14277 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14278 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14279 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14280 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14284 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14288 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14289 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14290 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14291 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14292 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14293 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14294 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14295 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14296 (_FP_FRAC_SRS_1): Likewise.
14297 (_FP_FRAC_CLZ_1): Likewise.
14298 (_FP_MUL_MEAT_1_imm): Likewise.
14299 (_FP_MUL_MEAT_1_wide): Likewise.
14300 (_FP_MUL_MEAT_1_hard): Likewise.
14301 (_FP_SQRT_MEAT_1): Likewise.
14302 (_FP_FRAC_ASSEMBLE_1): Likewise.
14303 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14304 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14305 (__FP_CLZ_2): Likewise.
14306 (_FP_MUL_MEAT_2_wide): Likewise.
14307 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14308 (_FP_MUL_MEAT_2_gmp): Likewise.
14309 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14310 (_FP_SQRT_MEAT_2): Likewise.
14311 (_FP_FRAC_ASSEMBLE_2): Likewise.
14312 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14313 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14314 (_FP_FRAC_CLZ_4): Likewise.
14315 (_FP_MUL_MEAT_4_wide): Likewise.
14316 (_FP_MUL_MEAT_4_gmp): Likewise.
14317 (_FP_SQRT_MEAT_4): Likewise.
14318 (_FP_FRAC_ASSEMBLE_4): Likewise.
14319 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14320 * soft-fp/op-common.h (_FP_CMP): Likewise.
14321 (_FP_CMP_EQ): Likewise.
14322 (_FP_CMP_UNORD): Likewise.
14323 (_FP_TO_INT): Likewise.
14324 (_FP_FROM_INT): Likewise.
14325 [!__FP_CLZ] (__FP_CLZ): Likewise.
14326 (_FP_DIV_HELP_imm): Likewise.
14327 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14328 Likewise.
14329 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14332 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14333 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14334 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14335 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14340 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14341 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14342 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14343 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14344 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14345 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14346 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14347 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14349 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14351 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14352 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14353 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14355 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14357 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14358 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14359 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14360 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14361 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14362 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14363 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14364 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14365 (FP_UNPACK_RAW_SP): Likewise.
14366 (FP_PACK_RAW_S): Likewise.
14367 (FP_PACK_RAW_SP): Likewise.
14368 (FP_UNPACK_S): Likewise.
14369 (FP_UNPACK_SP): Likewise.
14370 (FP_UNPACK_SEMIRAW_S): Likewise.
14371 (FP_UNPACK_SEMIRAW_SP): Likewise.
14372 (FP_PACK_S): Likewise.
14373 (FP_PACK_SP): Likewise.
14374 (FP_PACK_SEMIRAW_S): Likewise.
14375 (FP_PACK_SEMIRAW_SP): Likewise.
14376 (_FP_SQRT_MEAT_S): Likewise.
14377 (FP_CMP_S): Likewise.
14378 (FP_CMP_EQ_S): Likewise.
14379 (FP_CMP_UNORD_S): Likewise.
14380 (FP_TO_INT_S): Likewise.
14381 (FP_FROM_INT_S): Likewise.
14382
14383 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14384
14385 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14386 (FP_EX_INVALID_IMZ): Likewise.
14387 (FP_EX_INVALID_IMZ_FMA): Likewise.
14388 (FP_EX_INVALID_ISI): Likewise.
14389 (FP_EX_INVALID_ZDZ): Likewise.
14390 (FP_EX_INVALID_IDI): Likewise.
14391 (FP_EX_INVALID_SQRT): Likewise.
14392 (FP_EX_INVALID_CVI): Likewise.
14393 (FP_EX_INVALID_VC): Likewise.
14394 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14395 "invalid" exceptions.
14396 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14397 (_FP_ADD_INTERNAL): Likewise.
14398 (_FP_MUL): Likewise.
14399 (_FP_FMA): Likewise.
14400 (_FP_DIV): Likewise.
14401 (_FP_CMP_CHECK_NAN): Likewise.
14402 (_FP_SQRT): Likewise.
14403 (_FP_TO_INT): Likewise.
14404 (FP_EXTEND): Likewise.
14405
14406 2014-10-09 Allan McRae <allan@archlinux.org>
14407
14408 * po/fr.po: Update French translation from translation project.
14409
14410 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14411
14412 [BZ #14132]
14413 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14414 of INTDEF.
14415 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14416 (__cxa_atexit): Use libc_hidden_proto.
14417 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14418
14419 [BZ #14132]
14420 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14421 declaration.
14422 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14423 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14424 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14425 [!_ISOMAC] (__iswctype_internal): Likewise.
14426 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14427 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14428 alias.
14429 (fcntl): Remove __fcntl_internal alias.
14430 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14431 __connect_internal alias.
14432 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14433 Likewise.
14434
14435 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14436 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14437 FP_DENORM_ZERO.
14438 (_FP_CHECK_FLUSH_ZERO): New macro.
14439 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14440 (_FP_CMP): Likewise.
14441 (_FP_CMP_EQ): Likewise.
14442 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14443 FP_DENORM_ZERO.
14444 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14445 (FP_TRUNC): Likewise.
14446
14447 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14448 treated as invalid conversion, not as normal exponent.
14449
14450 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14451 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14452 (_FP_CMP_EQ): Likewise.
14453 (_FP_CMP_UNORD): Likewise.
14454 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14455 (FP_CMP_EQ_D): Likewise.
14456 (FP_CMP_UNORD_D): Likewise.
14457 * soft-fp/extended.h (FP_CMP_E): Likewise.
14458 (FP_CMP_EQ_E): Likewise.
14459 (FP_CMP_UNORD_E): Likewise.
14460 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14461 (FP_CMP_EQ_Q): Likewise.
14462 (FP_CMP_UNORD_Q): Likewise.
14463 * soft-fp/single.h (FP_CMP_S): Likewise.
14464 (FP_CMP_EQ_S): Likewise.
14465 (FP_CMP_UNORD_S): Likewise.
14466 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14467 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14468 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14469 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14470 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14471 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14472 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14473 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14474 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14475 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14476 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14477 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14478 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14479 to FP_CMP_Q.
14480 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14481 FP_CMP_Q.
14482 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14483 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14484 FP_CMP_EQ_Q.
14485 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14486 FP_CMP_Q.
14487 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14488 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14489 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14490 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14491 FP_CMP_EQ_Q.
14492 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14493 FP_CMP_Q.
14494 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14495 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14496 FP_CMP_EQ_Q.
14497 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14498 FP_CMP_Q.
14499 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14500 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14501 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14502 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14503 FP_CMP_EQ_Q.
14504
14505 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14506 a subnormal result, set the underflow exception if trapping on
14507 underflow is enabled.
14508 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14509 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14510 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14511 redefine to 0.
14512 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14513 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14514 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14515 * soft-fp/extendxftf2.c (__extendxftf2): Use
14516 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14517
14518 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14519 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14520 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14521 FP_HANDLE_EXCEPTIONS.
14522 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14523 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14524 FP_HANDLE_EXCEPTIONS.
14525 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14526 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14527 FP_HANDLE_EXCEPTIONS.
14528 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14529 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14530 FP_HANDLE_EXCEPTIONS.
14531
14532 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14533
14534 [BZ #14132]
14535 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14536 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14537 use INTUSE.
14538 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14539 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14540 Remove alias.
14541 (__adjtimex): Define using libc_hidden_ver.
14542 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14543 Remove declaration.
14544 (ntp_gettime): Call __adjtimex directly.
14545 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14546 Remove declaration.
14547 (ntp_gettimex): Call __adjtimex directly.
14548 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14549 __adjtimex_internal alias.
14550
14551 2014-10-08 Roland McGrath <roland@hack.frob.com>
14552
14553 [BZ #17460]
14554 * nscd/nscd.c (more_help): Rewrite list of tables collection
14555 using xstrdup and asprintf.
14556
14557 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14558
14559 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14560 Roland McGrath <roland@hack.frob.com>
14561
14562 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14563 (do_lookup_unique): ... local function 'enter' here; update callers.
14564
14565 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14566
14567 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14568 compat_symbol calls on [SHARED].
14569 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14570 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14571 Remove.
14572 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14573 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14574 (oldsetrlimit): Remove.
14575 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14577 (lchown): New syscall entry.
14578 (oldsetrlimit): Remove.
14579 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14580 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14581 (oldsetrlimit): Remove.
14582 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14583
14584 [BZ #14138]
14585 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14586 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14587 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14588 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14589 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14590 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14591 (fchown): Likewise.
14592 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14593 (fchown): Likewise.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14595 Likewise.
14596
14597 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14598
14599 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14600 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14601 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14602 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14603 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14604 Likewise.
14605 (__old_sem_post): Likewise.
14606
14607 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14608
14609 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14610 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14611 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14612 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14613 Use INLINE_VSYSCALL macro.
14614 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14615 __vdso_clock_gettime.
14616 * sysdeps/unix/sysv/linux/tile/init-first.c
14617 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14618 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14619 __vdso_clock_gettime.
14620
14621 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14622 to set up frame more cleanly.
14623
14624 * sysdeps/tile/memcmp.c: New file.
14625
14626 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14627
14628 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14629 * sysdeps/tile/tilegx/strcasestr.c: New file.
14630 * sysdeps/tile/tilegx/strnlen.c: New file.
14631 * sysdeps/tile/tilegx/strstr.c: New file.
14632
14633 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14634
14635 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14636
14637 * nptl/tst-setuid3.c: Write errors to stdout.
14638
14639 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14640
14641 * elf/dl-deps.c
14642 (preload): New functions broken out of _dl_map_object_deps.
14643 (_dl_map_object_deps): Remove a nested function. Update call sites.
14644
14645 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14646
14647 [BZ #14138]
14648 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14649 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14650
14651 2014-10-01 Steve Ellcey <sellcey@mips.com>
14652
14653 * sysdeps/mips/strcmp.S: New.
14654
14655 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14656
14657 [BZ #14138]
14658 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14659 (linkat): Likewise.
14660 (mkdirat): Likewise.
14661 (readlinkat): Likewise.
14662 (renameat): Likewise.
14663 (symlinkat): Likewise.
14664 (unlinkat): Likewise.
14665 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14666 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14667 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14668 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14669 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14670 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14671 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14672
14673 2014-09-30 Will Newton <will.newton@linaro.org>
14674
14675 * math/math.h: Define long double math functions if
14676 _LIBC_TEST is defined.
14677 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14678
14679 * localedata/Makefile: Move assignment to tests-special
14680 into an ifdef testing run-built-tests.
14681 * timezone/Makefile: Likewise.
14682
14683 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14684
14685 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14686 with $(BASH) not $(SHELL).
14687
14688 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14689 Matthew LeGendre <legendre1@llnl.gov>
14690
14691 [BZ #17411]
14692 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14693 l_reloc_result.
14694
14695 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14696
14697 * stdio-common/printf_fp.c
14698 (hack_digit): New function, broken out of ...
14699 (__printf_fp): ... local function here. Update call sites.
14700 hack_digit now takes an additional parameter that is a pointer
14701 to a struct of the referenced locals. Those locals moved inside
14702 the struct and references updated.
14703
14704 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14705
14706 * aclocal.m4: Require autoconf 2.69.
14707 * configure: Regenerated.
14708 * sysdeps/aarch64/configure: Likewise.
14709 * sysdeps/alpha/configure: Likewise.
14710 * sysdeps/arm/armv7/configure: Likewise.
14711 * sysdeps/arm/configure: Likewise.
14712 * sysdeps/ia64/configure: Likewise.
14713 * sysdeps/mach/configure: Likewise.
14714 * sysdeps/mips/configure: Likewise.
14715 * sysdeps/s390/configure: Likewise.
14716 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14718
14719 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14720 file.
14721 * sysdeps/ia64/configure.ac: Likewise.
14722
14723 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14724
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14726 specify symbol version for ld.so. Do not include entry for
14727 libpthread.
14728 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14729 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14730 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14731
14732 [BZ #14171]
14733 * Makeconfig [$(build-shared) = yes]
14734 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14735 makefiles.
14736 [$(build-shared) = yes && $(soversions.mk-done) = t]
14737 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14738 [$(build-shared) = yes && $(soversions.mk-done) = t]
14739 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14740 to Makerules.
14741 [$(build-shared) = yes && $(soversions.mk-done) = t]
14742 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14743 here.
14744 [$(build-shared) = yes && $(soversions.mk-done) = t]
14745 (common-generated): Don't append gnu/lib-names.h and
14746 gnu/lib-names.stmp here.
14747 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14748 (lib-names-h-abi): New variable.
14749 [$(build-shared) = yes && $(soversions.mk-done) = t]
14750 (lib-names-stmp-abi): Likewise.
14751 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14752 abi-variants] (before-compile): Append
14753 $(common-objpfx)$(lib-names-h-abi).
14754 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14755 abi-variants] (common-generated): Append gnu/lib-names.h.
14756 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14757 abi-variants] (install-others-nosubdir): Depend on
14758 $(inst_includedir)/$(lib-names-h-abi).
14759 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14760 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14761 [$(build-shared) = yes && $(soversions.mk-done) = t]
14762 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14763 [$(build-shared) = yes && $(soversions.mk-done) = t]
14764 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14765 [$(build-shared) = yes && $(soversions.mk-done) = t]
14766 (common-generated): Append $(lib-names-h-abi) and
14767 $(lib-names-stmp-abi).
14768 * scripts/lib-names.awk: Do not handle multi being set.
14769 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14770 Remove variable.
14771 (abi-lp64_be-ld-soname): Likewise.
14772 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14773 Likewise.
14774 (abi-hard-ld-soname): Likewise.
14775 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14776 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14777 Remove variable.
14778 (abi-o32_hard-ld-soname): Likewise.
14779 (abi-o32_soft_2008-ld-soname): Likewise.
14780 (abi-o32_hard_2008-ld-soname): Likewise.
14781 (abi-n32_soft-ld-soname): Likewise.
14782 (abi-n32_hard-ld-soname): Likewise.
14783 (abi-n32_soft_2008-ld-soname): Likewise.
14784 (abi-n32_hard_2008-ld-soname): Likewise.
14785 (abi-n64_soft-ld-soname): Likewise.
14786 (abi-n64_hard-ld-soname): Likewise.
14787 (abi-n64_soft_2008-ld-soname): Likewise.
14788 (abi-n64_hard_2008-ld-soname): Likewise.
14789 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14790 Likewise.
14791 (abi-64-v2-ld-soname): Likewise.
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14793 ld.so entries.
14794 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14795 variable.
14796 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14797 entry.
14798 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14799 variable.
14800 (abi-64-ld-soname): Likewise.
14801 (abi-x32-ld-soname): Likewise.
14802 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14803 entry.
14804 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14805
14806 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14807
14808 [BZ #14138]
14809 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14810 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14811 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14813 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14814 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14815 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14816 syscall entry for GLIBC_2.2 symbol version.
14817 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14818 Likewise.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14820 (setrlimit): Likewise.
14821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14822 Likewise.
14823
14824 2014-09-23 Will Newton <will.newton@linaro.org>
14825
14826 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14827 _LINUX_ARM_SYSDEP_H include guard too.
14828 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14829 define.
14830
14831 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14832
14833 * sysdeps/unix/sysv/linux/eventfd.c:
14834 Make first argument unsigned.
14835 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14836 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14837
14838 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14839
14840 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14841 * socket/sys/socket.h: Likewise
14842 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14843
14844 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14845
14846 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14847
14848 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14849
14850 * time/tst-ftime.c: New test.
14851 * time/Makefile (tests): Add tst-ftime.
14852
14853 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14854
14855 * soft-fp/extended.h: Fix comment formatting.
14856 * soft-fp/op-1.h: Likewise.
14857 * soft-fp/op-2.h: Likewise.
14858 * soft-fp/op-4.h: Likewise.
14859 * soft-fp/op-8.h: Likewise.
14860 * soft-fp/op-common.h: Likewise.
14861 * soft-fp/soft-fp.h: Likewise.
14862
14863 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14864
14865 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14866
14867 [BZ #6652]
14868 * Makeconfig (soversions-default-setname): Remove variable.
14869 ($(common-objpfx)soversions.i): Don't pass default_setname to
14870 soversions.awk.
14871 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14872 oldest_abi to abi-versions.awk.
14873 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14874 * config.make.in (oldest-abi): Remove variable.
14875 * configure.ac (--enable-oldest-abi): Remove configure option.
14876 * configure: Regenerated.
14877 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14878 text.
14879 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14880 * scripts/soversions.awk: Do not handle default_setname variable.
14881 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14882 variable.
14883 * sysdeps/mach/hurd/configure: Regenerated.
14884 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14885 variable.
14886 * sysdeps/unix/sysv/linux/configure: Regenerated.
14887
14888 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14889
14890 * elf/Makefile (CFLAGS-interp.c): Remove.
14891 ($(elf-objpfx)runtime-linker.h): Generate header with linker
14892 path string.
14893 * elf/interp.c: Include generated runtime-linker.h
14894
14895 * Makerules (lib%.so): Don't include $(+interp) in
14896 prerequisites.
14897 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14898 * dlfcn/eval.c: Remove file.
14899
14900 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14901 macros.
14902
14903 [BZ #17266]
14904 * misc/sys/cdefs.h: Define __extern_always_inline for clang
14905 4.2 and newer.
14906
14907 [BZ #17370]
14908 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14909
14910 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14911 Jakub Jelinek <jakub@redhat.com>
14912
14913 [BZ #17266]
14914 * libio/stdio.h: Check definition of __fortify_function
14915 instead of __extern_always_inline to include bits/stdio2.h.
14916 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14917 check if __extern_always_inline is defined.
14918 [__USE_MISC || __USE_XOPEN]: Likewise.
14919 [__USE_ISOC99] Likewise.
14920 * misc/sys/cdefs.h (__fortify_function): Define only if
14921 __extern_always_inline is defined.
14922 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14923 __extern_always_inline and __extern_inline only for g++-4.3
14924 and newer or a compatible gcc.
14925
14926 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
14927
14928 [BZ #17371]
14929 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14930 last change to handle zero prefix length.
14931
14932 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14933
14934 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14935 _SC_REGEX_VERSION.
14936
14937 * posix/getconf.c (vars): Add _POSIX_IPV6 and
14938 _POSIX_RAW_SOCKETS.
14939
14940 2014-09-13 Allan McRae <allan@archlinux.org>
14941
14942 * po/ru.po: Update Russian translation from translation project.
14943
14944 2014-09-12 Roland McGrath <roland@hack.frob.com>
14945
14946 * locale/programs/locale.c (show_locale_vars): Inline local function
14947 into its sole call site. Clean up some style nits.
14948 (print_item): New function, broken out of ...
14949 (show_info): ... local function here. Clean up style nits.
14950
14951 * locale/programs/ld-ctype.c (set_one_default): New function, broken
14952 out of ...
14953 (set_class_defaults): ... local function set_default here.
14954 Define set_default as a macro locally to pass constant parameters.
14955 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14956 rather than a shared local.
14957
14958 * stdlib/rpmatch.c (try): New function, broken out of ...
14959 (rpmatch): ... local function here. Also, prototypify definition.
14960
14961 2014-09-12 Joseph Myers <joseph@codesourcery.com>
14962
14963 * scripts/soversions.awk: Do not handle configuration names.
14964 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14965 vendor and os variables to soversions.awk.
14966 * configure.ac: Do not modify gnu-* host_os.
14967 * configure: Regenerated
14968 * shlib-versions: Remove first column with configuration names.
14969 * nptl/shlib-versions: Likewise.
14970 * nptl_db/shlib-versions: Likewise.
14971 * sysdeps/hppa/shlib-versions: Likewise.
14972 * sysdeps/m68k/shlib-versions: Likewise.
14973 * sysdeps/mach/hurd/shlib-versions: Likewise.
14974 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14975 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14976 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14977 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14978 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14979 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14980 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14981 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14983 Likewise.
14984 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14985 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14986 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14987 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14988 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14989 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14990 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14991 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14992
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14994 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14996 Regenerated.
14997 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14999 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15000
15001 * shlib-versions: Remove OS-specific entries. Moved to files in
15002 sysdeps.
15003 * sysdeps/mach/hurd/shlib-versions: New file.
15004 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15005
15006 * nptl/shlib-versions: Remove architecture-specific entries.
15007 Moved to files in sysdeps.
15008 * shlib-versions: Likewise.
15009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15010 file.
15011 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15012 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15013 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15014 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15015
15016 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15017 (UDP_NO_CHECK6_RX): Likewise.
15018
15019 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15020
15021 * sysdeps/posix/sysconf.c (__sysconf): Spell
15022 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15023
15024 2014-08-12 Florian Weimer <fweimer@redhat.com>
15025
15026 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15027 loading.
15028 * iconv/Versions (__gconv_transliterate): Export for use from
15029 gconv modules.
15030 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15031 (struct __gconv_trans_data, __gconv_trans_fct,
15032 __gconv_trans_context_fct, __gconv_trans_query_fct,
15033 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15034 definitions.
15035 (struct __gconv_step_data): Remove __trans member.
15036 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15037 longer hidden. Remove unused trans_data argument.
15038 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15039 (__gconv_translit_find): Remove declaration.
15040 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15041 prototype.
15042 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15043 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15044 trans_data argument. Add hidden definition.
15045 (__gconv_translit_find): Remove.
15046 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15047 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15048 * iconv/skeleton.c: Remove transliteration initialization.
15049 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15050 __gconv_step_data initialization.
15051 * libio/iofwide.c (__libio_translit_): Remove.
15052 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15053 * wcsmbs/btowc.c (__btowc): Likewise.
15054 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15055 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15056 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15057 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15058 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15059 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15060 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15061 * wcsmbs/wctob.c (wctob): Likewise.
15062
15063 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15064
15065 [BZ #16194]
15066 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15067 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15068 register usage.
15069 * sysdeps/x86/Makefile: Adjust.
15070
15071 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15072 Roland McGrath <roland@hack.frob.com>
15073
15074 * locale/weight.h: Add include guard.
15075 (findidx): Make static rather than auto; take new parameters
15076 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15077 * locale/weightwc.h: Likewise.
15078 * posix/fnmatch_loop.c
15079 (FCT): Change type of EXTRA from int32_t to wint_t.
15080 Don't include either header inside the function.
15081 Call FINDIDX rather than findidx, and pass new arguments.
15082 #undef FINDIDX at the end of the file.
15083 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15084 FINDIDX before including fnmatch_loop.c for the non-wide version.
15085 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15086 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15087 for the wide version.
15088 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15089 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15090 Pass new arguments to findidx.
15091 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15092 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15093 Don't #include it inside the function. Pass new arguments to findidx.
15094 * posix/regex_internal.h
15095 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15096 (re_string_elem_size_at): Don't #include it inside the function.
15097 Pass new arguments to findidx.
15098 * string/strcoll_l.c: #include WEIGHT_H at top level.
15099 (get_next_seq): Don't #include it inside the function.
15100 Pass new arguments to findidx.
15101 (get_next_seq_nocache): Likewise.
15102 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15103 (STRXFRM): Don't #include it inside the function.
15104 Pass new arguments to findidx.
15105
15106 2014-09-11 Florian Weimer <fweimer@redhat.com>
15107
15108 [BZ #17344]
15109 * malloc/malloc.c (unlink): Turn asserts into a call to
15110 malloc_printerr.
15111
15112 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15113
15114 [BZ #17370]
15115 * libio/wfileops (do_ftell_wide): Free OUT.
15116
15117 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15118
15119 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15120
15121 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15122
15123 [BZ #17363]
15124 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15125 group if the current group is empty.
15126
15127 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15128
15129 * benchtests/bench-memset.c (test_main): Add more test from size
15130 from 32 to 512 bytes.
15131 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15132 Add POWER8 memset object.
15133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15134 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15135 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15136 implementation.
15137 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15138 Likewise.
15139 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15140 multiarch POWER8 memset optimization.
15141 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15142 POWER8 memset optimization.
15143
15144 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15145 Remove bzero multiarch objects.
15146 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15147 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15148 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15149 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15150 Remove define.
15151 [__bzero]: Redefine to specific name.
15152 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15153 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15154 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15155 define.
15156 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15157 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15158
15159 2014-09-10 Florian Weimer <fweimer@redhat.com>
15160
15161 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15162 warnings into errors.
15163
15164 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15165 __cxa_thread_atexit_impl prototype.
15166
15167 2014-09-09 Steve Ellcey <sellcey@mips.com>
15168
15169 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15170 Fix capitalization of error message.
15171
15172 2014-09-09 Steve Ellcey <sellcey@mips.com>
15173
15174 * sysdeps/mips/preconfigure: Modify ABI tests.
15175
15176 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15177
15178 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15179
15180 2014-09-07 Roland McGrath <roland@hack.frob.com>
15181 Carlos O'Donell <carlos@systemhalted.org>
15182
15183 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15184 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15185 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15186 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15187 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15188 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15189 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15190 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15191 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15192 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15193 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15194 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15195 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15196 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15197 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15198 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15199 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15200 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15201 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15202 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15203 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15204 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15205 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15206 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15207 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15208 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15209 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15210 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15211 Deconditionalize the code that was previously under [RESET_PID].
15212 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15213 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15214 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15215 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15216 include sysdep.h.
15217
15218 2014-09-08 Allan McRae <allan@archlinux.org>
15219
15220 * version.h (RELEASE): Set to "development".
15221 (VERSION): Set to "2.20.90"
15222
15223 2014-09-07 Allan McRae <allan@archlinux.org
15224
15225 * version.h (RELEASE): Set to "stable".
15226 (VERSION): Set to "2.20"
15227 * include/features.h (__GLIBC_MINOR__): Set to 20.
15228
15229 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15230 Liebler.
15231
15232 * po/ko.po: Update Korean translation from translation project.
15233
15234 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15235
15236 [BZ #17354]
15237 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15238 macro for handling signed relocations.
15239
15240 2014-09-03 Florian Weimer <fweimer@redhat.com>
15241
15242 [BZ #17325]
15243 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15244 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15245 assert.
15246 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15247 * iconvdata/ibm935.c (BODY): Likewise.
15248 * iconvdata/ibm937.c (BODY): Likewise.
15249 * iconvdata/ibm939.c (BODY): Likewise.
15250 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15251 assert.
15252 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15253 script.
15254 * iconvdata/run-iconv-test.sh: New test loop for checking for
15255 decoder crashers.
15256
15257 2014-09-02 Khem Raj <raj.khem@gmail.com>
15258
15259 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15260 libm_hidden_ver.
15261
15262 2014-09-01 Allan McRae <allan@archlinux.org>
15263
15264 * po/eo.po: Update Esperanto translation from translation project.
15265
15266 * po/ca.po: Update Catalan translation from translation project.
15267
15268 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15269
15270 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15271 __proc_dostop call.
15272
15273 2014-08-27 Mark Wielaard <mjw@redhat.com>
15274
15275 [BZ #17319]
15276 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15277 to call set_thread_area instead of hand written asm.
15278 (__NR_set_thread_area): Removed define.
15279 (TLS_FLAG_WRITABLE): Likewise.
15280 (__ASSUME_SET_THREAD_AREA): Remove check.
15281 (TLS_EBX_ARG): Remove define.
15282 (TLS_LOAD_EBX): Likewise.
15283
15284 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15285
15286 Simplify atomicity of socket creation in bind.
15287
15288 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15289 looking up the name after linking the file.
15290
15291 2014-08-27 Allan McRae <allan@archlinux.org>
15292
15293 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15294
15295 2014-08-26 Florian Weimer <fweimer@redhat.com>
15296
15297 [BZ #17187]
15298 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15299 trans_compare, open_translit, __gconv_translit_find):
15300 Remove module loading code.
15301
15302 2014-08-26 Allan McRae <allan@archlinux.org>
15303
15304 * po/vi.po: Update Vietnamese translation from translation project.
15305
15306 * po/uk.po: Update Ukrainian translation from translation project.
15307
15308 * po/fr.po: Update French translation from translation project.
15309
15310 * po/ru.po: Update Russian translation from translation project.
15311
15312 * po/pl.po: Update Polish translation from translation project.
15313
15314 * po/cs.po: Update Czech translation from translation project.
15315
15316 * po/de.po: Update German translation from translation project.
15317
15318 * po/bg.po: Update Bulgarian translation from translation project.
15319
15320 * po/sv.po: Update Sweedish translation from translation project.
15321
15322 * po/nl.po: Update Dutch translation from translation project.
15323
15324 * po/es.po: Update Spanish translation from translation project.
15325
15326 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15327
15328 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15329
15330 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15331 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15332 (CPPFLAGS-iconvconfig): Likewise.
15333 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15334
15335 * include/libc-symbols.h: Remove unnecessary check for
15336 NOT_IN_libc.
15337 * nptl/pthreadP.h: Likewise.
15338 * sysdeps/aarch64/setjmp.S: Likewise.
15339 * sysdeps/alpha/setjmp.S: Likewise.
15340 * sysdeps/arm/sysdep.h: Likewise.
15341 * sysdeps/i386/setjmp.S: Likewise.
15342 * sysdeps/m68k/setjmp.c: Likewise.
15343 * sysdeps/posix/getcwd.c: Likewise.
15344 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15345 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15346 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15347 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15348 * sysdeps/sh/sh3/setjmp.S: Likewise.
15349 * sysdeps/sh/sh4/setjmp.S: Likewise.
15350 * sysdeps/unix/alpha/sysdep.h: Likewise.
15351 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15352 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15353 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15354 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15359 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15362 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15364 * sysdeps/x86_64/setjmp.S: Likewise.
15365
15366 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15367
15368 [BZ #17263]
15369 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15370 <stdint.h>.
15371 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15372 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15373
15374 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15375
15376 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15377
15378 [BZ #17262]
15379 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15380 and __x86_64__ when disabling x87 inline functions.
15381
15382 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15383
15384 [BZ #17259]
15385 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15386 asm statement with __cpuid_count.
15387
15388 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15389
15390 * configure.ac: Change __ehdr_start code to dereference the struct.
15391 Run readelf on the output to look for relocations.
15392 * configure: Regenerated.
15393
15394 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15395
15396 [BZ #17261]
15397 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15398 value to 0.
15399 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15400
15401 2014-08-12 Roland McGrath <roland@hack.frob.com>
15402
15403 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15404
15405 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15406
15407 [BZ #16892]
15408 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15409 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15410
15411 2014-08-12 Sean Anderson <seanga2@gmail.com>
15412
15413 * malloc/malloc.c: Fix typo in comment.
15414
15415 2014-08-09 Allan McRae <allan@archlinux.org>
15416
15417 * Regenerate libc.po.
15418
15419 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15420
15421 * intl/tst-gettext2.sh: Check every lang file for creation.
15422
15423 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15424
15425 * sysdeps/aarch64/fpu/math_private.h
15426 (libc_feholdsetround_noex_aarch64_ctx): New function.
15427
15428 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15429
15430 * sysdeps/arm/armv6/strcpy.S (strcpy):
15431 Fix performance issue in misaligned cases.
15432
15433 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15434
15435 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15436 Move definition from termios.h.
15437 (struct termio): Likewise.
15438 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15439 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15440 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15441 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15442 Likewise.
15443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15444 Move definition to ioctl-types.h
15445 (struct termio): Likewise.
15446 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15447 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15448 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15449 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15450 Likewise.
15451
15452 2014-08-05 Richard Henderson <rth@redhat.com>
15453
15454 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15455 exceptions.
15456 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15457 Add fraiseexcpt.
15458 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15459 Use __feraiseexcept.
15460 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15461 Protect libm symbols with IS_IN_libm.
15462
15463 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15464
15465 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15466
15467 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15468
15469 2014-08-04 Will Newton <will.newton@linaro.org>
15470
15471 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15472 file.
15473
15474 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15475
15476 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15477 variants for each function.
15478
15479 2014-08-04 Roland McGrath <roland@hack.frob.com>
15480
15481 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15482 appended ...
15483 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15484 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15485 appended ...
15486 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15487 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15488 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15489 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15490 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15491 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15492 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15493 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15494 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15495 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15496 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15497 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15498 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15499 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15500 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15501 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15502 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15503 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15504 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15505 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15506 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15507 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15508 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15509 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15510 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15511 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15512 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15513 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15514 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15515 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15516 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15517 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15518 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15519 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15520 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15521 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15522 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15523 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15524 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15525 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15526 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15527 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15528 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15529 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15530 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15531 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15532 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15533 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15534 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15536 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15537 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15538 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15539 Update #include.
15540 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15541 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15542
15543 2014-08-04 Roland McGrath <roland@hack.frob.com>
15544
15545 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15546 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15547 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15548 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15549 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15550 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15551
15552 2014-08-04 Roland McGrath <roland@hack.frob.com>
15553
15554 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15555 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15556 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15557 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15558
15559 2014-08-04 Roland McGrath <roland@hack.frob.com>
15560
15561 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15562 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15563 (__libc_vfork): Define function under this name.
15564 (__vfork): Define as an alias.
15565 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15566 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15567
15568 2014-08-04 Roland McGrath <roland@hack.frob.com>
15569
15570 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15571 that was previously under [RESET_PID].
15572 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15573
15574 2014-08-04 Andreas Schwab <schwab@suse.de>
15575
15576 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15577
15578 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15579
15580 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15581 (main): Likewise.
15582
15583 2014-08-01 Roland McGrath <roland@hack.frob.com>
15584
15585 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15586
15587 2014-08-01 Richard Henderon <rth@redhat.com>
15588
15589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15590 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15591 typo in exact zero test.
15592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15593 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15594 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15595
15596 2014-08-01 Roland McGrath <roland@hack.frob.com>
15597
15598 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15599 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15600 * sysdeps/arm/sysdep.h: ... here.
15601 [!__ASSEMBLER__]: Include <stdint.h>.
15602
15603 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15604
15605 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15606 (HAVE_WCTYPE_H): Likewise.
15607 (HAVE_ISWCTYPE): Likewise.
15608 (ENABLE_NLS): Likewise.
15609 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15610 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15611
15612 * posix/regex_internal.c: Check if DEBUG is defined and is
15613 set.
15614
15615 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15616 (HAVE_MBSRTOWCS): Likewise.
15617 * posix/fnmatch.c: Include string.h unconditionally.
15618
15619 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15620
15621 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15622 reversal.
15623
15624 2014-07-31 Roland McGrath <roland@hack.frob.com>
15625
15626 * sysdeps/generic/safe-fatal.h: New file.
15627 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15628 * nptl/forward.c: Include it.
15629 (__pthread_unwind): Use __safe_fatal as default action, rather
15630 than a bogus use of INTERNAL_SYSCALL that could never work.
15631
15632 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15633 * configure.ac (libc_cv_builtin_trap): New test.
15634 * configure: Regenerated.
15635 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15636 (ABORT_INSTRUCTION): Define using __builtin_trap.
15637
15638 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15639 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15640 * sysdeps/nptl/nptl-signals.h: New file.
15641 * nptl/pthreadP.h: Include <nptl-signals.h>.
15642
15643 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15644
15645 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15646 (ONE_DIRECTION): Define.
15647 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15648 (ONE_DIRECTION): Define.
15649 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15650 (ONE_DIRECTION): Define.
15651
15652 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15653
15654 * sysdeps/s390/Makefile: Delete file.
15655 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15656 * sysdeps/s390/__longjmp.c: Delete file.
15657 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15658 Remove fields __flags and __reserved.
15659 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15660 and add versioning.
15661 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15662 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15663 * sysdeps/s390/rtld-setjmp.S: Likewise.
15664 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15665 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15666 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15667 * sysdeps/s390/s390-32/setjmp.S: ... here.
15668 Add versioning.
15669 (__sigsetjmp): Remove setting __flags field.
15670 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15671 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15672 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15673 * sysdeps/s390/s390-64/setjmp.S: ... here.
15674 Add versioning.
15675 (__sigsetjmp): Remove setting __flags field.
15676 * sysdeps/s390/setjmp.S: Delete file.
15677 * sysdeps/s390/sigjmp.c: Likewise.
15678 * sysdeps/s390/v1-longjmp.c: Likewise.
15679 * sysdeps/s390/v1-setjmp.h: Likewise.
15680 * sysdeps/s390/v1-sigjmp.c: Likewise.
15681 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15682 Remove v1-longjmp_chk.
15683 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15684 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15685 Include debug/longjmp_chk.c and add versioning.
15686 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15687 Include nptl/pt-longjmp.c and add versioning.
15688 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15689 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15690 Include __longjmp.c.
15691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15692 Move to ...
15693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15694 (__getcontext): Remove setting __flags field.
15695 Add versioning.
15696 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15697 Don't restore upper high grps.
15698 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15699 Likewise.
15700 (__swapcontext): Remove setting uc_flags field.
15701 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15702 Delete file.
15703 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15704 Include __longjmp.c.
15705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15706 Move to ...
15707 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15708 (__getcontext): Remove setting __flags field.
15709 Add versioning.
15710 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15711 (__swapcontext): Remove setting uc_flags field.
15712 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15714 Remove fields uc_high_gprs and __reserved.
15715 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15716 New file with reverted content.
15717 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15719 Regenerated.
15720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15721 Regenerated.
15722
15723 2014-07-31 Andreas Schwab <schwab@suse.de>
15724
15725 * config.h.in (HAVE_IFUNC): Define to 0.
15726 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15727 definedness.
15728
15729 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15730
15731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15732 memmove-avx-unaligned, memcpy-avx-unaligned and
15733 mempcpy-avx-unaligned.
15734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15735 Add tests for AVX memcpy functions.
15736 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15737 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15738 memcpy_chk.
15739 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15740 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15741 memmove_chk.
15742 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15743 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15744 mempcpy_chk.
15745 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15746 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15747 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15748
15749 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15750
15751 [BZ #17213]
15752 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15753 powerpc64le.
15754
15755 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15756
15757 [BZ #16839]
15758 * manual/llio.texi: Add section about open file description locks.
15759 * manual/examples/ofdlocks.c: Example of open file description
15760 lock usage.
15761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15762 F_OFD_SETLK, and F_OFD_SETLKW.
15763
15764 2014-07-23 Allan McRae <allan@archlinux.org>
15765
15766 * po/es.po: Update Spanish translation from translation project.
15767
15768 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15769
15770 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15771
15772 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15773
15774 [BZ #17078]
15775 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15776 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15777 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15778
15779 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15780
15781 [BZ #17088]
15782 * math/fesetenv.c (__fesetenv)
15783 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15784 * math/feupdateenv.c (__feupdateenv)
15785 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15786
15787 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15788 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15789 (__ASSUME_SOCKETCALL): Do not define.
15790
15791 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15792 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15793 (__ASSUME_SOCKETCALL): Do not define.
15794 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15795 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15796 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15797 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15798 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15799 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15801 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15802
15803 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15804 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15805 (__ASSUME_SOCKETCALL): Do not define.
15806 (__ASSUME_IPC64): Define unconditionally.
15807 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15808 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15809 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15810 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15811 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15812 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15813 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15814 Likewise.
15815
15816 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15817 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15818 (__ASSUME_SOCKETCALL): Do not define.
15819 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15820 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15821 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15822 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15823 (__ASSUME_REQUEUE_PI): Define unconditionally.
15824 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15825 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15826 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15827 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15828 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15829 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15830
15831 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15832 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15833 (__ASSUME_SOCKETCALL): Do not define.
15834 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15835 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15836 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15837 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15838 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15839 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15840
15841 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15842 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15843 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15844 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15845 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15846 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15847 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15848 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15849 (__ASSUME_GETCPU_SYSCALL): Likewise.
15850
15851 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15852 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15853 cases for individual architectures.
15854 * sysdeps/gnu/configure: Regenerated.
15855 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15856 LIBC_SLIBDIR_RTLDDIR.
15857 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15858 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15859 LIBC_SLIBDIR_RTLDDIR.
15860 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15862 LIBC_SLIBDIR_RTLDDIR.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15864 Regenerated.
15865 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15866 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15867 file.
15868 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15869 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15870 file.
15871 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15872 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15873 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15874 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15875
15876 * sysdeps/aarch64/shlib-versions: Move to ...
15877 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15878 * sysdeps/alpha/shlib-versions: Move to ...
15879 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15880 * sysdeps/arm/shlib-versions: Move to ...
15881 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15882 * sysdeps/hppa/shlib-versions: Move all contents except for
15883 libgcc_s entry to ...
15884 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
15885 entry from ...
15886 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
15887 * sysdeps/ia64/shlib-versions: Move to ...
15888 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
15889 entry from ...
15890 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
15891 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15892 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15893 * sysdeps/microblaze/shlib-versions: Move to ...
15894 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15895 * sysdeps/mips/shlib-versions: Move to ...
15896 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
15897 entry from ...
15898 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
15899 * sysdeps/tile/shlib-versions: Move to ...
15900 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15901 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15902 from ...
15903 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
15904 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15905 entry from ...
15906 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
15907
15908 2014-07-17 Will Newton <will.newton@linaro.org>
15909
15910 * sysdeps/arm/bits/atomic.h
15911 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15912 (__arch_compare_and_exchange_bool_16_int): Likewise.
15913 (__arch_compare_and_exchange_bool_64_int): Likewise.
15914
15915 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15916 into an #else block.
15917
15918 2014-07-16 Roland McGrath <roland@hack.frob.com>
15919
15920 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15921 just Linux configurations. Test empirically that the compiler sets
15922 __ARM_EABI__, rather than using the tuple to decide.
15923 * sysdeps/arm/preconfigure: Regenerated.
15924 * sysdeps/unix/sysv/linux/arm/configure: File removed.
15925 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15926 contents appended ...
15927 * sysdeps/arm/configure.ac: ... here.
15928 * sysdeps/arm/configure: Regenerated.
15929
15930 2014-07-15 Roland McGrath <roland@hack.frob.com>
15931
15932 * nptl/pthread_kill.c: New file.
15933 * nptl/pthread_sigmask.c: New file.
15934 * nptl/pthread_sigqueue.c: New file.
15935
15936 * sysdeps/nptl/lowlevellock.h: New file.
15937 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15938 * sysdeps/nptl/lowlevellock-futex.h: New file.
15939
15940 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15941 Remove dead declarations.
15942
15943 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
15944
15945 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15946 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15947 config-cflags-avx2.
15948 * sysdeps/x86_64/configure.ac: Likewise.
15949 * sysdeps/i386/configure: Regenerated.
15950 * sysdeps/x86_64/configure: Likewise.
15951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15952 memset-avx2 only if config-cflags-avx2 is yes.
15953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15954 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15955 defined.
15956 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15957 only if HAVE_AVX2_SUPPORT is defined.
15958 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15959
15960 2014-07-14 Alan Modra <amodra@gmail.com>
15961
15962 [BZ #17153]
15963 * elf/elf.h (DT_PPC64_NUM): Correct value.
15964 * NEWS: Add to fixed bug list.
15965
15966 2014-07-13 Jim Meyering <meyering@fb.com>
15967
15968 [BZ 17150]
15969 regex: don't deref NULL upon heap allocation failure
15970 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15971 failure in one more place.
15972 To trigger the segfault, configure grep -with-included-regex,
15973 build it, and run these commands:
15974 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15975
15976 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
15977
15978 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15979
15980 2014-07-11 Richard Henderson <rth@redhat.com>
15981
15982 * sysdeps/aarch64/libm-test-ulps: Update.
15983
15984 2014-07-10 Florian Weimer <fweimer@redhat.com>
15985
15986 [BZ #17135]
15987 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15988 * nptl/allocatestack.c (__nptl_setxid_error): New function.
15989 (__nptl_setxid): Initialize error member. Call
15990 __nptl_setxid_error.
15991 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15992 * nptl/descr.h (struct xid_command): Add error member.
15993 * nptl/tst-setuid3.c: New file.
15994 * nptl/Makefile (tests): Add it.
15995
15996 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15997
15998 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15999 New define.
16000 (__lll_trylock): Use __lll_base_trylock.
16001 (__lll_cond_trylock): Likewise.
16002
16003 2014-07-10 Roland McGrath <roland@hack.frob.com>
16004
16005 * nptl/pthread_create.c (start_thread): Use atomic_or and
16006 lll_futex_wake directly rather than lll_robust_dead.
16007 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16008 (lll_robust_dead): Macro removed.
16009 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16010 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16011 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16012 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16013 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16014 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16015 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16016 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16017 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16019 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16020 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16021 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16022 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16023 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16024
16025 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16026 Use atomic_compare_and_exchange_val_acq directly rather than
16027 lll_robust_trylock.
16028 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16029 (__lll_robust_trylock, lll_robust_trylock): Removed.
16030 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16031 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16032 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16034 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16035 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16036 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16037 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16039 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16040 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16041 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16042 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16044
16045 2014-07-02 Florian Weimer <fweimer@redhat.com>
16046
16047 * manual/locale.texi (Locale Names): New section documenting
16048 locale name syntax. Adjust menu and node chaining accordingly.
16049 (Choosing Locale): Reference Locale Names, Locale Categories.
16050 Mention setting LC_ALL=C. Reflect that name syntax is now
16051 documented.
16052 (Locale Categories): New section title. Reference Locale Names.
16053 LC_ALL is an environment variable, but not a category.
16054 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16055 description, now in Locale Name. Reference that section. Locale
16056 name syntax is now documented.
16057
16058 2014-07-02 Florian Weimer <fweimer@redhat.com>
16059
16060 [BZ #17137]
16061 * locale/findlocale.c (name_present, valid_locale_name): New
16062 functions.
16063 (_nl_find_locale): Use the loc_name variable to store name
16064 candidates. Call name_present and valid_locale_name to check and
16065 validate locale names. Return an error if the locale is invalid.
16066
16067 2014-07-02 Florian Weimer <fweimer@redhat.com>
16068
16069 * locale/setlocale.c (setlocale): Use strdup for allocating
16070 composite name copy.
16071
16072 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16073
16074 Sync up with gnulib.
16075 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16076 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16077 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16078 and _GL_ARG_NONNULL.
16079 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16080 [!_LIBC]: Include code for Windows and Cygwin.
16081 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16082 Include prototype for int strerror_r.
16083 [!_LIBC] (is_open): New function.
16084 (flush_stdout): New function.
16085 (print_errno_message): Use it.
16086 (error): Likewise.
16087 (error_at_line): Likewise.
16088 (error_tail) Add function attribute macros. Use
16089 __builtin_expect.
16090
16091 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16092
16093 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16094
16095 * io/ftw.c: Include sys/param.h unconditionally.
16096
16097 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16098
16099 [BZ #17125]
16100 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16101 libc_freeres_ptr.
16102 (freecache): New function to free CACHE on exit.
16103
16104 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16105 initialization.
16106
16107 2014-07-09 David S. Miller <davem@davemloft.net>
16108
16109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16110
16111 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16112 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16113 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16114 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16115 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16116 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16117 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16118 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16119 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16120 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16121 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16122 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16123 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16124
16125 2014-07-09 Andreas Schwab <schwab@suse.de>
16126
16127 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16128 output.
16129 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16130 (do_test): Likewise.
16131
16132 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16133
16134 2014-07-09 Will Newton <will.newton@linaro.org>
16135
16136 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16137 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16138 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16139 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16140 * sysdeps/hppa/start.S (_start): Likewise.
16141
16142 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16143
16144 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16145
16146 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16147 defined.
16148
16149 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16150
16151 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16152 after checking that it is non-NULL.
16153
16154 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16155
16156 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16157
16158 * sysdeps/powerpc/memmove.c: Remove file.
16159 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16160 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16162 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16163 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16164 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16165 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16166 string memmove instead of removed powerpc one.
16167
16168 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16169 [weak_alias]: Fix compiler warning due trailing data.
16170 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16171 [weak_alias]: Likewise.
16172 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16173 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16174
16175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16176 (__libc_ifunc_impl_list): Add memmove functions.
16177
16178 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16179
16180 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16181 Remove code.
16182 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16183 Likewise
16184 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16185 Likewise
16186 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16187 Likewise
16188 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16189 Likewise
16190 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16191 Likewise
16192 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16193 Likewise
16194 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16195 Likewise
16196 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16197 Likewise
16198 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16199 Likewise
16200 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16201 Likewise
16202 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16203 Likewise
16204 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16205 Likewise
16206 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16207 Likewise
16208 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16209 Likewise
16210 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16211 Likewise
16212 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16213 Likewise
16214
16215 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16216
16217 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16218 to avoid alignment traps in non-cacheable memory.
16219 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16220
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16222 multiarch objects.
16223 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16224 file: multiarch power7 memmove.
16225 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16226 multiarch default memmove.
16227 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16228 multiarch memove for powerpc32/power4.
16229
16230 * string/bcopy.c: Use full path to include memmove.c.
16231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16232 multiarch objects.
16233 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16234 bcopy for powerpc64.
16235 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16236 bcopy for powerpc64.
16237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16238 and memmove implementations.
16239 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16240 optimized multiarch memmove for POWER7/powerpc64.
16241 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16242 default multiarch memmove for powerpc64.
16243 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16244 multiarch for powerpc64.
16245 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16246 for POWER7/powerpc64.
16247 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16248 memmove for POWER7/powerpc64.
16249
16250 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16251 glibc default one.
16252
16253 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16254 __ELF_NATIVE_CLASS equal to 64.
16255
16256 2014-07-07 Roland McGrath <roland@hack.frob.com>
16257
16258 * sysdeps/nptl/lowlevellock.h: File removed.
16259
16260 * NEWS: NPTL is no longer an add-on!
16261 * nptl/internaltypes.h: Moved ...
16262 * sysdeps/nptl/internaltypes.h: ... here.
16263 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16264 * sysdeps/nptl/fork.c: Likewise.
16265 * sysdeps/nptl/gai_misc.h: Likewise.
16266 * sysdeps/nptl/librt-cancellation.c: Likewise.
16267 * sysdeps/nptl/jmp-unwind.c: Likewise.
16268 * sysdeps/nptl/setxid.h: Likewise.
16269 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16270 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16271 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16272 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16273 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16274 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16275 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16276 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16277 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16278 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16279 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16280 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16281 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16282 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16283 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16284 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16285 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16286 * nptl/Makeconfig: Moved ...
16287 * sysdeps/nptl/Makeconfig: ... here.
16288 * nptl/configure: File removed.
16289 * nptl/ANNOUNCE: File removed.
16290 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16291 * sysdeps/unix/sysv/linux/configure: Regenerated.
16292
16293 * nptl/Makefile (routines): Add libc_pthread_init,
16294 libc_multiple_threads, register-atfork and unregister-atfork.
16295 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16296 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16297 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16298 pthread-pi-defines.sym, structsem.sym.
16299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16300 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16301 [$(subdir) = nptl] (tests): Add tst-setgetname.
16302 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16303 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16304 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16305 [!LIBC_SIGACTION]: Remove aliases.
16306 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16307 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16308 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16309 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16310 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16311 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16313 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16314 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16315 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16316 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16317 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16318 __libc_allocate_rtsig_private.
16319 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16320 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16321 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16322 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16323 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16324 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16325 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16326 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16327 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16328 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16329 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16330 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16331 * nptl/internaltypes.h: ... here.
16332 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16333 * sysdeps/nptl/jmp-unwind.c: ... here.
16334 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16335 * nptl/libc-lowlevellock.c: ... here.
16336 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16337 * nptl/libc_multiple_threads.c: ... here.
16338 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16339 * nptl/libc_pthread_init.c: ... here.
16340 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16341 * nptl/lowlevelbarrier.sym: ... here.
16342 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16343 * nptl/lowlevelcond.sym: ... here.
16344 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16345 * nptl/lowlevellock.c: ... here.
16346 * nptl/lowlevellock.h: Moved ...
16347 * sysdeps/nptl/lowlevellock.h: ... here.
16348 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16349 * nptl/lowlevelrobustlock.c: ... here.
16350 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16351 * nptl/lowlevelrobustlock.sym: ... here.
16352 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16353 * nptl/lowlevelrwlock.sym: ... here.
16354 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16355 * nptl/pt-fork.c: ... here.
16356 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16357 * nptl/pthread-pi-defines.sym: ... here.
16358 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16359 * nptl/pthread_attr_getaffinity.c: ... here.
16360 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16361 * nptl/pthread_attr_setaffinity.c: ... here.
16362 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16363 * nptl/pthread_mutex_cond_lock.c: ... here.
16364 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16365 Update #include.
16366 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16367 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16368 * nptl/pthread_once.c: ... here, replacing old file.
16369 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16370 * nptl/pthread_yield.c: ... here.
16371 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16372 * nptl/register-atfork.c: ... here.
16373 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16374 * nptl/sem_post.c: ... here.
16375 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16376 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16377 * nptl/sem_timedwait.c: ... here.
16378 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16379 * nptl/sem_trywait.c: ... here.
16380 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16381 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16382 * nptl/sem_wait.c: ... here.
16383 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16384 * nptl/structsem.sym: ... here.
16385 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16386 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16387 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16388 * nptl/unregister-atfork.c: ... here.
16389 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16390 * nptl/unwindbuf.sym: ... here.
16391 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16392 * sysdeps/nptl/fork.c: ... here.
16393 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16394 * sysdeps/nptl/fork.h: ... here.
16395 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16396 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16397 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16398 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16399 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16400 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16401 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16402 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16403 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16404 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16405 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16406 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16407 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16408 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16409 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16410 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16411 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16412 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16413 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16414 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16415 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16416 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16417 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16418 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16419 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16420 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16421 * sysdeps/unix/sysv/linux/raise.c: ... here.
16422 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16423 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16424 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16425 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16426 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16427 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16428 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16429 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16430 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16431 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16432 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16433 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16434 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16435 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16436 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16437
16438 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16439
16440 * sysdeps/generic/memcopy.h: Add comment for
16441 MEMCPY_OK_FOR_FWD_MEMMOVE.
16442
16443 2014-07-04 Will Newton <will.newton@linaro.org>
16444
16445 * string/memchr.c: Merge from gnulib.
16446 [_LIBC]: Remove conditionals.
16447 (__ptr_t): Remove define.
16448 (LONG_MAX_32_BITS): Likewise.
16449 (LONG_MAX): Likewise.
16450 (MEMCHR): Use ANSI prototype and optimize algorithm.
16451
16452 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16453
16454 2014-07-03 Roland McGrath <roland@hack.frob.com>
16455
16456 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16457 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16458
16459 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16460 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16461 in a bare environment with no <stdlib.h> installed.
16462 * sysdeps/nptl/configure: Regenerated.
16463
16464 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16465
16466 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16467 AC_EGREP_CPP for kernel header checks, so they only succeed if
16468 including <linux/version.h> actually works right.
16469 * sysdeps/unix/sysv/linux/configure: Regenerated.
16470
16471 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16472 value so it's not diagnosed as unused.
16473
16474 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16475 thing) with "ifeq ($(subdir),rt)".
16476
16477 2014-07-03 Richard Henderson <rth@redhat.com>
16478
16479 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16480 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16481 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16482
16483 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16484 (math_force_eval): New.
16485
16486 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16487 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16488
16489 * sysdeps/alpha/fpu/s_round.c: Remove file.
16490 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16491
16492 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16493 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16494 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16495 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16496 (_dl_start, print_statistics): Likewise.
16497 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16498 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16499
16500 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16501 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16502 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16503 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16504 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16505 (HP_SMALL_TIMING_AVAIL): Define.
16506 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16507 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16508 (HP_SMALL_TIMING_AVAIL): Define.
16509 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16510 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16511
16512 * sysdeps/aarch64/hp-timing.h: New file.
16513
16514 * sysdeps/generic/hp-timing.h: Remove dead comment.
16515 * sysdeps/generic/hp-timing-common.h: New file.
16516 * sysdeps/alpha/hp-timing.h: Include it.
16517 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16518 * sysdeps/i386/i686/hp-timing.h: Likewise.
16519 * sysdeps/ia64/hp-timing.h: Likewise.
16520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16521 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16522 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16523 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16524 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16525 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16526 (hp_timing_t): New.
16527
16528 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16529 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16530 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16531 * elf/rtld.c (_dl_start_final): Likewise.
16532 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16533 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16534 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16535 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16536 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16538 (HP_TIMING_DIFF_INIT): Remove.
16539 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16540 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16541 (HP_TIMING_DIFF_INIT): Remove.
16542 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16543 * sysdeps/i386/i686/hp-timing.c: Remove file.
16544 * sysdeps/x86_64/hp-timing.c: Remove file.
16545 * sysdeps/ia64/hp-timing.c: Remove file.
16546 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16547 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16548 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16549 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16550
16551 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16552 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16553 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16554 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16555 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16556 (HP_TIMING_ACCUM): Remove.
16557 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16558 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16559 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16560
16561 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16562 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16563 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16564 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16566 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16568 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16569
16570 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16571
16572 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16573
16574 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16575
16576 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16577
16578 Sync up with gettext.
16579 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16580 [_MSC_VER]: Include malloc.h
16581 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16582 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16583 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16584 TEMP_FAILURE_RETRY. Cast return of alloca.
16585 [!_LIBC] Call gl_rwlock_init.
16586 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16587
16588 2014-07-02 Roland McGrath <roland@hack.frob.com>
16589
16590 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16591 before checking its value.
16592
16593 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16594
16595 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16596
16597 * debug/memcpy_chk.c: Don't include pagecopy.h.
16598 * debug/mempcpy_chk.c: Likewise.
16599 * string/memcpy.c: Likewise.
16600 * string/memmove.c: Likewise.
16601 * sysdeps/powerpc/memmove.c: Likewise.
16602 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16603 definition of PAGE_COPY_FWD_MAYBE here...
16604 * sysdeps/generic/pagecopy.h: ... from here.
16605 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16606
16607 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16608 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16609
16610 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16612 optimizations.
16613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16614 (__libc_ifunc_impl_list): Likewise.
16615 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16616 multiarch strcat for PPC64.
16617 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16618 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16619
16620 2014-07-02 Roland McGrath <roland@hack.frob.com>
16621
16622 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16623
16624 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16625
16626 * intl/loadmsgcat.c: Remove declaration of
16627 get_sysdep_segment_value.
16628 (get_sysdep_segment_value): Use ISO C style.
16629 (_nl_load_domain): Use ISO C style. Get rid of redundant
16630 semicolon. Fix typo and formatting in comment.
16631 (_nl_unload_domain): Use ISO C style.
16632
16633 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16634
16635 2014-07-02 Will Newton <will.newton@linaro.org>
16636
16637 * malloc/obstack.c: Merge from gnulib master.
16638 [HAVE_CONFIG_H]: Remove conditional code.
16639 [!_LIBC]: Include config.h.
16640 [!ELIDE_CODE]: Don't include inttypes.h, include
16641 stdint.h unconditionally.
16642 (print_and_abort): Mark as _Noreturn.
16643 (_obstack_allocated_p): Mark as __attribute_pure__.
16644 (obstack_free): Rename to __obstack_free.
16645 [!__attribute__]: Remove conditional code.
16646 * malloc/obstack.h: Merge from gnulib master.
16647 [__cplusplus]: Move conditional down.
16648 [!__attribute_pure__]: Define __attribute_pure__ here
16649 if it is not already defined.
16650 (_obstack_memory_used): Mark as __attribute_pure__.
16651 [!__obstack_free]: Define as obstack_free.
16652 [__GNUC__]: Remove check for ancient NeXT gcc.
16653
16654 2014-07-02 Will Newton <will.newton@linaro.org>
16655 Paul Eggert <eggert@cs.ucla.edu>
16656
16657 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16658
16659 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16660
16661 * resolv/gethnamaddr.c: Add comment warning that the file is
16662 not maintained.
16663
16664 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16665
16666 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16667 entries.
16668
16669 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16670 entry for aio_cancel and aio_cancel64.
16671 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16672 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16673 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16674 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16675 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16676 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16677 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16678 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16679 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16680 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16681 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16682 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16683 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16684
16685 2014-07-01 Roland McGrath <roland@hack.frob.com>
16686
16687 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16688 * nptl/pthread_mutex_lock.c: Likewise.
16689 * nptl/pthread_mutex_timedlock.c: Likewise.
16690 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16691
16692 2014-07-01 Richard henderson <rth@redhat.com>
16693
16694 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16695 (__isnan, __isnanl): Remove.
16696 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16697
16698 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16699
16700 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16701
16702 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16703
16704 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16705
16706 * resolv/nss_dns/dns-host.c (getanswer_r)
16707 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16708
16709 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16710
16711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16712 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16713 undefine.
16714 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16715 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16716
16717 2014-07-01 Roland McGrath <roland@hack.frob.com>
16718
16719 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16720 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16721
16722 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16723 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16724
16725 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16726 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16727 ... here.
16728 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16729 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16730
16731 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16732 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16733 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16734 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16735
16736 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16737 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16738 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16739 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16740 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16741 Moved ...
16742 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16743 ... here.
16744 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16745 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16746 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16747 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16748 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16749 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16750 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16751 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16752 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16753 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16754 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16755 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16756 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16757 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16758 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16759 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16760 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16761 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16762 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16763 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16764 ... here.
16765 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16766 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16767 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16768 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16769 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16770 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16771 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16772 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16773
16774 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16775
16776 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16777 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16778 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16779 Add sysdep.
16780
16781 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16782
16783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16784
16785 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16786
16787 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16788 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16789
16790 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16791
16792 * sysdeps/arm/libm-test-ulps: Regenerated.
16793
16794 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16795 Roland McGrath <roland@hack.frob.com>
16796
16797 * test-skeleton.c (signal_handler): Kill the whole process group
16798 before killing the child individually.
16799 (main): Report any failure on `setpgid'.
16800
16801 2014-06-30 Roland McGrath <roland@hack.frob.com>
16802
16803 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16804 from _TLS_H to _ARM_NPTL_TLS_H.
16805 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16806 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16807
16808 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16809
16810 [BZ #16539]
16811 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16812 (__expm1l): Return argument unchanged when small but not
16813 subnormal.
16814
16815 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16816 include macro name.
16817 (_FP_UNPACK_RAW_1_P): Likewise.
16818 (_FP_PACK_RAW_1): Likewise.
16819 (_FP_PACK_RAW_1_P): Likewise.
16820 (_FP_MUL_MEAT_1_wide): Likewise.
16821 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16822 (_FP_MUL_MEAT_1_hard): Likewise.
16823 (_FP_DIV_MEAT_1_imm): Likewise.
16824 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16825 (_FP_DIV_MEAT_1_udiv): Likewise.
16826 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16827 (_FP_UNPACK_RAW_2): Likewise.
16828 (_FP_UNPACK_RAW_2_P): Likewise.
16829 (_FP_PACK_RAW_2): Likewise.
16830 (_FP_PACK_RAW_2_P): Likewise.
16831 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16832 (_FP_MUL_MEAT_2_wide): Likewise.
16833 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16834 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16835 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16836 (_FP_MUL_MEAT_2_gmp): Likewise.
16837 (_FP_DIV_MEAT_2_udiv): Likewise.
16838 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16839 (_FP_FRAC_SRL_4): Likewise.
16840 (_FP_FRAC_SRST_4): Likewise.
16841 (_FP_FRAC_SRS_4): Likewise.
16842 (_FP_UNPACK_RAW_4): Likewise.
16843 (_FP_UNPACK_RAW_4_P): Likewise.
16844 (_FP_PACK_RAW_4): Likewise.
16845 (_FP_PACK_RAW_4_P): Likewise.
16846 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16847 (_FP_MUL_MEAT_4_wide): Likewise.
16848 (_FP_MUL_MEAT_4_gmp): Likewise.
16849 (umul_ppppmnnn): Likewise.
16850 (_FP_DIV_MEAT_4_udiv): Likewise.
16851 (__FP_FRAC_ADD_4): Likewise.
16852 (__FP_FRAC_SUB_3): Likewise.
16853 (__FP_FRAC_SUB_4): Likewise.
16854 (__FP_FRAC_DEC_3): Likewise.
16855 (__FP_FRAC_DEC_4): Likewise.
16856 (__FP_FRAC_ADDI_4): Likewise.
16857 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16858 (_FP_FRAC_SRL_8): Likewise.
16859 (_FP_FRAC_SRS_8): Likewise.
16860
16861 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16862 include macro name.
16863 (FP_UNPACK_RAW_EP): Likewise.
16864 (FP_PACK_RAW_E): Likewise.
16865 (FP_PACK_RAW_EP): Likewise.
16866 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16867 (_FP_ISSIGNAN): Likewise.
16868 (_FP_ADD_INTERNAL): Likewise.
16869 (_FP_FMA): Likewise.
16870 (_FP_CMP): Likewise.
16871 (_FP_SQRT): Likewise.
16872 (_FP_TO_INT): Likewise.
16873 (_FP_FROM_INT): Likewise.
16874 (FP_EXTEND): Likewise.
16875 (_FP_DIV_MEAT_N_loop): Likewise.
16876
16877 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16878
16879 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16880 throughout.
16881
16882 2014-06-29 Joseph Myers <joseph@codesourcery.com>
16883
16884 [BZ #17097]
16885 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16886 result with correct sign in case of exponents that produce
16887 overflow except for X very close to 1.
16888
16889 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
16890
16891 mktime: merge #if/#ifdef usage from glibc
16892 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16893 as that works with both Glibc's and Gnulib's style.
16894 See thread starting at Siddhesh Poyarekar's bug report at:
16895 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16896
16897 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16898
16899 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16900 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16901 * sysdeps/tile/tilegx/memmove.c: Remove file.
16902
16903 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16904
16905 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16906 abi-name definition.
16907 * scripts/soversions.awk: Do not handle or generate ABI lines.
16908 * shlib-versions: Remove ABI entries.
16909 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16910 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16911
16912 2014-06-27 Roland McGrath <roland@hack.frob.com>
16913
16914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16915 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16916 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16917 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16919 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16921 Moved ...
16922 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16923 ... here.
16924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16925 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16927 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16929 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16931 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16933 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16935 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16937 Moved ...
16938 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16944 Moved ...
16945 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16947 Moved ...
16948 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16950 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16952 Moved ...
16953 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16955 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16957 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16959 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16961 Moved ...
16962 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16964 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16965 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16966 Moved ...
16967 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16968 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16969 Moved ...
16970 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16972 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16974 Moved ...
16975 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16976 ... here.
16977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16978 Identical file removed.
16979 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16980 Moved ...
16981 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16983 Identical file removed.
16984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16985 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16987 Moved ...
16988 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16990 Identical file removed.
16991 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16992 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16993 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16994 Identical file removed.
16995 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16996 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16998 Identical file removed.
16999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17000 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17001 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17002 Identical file removed.
17003 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17004 Moved ...
17005 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17007 Identical file removed.
17008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17009 Moved ...
17010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17012 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17014 Identical file removed.
17015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17016 Moved ...
17017 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17018 ... here.
17019 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17020 Identical file removed.
17021 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17022 Moved ...
17023 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17025 Identical file removed.
17026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17027 Moved ...
17028 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17030 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17032 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17033 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17034 Moved ...
17035 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17036 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17037 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17038
17039 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17040 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17041 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17042 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17043 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17044
17045 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17046
17047 [BZ #17092]
17048 * nscd/nscd.c (monitor_child): Return exit status of child
17049 instead of return value from wait syscall.
17050
17051 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17052
17053 * configure.ac (libc_commonpagesize): Remove variable.
17054 (libc_relro_required): Likewise.
17055 (libc_cv_z_relro): Remove configure test.
17056 * configure: Regenerated.
17057 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17058 variable.
17059 (libc_relro_required): Likewise.
17060 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17061 (libc_relro_required): Likewise.
17062 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17063 (libc_relro_required): Likewise.
17064 * sysdeps/arm/preconfigure: Regenerated.
17065 * sysdeps/ia64/preconfigure: Remove file.
17066 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17067 variable.
17068 (libc_relro_required): Likewise.
17069
17070 [BZ #16561]
17071 [BZ #16562]
17072 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17073 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17074 recompute overflowing results in original rounding mode.
17075 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17076 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17077 recompute overflowing results in original rounding mode.
17078 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17079 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17080 recompute overflowing results in original rounding mode.
17081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17082 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17083 recompute overflowing results in original rounding mode.
17084 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17085 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17086 recompute overflowing results in original rounding mode.
17087 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17088 (libc_feholdsetround_ctx): New macro.
17089 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17090 * sysdeps/i386/fpu/libm-test-ulps: Update.
17091 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17092
17093 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17094
17095 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17096 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17097 corresponding .cpsetup call.
17098
17099 2014-06-26 Roland McGrath <roland@hack.frob.com>
17100
17101 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17102 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17103 * sysdeps/arm/Makefile [$(subdir) = csu]
17104 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17105 (static-only-routines): Add aeabi_read_tp here.
17106 (shared-only-routines): Add libc-aeabi_read_tp here.
17107 (CFLAGS-libc-start.c): Add -fexceptions here.
17108 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17109 (sysdep_routines, static-only-routines, shared-only-routines):
17110 Don't add to these here.
17111 (CFLAGS-libc-start.c): Likewise.
17112
17113 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17114 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17115 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17116 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17117 * sysdeps/arm/Makefile [$(subdir) = rt]
17118 (librt-sysdep_routines, librt-shared-only-routines):
17119 Append rt-aeabi_unwind_cpp_pr1 here.
17120 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17121 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17122 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17123 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17124 Append nptl-aeabi_unwind_cpp_pr1 here.
17125 (tests): Filter out tst-cleanupx4 here.
17126 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17127 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17128 Don't do those here.
17129
17130 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17131
17132 * scripts/list-sources.sh: Do not handle ports specially.
17133
17134 2014-06-26 Roland McGrath <roland@hack.frob.com>
17135
17136 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17137 * sysdeps/arm/feupdateenv.c: Likewise.
17138
17139 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17140
17141 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17142
17143 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17144 trailing whitespace removed.
17145 * scripts/config.guess: Update to version 2014-03-23.
17146 * scripts/config.sub: Update to version 2014-05-01
17147 * scripts/install-sh: Update to version 2013-12-25.23.
17148 * scripts/move-if-change: Update from gnulib.
17149
17150 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17151
17152 * debug/memmove_chk.c: Remove pagecopy.h include.
17153
17154 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17155
17156 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17157 identical to gnulib mktime.
17158
17159 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17160
17161 * configure.ac: Do not test for machine being rs6000. Do not test
17162 for powerpc*-*soft.
17163 * configure: Regenerated.
17164
17165 [BZ #11505]
17166 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17167 test.
17168 * configure: Regenerated.
17169 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17170 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17171 Remove configure test.
17172 * sysdeps/arm/configure: Regenerated.
17173 * sysdeps/nptl/configure.ac: Do not check
17174 libc_cv_asm_cfi_directives.
17175 * sysdeps/nptl/configure: Regenerated.
17176 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17177 * sysdeps/x86_64/nptl/configure: Remove generated file.
17178 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17179 unconditional.
17180 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17181
17182 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17183
17184 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17185 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17186 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17187 it is defined.
17188
17189 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17190 instead of whether it is defined.
17191 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17192 * sysdeps/hppa/dl-machine.h: Likewise.
17193 * sysdeps/ia64/dl-machine.h: Likewise.
17194 * sysdeps/m68k/dl-machine.h: Likewise.
17195 * sysdeps/microblaze/dl-machine.h: Likewise.
17196 * sysdeps/mips/dl-machine.: Likewise.
17197 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17198 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17199 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17200 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17201 * sysdeps/sh/dl-machine.h: Likewise.
17202 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17203 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17204 * sysdeps/tile/dl-machine.h: Likewise.
17205 * sysdeps/x86_64/dl-machine.h: Likewise.
17206
17207 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17208 code.
17209 (verify_persistent_db): Likewise.
17210
17211 2014-06-26 Roland McGrath <roland@hack.frob.com>
17212
17213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17214 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17216 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17218 Moved ...
17219 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17220 ... here.
17221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17222 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17224 Identical file removed.
17225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17226 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17228 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17230 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17232 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17234 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17236 Moved ...
17237 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17239 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17241 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17243 Moved ...
17244 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17246 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17248 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17250 Identical file removed.
17251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17252 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17254 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17256 Moved ...
17257 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17258 ... here.
17259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17260 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17262 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17264 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17266 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17268 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17270 Moved ...
17271 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17273 Moved ...
17274 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17276 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17278 Moved ...
17279 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17281 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17282
17283 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17284 folded into ...
17285 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17286 * sysdeps/unix/sysv/linux/s390/Versions
17287 (libpthread: GLIBC_2.19): New version set.
17288 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17289 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17290 (librt: GLIBC_2.3.3): New version set.
17291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17292 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17293 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17294 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17295 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17296 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17297 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17298 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17299 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17300 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17301 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17302 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17303 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17304 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17305 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17306 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17307 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17308 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17309 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17310 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17311 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17312 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17313 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17314 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17315 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17316 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17317 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17318 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17319 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17320 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17321 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17322 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17327 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17329 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17331 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17332 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17333 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17334 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17335 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17336
17337 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17338 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17339 (__libc_vfork): Define the function under this name.
17340 [!NOT_IN_libc] (__vfork): Make this an alias.
17341 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17342 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17343 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17344 (__libc_vfork): Define the function under this name.
17345 [!NOT_IN_libc] (__vfork): Make this an alias.
17346 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17347 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17348 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17350 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17351 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17352
17353 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17354 code that was previously under [RESET_PID].
17355 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17356 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17358
17359 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17360 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17361 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17362 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17363 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17364 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17365 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17366 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17367 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17368 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17369 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17370 Moved ...
17371 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17372 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17373 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17374 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17375 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17377 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17379 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17380 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17381 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17382 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17383 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17384 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17385 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17386 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17387 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17388 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17389 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17390 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17391 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17392 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17393 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17394 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17395 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17396 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17397 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17398 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17399 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17400
17401 2014-06-25 Roland McGrath <roland@hack.frob.com>
17402
17403 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17404 that was previously under [RESET_PID].
17405 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17406
17407 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17408
17409 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17410 not undefine and redefine.
17411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17412 [O_CLOEXEC]: Make code unconditional.
17413 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17414 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17415 <kernel-features.h>.
17416 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17417 conditional variable definition.
17418 (shm_open) [O_CLOEXEC]: Make code unconditional.
17419 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17420 code.
17421
17422 * configure.ac (USE_REGPARMS): Don't define here.
17423 * configure: Regenerated.
17424 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17425 * sysdeps/i386/configure: Regenerated.
17426
17427 * nptl/createthread.c: Don't include kernel-features.h.
17428 * nptl/pthread_cancel.c: Likewise.
17429 * nptl/pthread_condattr_setclock.c: Likewise.
17430 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17431 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17432 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17433 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17434 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17435 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17439 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17440 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17441 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17442 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17443 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17444 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17445 * nscd/gai.c: Likewise.
17446 * nss/nss_db/db-open.c: Likewise.
17447 * sysdeps/generic/ldsodefs.h: Likewise.
17448 * sysdeps/sh/nptl/tls.h: Likewise.
17449 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17450 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17451 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17452 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17453 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17454 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17455 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17456 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17457 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17458 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17459 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17460 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17461 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17462 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17463 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17464 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17465 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17466 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17467 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17468 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17470 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17471 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17472 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17473 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17474 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17475 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17476 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17477 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17478 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17479 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17480 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17481 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17482 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17483 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17484 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17485 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17486 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17487 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17488 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17489 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17490 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17491 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17492 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17493 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17494 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17495 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17496 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17497 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17498 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17499 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17500 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17501 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17502 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17503 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17504 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17505 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17506 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17529 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17530 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17531 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17532 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17533 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17534 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17535 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17537 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17538 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17539 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17540 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17541 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17542 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17543 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17544 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17545 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17546 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17547 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17548 * sysdeps/unix/sysv/linux/system.c: Likewise.
17549 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17550 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17551 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17552 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17553 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17554 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17555 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17556
17557 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17558 * configure: Regenerated.
17559 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17560
17561 * configure.ac (base_machine): Do not set specially for particular
17562 machines here.
17563 * configure: Regenerated.
17564 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17565 settings from configure.ac.
17566 * sysdeps/i386/preconfigure: New file.
17567 * sysdeps/s390/preconfigure: Likewise.
17568 * sysdeps/sh/preconfigure: Likewise.
17569 * sysdeps/sparc/preconfigure: Likewise.
17570
17571 2014-06-25 Roland McGrath <roland@hack.frob.com>
17572
17573 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17574 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17575 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17576 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17577 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17578 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17579 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17580 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17581 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17582 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17583 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17584 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17585 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17586 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17587 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17588 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17590 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17591 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17592
17593 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17594 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17595 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17596 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17597 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17598 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17599 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17600 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17601 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17602 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17603 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17604 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17605 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17606 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17607 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17608 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17609 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17610 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17611 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17612 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17613 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17614 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17616 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17617 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17618 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17619 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17620 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17621 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17622 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17623 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17624 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17625 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17626 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17627 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17628 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17629 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17630 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17631
17632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17633 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17635 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17637 Moved ...
17638 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17639 ... here.
17640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17641 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17643 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17645 Moved ...
17646 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17648 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17650 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17652 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17654 Moved ...
17655 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17657 Moved ...
17658 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17660 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17662 Moved ...
17663 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17665 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17667 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17669 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17671 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17673 Moved ...
17674 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17675 ... here.
17676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17677 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17679 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17681 Moved ...
17682 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17684 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17686 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17688 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17690 Moved ...
17691 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17693 Moved ...
17694 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17696 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17698 Moved ...
17699 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17701 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17703 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17704
17705 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17706
17707 * timezone/checktab.awk: Update from tzcode 2014e.
17708 * timezone/private.h: Likewise.
17709 * timezone/tzfile.h: Likewise.
17710 * timezone/zdump.c: Likewise.
17711 * timezone/zic.c: Likewise.
17712
17713 * sysdeps/unix/sysv/linux/kernel-features.h
17714 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17715 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17716 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17717 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17718 Remove conditional code.
17719
17720 2014-06-25 Will Newton <will.newton@linaro.org>
17721
17722 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17723 (_dl_arm_cap_flags): Add HWCAP2 values.
17724 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17725 (_DL_HWCAP_COUNT): Increase to 37.
17726 (_DL_HWCAP_LAST): New define.
17727 (_DL_HWCAP2_LAST): New define.
17728 (_dl_procinfo): Add support for printing
17729 AT_HWCAP2 entries.
17730 (_dl_string_hwcap): Use _dl_hwcap_string.
17731
17732 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17733
17734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17735
17736 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17737
17738 * README: Do not mention ports directory.
17739
17740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17741 Remove macro.
17742 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17743 <kernel-features.h>.
17744 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17745 conditional variable definition.
17746 (__futimes): Update comment.
17747 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17748 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17749
17750 [BZ #16560]
17751 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17752 arguments close to 0.
17753 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17754 Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17756 Likewise.
17757 * math/auto-libm-test-in: Add more tests of exp10.
17758 * math/auto-libm-test-out: Regenerated.
17759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17760
17761 * sysdeps/unix/sysv/linux/kernel-features.h
17762 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17763 * sysdeps/unix/sysv/linux/readv.c: Do not include
17764 <kernel-features.h>.
17765 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17766 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17767 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17768 unconditional.
17769 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17770 conditional code.
17771 * sysdeps/unix/sysv/linux/writev.c: Do not include
17772 <kernel-features.h>.
17773 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17774 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17775 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17776 unconditional.
17777 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17778 conditional code.
17779
17780 2014-06-25 Will Newton <will.newton@linaro.org>
17781
17782 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17783 comment changes throughout the file. Remove checks
17784 for HAVE_*_H definitions that are not required.
17785 (__gen_tempname): Call abort if an unknown kind value is
17786 passed.
17787
17788 2014-06-25 Andreas Schwab <schwab@suse.de>
17789
17790 [BZ #17086]
17791 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17792 scalbln, scalblnf, scalblnl in libc.
17793
17794 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17795
17796 [BZ #17086]
17797 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17798 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17799 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17800
17801 2014-06-24 Roland McGrath <roland@hack.frob.com>
17802
17803 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17804 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17805 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17806 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17807 Update #include.
17808 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17809 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17810 Update #include.
17811 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17812 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17813 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17814 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17815 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17816 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17817 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17818 * sysdeps/x86/bits/semaphore.h: ... here.
17819 * sysdeps/x86/nptl/elide.h: Moved ...
17820 * sysdeps/x86/elide.h: ... here.
17821 * sysdeps/x86_64/nptl/Implies: File removed.
17822 * sysdeps/i386/nptl/Implies: File removed.
17823
17824 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17825
17826 [BZ #16539]
17827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17828 return the argument for normal arguments with exponent below -64.
17829 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17830 Likewise.
17831 * math/auto-libm-test-in: Add another test of expm1.
17832 * math/auto-libm-test-out: Regenerated.
17833
17834 [BZ #16287]
17835 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17836 calling __erfcl for arguments at least 16.
17837 * math/auto-libm-test-in: Add more tests of erf.
17838 * math/auto-libm-test-out: Regenerated.
17839
17840 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17841 individual architectures.
17842 * sysdeps/unix/sysv/linux/configure: Regenerated.
17843 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17844 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17845 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17846 (ldd_rewrite_script): Define variable.
17847 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17849 file.
17850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17851 generated file.
17852 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17853 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17854 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17855 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17856 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17857 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17858 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17859 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17860
17861 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17862
17863 [BZ #17084]
17864 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17865 Rename member __data.d to __data.__elision_data.
17866
17867 2014-06-24 Wilco <wdijkstr@arm.com>
17868
17869 * NEWS: Add 16918 to fixed bug list.
17870
17871 2014-06-24 Wilco <wdijkstr@arm.com>
17872
17873 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17874
17875 2014-06-24 Wilco <wdijkstr@arm.com>
17876
17877 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17878 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17879 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17880 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17881 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17882 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17883 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17884 Use _FPU_MASK_RM.
17885
17886 2014-06-24 Wilco <wdijkstr@arm.com>
17887
17888 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17889
17890 2014-06-24 Wilco <wdijkstr@arm.com>
17891
17892 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17893 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17894 * sysdeps/arm/fesetround.c (fesetround): Remove space.
17895 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17896
17897 2014-06-24 Wilco <wdijkstr@arm.com>
17898
17899 [BZ #16918]
17900 * sysdeps/arm/feupdateenv.c (feupdateenv):
17901 Rewrite to reduce FPSCR accesses and fix return value.
17902
17903 2014-06-24 Wilco <wdijkstr@arm.com>
17904
17905 * sysdeps/arm/fclrexcpt.c (feclearexcept):
17906 Optimize to avoid unnecessary FPSCR writes.
17907 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17908 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17909 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17910 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17911
17912 2014-06-24 Wilco <wdijkstr@arm.com>
17913
17914 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17915 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17916 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17917 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17918 Call libc_fetestexcept_vfp.
17919 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17920 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17921 __SOFTFP__ ifdef so that they can be built for softfp.
17922
17923 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17924
17925 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17926 argument type signed char.
17927
17928 * Makerules (check-abi): Dump diff of symlist if the test
17929 fails.
17930
17931 2014-06-23 Roland McGrath <roland@hack.frob.com>
17932
17933 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17934 using abort.
17935
17936 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17937 Remove unused variable ST.
17938
17939 2014-06-23 Joseph Myers <joseph@codesourcery.com>
17940
17941 [BZ #16354]
17942 [BZ #17061]
17943 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17944 small arguments before calling __expm1.
17945 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17946 small arguments before calling __expm1f.
17947 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17948 small arguments before calling __expm1l.
17949 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17950 Likewise.
17951 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17952 * math/auto-libm-test-in: Add more cosh tests. Do not allow
17953 spurious underflow for some cosh tests.
17954 * math/auto-libm-test-out: Regenerated.
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956
17957 [BZ #17050]
17958 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17959 (__ieee754_y1): Set errno if return value overflows.
17960 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17961 (__ieee754_y1f): Set errno if return value overflows.
17962 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17963 (__ieee754_y1l): Set errno if return value overflows.
17964 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17965 (__ieee754_y1l): Set errno if return value overflows.
17966 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17967 * math/auto-libm-test-out: Regenerated.
17968
17969 * math/gen-auto-libm-tests.c: Document use of
17970 ignore-zero-inf-sign.
17971 (input_flag_type): Add value flag_ignore_zero_inf_sign.
17972 (input_flags): Add ignore-zero-inf-sign.
17973 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17974 * math/gen-libm-test.pl (generate_testfile): Handle
17975 ignore-zero-inf-sign.
17976 * math/auto-libm-test-in: Mark some cpow tests with
17977 ignore-zero-inf-sign and some with xfail-rounding.
17978 * math/auto-libm-test-out: Regenerated.
17979 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17980 * sysdeps/i386/fpu/libm-test-ulps: Update.
17981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17982
17983 [BZ #16315]
17984 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17985 overflowing or underflowing operations take place with sign of
17986 result.
17987 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17988 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17989 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17990 (__ieee754_pow): Recompute overflowing and underflowing results in
17991 original rounding mode.
17992 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17993 (__powl_helper): Allow negative argument X and scale negated value
17994 as needed. Avoid passing value outside [-1, 1] to f2xm1.
17995 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17996 overflowing or underflowing operations take place with sign of
17997 result.
17998 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17999 Include <math.h>.
18000 * math/auto-libm-test-in: Add more tests of pow.
18001 * math/auto-libm-test-out: Regenerated.
18002 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18003 (pow_tonearest_test_data): Remove.
18004 (pow_test_tonearest): Likewise.
18005 (pow_towardzero_test_data): Likewise.
18006 (pow_test_towardzero): Likewise.
18007 (pow_downward_test_data): Likewise.
18008 (pow_test_downward): Likewise.
18009 (pow_upward_test_data): Likewise.
18010 (pow_test_upward): Likewise.
18011 (main): Don't call removed functions.
18012 * sysdeps/i386/fpu/libm-test-ulps: Update.
18013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18014
18015 2014-06-23 Roland McGrath <roland@hack.frob.com>
18016
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18018 Moved ...
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18021 Moved ...
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18024 Moved ...
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18027 Moved ...
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18030 File removed.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18032 File removed.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18034 File removed.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18036 File removed.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18038 File removed.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18040 File removed.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18042 File removed.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18044 File removed.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18046 File removed.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18048 File removed.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18050 File removed.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18052 File removed.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18054 Moved ...
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18057 Moved ...
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18059 ... here.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18061 Moved ...
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18064 Moved ...
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18067 Moved ...
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18070 Moved ...
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18073 Moved ...
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18076 Moved ...
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18079 Moved ...
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18083 ... here.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18085 Moved ...
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18088 Moved ...
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18090 ... here.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18092 Moved ...
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18094 ... here.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18096 Moved ...
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18098 ... here.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18100 Moved ...
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18103 Moved ...
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18108 Moved ...
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18110 ... here.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18112 Moved ...
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18114 ... here.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18116 Moved ...
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18119 Moved ...
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18122 Moved ...
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18125 Moved ...
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18128 Moved ...
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18130 ... here.
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18132 Moved ...
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18135 Moved ...
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18138 Moved ...
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18141 Moved ...
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18146 Moved ...
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18149 Moved ...
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18152 Moved ...
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18154 ... here.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18156 Moved ...
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18158 ... here.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18160 Moved ...
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18162 ... here.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18164 Moved ...
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18167 Moved ...
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18170 Moved ...
18171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18173 Moved ...
18174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18175 ... here.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18177 Moved ...
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18179 ... here.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18181 Moved ...
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18183 ... here.
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18185 Moved ...
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18188 Moved ...
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18190
18191 2014-06-23 Will Newton <will.newton@linaro.org>
18192 Wilco <wdijkstr@arm.com>
18193
18194 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18195 implementation. Include get-rounding-mode.h.
18196 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18197 [!libc_feholdsetround_noex_ctx]: Define
18198 libc_feholdsetround_noex_ctx.
18199 [!libc_feholdsetround_noexf_ctx]: Define
18200 libc_feholdsetround_noexf_ctx.
18201 [!libc_feholdsetround_noexl_ctx]: Define
18202 libc_feholdsetround_noexl_ctx.
18203 (libc_feholdsetround_ctx): New function.
18204 (libc_feresetround_ctx): New function.
18205 (libc_feholdsetround_noex_ctx): New function.
18206 (libc_feresetround_noex_ctx): New function.
18207
18208 2014-06-23 Roland McGrath <roland@hack.frob.com>
18209
18210 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18211 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18212 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18213 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18214 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18215 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18216
18217 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18218 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18219 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18220 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18221 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18222 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18224 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18225 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18226 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18228 Moved ...
18229 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18230 ... here.
18231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18232 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18234 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18235 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18236 Moved ...
18237 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18239 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18240 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18241 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18242 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18243 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18244 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18245 Moved ...
18246 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18247 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18248 Moved ...
18249 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18250 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18251 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18252 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18253 Moved ...
18254 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18255 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18256 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18258 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18259 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18260 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18262 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18264 Moved ...
18265 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18266 ... here.
18267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18268 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18269 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18270 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18271 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18272 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18273 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18274 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18276 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18277 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18278 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18279 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18280 Moved ...
18281 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18282 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18283 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18284 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18285 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18286 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18287 Moved ...
18288 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18289 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18290 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18291 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18292 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18293
18294 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18295 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18296 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18297 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18298 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18299 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18301 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18303 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18304 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18305 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18306 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18307 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18308 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18309 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18310 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18311 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18312 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18313 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18314 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18315 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18316 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18317 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18318 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18319 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18320 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18321 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18322
18323 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18324
18325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18326 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18327 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18328 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18329 (IPV6_PMTUDISC_INTERFACE): Likewise.
18330 (IPV6_PMTUDISC_OMIT): Likewise.
18331
18332 2014-06-23 Andreas Schwab <schwab@suse.de>
18333
18334 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18335 Remove unused errout label.
18336
18337 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18338
18339 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18340 macro: hardware supports Vector Crypto instructions.
18341
18342 2014-06-23 Will Newton <will.newton@linaro.org>
18343
18344 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18345 rather than __builtin_expect.
18346
18347 * elf/dl-lookup.c (undefined_msg): Remove variable.
18348 (_dl_lookup_symbol_x): Replace undefined_msg with string
18349 literal.
18350
18351 * elf/dl-lookup.c (do_lookup_unique): New function.
18352 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18353 to a separate function.
18354
18355 2014-06-23 Andreas Schwab <schwab@suse.de>
18356
18357 [BZ #17079]
18358 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18359 before reading the next line.
18360
18361 2014-06-23 Will Newton <will.newton@linaro.org>
18362
18363 * test-skeleton.c (signal_handler): Use printf and %m
18364 rather than perror. Use printf rather than fprintf to
18365 stderr. Use puts rather than fputs to stderr.
18366 (main): Likewise.
18367
18368 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18369
18370 * nscd/nscd.c (thread_info_t): Remove typedef.
18371 (thread_info): Remove variable.
18372
18373 2014-06-21 Allan McRae <allan@archlinux.org>
18374
18375 * NEWS: Mention CVE-2014-4043.
18376
18377 2014-06-20 Roland McGrath <roland@hack.frob.com>
18378
18379 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18380 * nptl/smp.h: ... here.
18381
18382 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18383
18384 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18385 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18386 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18387 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18388
18389 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18390 * nptl/stack-aliasing.h: New file.
18391 * sysdeps/i386/i686/stack-aliasing.h: New file.
18392 * sysdeps/i386/i686/nptl/Makefile: File removed.
18393 * sysdeps/x86_64/stack-aliasing.h: New file.
18394 * sysdeps/x86_64/nptl/Makefile
18395 (CFLAGS-pthread_create.c): Variable removed.
18396
18397 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18398 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18399 old file.
18400 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18401 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18402 old file.
18403
18404 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18405
18406 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18407 (__ASSUME_SIGFRAME_V2): Remove macro.
18408 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18409 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18410 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18411 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18412 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18413 Declare as function. Remove conditional macro definitions.
18414 (__default_rt_sa_restorer): Likewise.
18415 (__default_sa_restorer_v1): Remove declaration.
18416 (__default_sa_restorer_v2): Likewise.
18417 (__default_rt_sa_restorer_v1): Likewise.
18418 (__default_rt_sa_restorer_v2): Likewise.
18419 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18420 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18421 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18422
18423 2014-06-20 Roland McGrath <roland@hack.frob.com>
18424
18425 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18426 (libpthread-routines): Add sysdep.
18427 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18428 * sysdeps/unix/sysv/linux/sparc/Versions
18429 (libpthread: GLIBC_2.3.3): New version set.
18430 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18431 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18432 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18433 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18434 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18435 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18436 Moved ...
18437 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18438 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18439 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18440 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18441 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18442 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18443 * sysdeps/sparc/nptl/sem_init.c: ... here.
18444 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18445 * sysdeps/sparc/nptl/sem_post.c: ... here.
18446 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18447 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18448 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18449 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18450 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18451 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18452 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18453 (libpthread-routines): Add cpu_relax.
18454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18455 File removed.
18456 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18457 (librt: GLIBC_2.3.3): New version set.
18458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18459 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18461 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18464 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18466 Moved ...
18467 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18469 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18471 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18473 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18475 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18477 Moved ...
18478 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18479 Update #include.
18480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18481 Moved ...
18482 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18483 Update #include.
18484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18485 Moved ...
18486 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18487 Update #include.
18488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18489 Moved ...
18490 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18491 Update #include.
18492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18493 Moved ...
18494 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18495 Update #include.
18496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18497 Moved ...
18498 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18499 Update #include.
18500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18501 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18509 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18511 Moved ...
18512 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18514 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18516 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18517
18518 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18519
18520 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18521 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18522 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18523 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18524 * nscd/nscd.c: Likewise.
18525 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18526 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18527 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18528 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18529
18530 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18531 <kernel-features.h>.
18532 (init_mq_netlink): Remove conditional have_sock_cloexec
18533 definitions. Remove code conditional on have_sock_cloexec < 0.
18534 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18535 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18536 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18537 <kernel-features.h>.
18538 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18539 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18540
18541 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18542
18543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18544 Add tests for memset_chk and memset.
18545
18546 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18547 with AVX2_Usable.
18548
18549 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18550
18551 [BZ #16046]
18552 * elf/tst-dl-iter-static.c: New file.
18553 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18554
18555 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18556 error.
18557
18558 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18559
18560 * sysdeps/unix/sysv/linux/kernel-features.h
18561 (__ASSUME_F_GETOWN_EX): Remove macro.
18562 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18563 <kernel-features.h>.
18564 (miss_F_GETOWN_EX): Remove variable or macro.
18565 (do_fcntl): Do not check miss_F_GETOWN_EX.
18566 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18567
18568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18569 Remove macro.
18570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18571 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18572 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18573
18574 * sysdeps/unix/sysv/linux/kernel-features.h
18575 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18576 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18577 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18578 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18579
18580 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18581
18582 [BZ #17075]
18583 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18584 Fix calculation of the symbol's value.
18585 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18586 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18587 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18588 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18589 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18590 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18591 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18592 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18593 (modules-names): Add `tst-armtlsdescmod',
18594 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18595 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18596 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18597 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18598 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18599 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18600 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18601 ($(objpfx)tst-armtlsdescloc): New dependency.
18602 ($(objpfx)tst-armtlsdescextnow): Likewise.
18603 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18604 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18605 TLS scheme support.
18606 * sysdeps/arm/configure: Regenerate.
18607
18608 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18609
18610 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18611 (__atfct_seterrno_2): Likewise.
18612 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18613 <kernel-features.h>.
18614 (__ASSUME_ATFCTS): Do not undefine and redefine.
18615 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18616 (__have_atfcts): Remove conditional definition.
18617 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18618 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18619 unreachable if [__ASSUME_ATFCTS].
18620 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18621 not undefine and redefine.
18622 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18623 <kernel-features.h>.
18624 (faccessat) [__NR_faccessat]: Make code unconditional.
18625 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18626 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18627 <kernel-features.h>.
18628 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18629 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18630 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18631 <kernel-features.h>.
18632 (fchownat) [__NR_fchownat]: Make code unconditional.
18633 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18634 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18635 <kernel-features.h>.
18636 (futimesat) [__NR_futimesat]: Make code unconditional.
18637 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18638 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18639 <kernel-features.h>.
18640 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18641 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18642 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18643 <kernel-features.h>.
18644 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18645 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18646 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18647 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18648 <kernel-features.h>.
18649 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18650 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18651 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18652 <kernel-features.h>.
18653 (linkat) [__NR_linkat]: Make code unconditional.
18654 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18655 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18656 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18657 <kernel-features.h>.
18658 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18659 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18660 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18661 <kernel-features.h>.
18662 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18663 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18664 * sysdeps/unix/sysv/linux/openat.c: Do not include
18665 <kernel-features.h>.
18666 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18667 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18668 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18669 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18670 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18671 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18672 <kernel-features.h>.
18673 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18674 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18675 result of INLINE_SYSCALL directly, not via int variable.
18676 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18677 <kernel-features.h>.
18678 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18679 (renameat) [__NR_renameat]: Make code unconditional.
18680 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18681 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18682 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18683 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18684 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18685 (__ASSUME_ATFCTS): Do not undefine and redefine.
18686 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18687 <kernel-features.h>.
18688 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18689 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18690 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18691 <kernel-features.h>.
18692 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18693 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18694 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18695 (__ASSUME_ATFCTS): Do not undefine and redefine.
18696 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18697 <kernel-features.h>.
18698 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18699 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18700 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18701 <kernel-features.h>.
18702 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18703 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18704
18705 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18706
18707 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18708
18709 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18710
18711 [BZ #17069]
18712 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18713 constructed tree before returning error.
18714 * posix/bug-regexp36.c: Expand test case.
18715
18716 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18717
18718 [BZ #6803]
18719 * math/libm-test.inc (scalbln_test_date):
18720 Add errno expectations.
18721 * math/w_scalblnf.c: New File.
18722 Add wrapper which checks for setting errno to ERANGE.
18723 Add weak_alias for corresponding scalbln function.
18724 * math/w_scalbln.c: Likewise.
18725 * math/w_scalblnl.c: Likewise.
18726 * math/Makefile (libm-calls): Add w_scalbln.
18727 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18728 Remove weak_alias for corresponding scalbln function.
18729 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18733 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18734 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18735 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18736 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18737 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18738 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18739 Remove long_double_symbol for scalblnl function in libm, libc.
18740 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18741 Add wrapper which checks for setting errno to ERANGE.
18742 Add long_double_symbol for scalblnl function in libm, libc.
18743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18744 Remove long_double_symbol for scalblnl in libm.
18745 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18746 Add wrapper which checks for setting errno to ERANGE.
18747 Add long_double_symbol for scalblnl function in libm.
18748 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18749 Do not use wrapper because of own implementation.
18750
18751 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18752
18753 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18754 3 bytes for __pad1 for x32.
18755 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18756
18757 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18758 H.J. Lu <hongjiu.lu@intel.com>
18759
18760 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18761 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18762 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18763 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18764 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18765
18766 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18767
18768 [BZ #17069]
18769 * posix/regcomp.c (parse_expression): Deallocate partially
18770 constructed tree before returning error.
18771 * posix/Makefile.c (tests): Add bug-regex36.
18772 (generated): Add bug-regex36.mtrace.
18773 (tests-special): Add $(objpfx)bug-regex36-mem.out
18774 (bug-regex36-ENV): New variable.
18775 ($(objpfx)bug-regex36-mem.out): New rule.
18776 * posix/bug-regex36.c: New file.
18777
18778 2014-06-19 Will Newton <will.newton@linaro.org>
18779
18780 * malloc/malloc.c (systrim): If extra is zero then return
18781 early.
18782
18783 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18784
18785 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18786
18787 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18788
18789 * sysdeps/aarch64/strchr.S: New file.
18790
18791 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18792
18793 [BZ #17022]
18794 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18795 from arguments -2 or below.
18796 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18797 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18798
18799 2014-06-18 Andreas Schwab <schwab@suse.de>
18800
18801 [BZ #17062]
18802 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18803 of a bracket expr not to run off the end of the string.
18804 * posix/Makefile (tests): Add tst-fnmatch3.
18805 * posix/tst-fnmatch3.c: New file.
18806
18807 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18808
18809 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18810 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18811 [$(cross-compiling) = no]: Likewise.
18812 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18813 [$(cross-compiling) = no]: Likewise.
18814
18815 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18816
18817 [BZ #17031]
18818 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18819 double, adjusted for any remainder from the high double.
18820 * math/libm-test.inc (nearbyint): Add tests.
18821 (rint): Likewise.
18822
18823 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18824
18825 * nptl/sysdeps/powerpc/Makefile: Moved ...
18826 * sysdeps/powerpc/nptl/Makefile: ... here.
18827 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18828 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18829 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18830 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18831 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18832 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18833 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18834 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18835 * nptl/sysdeps/powerpc/tls.h: Moved ...
18836 * sysdeps/powerpc/nptl/tls.h: ... here.
18837
18838 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18839
18840 [BZ #16681]
18841 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18842 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18843 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18844 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18845 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18846 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18847 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18848 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18849 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18850
18851 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18852
18853 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18854
18855 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18856
18857 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18858 defined operator.
18859
18860 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18861 $TIMEOUTFACTOR.
18862
18863 2014-06-16 Florian Weimer <fweimer@redhat.com>
18864
18865 [BZ #17058]
18866 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18867 non-executed part of the test.
18868
18869 2014-06-16 Andreas Schwab <schwab@suse.de>
18870
18871 * string/bits/string2.h (strdup, strndup): Update feature guard.
18872
18873 2014-06-14 David S. Miller <davem@davemloft.net>
18874
18875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18876
18877 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
18878
18879 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18880 that was previously under [RESET_PID].
18881 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18882
18883 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18884 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18885 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18886 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18887 (__libc_vfork): New strong alias.
18888 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18889
18890 2014-06-14 Andi Kleen <ak@linux.intel.com>
18891
18892 * sysdeps/generic/elide.h: New file.
18893
18894 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18895
18896 * Makefile (installed-headers): Adjust path of pthread.h header.
18897
18898 2014-06-13 Roland McGrath <roland@hack.frob.com>
18899
18900 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18901 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18902 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18903 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18904
18905 * nptl/sysdeps/s390/Makefile: Moved ...
18906 * sysdeps/s390/nptl/Makefile: ... here.
18907 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18908 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18909 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18910 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18911 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18912 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18913 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18914 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18915 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18916 * sysdeps/s390/nptl/pthreaddef.h: ... here.
18917 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18918 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18919 * nptl/sysdeps/s390/tls.h: Moved ...
18920 * sysdeps/s390/nptl/tls.h: ... here.
18921
18922 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18923 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18924
18925 2014-06-13 David S. Miller <davem@davemloft.net>
18926
18927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18930 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18934 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18935 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18936 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18937 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18938 Remove RESET_PID cpp guards.
18939 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18940 Remove RESET_PID cpp guards.
18941 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18942
18943 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
18944
18945 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18946 __sp to uintptr_t.
18947
18948 2014-06-13 Andi Kleen <ak@linux.intel.com>
18949
18950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18952 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18953 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18954 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18958 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18960 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18961 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18963 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18964 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18970
18971 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18972 (pthread_rwlock_rdlock): Add elision.
18973 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18974 (pthread_rwlock_wrlock): Add elision.
18975 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18976 (pthread_rwlock_trywrlock): Add elision.
18977 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18978 (pthread_rwlock_tryrdlock): Add elision.
18979 * nptl/pthread_rwlock_unlock.c: Include elide.h.
18980 (pthread_rwlock_tryrdlock): Add elision unlock.
18981 * nptl/sysdeps/pthread/pthread.h:
18982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18983 (PTHREAD_RWLOCK_INITIALIZER,
18984 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18985 Handle new elision field.
18986 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18987 * sysdeps/arm/nptl/bits/pthreadtypes.h
18988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18989 * sysdeps/sh/nptl/bits/pthreadtypes.h
18990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18991 * sysdeps/tile/nptl/bits/pthreadtypes.h
18992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18993 * sysdeps/a/nptl/bits/pthreadtypes.h
18994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18995 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18997 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18998 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18999 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19000 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19001 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19002 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19003 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19004 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19005 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19006 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19007 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19008 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19009 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19010 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19011 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19012 (elision_init): Set try_xbegin to zero when no RTM.
19013 * sysdeps/x86/nptl/bits/pthreadtypes.h
19014 (pthread_rwlock_t): Change __pad1 to __rwelision.
19015 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19016
19017 2014-06-13 Andi Kleen <ak@linux.intel.com>
19018
19019 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19020 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19021 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19022 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19023
19024 2014-06-13 Meador Inge <meadori@codesourcery.com>
19025
19026 [BZ #16996]
19027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19028 that the cached result has been set before returning it.
19029
19030 2014-06-12 Roland McGrath <roland@hack.frob.com>
19031
19032 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19033 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19034 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19035 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19036 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19037 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19038
19039 * nptl/sysdeps/sparc/Makefile: Moved ...
19040 * sysdeps/sparc/nptl/Makefile: ... here.
19041 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19042 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19043 * nptl/sysdeps/sparc/tls.h: Moved ...
19044 * sysdeps/sparc/nptl/tls.h: ... here.
19045 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19046 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19047 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19048 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19049 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19050 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19051 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19052 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19053 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19054 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19055 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19056 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19057 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19058 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19059 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19060 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19061 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19062 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19063 Update #include.
19064 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19065 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19066 Update #include.
19067 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19068 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19069 Update #include.
19070 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19071 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19072 Update #include.
19073
19074 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19075
19076 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19077 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19078
19079 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19080 (struct list_links): Type removed.
19081 (struct thread_node, struct timer_node): Replace struct list_links
19082 with struct list_head.
19083 (list_unlink_ip): Likewise.
19084 * sysdeps/pthread/timer_routines.c
19085 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19086 (list_append, list_insbefore): Likewise.
19087 (list_init): Function removed.
19088 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19089 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19090 * sysdeps/pthread/Makefile: ... here, new file.
19091
19092 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19093 * sysdeps/nptl/Implies: ... here.
19094 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19095 * nptl/sysdeps/pthread/list.h: Moved ...
19096 * include/list.h: ... here.
19097 * nptl/sysdeps/pthread/createthread.c: Moved ...
19098 * nptl/createthread.c: ... here.
19099 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19100 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19101 * nptl/pt-longjmp.c: ... here.
19102 * nptl/sysdeps/pthread/Makefile: Moved ...
19103 * sysdeps/nptl/Makefile: ... here.
19104 * nptl/sysdeps/pthread/Subdirs: Moved ...
19105 * sysdeps/nptl/Subdirs: ... here.
19106 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19107 * sysdeps/nptl/aio_misc.h: ... here.
19108 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19109 * sysdeps/nptl/bits/libc-lock.h: ... here.
19110 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19111 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19112 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19113 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19114 * nptl/sysdeps/pthread/configure: Moved ...
19115 * sysdeps/nptl/configure: ... here.
19116 * nptl/sysdeps/pthread/configure.ac: Moved ...
19117 * sysdeps/nptl/configure.ac: ... here.
19118 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19119 * sysdeps/nptl/gai_misc.h: ... here.
19120 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19121 * sysdeps/nptl/librt-cancellation.c: ... here.
19122 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19123 * sysdeps/nptl/malloc-machine.h: ... here.
19124 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19125 * sysdeps/nptl/pthread-functions.h: ... here.
19126 * nptl/sysdeps/pthread/pthread.h: Moved ...
19127 * sysdeps/nptl/pthread.h: ... here.
19128 * nptl/sysdeps/pthread/setxid.h: Moved ...
19129 * sysdeps/nptl/setxid.h: ... here.
19130 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19131 * sysdeps/nptl/sigfillset.c: ... here.
19132 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19133 * sysdeps/nptl/tcb-offsets.h: ... here.
19134 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19135 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19136 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19137 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19138 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19139 * sysdeps/pthread/allocalim.h: ... here.
19140 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19141 * sysdeps/pthread/bits/sigthread.h: ... here.
19142 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19143 * sysdeps/pthread/flockfile.c: ... here.
19144 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19145 * sysdeps/pthread/ftrylockfile.c: ... here.
19146 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19147 * sysdeps/pthread/funlockfile.c: ... here.
19148 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19149 * sysdeps/pthread/posix-timer.h: ... here.
19150 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19151 * sysdeps/pthread/timer_create.c: ... here.
19152 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19153 * sysdeps/pthread/timer_delete.c: ... here.
19154 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19155 * sysdeps/pthread/timer_getoverr.c: ... here.
19156 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19157 * sysdeps/pthread/timer_gettime.c: ... here.
19158 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19159 * sysdeps/pthread/timer_routines.c: ... here.
19160 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19161 * sysdeps/pthread/timer_settime.c: ... here.
19162 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19163 * sysdeps/pthread/tst-timer.c: ... here.
19164 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19165 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19166
19167 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19168 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19169
19170 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19171 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19172 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19173 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19174 Update #include target.
19175 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19176 * sysdeps/i386/i686/nptl/Makefile: ... here.
19177 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19178 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19179 Update #include target.
19180 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19181 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19182 * nptl/sysdeps/i386/Makefile: Moved ...
19183 * sysdeps/i386/nptl/Makefile: ... here.
19184 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19185 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19186 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19187 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19188 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19189 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19190 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19191 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19192 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19193 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19194 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19195 * nptl/sysdeps/i386/tls.h: Moved ...
19196 * sysdeps/i386/nptl/tls.h: ... here.
19197
19198 * sysdeps/sh/Makefile [$(subdir) = csu]
19199 (gen-as-const-headers): Add tcb-offsets.sym.
19200 * nptl/sysdeps/sh/Makefile: File removed.
19201 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19202 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19203 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19204 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19205 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19206 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19207 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19208 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19209 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19210 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19211 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19212 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19213 * nptl/sysdeps/sh/tls.h: Moved ...
19214 * sysdeps/sh/nptl/tls.h: ... here.
19215 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19216 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19217 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19218 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19219 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19220 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19221 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19222 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19223 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19224 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19226 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19227 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19228 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19229 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19230 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19232 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19233 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19234 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19235 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19236 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19237 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19238 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19239 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19240 Moved ...
19241 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19242 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19243 Moved ...
19244 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19245 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19246 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19247 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19248 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19249 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19250 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19251 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19252 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19253 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19254 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19255 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19256 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19257 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19258 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19259 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19260 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19261 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19262 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19263
19264 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19265
19266 * posix/spawn_faction_addopen.c: Include string.h.
19267
19268 2014-06-11 Roland McGrath <roland@hack.frob.com>
19269
19270 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19271 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19272 * nptl/sysdeps/x86_64/Makefile: Moved ...
19273 * sysdeps/x86_64/nptl/Makefile: ... here.
19274 * nptl/sysdeps/x86_64/configure: Moved ...
19275 * sysdeps/x86_64/nptl/configure: ... here.
19276 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19277 * sysdeps/x86_64/nptl/configure.ac: ... here.
19278 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19279 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19280 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19281 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19282 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19283 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19284 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19285 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19286 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19287 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19288 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19289 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19290 * nptl/sysdeps/x86_64/tls.h: Moved ...
19291 * sysdeps/x86_64/nptl/tls.h: ... here.
19292 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19293 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19294 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19295 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19296
19297 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19298
19299 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19300
19301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19302
19303 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19304
19305 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19306 type.
19307 [POSIX] (off_t): Likewise.
19308 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19309 [POSIX] (S_ISBLK): Require macro.
19310 [POSIX] (S_ISCHR): Likewise.
19311 [POSIX] (S_ISDIR): Likewise.
19312 [POSIX] (S_ISFIFO): Likewise.
19313 [POSIX] (S_ISREG): Likewise.
19314 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19315 optional-macro.
19316 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19317 type.
19318 [POSIX] (time_t): Likewise.
19319 [POSIX] (timer_t): Likewise.
19320
19321 2014-06-11 Florian Weimer <fweimer@redhat.com>
19322
19323 [BZ #17048]
19324 * posix/spawn_int.h (struct __spawn_action): Make the path string
19325 non-const to support deallocation.
19326 * posix/spawn_faction_addopen.c
19327 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19328 * posix/spawn_faction_destroy.c
19329 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19330 path in all spawn_do_open actions.
19331 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19332 posix_spawn_file_actions_addopen.
19333
19334 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19335
19336 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19337 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19338 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19339 conditional code always true.
19340 (__libc_vfork): New alias.
19341
19342 2014-06-11 Roland McGrath <roland@hack.frob.com>
19343
19344 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19345 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19346
19347 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19348
19349 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19350 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19351
19352 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19353 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19354
19355 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19356 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19357
19358 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19359
19360 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19361 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19362 multiarch strcmp for PPC64.
19363 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19364 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19366 multiarch optimizations.
19367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19368 (__libc_ifunc_impl_list): Likewise.
19369
19370 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19371
19372 * benchtests/scripts/validate_benchout.py: New script.
19373 * benchtests/Makefile (bench-func): Call it.
19374 * benchtests/scripts/benchout.schema.json: New file.
19375
19376 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19377
19378 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19379 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19380 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19381 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19382 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19383 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19384 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19385 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19386 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19387 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19388 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19389 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19390 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19391 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19392 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19393 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19395 Moved ...
19396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19397 ... here.
19398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19399 Moved ...
19400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19402 Moved ...
19403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19404 ... here.
19405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19406 Moved ...
19407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19408 ... here.
19409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19410 Moved ...
19411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19413 Moved ...
19414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19415 ... here.
19416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19417 Moved ...
19418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19419 ... here.
19420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19421 Moved ...
19422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19424 Moved ...
19425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19426 ... here.
19427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19428 Moved ...
19429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19430 ... here.
19431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19432 Moved ...
19433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19434 ... here.
19435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19436 Moved ...
19437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19439 Moved ...
19440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19441 ... here.
19442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19443 Moved ...
19444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19445 ... here.
19446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19447 Moved ...
19448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19449 ... here.
19450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19451 Moved ...
19452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19454 Moved ...
19455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19456 ... here.
19457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19458 Moved ...
19459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19460 ... here.
19461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19462 Moved ...
19463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19465 Moved ...
19466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19467 ... here.
19468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19469 Moved ...
19470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19472 Moved ...
19473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19475 Moved ...
19476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19477 ... here.
19478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19479 Moved ...
19480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19481 ... here.
19482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19483 Moved ...
19484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19485 ... here.
19486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19487 Moved ...
19488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19490 Moved ...
19491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19492 ... here.
19493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19494 Moved ...
19495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19496 ... here.
19497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19498 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19499 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19500 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19502 Moved ...
19503 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19504 ... here.
19505 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19506 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19507 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19508 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19510 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19512 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19513 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19514 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19515 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19516 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19517 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19518 Moved ...
19519 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19520 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19521 Moved ...
19522 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19523 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19524 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19525 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19526 Moved ...
19527 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19528 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19529 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19530 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19531 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19532 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19533 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19534
19535 2014-06-10 Wilco <wdijkstr@arm.com>
19536
19537 * math/test-fenv-return.c: New file.
19538 * math/Makefile: Add new test test-fenv-return.
19539
19540 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19541
19542 [BZ #17042]
19543 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19544 when x - 1 is zero.
19545 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19546 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19547 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19548 0.0L for an argument of 1.0L.
19549 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19550 Likewise.
19551 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19552 value when x - 1 is zero.
19553 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19554 * sysdeps/i386/fpu/libm-test-ulps: Update.
19555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19556
19557 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19558
19559 [BZ #15119]
19560 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19561
19562 2014-06-09 Roland McGrath <roland@hack.frob.com>
19563
19564 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19565 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19566
19567 2014-06-09 Roland McGrath <roland@hack.frob.com>
19568
19569 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19570 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19571
19572 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19573 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19574
19575 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19576 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19577
19578 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19579 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19580
19581 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19582 if not already defined.
19583 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19584 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19585 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19586 (TLS_INIT_TP): Use it.
19587 (TLS_DEFINE_INIT_TP): New macro.
19588 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19589
19590 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19591
19592 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19593 constant.
19594 [POSIX] (IXANY): Likewise.
19595 [POSIX] (OLCUC): Likewise.
19596 [POSIX || POSIX2008] (CBAUD): Do not allow.
19597 [POSIX || POSIX2008] (DEFECHO): Likewise.
19598 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19599 [POSIX || POSIX2008] (ECHOKE): Likewise.
19600 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19601 [POSIX || POSIX2008] (EXTA): Likewise.
19602 [POSIX || POSIX2008] (EXTB): Likewise.
19603 [POSIX || POSIX2008] (FLUSHO): Likewise.
19604 [POSIX || POSIX2008] (LOBLK): Likewise.
19605 [POSIX || POSIX2008] (PENDIN): Likewise.
19606 [POSIX || POSIX2008] (SWTCH): Likewise.
19607 [POSIX || POSIX2008] (VDISCARD): Likewise.
19608 [POSIX || POSIX2008] (VDSUSP): Likewise.
19609 [POSIX || POSIX2008] (VLNEXT): Likewise.
19610 [POSIX || POSIX2008] (VREPRINT): Likewise.
19611 [POSIX || POSIX2008] (VSTATUS): Likewise.
19612 [POSIX || POSIX2008] (VWERASE): Likewise.
19613 (B*): Change to B[0123456789]*.
19614 * conform/data/time.h-data [POSIX || UNIX98]
19615 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19616 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19617 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19618 [POSIX] (tm_*): Do not allow.
19619
19620 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19621
19622 * Makefile (install): Don't set LANGUAGE.
19623 * Makefile.in (install): Likewise.
19624 * assert/Makefile (test-assert-ENV): Remove variable.
19625 (test-assert-perr-ENV): Likewise.
19626 * elf/Makefile (neededtest4-ENV): Likewise.
19627 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19628 [$(cross-compiling) = no]: Don't set LANGUAGE.
19629 * io/ftwtest-sh (LANG): Remove variable.
19630 * libio/Makefile (tst-widetext-ENV): Likewise.
19631 * manual/install.texi (Running make install): Don't refer to
19632 environment settings for make install.
19633 * INSTALL: Regenerated.
19634 * nptl/tst-tls6.sh: Don't set LANG.
19635 * posix/globtest.sh (LANG): Remove variable.
19636 * string/Makefile (tester-ENV): Likewise.
19637 (inl-tester-ENV): Likewise.
19638 (noinl-tester-ENV): Likewise.
19639 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19640 [$(cross-compiling) = no]: Don't set LANGUAGE.
19641 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19642 without explicit environment settings.
19643
19644 2014-06-06 Roland McGrath <roland@hack.frob.com>
19645
19646 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19647 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19648 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19649 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19650
19651 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19652
19653 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19654 other files in the crypt directory.
19655 * crypt/crypt.c: Remove duplicate includes.
19656 * crypt/crypt-entry.c: Likewise.
19657 * crypt/crypt_util.c: Likewise.
19658
19659 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19660
19661 * Makeconfig (run-program-env): New variable.
19662 (run-program-prefix-before-env): Likewise.
19663 (run-program-prefix-after-env): Likewise.
19664 (run-program-prefix): Define in terms of new variables.
19665 (built-program-cmd-before-env): New variable.
19666 (built-program-cmd-after-env): Likewise.
19667 (built-program-cmd): Define in terms of new variables.
19668 (test-program-prefix-before-env): New variable.
19669 (test-program-prefix-after-env): Likewise.
19670 (test-program-prefix): Define in terms of new variables.
19671 (test-program-cmd-before-env): New variable.
19672 (test-program-cmd-after-env): Likewise.
19673 (test-program-cmd): Define in terms of new variables.
19674 * Rules (make-test-out): Use $(run-program-env).
19675 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19676 (help): Do not mention environment variables. Mention
19677 --timeoutfactor option.
19678 (timeoutfactor): New variable.
19679 (blacklist_exports): Remove function.
19680 (exports): Remove variable.
19681 (command): Do not include ${exports}.
19682 * manual/install.texi (Configuring and compiling): Do not mention
19683 test wrappers preserving environment variables. Mention that last
19684 assignment to a variable must take precedence.
19685 * INSTALL: Regenerated.
19686 * benchtests/Makefile (run-bench): Use $(run-program-env).
19687 * catgets/Makefile ($(objpfx)test1.cat): Use
19688 $(built-program-cmd-before-env), $(run-program-env) and
19689 $(built-program-cmd-after-env).
19690 ($(objpfx)test2.cat): Do not specify environment variables
19691 explicitly.
19692 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19693 $(run-program-env) and $(built-program-cmd-after-env).
19694 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19695 $(run-program-env) and $(test-program-cmd-after-env).
19696 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19697 explicitly.
19698 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19699 run_program_env and test_program_cmd_after_env arguments.
19700 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19701 * elf/tst-pathopt.sh: Use run_program_env argument.
19702 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19703 $(test-wrapper-env) and $(run-program-env).
19704 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19705 run_program_env arguments.
19706 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19707 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19708 $(test-program-prefix-before-env), $(run-program-env) and
19709 $(test-program-prefix-after-env).
19710 ($(objpfx)tst-gettext2.out): Likewise.
19711 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19712 run_program_env and test_program_prefix_after_env arguments.
19713 * intl/tst-gettext2.sh: Likewise.
19714 * intl/tst-gettext4.sh: Do not set environment variables
19715 explicitly.
19716 * intl/tst-gettext6.sh: Likewise.
19717 * intl/tst-translit.sh: Likewise.
19718 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19719 $(test-program-prefix-before-env), $(run-program-env) and
19720 $(test-program-prefix-after-env).
19721 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19722 run_program_env and test_program_prefix_after_env arguments.
19723 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19724 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19725 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19726 explicitly with each use of ${test_wrapper_env}.
19727 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19728 $(test-program-prefix-before-env), $(run-program-env) and
19729 $(test-program-prefix-after-env).
19730 * posix/tst-getconf.sh: Do not set environment variables
19731 explicitly.
19732 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19733 run_program_env and test_program_prefix_after_env arguments.
19734 * stdio-common/tst-printf.sh: Do not set environment variables
19735 explicitly.
19736 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19737 $(test-program-prefix-before-env), $(run-program-env) and
19738 $(test-program-prefix-after-env).
19739 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19740 run_program_env and test_program_prefix_after_env arguments.
19741 Split $test calls into $test_pre and $test.
19742 * timezone/Makefile (build-testdata): Use
19743 $(built-program-cmd-before-env), $(run-program-env) and
19744 $(built-program-cmd-after-env).
19745
19746 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19747
19748 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19749 strlen for non SHARED builds.
19750
19751 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19752
19753 * nptl/allocatestack.c (check_list): Inlined function...
19754 (__reclaim_stacks): ... here.
19755
19756 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19757
19758 [BZ #15698]
19759 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19760 memory overrun.
19761
19762 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19763
19764 * Rules (make-test-out): Include
19765 LOCPATH=$(common-objpfx)localedata in default environment.
19766 * debug/Makefile (tst-chk1-ENV): Remove variable.
19767 (tst-chk2-ENV): Likewise.
19768 (tst-chk3-ENV): Likewise.
19769 (tst-chk4-ENV): Likewise.
19770 (tst-chk5-ENV): Likewise.
19771 (tst-chk6-ENV): Likewise.
19772 (tst-lfschk1-ENV): Likewise.
19773 (tst-lfschk2-ENV): Likewise.
19774 (tst-lfschk3-ENV): Likewise.
19775 (tst-lfschk4-ENV): Likewise.
19776 (tst-lfschk5-ENV): Likewise.
19777 (tst-lfschk6-ENV): Likewise.
19778 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19779 (tst-iconv7-ENV): Likewise.
19780 * intl/Makefile (LOCPATH-ENV): Likewise.
19781 (tst-codeset-ENV): Likewise.
19782 (tst-gettext3-ENV): Likewise.
19783 (tst-gettext5-ENV): Likewise.
19784 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19785 (tst-fopenloc-ENV): Likewise.
19786 (tst-fgetws-ENV): Remove variable.
19787 (tst-ungetwc1-ENV): Likewise.
19788 (tst-ungetwc2-ENV): Likewise.
19789 (bug-ungetwc2-ENV): Likewise.
19790 (tst-swscanf-ENV): Likewise.
19791 (bug-ftell-ENV): Likewise.
19792 (tst-fgetwc-ENV): Likewise.
19793 (tst-fseek-ENV): Likewise.
19794 (tst-ftell-partial-wide-ENV): Likewise.
19795 (tst-ftell-active-handler-ENV): Likewise.
19796 (tst-ftell-append-ENV): Likewise.
19797 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19798 (tst-regexloc-ENV): Likewise.
19799 (bug-regex1-ENV): Likewise.
19800 (tst-regex-ENV): Likewise.
19801 (tst-regex2-ENV): Likewise.
19802 (bug-regex5-ENV): Likewise.
19803 (bug-regex6-ENV): Likewise.
19804 (bug-regex17-ENV): Likewise.
19805 (bug-regex18-ENV): Likewise.
19806 (bug-regex19-ENV): Likewise.
19807 (bug-regex20-ENV): Likewise.
19808 (bug-regex22-ENV): Likewise.
19809 (bug-regex23-ENV): Likewise.
19810 (bug-regex25-ENV): Likewise.
19811 (bug-regex26-ENV): Likewise.
19812 (bug-regex30-ENV): Likewise.
19813 (bug-regex32-ENV): Likewise.
19814 (bug-regex33-ENV): Likewise.
19815 (bug-regex34-ENV): Likewise.
19816 (bug-regex35-ENV): Likewise.
19817 (tst-rxspencer-ENV): Likewise.
19818 (tst-rxspencer-no-utf8-ENV): Likewise.
19819 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19820 (tst-sscanf-ENV): Likewise.
19821 (tst-swprintf-ENV): Likewise.
19822 (tst-swscanf-ENV): Likewise.
19823 (test-vfprintf-ENV): Likewise.
19824 (scanf13-ENV): Likewise.
19825 (bug14-ENV): Likewise.
19826 (tst-grouping-ENV): Likewise.
19827 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19828 (tst-strtod3-ENV): Likewise.
19829 (tst-strtod4-ENV): Likewise.
19830 (tst-strtod5-ENV): Likewise.
19831 (testmb2-ENV): Likewise./
19832 * string/Makefile (tst-strxfrm-ENV): Likewise.
19833 (tst-strxfrm2-ENV): Likewise.
19834 (bug-strcoll1-ENV): Likewise.
19835 (test-strcasecmp-ENV): Likewise.
19836 (test-strncasecmp-ENV): Likewise.
19837 * time/Makefile (tst-strptime-ENV): Likewise.
19838 (tst-ftime_l-ENV): Likewise.
19839 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19840 (tst-mbrtowc-ENV): Likewise.
19841 (tst-wcrtomb-ENV): Likewise.
19842 (tst-mbrtowc2-ENV): Likewise.
19843 (tst-c16c32-1-ENV): Likewise.
19844 (tst-mbsnrtowcs-ENV): Likewise.
19845
19846 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19847
19848 * manual/resource.texi (How to get information about the memory
19849 subsystem?): Fix typo.
19850 Reported by Peon de la Parra Ivan <peon@keba.com>
19851
19852 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19853
19854 [BZ #16882]
19855 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19856 (pthread_spin_lock): Branch out of spin loop to proper location.
19857 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19858 (pthread_spin_lock): Likewise.
19859
19860 * nptl/tst-spin4.c: New test.
19861 * nptl/Makefile (tests): Add tst-spin4.
19862
19863 2014-06-03 Andreas Schwab <schwab@suse.de>
19864
19865 [BZ #15946]
19866 * resolv/res_send.c (send_dg): Reload file descriptor after
19867 calling reopen.
19868
19869 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
19870
19871 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19872
19873 2014-06-03 Richard Henderson <rth@redhat.com>
19874
19875 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19876 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19877 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19878 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
19879 in the SAVE_PID block.
19880 (__libc_vfork): New alias.
19881 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19882
19883 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19884 child in registers, not on the stack. Remove RESET_PID conditionals.
19885 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19886
19887 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
19888
19889 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19890
19891 2014-06-03 Wilco <wdijkstr@arm.com>
19892
19893 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19894 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19895 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19896 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19897 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19898 Likewise.
19899
19900 2014-06-03 Wilco <wdijkstr@arm.com>
19901
19902 * sysdeps/aarch64/fpu/math_private.h
19903 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19904 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19905 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19906 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19907 Fix declarations.
19908
19909 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19910
19911 * crypt/crypt-private.h: Include ufc-crypt.h.
19912 (__b64_from_24bit): Declare extern.
19913 * crypt/crypt_util.c(__b64_from_24bit): New function.
19914 (b64t): New static const variable.
19915 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19916 (b64t): Remove variable.
19917 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19918 * crypt/sha256-crypt.c: Include crypt-private.h.
19919 (b64t): Remove variable.
19920 (__sha256_crypt_r): Remove b64_from_24bit and replace
19921 with __b64_from_24bit.
19922 * crypt/sha512-crypt.c: Likewise.
19923
19924 2014-06-02 Roland McGrath <roland@hack.frob.com>
19925
19926 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19927 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19928 Label the code __libc_vfork rather than __vfork.
19929 [!NOT_IN_libc] (vfork): Define as weak alias.
19930 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19931 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19932 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19933
19934 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19935
19936 * malloc/malloc.c (malloc_info): Fix format specifier for
19937 n_mmaps.
19938
19939 2014-06-02 Wilco <wdijkstr@arm.com>
19940
19941 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19942 FPCR write.
19943
19944 2014-06-02 Wilco <wdijkstr@arm.com>
19945
19946 [BZ #17009]
19947 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19948 Rewrite to reduce FPCR/FPSR accesses.
19949
19950 2014-06-01 David S. Miller <davem@davemloft.net>
19951
19952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19953
19954 2014-05-31 David S. Miller <davem@davemloft.net>
19955
19956 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19957 to occur in round to nearest mode when |x| >= 2.0
19958
19959 2014-05-30 Richard Henderson <rth@twiddle.net>
19960
19961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19962 (PSEUDO_RET_NOERRNO): Remove.
19963 (ret): Don't redefine.
19964 (ret_NOERRNO): Define in terms of ret.
19965 (ret_ERRVAL): Likewise.
19966
19967 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19968 use of PSEUDO_RET; perform the error check directly.
19969
19970 2014-05-30 Marko Myllynen <myllynen@redhat.com>
19971
19972 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19973 with __int128_t.
19974
19975 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
19977 * malloc/malloc (malloc_info): Fix formatting.
19978
19979 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19980 Roland McGrath <roland@hack.frob.com>
19981
19982 * malloc/malloc (malloc_info): Also print mmapped statistics.
19983
19984 2014-05-30 Roland McGrath <roland@hack.frob.com>
19985
19986 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19987 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19988
19989 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
19990
19991 * malloc/malloc.c (malloc_info): Inline mi_arena.
19992
19993 2014-05-29 Richard Henderson <rth@twiddle.net>
19994
19995 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19996 Remove comma before expanding ASM_ARGS_##nr.
19997 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19998 Make _x0 a strict output; make _x8 a strict input; adjust expansion
19999 of ASM_ARGS_##nr.
20000 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20001 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20002 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20003 (ASM_ARGS_1): Add leading comma.
20004
20005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20006 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20007 to __errno_location.
20008 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20009 Remove the expected plt for __errno_location.
20010
20011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20012 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20013 call to __read_tp.
20014
20015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20016 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20017 it and break it down.
20018 (DOCARGS_0, DOCARGS_1): Do nothing.
20019 (DOCARGS_2): Update to store into the new stack frame.
20020 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20021 (UNDOCARGS_1): Update to restore from the new stack frame.
20022 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20023 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20024
20025 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20026 (SINGLE_THREAD_P): New parameter for result regno.
20027 (PSEUDO): Update to match; use cbz instead of beq.
20028
20029 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20030 Use ENTRY to define the _nocancel entry point. Share the syscall
20031 and syscall error check paths with the cancel path.
20032 (PSEUDO_END): New.
20033
20034 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20035 whitespace; tabs before and after asm mnemonics.
20036
20037 2014-05-29 Eric Wong <normalperson@yhbt.net>
20038
20039 [BZ #15132]
20040 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20041 Call fstat64 or stat64 internally, depending on arguments passed.
20042 Replace stat buffer argument with file descriptor argument.
20043 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20044 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20045 Pass fd to __internal_statvfs instead of calling fstat64.
20046 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20047 Pass fd to __internal_statvfs64 instead of calling fstat64.
20048 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20049 Pass -1 to __internal_statvfs instead of calling stat64.
20050 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20051 Pass -1 to __internal_statvfs64 instead of calling stat64.
20052
20053 2014-05-28 Roland McGrath <roland@hack.frob.com>
20054
20055 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20056 that was previously under [RESET_PID].
20057 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20058
20059 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20060 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20061
20062 2014-05-27 Roland McGrath <roland@hack.frob.com>
20063
20064 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20065
20066 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20067 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20068
20069 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20070
20071 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20072
20073 2014-05-27 Andreas Schwab <schwab@suse.de>
20074
20075 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20076 TLS_INIT_TP macro.
20077 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20078 * elf/rtld.c (init_tls, dl_main): Likewise.
20079 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20080 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20081 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20082 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20083 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20084 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20085 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20086 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20087 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20088 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20089 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20090 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20091 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20092 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20093 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20094 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20095 * sysdeps/generic/tls.h: Update description.
20096
20097 2014-05-27 Will Newton <will.newton@linaro.org>
20098
20099 [BZ #16990]
20100 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20101 and restore r2 rather than just restoring.
20102
20103 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20104
20105 [BZ #16724]
20106 * libio/tst-ftell-append.c: New test case.
20107 * libio/Makefile (tests): Add test case.
20108 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20109 append mode.
20110 * libio/wfileops.c (do_ftell_wide): Likewise.
20111
20112 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20113
20114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20115
20116 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20117 ...
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20120 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20121 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20122 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20123 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20124 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20125 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20127 Moved ...
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20130 Moved ...
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20132 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20133 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20134 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20135 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20136 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20137 ...
20138 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20139 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20140 Moved ...
20141 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20142 here.
20143 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20144 ...
20145 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20146 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20147 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20148
20149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20150 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20151 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20152 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20153
20154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20155 merge into ...
20156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20157 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20158 ...
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20161 ...
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20164 Moved ...
20165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20166 here.
20167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20168 Moved ...
20169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20170 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20171 Moved ...
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20173
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20175 conditional [RESET_PID].
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20178 removed.
20179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20180 removed.
20181
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20183 <tcb-offsets.h>.
20184 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20185 (__libc_vfork): New strong alias.
20186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20187 removed.
20188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20189 Removed.
20190
20191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20192 <tcb-offsets.h>.
20193 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20194 (__libc_vfork): New strong alias.
20195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20196 removed.
20197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20198 removed.
20199
20200 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20201
20202 * malloc/malloc.c (mi_arena): New function.
20203 (malloc_info): Remove nested function mi_arena. Call non-nosted
20204 function mi_arena.
20205
20206 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20207
20208 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20209 by insrwi.
20210 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20211 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20212 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20213 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20214 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20215 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20216 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20217
20218 2014-05-26 Andreas Schwab <schwab@suse.de>
20219
20220 [BZ #16984]
20221 * locale/programs/repertoire.c (repertoire_read): Add slash
20222 between I18NPATH element and file name.
20223 * locale/programs/locfile.c (locfile_read): Likewise.
20224
20225 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20226
20227 * nptl/pthread_mutexattr_settype.c
20228 (__pthread_mutexattr_settype):
20229 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20230
20231 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20232
20233 * nptl/tst-mutex5 (do_test):
20234 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20235
20236 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20237
20238 * benchtests/README: Document 'init' directive.
20239 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20240 BENCH_INIT.
20241 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20242 (parse_file): Recognize 'init' directive.
20243
20244 2014-05-26 Kyle McMartin <kyle@redhat.com>
20245
20246 [BZ #16796]
20247 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20248 alignment of struct pthread.
20249
20250 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20251
20252 [BZ #16878]
20253 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20254 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20255 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20256 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20257
20258 2014-05-25 Richard Henderson <rth@twiddle.net>
20259
20260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20261 (SINGLE_THREAD_P_PIC): Remove.
20262 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20263 (SINGLE_THREAD_P_PIC): Remove.
20264
20265 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20266 branch to syscall error ...
20267 (PSEUDO): ... here.
20268 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20269 from __local_syscall_error to .Lsyscall_error.
20270 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20271 (SYSCALL_ERROR): Update label name.
20272
20273 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20274 Do not use DOARGS/UNDOARGS.
20275 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20276 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20277 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20278 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20279 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20280
20281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20282 block comment.
20283
20284 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20285 define if !NOT_IN_libc.
20286 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20287 define with non-default symbol versions.
20288
20289 2014-05-23 Richard Henderson <rth@twiddle.net>
20290
20291 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20292 (vfork, __vfork): Define via compat_symbol.
20293
20294 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20295 [!HAVE_IFUNC] (vfork_compat): Remove.
20296 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20297
20298 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20299
20300 [BZ #16978]
20301 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20302 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20303 variable.
20304
20305 2014-05-23 Richard Henderson <rth@twiddle.net>
20306
20307 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20308 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20309 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20310 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20311
20312 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20313 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20314 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20315 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20316 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20317 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20318 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20319 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20320 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20321 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20322 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20323 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20324 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20325 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20326 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20327 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20328 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20329 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20330 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20331 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20332 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20333 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20334 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20335 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20336 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20337 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20338 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20339 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20340 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20341 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20342 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20343 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20344 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20345 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20346 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20347 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20348 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20349 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20350 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20351 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20352 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20353 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20354 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20355 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20356 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20357 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20358 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20359 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20360 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20361 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20362 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20363 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20364 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20365 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20366 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20367 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20368
20369 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20370 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20371 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20372 before exiting on error.
20373 (__libc_vfork): New strong alias.
20374 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20375 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20376
20377 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20378 that was previously under [RESET_PID].
20379 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20380
20381 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20382
20383 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20384
20385 [BZ #16977]
20386 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20387 value when x - 1 is zero.
20388 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20389 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20390 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20391 0.0L for an argument of 1.0L.
20392 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20393 Likewise.
20394 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20395 value when x - 1 is zero.
20396 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20397 * sysdeps/i386/fpu/libm-test-ulps: Update.
20398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20399
20400 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20401
20402 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20403 alphasort and versionsort.
20404
20405 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20406
20407 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20408 macro.
20409 [copysignf]: Likewise.
20410
20411 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20412
20413 * crypt/md5-crypt.c: Fix formatting.
20414
20415 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20416
20417 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20418 (b64_from_24bit): New function.
20419
20420 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20421
20422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20423 libc_hidden_builtin_def to ifunc.
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20425 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20426
20427 2014-05-21 Roland McGrath <roland@hack.frob.com>
20428
20429 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20430 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20431
20432 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20433
20434 * nscd/Depend (linuxthreads): Remove.
20435 (nptl): Add.
20436 * resolv/Depend (linuxthreads): Remove.
20437 * rt/Depend (linuxthreads): Remove.
20438
20439 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20440 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20441 $(common-objpfx)elf/.
20442 (link-libc-before-gnulib): Likewise.
20443 (elfobjdir): Remove variable.
20444 * Makefile (install): Use $(elf-objpfx) instead of
20445 $(common-objpfx)elf/.
20446 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20447 $(elfobjdir)/.
20448 (link-libc-deps): Likewise.
20449 ($(common-objpfx)libc.so): Likewise.
20450 ($(common-objpfx)linkobj/libc.so): Likewise.
20451 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20452 instead of $(common-objpfx)elf/.
20453 (symbolic-link-list): Likewise.
20454 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20455 [$(cross-compiling) = no]: Likewise.
20456 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20457 $(elfobjdir)/.
20458 (static-gnulib-arch): Likewise.
20459 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20460 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20461 $(common-objpfx)elf/.
20462
20463 2014-05-21 Richard Henderson <rth@redhat.com>
20464
20465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20466 (SINGLE_THREAD_P): Use the correct width load. Fold
20467 into the ldr offset.
20468
20469 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20470 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20471
20472 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20473
20474 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20475 (libgcc_s_resume): Use __attribute_used__.
20476 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20477 Likewise.
20478
20479 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20480
20481 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20482 optimization when used with float constants.
20483
20484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20485
20486 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20487
20488 [BZ #16915]
20489 * locale/nl_langinfo_l.c: Make direct reference to every
20490 _nl_current_CATEGORY symbol.
20491 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20492 (tests-static): Add tst-langinfo-static.
20493 (tests-special): Add tst-langinfo-static.out.
20494 ($(objpfx)tst-langinfo.out): Redirect output.
20495 ($(objpfx)tst-langinfo-static.out): New.
20496 * localedata/tst-langinfo.sh: Send output to stdout.
20497 * localedata/tst-langinfo-static.c: New file.
20498
20499 [BZ #16965]
20500 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20501 when the shift amount is modulo the limb size.
20502
20503 2014-05-20 Richard Henderson <rth@redhat.com>
20504
20505 [BZ #16967]
20506 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20507 Change type of sa_flags from unsigned int to int.
20508
20509 [BZ #16966]
20510 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20511
20512 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20513
20514 2014-05-20 Will Newton <will.newton@linaro.org>
20515
20516 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20517 Test the return value of the system call in the nocancel case.
20518
20519 2014-05-20 Will Newton <will.newton@linaro.org>
20520 Yvan Roux <yvan.roux@linaro.org>
20521
20522 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20523 #include of asm/ptrace.h.
20524 (PTRACE_GET_THREAD_AREA): Remove #undef.
20525 (PTRACE_GETHBPREGS): Likewise.
20526 (PTRACE_SETHBPREGS): Likewise.
20527 (struct user_regs_struct): New structure.
20528 (struct user_fpsimd_struct): New structure.
20529 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20530 #include of asm/ptrace.h and second #include of sys/user.h.
20531 (PTRACE_GET_THREAD_AREA): Remove #undef.
20532 (PTRACE_GETHBPREGS): Likewise.
20533 (PTRACE_SETHBPREGS): Likewise.
20534 (ELF_NGREG): Use new struct user_regs_struct.
20535 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20536
20537 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20538
20539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20541
20542 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20543
20544 [BZ #16958]
20545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20546 membar to avoid block loads/stores to overlap previous stores.
20547
20548 2014-05-17 Richard Henderson <rth@redhat.com>
20549
20550 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20551 Create the __##syscall_name##_nocancel entry point.
20552 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20553 Remove; let the sysdep-cancel.h code create it.
20554
20555 2014-05-17 David S. Miller <davem@davemloft.net>
20556
20557 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20558 Protect with __USE_GNU.
20559 (TIOCSET_TEMPT): Likewise.
20560 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20561 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20562 these are already provided in bits/ioctl-types.h
20563
20564 2014-05-16 Roland McGrath <roland@hack.frob.com>
20565
20566 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20567 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20568
20569 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20570 Use wait4 regardless of [__NR_waitpid].
20571
20572 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20573
20574 PR libgcc/60166
20575 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20576 (_FP_NANSIGN_Q): Set the quiet bit.
20577
20578 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20579
20580 * benchtests/Makefile
20581 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20582 not $(common-objpfx)math/libm.so.
20583 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20584 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20585 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20586 $(common-objpfx)dlfcn/libdl.so.
20587 ($(objpfx)tst-audit8): Depend on $(libm), not
20588 $(common-objpfx)math/libm.so.
20589 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20590 not $(common-objpfx)dlfcn/libdl.so.
20591 * math/Makefile
20592 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20593 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20594 [$(build-shared) = yes].
20595 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20596 $(common-objpfx)nptl/libpthread.so.
20597 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20598 $(common-objpfx)math/libm.so$(libm.so-version) or
20599 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20600 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20601 $(common-objpfx)dlfcn/libdl.so.
20602 * setjmp/Makefile (link-libm): Remove variable.
20603 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20604 * stdio-common/Makefile (link-libm): Remove variable.
20605 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20606 * stdlib/Makefile (link-libm): Remove variable.
20607 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20608 ($(objpfx)tst-strtod-round): Likewise.
20609 ($(objpfx)tst-tininess): Likewise.
20610 ($(objpfx)tst-strtod-underflow): Likewise.
20611 ($(objpfx)tst-strtod6): Likewise.
20612 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20613 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20614 $(common-objpfx)dlfcn/libdl.so.
20615
20616 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20617
20618 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20619 BSD terminal modes definitions.
20620
20621 2014-05-16 Roland McGrath <roland@hack.frob.com>
20622
20623 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20624 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20625
20626 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20627 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20628 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20629 Don't do #include_next.
20630 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20631 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20632 Don't do #include_next.
20633 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20634 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20635 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20636 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20637
20638 2014-05-16 Allan McRae <allan@archlinux.org>
20639
20640 * po/sv.po: Update Swedish translation from translation project.
20641
20642 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20643 in sed expression.
20644
20645 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20646
20647 [BZ #16917]
20648 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20649 errno if the TIOCGPTN ioctl fails with an error different than
20650 EINVAL.
20651 * login/tst-ptsname.c: New file.
20652 * login/Makefile (tests): Add tst-ptsname.
20653
20654 [BZ #16943]
20655 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20656 and prlimit64.
20657
20658 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20659
20660 [BZ #16849]
20661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20662 herrno to return EAI_AGAIN.
20663
20664 2014-05-14 Roland McGrath <roland@hack.frob.com>
20665
20666 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20667 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20668 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20669 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20670 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20671 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20672 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20673 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20675 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20676 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20677 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20678 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20679 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20680 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20681 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20682 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20683 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20684 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20685 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20686 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20687 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20688 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20689 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20690 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20691 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20692 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20693 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20694 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20695 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20697 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20699 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20701 Moved ...
20702 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20704 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20706 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20708 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20710 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20712 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20714 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20716 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20718 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20720 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20722 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20724 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20726 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20728 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20730 Moved ...
20731 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20733 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20735 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20737 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20739 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20741 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20743 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20745 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20747 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20749 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20751 Moved ...
20752 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20754 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20755
20756 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20757 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20758 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20759 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20760 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20761 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20762 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20763 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20764 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20765 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20766 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20767 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20768 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20769 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20770 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20771 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20772 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20773 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20774 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20775 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20776 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20777 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20778 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20779 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20780 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20781 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20782 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20783 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20784 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20785 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20786 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20787
20788 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20789 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20790
20791 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20792 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20793 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20794 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20795 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20797 Moved ...
20798 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20800 Moved ...
20801 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20802 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20803 Moved ...
20804 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20805 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20806 Moved ...
20807 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20808 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20809 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20810 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20811 Moved ...
20812 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20813 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20814 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20815 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20816 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20817 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20818 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20820 Moved ...
20821 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20822 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20823 Moved ...
20824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20825 ... here.
20826 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20827 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20828 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20829 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20831 Moved ...
20832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20833 ... here.
20834 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20835 Moved ...
20836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20837 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20838 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20839 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20840 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20842 Moved ...
20843 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20845 Moved ...
20846 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20847 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20848 Moved ...
20849 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20850 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20851 Moved ...
20852 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20853 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20854 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20855 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20856 Moved ...
20857 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20858 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20859 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20860 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20861 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20862 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20863 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20865 Moved ...
20866 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20867 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20868 Moved ...
20869 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20870 ... here.
20871 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20872 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20873 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20874 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20876 Moved ...
20877 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20878 ... here.
20879 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20880 Moved ...
20881 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20882 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20883 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20884 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20885 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20886 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20887 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20889 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20891 Moved ...
20892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20893 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20894 Moved ...
20895 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20896 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20897 Moved ...
20898 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20900 Moved ...
20901 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20902 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20903 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20904 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20905 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20906 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20907 Moved ...
20908 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20909 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20910 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20912 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20913 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20914 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20915 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20916 Moved ...
20917 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20918 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20919 Moved ...
20920 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20921 ... here.
20922 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20923 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20924 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20925 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20927 Moved ...
20928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20929 ... here.
20930 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20931 Moved ...
20932 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20933 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20934 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20935 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20936 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20937 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20938 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20939 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20940 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20941 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20942 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20943
20944 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20945 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20946
20947 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20948 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20949
20950 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20951 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20952 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20953 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20954 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20955 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20956 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20957 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20958 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20959 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20960 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20961 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20962 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20963 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20964 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20966 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20968 Moved ...
20969 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20971 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20973 Moved ...
20974 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20976 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20978 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20979 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20980 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20981 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20982 Moved ...
20983 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20984 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20985 Moved ...
20986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20988 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20989 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20990 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20991 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20992 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20993 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20994 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20995 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20996 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20997 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20998 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20999 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21000 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21001 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21002 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21003
21004 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21005 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21006 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21007 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21008 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21009
21010 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21011 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21012 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21013 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21014 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21015 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21016 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21017 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21018 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21019 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21020
21021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21023
21024 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21025 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21026 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21027 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21028 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21029 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21030 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21031 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21032 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21033 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21034 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21035 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21036 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21037 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21039 Update #include.
21040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21041 Likewise.
21042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21043 Likewise.
21044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21045 Likewise.
21046 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21047 Likewise.
21048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21049 Likewise.
21050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21051 Likewise.
21052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21053 Likewise.
21054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21055 Likewise.
21056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21057 Likewise.
21058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21061 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21062 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21063 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21065 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21066 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21067 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21072 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21073
21074 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21075 that was previously under [RESET_PID].
21076 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21077 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21078 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21079
21080 * sysdeps/i386/nptl/Implies: New file.
21081 * sysdeps/x86_64/nptl/Implies: New file.
21082 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21083 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21084 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21085 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21086
21087 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21088 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21089 (__libc_vfork): New strong alias.
21090 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21091 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21092
21093 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21094 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21095 (__libc_vfork): New strong alias.
21096 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21097 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21098
21099 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21100 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21101 (__libc_vfork): New strong alias.
21102 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21103 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21104 * nptl/pt-vfork.c: New file.
21105 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21106 (libpthread: GLIBC_2.20): New version set (empty).
21107
21108 2014-05-14 Will Newton <will.newton@linaro.org>
21109
21110 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21111 rather than #if.
21112
21113 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21114
21115 [BZ #16564]
21116 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21117 arguments with exponent 65 or above.
21118 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21119 arguments 0x1p113L or above.
21120 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21121 to arguments 0x1p107L or above.
21122 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21123 positive arguments with exponent 65 or above.
21124 * math/auto-libm-test-in: Add more tests of log1p.
21125 * math/auto-libm-test-out: Regenerated.
21126
21127 [BZ #16928]
21128 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21129 non-finite arguments is +0.
21130 * math/s_cacosf.c (__cacosf): Likewise.
21131 * math/s_cacosl.c (__cacosl): Likewise.
21132 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21133 * sysdeps/i386/fpu/libm-test-ulps: Update.
21134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21135
21136 [BZ #16927]
21137 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21138 value.
21139 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21140 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21141 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21142 for explicit high bit of mantissa when testing for argument equal
21143 to 1.
21144 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21145 * sysdeps/i386/fpu/libm-test-ulps: Update.
21146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21147
21148 [BZ #16516]
21149 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21150 (__erf): Scale by 16 instead of 8 in potentially underflowing
21151 case. Ensure exception if result actually underflows.
21152 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21153 (__erff): Scale by 16 instead of 8 in potentially underflowing
21154 case. Ensure exception if result actually underflows.
21155 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21156 (efx8): Remove variable.
21157 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21158 case. Ensure exception if result actually underflows.
21159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21160 (efx8): Remove variable.
21161 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21162 case. Ensure exception if result actually underflows.
21163 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21164 (efx8): Remove variable.
21165 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21166 case. Ensure exception if result actually underflows.
21167 * math/auto-libm-test-in: Add more tests of erf.
21168 * math/auto-libm-test-out: Regenerated.
21169
21170 2014-05-14 Andreas Schwab <schwab@suse.de>
21171
21172 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21173 Remove code conditionalized on USE___THREAD.
21174
21175 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21176 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21177 not definedness.
21178
21179 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21180
21181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21182 Define unconditionally.
21183 (__ASSUME_O_CLOEXEC): Likewise.
21184 (__ASSUME_SOCK_CLOEXEC): Likewise.
21185 (__ASSUME_IN_NONBLOCK): Likewise.
21186 (__ASSUME_PIPE2): Likewise.
21187 (__ASSUME_EVENTFD2): Likewise.
21188 (__ASSUME_SIGNALFD4): Likewise.
21189 (__ASSUME_DUP3): Likewise.
21190 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21191 (__ASSUME_DUP3): Do not define.
21192 (__ASSUME_EVENTFD2): Likewise.
21193 (__ASSUME_IN_NONBLOCK): Likewise.
21194 (__ASSUME_O_CLOEXEC): Likewise.
21195 (__ASSUME_PIPE2): Likewise.
21196 (__ASSUME_SIGNALFD4): Likewise.
21197 (__ASSUME_SOCK_CLOEXEC): Likewise.
21198 (__ASSUME_UTIMES): Undefine.
21199 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21200 (__ASSUME_UTIMES): Do not define.
21201 (__ASSUME_O_CLOEXEC): Likewise.
21202 (__ASSUME_SOCK_CLOEXEC): Likewise.
21203 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21204 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21205 0x020621].
21206 (__ASSUME_PIPE2): Likewise.
21207 (__ASSUME_EVENTFD2): Likewise.
21208 (__ASSUME_SIGNALFD4): Likewise.
21209 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21210 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21211 Do not define.
21212 (__ASSUME_EVENTFD2): Likewise.
21213 (__ASSUME_SIGNALFD4): Likewise.
21214 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21215 (__ASSUME_32BITUIDS): Likewise.
21216 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21217 (__ASSUME_IPC64): Likewise.
21218 (__ASSUME_ST_INO_64_BIT): Likewise.
21219 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21220 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21221 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21222 (__ASSUME_UTIMES): Do not define.
21223 (__ASSUME_PSELECT): Likewise.
21224 (__ASSUME_PPOLL): Likewise.
21225 (__ASSUME_O_CLOEXEC): Likewise.
21226 (__ASSUME_SOCK_CLOEXEC): Likewise.
21227 (__ASSUME_IN_NONBLOCK): Likewise.
21228 (__ASSUME_PIPE2): Likewise.
21229 (__ASSUME_EVENTFD2): Likewise.
21230 (__ASSUME_SIGNALFD4): Likewise.
21231 (__ASSUME_DUP3): Likewise.
21232 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21233 (__ASSUME_UTIMES): Likewise.
21234 (__ASSUME_O_CLOEXEC): Likewise.
21235 (__ASSUME_SOCK_CLOEXEC): Likewise.
21236 (__ASSUME_IN_NONBLOCK): Likewise.
21237 (__ASSUME_PIPE2): Likewise.
21238 (__ASSUME_EVENTFD2): Likewise.
21239 (__ASSUME_SIGNALFD4): Likewise.
21240 (__ASSUME_DUP3): Likewise.
21241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21242 (__ASSUME_UTIMES): Likewise.
21243 (__ASSUME_O_CLOEXEC): Likewise.
21244 (__ASSUME_SOCK_CLOEXEC): Likewise.
21245 (__ASSUME_IN_NONBLOCK): Likewise.
21246 (__ASSUME_PIPE2): Likewise.
21247 (__ASSUME_EVENTFD2): Likewise.
21248 (__ASSUME_SIGNALFD4): Likewise.
21249 (__ASSUME_DUP3): Likewise.
21250 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21251 Likewise.
21252 (__ASSUME_UTIMES): Likewise.
21253 (__ASSUME_EVENTFD2): Likewise.
21254 (__ASSUME_SIGNALFD4): Likewise.
21255 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21256 (__ASSUME_O_CLOEXEC): Likewise.
21257 (__ASSUME_SOCK_CLOEXEC): Likewise.
21258 (__ASSUME_IN_NONBLOCK): Likewise.
21259 (__ASSUME_PIPE2): Likewise.
21260 (__ASSUME_EVENTFD2): Likewise.
21261 (__ASSUME_SIGNALFD4): Likewise.
21262 (__ASSUME_DUP3): Likewise.
21263 (__ASSUME_UTIMES): Undefine.
21264
21265 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21266 feclearexcept. Remove symbol versioning code.
21267 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21268 symbol versioning code.
21269 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21270 symbol versioning code.
21271 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21272 feupdateenv. Remove symbol versioning code.
21273 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21274 fegetexceptflag. Remove symbol versioning code.
21275 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21276 fesetexceptflag. Remove symbol versioning code.
21277 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21278 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21279 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21280 (__posix_fadvise64_l32): Remove prototype.
21281 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21282 code.
21283
21284 2014-05-13 Roland McGrath <roland@hack.frob.com>
21285
21286 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21287 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21288 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21289 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21290
21291 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21292
21293 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21294 current working directory
21295
21296 2014-05-13 Roland McGrath <roland@hack.frob.com>
21297
21298 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21299 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21300 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21301 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21302 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21303 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21304 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21305 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21306 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21307 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21308 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21309 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21310 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21311 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21312 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21313 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21314 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21315 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21316 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21317 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21318 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21319 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21320 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21321 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21322 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21323 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21324 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21325 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21326 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21327 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21328 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21329 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21330 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21331 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21332 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21333 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21334 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21335 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21336 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21337 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21338 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21339 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21340
21341 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21342 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21343
21344 * sysdeps/unix/sysv/linux/arm/Makefile
21345 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21346 Add rt-aeabi_unwind_cpp_pr1.
21347 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21348 Add nptl-aeabi_unwind_cpp_pr1.
21349 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21350 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21351 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21352 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21353 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21354 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21355
21356 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21357 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21358 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21359 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21360
21361 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21362 Deconditionalize the code that was previously under [RESET_PID].
21363 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21364
21365 * sysdeps/generic/exit-thread.h: New file.
21366 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21367 * include/unistd.h (__exit_thread): Remove declaration.
21368 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21369 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21370 * csu/libc-start.c: Include <exit-thread.h>.
21371 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21372 * nptl/pthread_create.c: Include <exit-thread.h>.
21373 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21374 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21375 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21376 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21377 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21378 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21379 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21380 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21381 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21382 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21383 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21384 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21385 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21386 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21387 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21388 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21389 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21390
21391 2014-05-13 Andreas Schwab <schwab@suse.de>
21392
21393 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21394
21395 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21396
21397 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21398 (__ASSUME_UTIMES): Do not condition on kernel version.
21399 (__ASSUME_PSELECT): Define unconditionally.
21400 (__ASSUME_PPOLL): Likewise.
21401 (__ASSUME_ATFCTS): Likewise.
21402 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21403 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21404 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21405 (__ASSUME_UTIMENSAT): Define unconditionally.
21406 (__ASSUME_PRIVATE_FUTEX): Likewise.
21407 (__ASSUME_FALLOCATE): Likewise.
21408 (__ASSUME_O_CLOEXEC): Likewise.
21409 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21410 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21411 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21412 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21413 (__ASSUME_IN_NONBLOCK): Likewise.
21414 (__ASSUME_PIPE2): Likewise.
21415 (__ASSUME_EVENTFD2): Likewise.
21416 (__ASSUME_SIGNALFD4): Likewise.
21417 (__ASSUME_DUP3): Likewise.
21418 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21419 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21420 (__ASSUME_AT_RANDOM): Likewise.
21421 (__ASSUME_PREADV): Likewise.
21422 (__ASSUME_PWRITEV): Likewise.
21423 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21424 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21425 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21426 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21427 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21428 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21429 (__ASSUME_O_CLOEXEC): Define unconditionally.
21430 (__ASSUME_PSELECT): Do not undefine conditionally.
21431 (__ASSUME_PPOLL): Likewise.
21432 (__ASSUME_ATFCTS): Likewise.
21433 (__ASSUME_SET_ROBUST_LIST): Likewise.
21434 (__ASSUME_UTIMENSAT): Likewise.
21435 (__ASSUME_FDATASYNC): Define unconditionally.
21436 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21437 (__ASSUME_SIGFRAME_V2): Likewise.
21438 )__ASSUME_EVENTFD2): Likewise.
21439 (__ASSUME_SIGNALFD4): Likewise.
21440 (__ASSUME_PSELECT): Do not undefine conditionally.
21441 (__ASSUME_PPOLL): Likewise.
21442 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21443 (__ASSUME_PSELECT): Define unconditionally.
21444 (__ASSUME_PPOLL): Likewise.
21445 (__ASSUME_O_CLOEXEC): Likewise.
21446 (__ASSUME_SOCK_CLOEXEC): Likewise.
21447 (__ASSUME_IN_NONBLOCK): Likewise.
21448 (__ASSUME_PIPE2): Likewise.
21449 (__ASSUME_EVENTFD2): Likewise.
21450 (__ASSUME_SIGNALFD4): Likewise.
21451 (__ASSUME_DUP3): Likewise.
21452 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21453 (__ASSUME_O_CLOEXEC): Likewise.
21454 (__ASSUME_SOCK_CLOEXEC): Likewise.
21455 (__ASSUME_IN_NONBLOCK): Likewise.
21456 (__ASSUME_PIPE2): Likewise.
21457 (__ASSUME_EVENTFD2): Likewise.
21458 (__ASSUME_SIGNALFD4): Likewise.
21459 (__ASSUME_DUP3): Likewise.
21460 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21461 (__ASSUME_EVENTFD2): Likewise.
21462 (__ASSUME_SIGNALFD4): Likewise.
21463 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21464
21465 2014-05-12 Andreas Schwab <schwab@suse.de>
21466
21467 [BZ #16932]
21468 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21469 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21470 than maximum RPC packet size.
21471 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21472 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21473 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21474 (_nss_nis_getservbyport_r): Likewise.
21475
21476 2014-05-12 Will Newton <will.newton@linaro.org>
21477
21478 * malloc/Makefile (tests): Add tst-mallopt.
21479 * malloc/tst-mallopt.c: New file.
21480
21481 2014-05-09 Roland McGrath <roland@hack.frob.com>
21482
21483 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21484 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21485
21486 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21487
21488 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21489 (tst-tlsmod6.so): Likewise.
21490
21491 2014-05-09 Roland McGrath <roland@hack.frob.com>
21492
21493 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21494
21495 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21496
21497 [BZ #16064]
21498 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21499 and <dl-procinfo.h>.
21500 (__fegetenv): Save SSE state in envp->__eip if supported.
21501 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21502 envp->__eip if supported.
21503 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21504 and <dl-procinfo.h>.
21505 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21506 __data_offset and __data_selector in environment to 0. Set SSE
21507 state if supported.
21508 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21509 test-fenv-sse.
21510 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21511 -mfpmath=sse.
21512 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21513
21514 2014-05-09 Will Newton <will.newton@linaro.org>
21515
21516 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21517 and libc_relro_required for ARM.
21518 * sysdeps/arm/preconfigure: Regenerate.
21519
21520 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21521 Stefan Liebler <stli@linux.vnet.ibm.com>
21522
21523 * config.make.in (enable-lock-elision): New Makefile variable.
21524 * configure.ac: Likewise.
21525 * configure: Regenerate.
21526 * sysdeps/s390/configure.ac:
21527 Add check for gcc transactions support.
21528 * sysdeps/s390/configure: Regenerate.
21529 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21530 Build elision files if enabled.
21531 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21532 Add lock elision support for s390.
21533 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21534 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21535 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21536 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21537 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21538 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21539 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21540 Likewise.
21541 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21542 Likewise.
21543 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21544 Likewise.
21545 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21546 Likewise.
21547 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21548 (__lll_timedlock_elision, __lll_lock_elision)
21549 (__lll_unlock_elision, __lll_trylock_elision)
21550 (lll_timedlock_elision, lll_lock_elision)
21551 (lll_unlock_elision, lll_trylock_elision): Add.
21552 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21553 (pthread_mutex_t): Add lock elision support for s390.
21554
21555 2014-05-14 Wilco <wdijkstr@arm.com>
21556
21557 * sysdeps/arm/fclrexcpt.c: Cleanup.
21558 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21559 * sysdeps/arm/feenablxcpt.c: Cleanup.
21560 * sysdeps/arm/fegetenv.c: Cleanup.
21561 * sysdeps/arm/fegetexcept.c: Cleanup.
21562 * sysdeps/arm/fegetround.c: Cleanup.
21563 * sysdeps/arm/feholdexcpt.c: Cleanup.
21564 * sysdeps/arm/fesetenv.c: Cleanup.
21565 * sysdeps/arm/fesetround.c: Cleanup.
21566 * sysdeps/arm/feupdateenv.c: Cleanup.
21567 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21568 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21569 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21570 * sysdeps/arm/ftestexcept.c: Cleanup.
21571 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21572 * sysdeps/arm/setfpucw.c: Cleanup.
21573
21574 2014-05-09 Will Newton <will.newton@linaro.org>
21575
21576 * sysdeps/arm/armv7/strcmp.S: New file.
21577 * NEWS: Mention addition of ARMv7 optimized strcmp.
21578
21579 2014-05-08 Roland McGrath <roland@hack.frob.com>
21580
21581 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21582 look for %.ac rather than %.in.
21583
21584 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21585 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21586 * sysdeps/mach/hurd/configure: Regenerated.
21587 * sysdeps/unix/sysv/linux/configure: Regenerated.
21588
21589 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21590
21591 2014-05-07 Steve Ellcey <sellcey@mips.com>
21592
21593 [BZ# 16922]
21594 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21595 (LONG_SUB): Ditto.
21596 (PTR_SUB): Ditto.
21597
21598 2014-05-07 Andreas Schwab <schwab@suse.de>
21599
21600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21601 when skipping over non-matching result from nscd.
21602
21603 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21604
21605 [BZ #16876]
21606 * nptl/sockperf.c (client): Check socket return value.
21607
21608 [BZ #16877]
21609 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21610 nscd security class.
21611
21612 2014-05-06 Roland McGrath <roland@hack.frob.com>
21613
21614 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21615 * sysdeps/arm/unwind.h: ... here.
21616
21617 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21618
21619 [BZ# 16916]
21620 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21621 Define.
21622
21623 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21624
21625 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21626 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21627 multiarch strncpy for PPC64.
21628 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21629 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21631 multiarch optimizations.
21632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21633 (__libc_ifunc_impl_list): Likewise.
21634 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21636 multiarch stpncpy for PPC64.
21637 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21638 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21639
21640 2014-05-06 Andreas Schwab <schwab@suse.de>
21641
21642 [BZ #16912]
21643 * gmon/mcount.c (_MCOUNT_DECL): Use
21644 atomic_compare_and_exchange_bool_acq instead of
21645 catomic_compare_and_exchange_bool_acq.
21646
21647 2014-05-05 Roland McGrath <roland@hack.frob.com>
21648
21649 * elf/Makefile (others, install-bin): Remove pldd.
21650 (pldd-modules): Variable removed.
21651 ($(objpfx)pldd): Target removed.
21652 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21653 (others, install-bin): Append pldd here.
21654 ($(objpfx)pldd): New target.
21655
21656 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21657 to 0, so the first #if test emitted later doesn't see it undefined.
21658 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21659 * sysdeps/gnu/errlist.c: Regenerated.
21660
21661 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21662
21663 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21664 [libc_hidden_builtin_def]: Define to empty value.
21665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21666 [libc_hidden_builtin_def]: Likewise.
21667 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21668 [libc_hidden_builtin_def]: Likewise.
21669 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21670 [libc_hidden_builtin_def]: Likewise.
21671 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21672 __redirect_memcpy and define ifunc as default hidden symbol.
21673 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21674 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21675
21676 2014-05-04 Adam Conrad <adconrad@0c3.net>
21677
21678 * locale/iso-4217.def: Reintroduce XDR currency.
21679
21680 2014-05-04 Allan McRae <allan@archlinux.org>
21681
21682 * po/eo.po: Update Esperanto translation from translation project.
21683
21684 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21685
21686 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21687 and FEATURE_INDEX_MAX to 1.
21688 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21689
21690 2014-05-01 Steve Ellcey <sellcey@mips.com>
21691
21692 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21693 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21694 * iconvdata/big5.c (ONE_DIRECTION): Define.
21695 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21696 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21697 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21698 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21699 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21700 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21701 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21702 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21703 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21704 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21705 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21706 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21707 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21708 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21709 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21710 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21711 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21712 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21713 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21714 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21715 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21716 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21717 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21718 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21719 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21720 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21721 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21722 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21723 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21724 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21725 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21726 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21727 * iconvdata/johab.c (ONE_DIRECTION): Define.
21728 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21729 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21730 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21731 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21732 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21733 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21734 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21735 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21736 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21737 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21738
21739 2014-05-01 Roland McGrath <roland@hack.frob.com>
21740
21741 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21742 (_IO_JUMPS_OFFSET): Define to 0.
21743
21744 * nptl/sysdeps/pthread/bits/libc-lock.h
21745 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21746 (__libc_lock_define_initialized_recursive): Always define using
21747 initializer. Modern compilers treat uninitialized (implicit zero) and
21748 explicit zero initializers the same (i.e. put the datum in bss).
21749
21750 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21751
21752 * nscd/nscd-client.h: Include <string.h>.
21753
21754 2014-05-01 David S. Miller <davem@davemloft.net>
21755
21756 [BZ #16885]
21757 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21758 multiple zero bytes exist at the end of a string.
21759 Reported by Aurelien Jarno <aurelien@aurel32.net>
21760
21761 * string/test-strcmp.c (check): Add explicit test for situations where
21762 there are multiple zero bytes after the first.
21763
21764 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21765
21766 [BZ #16890]
21767 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21768 when compiling wprintf.
21769 * stdio-common/tstdiomisc.c (t3): New function.
21770 (main): Call it.
21771
21772 2014-05-01 Steve Ellcey <sellcey@mips.com>
21773
21774 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21775 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21776 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21777 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21778
21779 2014-05-01 Steve Ellcey <sellcey@mips.com>
21780
21781 * stdlib/longlong.h: Updated from GCC.
21782
21783 2014-05-01 Will Newton <will.newton@linaro.org>
21784 Bernard Ogden <bernie.ogden@linaro.org>
21785
21786 * NEWS: Update fixed bug list.
21787
21788 [BZ #15119]
21789 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21790
21791 2014-04-30 David S. Miller <davem@davemloft.net>
21792
21793 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21794 (libc_feholdexcept_setround_sparc_ctx): New function.
21795 (libc_fesetenv_sparc_ctx): Likewise.
21796 (libc_feupdateenv_sparc_ctx): Likewise.
21797 (libc_feholdsetround_sparc_ctx): Likewise.
21798 (libc_feholdexcept_setround_ctx): Define.
21799 (libc_feholdexcept_setroundf_ctx): Likewise.
21800 (libc_feholdexcept_setroundl_ctx): Likewise.
21801 (libc_fesetenv_ctx): Likewise.
21802 (libc_fesetenvf_ctx): Likewise.
21803 (libc_fesetenvl_ctx): Likewise.
21804 (libc_feupdateenv_ctx): Likewise.
21805 (libc_feupdateenvf_ctx): Likewise.
21806 (libc_feupdateenvl_ctx): Likewise.
21807 (libc_feresetround_ctx): Likewise.
21808 (libc_feresetroundf_ctx): Likewise.
21809 (libc_feresetroundl_ctx): Likewise.
21810 (libc_feholdsetround_ctx): Likewise.
21811 (libc_feholdsetroundf_ctx): Likewise.
21812 (libc_feholdsetroundl_ctx): Likewise.
21813
21814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21815 with __USE_GNU instead of XOPEN cpp guards.
21816
21817 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21818 0.
21819
21820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21821 with XOPEN cpp guards.
21822
21823 2014-04-30 Julian Brown <julian@codesourcery.com>
21824
21825 [BZ #16888]
21826 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21827 handling.
21828
21829 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21830
21831 [BZ #9894]
21832 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21833 Change to 2.6.32.
21834 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21835 * sysdeps/unix/sysv/linux/configure: Regenerated.
21836 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21837 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21838 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21839 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21840 * README: Update reference to required Linux kernel version.
21841 * manual/install.texi (Linux): Update reference to required Linux
21842 kernel headers version.
21843 * INSTALL: Regenerated.
21844
21845 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21846 header inclusion.
21847 [POSIX] (limits.h): Likewise.
21848 [POSIX] (math.h): Likewise.
21849 [POSIX] (sys/wait.h): Likewise.
21850 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21851 function.
21852 [POSIX] (stddef.h): Do not allow header inclusion.
21853
21854 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21855
21856 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21857
21858 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21859
21860 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21861 Return immediately after lll_futex_wake.
21862
21863 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21864
21865 [BZ #16791]
21866 * nscd/nscd-client.h (datahead_init_common): Initialize entire
21867 structure.
21868 (datahead_init_pos): Call datahead_init_common early.
21869 (datahead_init_neg): Likewise.
21870
21871 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21872 datahead_init_neg): New functions.
21873 * nscd/aicache.c (addhstaiX): Use them.
21874 * nscd/grpcache.c (cache_addgr): Likewise.
21875 * nscd/hstcache.c (cache_addhst): Likewise.
21876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21877 * nscd/netgroupcache.c (do_notfound): Likewise.
21878 (addgetnetgrentX): Likewise.
21879 (addinnetgrX): Likewise.
21880 * nscd/pwdcache.c (cache_addpw): Likewise.
21881 * nscd/servicescache.c (cache_addserv): Likewise.
21882
21883 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21884 Atsushi Onoe <atsushi@onoe.org>
21885
21886 [BZ #14308]
21887 [BZ #12994]
21888 [BZ #13651]
21889 * resolv/res_query.c (__libc_res_nsearch): Return if at least
21890 one response is valid.
21891 * resolv/res_send.c (send_dg): Check for validity of other
21892 response if the current response is a referral.
21893
21894 2014-04-29 Steve Ellcey <sellcey@mips.com>
21895
21896 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21897
21898 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
21899
21900 [BZ #16823]
21901 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21902 Always divide by positive zero when computing -Inf result.
21903 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21904 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21905
21906 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21907
21908 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21909 FPSCR if value do not change.
21910 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21911 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21912 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21913 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21914 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21915 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21916 function.
21917
21918 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
21919
21920 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21921 * sysdeps/unix/sysv/linux/hppa: Move directory from
21922 ports/systeps/unix/sysv/linux/hppa.
21923 * README: Update listing for hppa-*-linux-gnu.
21924
21925 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
21926
21927 [BZ #16754]
21928 * manual/stdio.texi (Hook functions): Fix types of stream hook
21929 functions.
21930 [BZ #16854]
21931 * socket/sys/socket.h: Fix typo in comment.
21932
21933 2014-04-28 Wilco <wdijkstr@arm.com>
21934
21935 * sysdeps/arm/fenv_private.h: New file.
21936 * sysdeps/arm/math_private.h: New file.
21937 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21938
21939 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
21940
21941 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21942 with __int128_t.
21943 (La_x86_64_retval): Likewise.
21944
21945 2014-04-24 Ian Bolton <ian.bolton@arm.com>
21946
21947 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21948 fpsr if value didn't change.
21949 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21950 to fpcr if value didn't change.
21951 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21952 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21953 fpsr or fpcr if value didn't change.
21954 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21955 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21956 fpcr if value didn't change.
21957 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21958 to fpsr if value didn't change.
21959
21960 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21961
21962 * nptl/tst-sem3.c: Use test-skeleton.c
21963 (main): Rename to do_test. Use return instead of
21964 exit.
21965 * nptl/tst-sem4.c: Use test-skeleton.c
21966 (main): Rename to do_test.
21967
21968 2014-04-22 David S. Miller <davem@davemloft.net>
21969
21970 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21971 (struct sigaction): New struct member __glibc_reserved0, change
21972 type of sa_flags to int.
21973
21974 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
21975
21976 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21977 (COUNT_LEADING_ZEROS_0): Define for AArch64.
21978
21979 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21980
21981 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21982 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21983
21984 2014-04-22 Will Newton <will.newton@linaro.org>
21985 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
21986
21987 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21988 (__longjmp): Add longjmp and longjmp_target SystemTap
21989 probes.
21990 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21991 (__sigsetjmp): Add setjmp SystemTap probe.
21992
21993 2014-04-17 Carlos O'Donell <carlos@redhat.com>
21994
21995 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21996 match manual order.
21997
21998 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21999
22000 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22001
22002 * sysdeps/powerpc/fpu/fenv_private.h
22003 (libc_feholdexcept_setroundl_ctx): Define to
22004 libc_feholdexcept_setround_ppc_ctx.
22005 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22006 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22007 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22008 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22009
22010 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22011
22012 * sysdeps/aarch64/math-tests.h: New file.
22013
22014 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22015
22016 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22017 New.
22018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22019 Check and set bit_AVX2_Usable.
22020 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22021 macro.
22022 (bit_AVX2): Likewise.
22023 (index_AVX2_Usable): Likewise.
22024 (CPUID_AVX2): Likewise.
22025 (HAS_AVX2): Likewise.
22026
22027 2014-04-17 Will Newton <will.newton@linaro.org>
22028
22029 * manual/setjmp.texi (System V contexts): Add note that
22030 calling setcontext on a context created by a call to a
22031 signal handler is undefined. Update text to note that
22032 setcontext from a signal handler is possible but not
22033 recommended.
22034
22035 [BZ #16629]
22036 * stdlib/tst-setcontext.c: Include signal.h.
22037 (main): Check that the signal stack before and
22038 after swapcontext is the same.
22039
22040 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22041 Re-implement to restore registers in user code and avoid
22042 rt_sigreturn system call.
22043
22044 2014-04-17 Wilco <wdijkstr@arm.com>
22045
22046 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22047 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22048 * math/test-fenv.c: Skip exception trap tests on targets which only
22049 support non-stop mode.
22050
22051 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22052 Wilco Dijkstra <wilco.dijkstra@arm.com>
22053
22054 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22055 (libc_feholdsetround_aarch64_ctx)
22056 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22057 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22058 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22059 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22060 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22061 (libc_feresetround_noexl_ctx): Define.
22062
22063 2014-04-16 Richard Henderson <rth@redhat.com>
22064
22065 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22066
22067 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22068 unwind tables.
22069
22070 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22071 const from the non-libc, non-ldso copy.
22072
22073 * sysdeps/alpha/libm-test-ulps: Regenerate.
22074
22075 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22076 Wilco Dijkstra <wilco.dijkstra@arm.com>
22077
22078 * sysdeps/aarch64/fpu/math_private.h: New file.
22079
22080 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22081
22082 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22083
22084 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22085
22086 [BZ #16275]
22087 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22088 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22090 Intel MPX bound registers before _dl_profile_fixup.
22091 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22092 registers after _dl_profile_fixup. Save and restore bound
22093 registers bnd0/bnd1 when calling _dl_call_pltexit.
22094 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22095 (LR_BND_OFFSET): Likewise.
22096 (LRV_BND0_OFFSET): Likewise.
22097 (LRV_BND1_OFFSET): Likewise.
22098
22099 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22100
22101 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22102 to...
22103 * sysdeps/mach/hurd/i386/tls.h: ... here.
22104 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22105 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22106 fields.
22107
22108 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22109
22110 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22111
22112 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22113
22114 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22115
22116 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22117
22118 [BZ #14770]
22119 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22120 * sysdeps/s390/configure: Regenerate.
22121
22122 [BZ #16824]
22123 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22124 Set round-to-nearest internally to reduce error accumulation.
22125
22126 2014-04-16 Alan Modra <amodra@gmail.com>
22127
22128 [BZ #16740]
22129 [BZ #16619]
22130 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22131 * math/libm-test.inc (frexp_test_data): Add tests.
22132 * NEWS: Update fixed bug list.
22133
22134 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22135
22136 * benchtests/Makefile: Depend on libraries in build directory.
22137 (bench-math): Separate out math tests.
22138 (bench-pthread): Separate out pthread tests.
22139 (bench): Include math and pthread tests.
22140
22141 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22142
22143 [BZ #16831]
22144 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22145 _dl_debug_initialize.
22146
22147 * configure.ac: Remove SELinux header check.
22148 * configure: Regenerate.
22149 * nscd/selinux.c (perms): Array of const char* to permission names.
22150 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22151 default policy. Call string_to_security_class and string_to_av_perm to
22152 translate strings. Enforce default policy and call avs_has_perm with
22153 results of translated strings.
22154
22155 2014-04-13 David S. Miller <davem@davemloft.net>
22156
22157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22158
22159 2014-04-12 Allan McRae <allan@archlinux.org>
22160
22161 [BZ #16838]
22162 * manual/string.texi (Collation Functions): Fix qsort argument
22163 order in example.
22164 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22165
22166 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22167
22168 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22169 Make the test a no-op if there are no exceptions defined.
22170
22171 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22172
22173 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22174 enable-hardcoded-path-in-tests
22175
22176 2014-04-11 Will Newton <will.newton@linaro.org>
22177
22178 * benchtests/Makefile (extra-objs): Add json-lib.o.
22179 (bench-func): Tidy up JSON output.
22180 * benchtests/bench-skeleton.c: Include json-lib.h.
22181 (main): Use JSON library functions to do output of
22182 benchmark results.
22183 * benchtests/bench-timing-type.c (main): Output the
22184 timing type simply, leaving formatting to the user.
22185 * benchtests/json-lib.c: New file.
22186 * benchtests/json-lib.h: Likewise.
22187
22188 2014-04-11 Torvald Riegel <triegel@redhat.com>
22189
22190 [BZ #15215]
22191 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22192 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22193 memory barriers. Add comments.
22194 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22195 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22196 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22197 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22198 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22199 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22200
22201 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22202
22203 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22204 * sysdeps/s390/s390-64/configure.ac: ... this ...
22205 * sysdeps/s390/configure.ac: ... to here.
22206 * sysdeps/s390/s390-32/configure: Delete file.
22207 * sysdeps/s390/s390-64/configure: Delete file.
22208 * sysdeps/s390/configure: Regenerate.
22209
22210 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22211
22212 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22213
22214 2014-04-11 Will Newton <will.newton@linaro.org>
22215
22216 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22217 to zero if it is not defined elsewhere. (mtrim): Test
22218 the value of MALLOC_DEBUG with #if rather than #ifdef.
22219
22220 2014-04-10 Torvald Riegel <triegel@redhat.com>
22221
22222 * benchtests/pthread_once-inputs: New file.
22223 * benchtests/pthread_once-source.c: New file.
22224 * benchtests/README: Update documentation.
22225
22226 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22227 H.J. Lu <hongjiu.lu@intel.com>
22228
22229 [BZ #16275]
22230 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22231 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22232 * sysdeps/x86_64/configure: Regenerated.
22233 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22234 macro.
22235 (REGISTER_SAVE_RAX): Likewise.
22236 (REGISTER_SAVE_RCX): Likewise.
22237 (REGISTER_SAVE_RDX): Likewise.
22238 (REGISTER_SAVE_RSI): Likewise.
22239 (REGISTER_SAVE_RDI): Likewise.
22240 (REGISTER_SAVE_R8): Likewise.
22241 (REGISTER_SAVE_R9): Likewise.
22242 (REGISTER_SAVE_BND0): Likewise.
22243 (REGISTER_SAVE_BND1): Likewise.
22244 (REGISTER_SAVE_BND2): Likewise.
22245 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22246 bound registers when calling _dl_fixup.
22247
22248 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22249
22250 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22251 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22252 of its definition.
22253 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22254 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22255 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22256 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22257 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22258 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22259 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22260
22261 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22262
22263 [BZ #15514]
22264 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22265 pathconf(_PC_NAME_MAX).
22266
22267 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22268
22269 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22270 Remove macro usage.
22271 (__PTHREAD_SPINS): Move definition to ...
22272 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22273 (__PTHREAD_SPINS): ... here.
22274 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22275 (__PTHREAD_SPIN): Likewise.
22276 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22277 (__PTHREAD_SPIN): Likewise.
22278 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22279 (__PTHREAD_SPIN): Likewise.
22280 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22281 (__PTHREAD_SPIN): Likewise.
22282 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22283 (__PTHREAD_SPIN): Likewise.
22284 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22285 (__PTHREAD_SPIN): Likewise.
22286 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22287 (__PTHREAD_SPIN): Likewise.
22288 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22289 (__PTHREAD_SPIN): Likewise.
22290 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22291 (__PTHREAD_SPIN): Likewise.
22292 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22293 (__PTHREAD_SPIN): Likewise.
22294 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22295 (__PTHREAD_SPIN): Likewise.
22296 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22297 (__PTHREAD_SPIN): Likewise.
22298
22299 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22300 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22301 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22302 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22303 imply folder.
22304 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22305 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22306 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22307 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22308 correct imply path.
22309 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22310 strlen symbol for non multi-arch builds.
22311 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22312 missing hidden_def and weak_alias.
22313
22314 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22315
22316 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22317
22318 2014-04-07 Will Newton <will.newton@linaro.org>
22319
22320 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22321 and contents. [!_LIBC] Remove #ifndef and contents.
22322 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22323 * string/memccpy.c (__memccpy): Use ANSI prototype.
22324 * string/memfrob.c (memfrob): Likewise.
22325 * string/strcoll.c (STRCOLL): Likewise.
22326 * string/strlen.c (strlen): Likewise.
22327 * string/strtok.c (STRTOK): Likewise.
22328 * string/strcat.c: Remove unused #include of memcopy.h.
22329 (strcat): Use ANSI prototype.
22330 * string/strchr.c: Remove unused #include of memcopy.h.
22331 (strchr): Use ANSI prototype.
22332 * string/strcmp.c: Remove unused #include of memcopy.h.
22333 (strcmp): Use ANSI prototype.
22334 * string/strcpy.c: Remove unused #include of memcopy.h.
22335 (strcpy): Use ANSI prototype.
22336
22337 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22338
22339 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22340 * config.make.in (config-extra-cppflags): Set it from
22341 libc_extra_cppflags.
22342 * configure.ac (libc_extra_cflags): Make it accumulate over
22343 configure fragments.
22344 (libc_extra_cppflags): New flag.
22345 * configure. Regenerate.
22346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22347 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22348 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22350
22351 [BZ #16815]
22352 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22353 result for FE_DOWNWARD rounding mode.
22354 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22355 Likewise.
22356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22357
22358 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22359
22360 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22361 in function argument name.
22362
22363 2014-04-03 David Svoboda <svoboda@cert.org>
22364
22365 [BZ #5666]
22366 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22367 explicitly.
22368
22369 2014-04-03 Roland McGrath <roland@hack.frob.com>
22370
22371 * elf/dl-unmap-segments.h: New file.
22372 * sysdeps/generic/ldsodefs.h
22373 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22374 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22375 * elf/dl-fptr.c: Likewise.
22376 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22377 * sysdeps/aarch64/tlsdesc.c: Likewise.
22378 * sysdeps/arm/tlsdesc.c: Likewise.
22379 * sysdeps/i386/tlsdesc.c: Likewise.
22380 * sysdeps/tile/dl-runtime.c: Likewise.
22381 * sysdeps/x86_64/tlsdesc.c: Likewise.
22382 * elf/dl-load.h: New file.
22383 * elf/dl-load.c: Include it.
22384 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22385 Macros moved to dl-load.h.
22386 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22387 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22388 Use _dl_unmap_segments in place of __munmap.
22389 Break out segment-mapping loop into ...
22390 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22391
22392 2014-04-03 Will Newton <will.newton@linaro.org>
22393
22394 * elf/dl-lookup.c (do_lookup_x): Remove comment
22395 referring to nested function and move variable
22396 declarations down to before first use.
22397
22398 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22399
22400 [BZ #16799]
22401 [BZ #16800]
22402 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22403 with 0 numerator.
22404 * math/s_catanf.c (__catanf): Likewise.
22405 * math/s_catanh.c (__catanh): Likewise.
22406 * math/s_catanhf.c (__catanhf): Likewise.
22407 * math/s_catanhl.c (__catanhl): Likewise.
22408 * math/s_catanl.c (__catanl): Likewise.
22409 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22410 by positive zero when computing -Inf result.
22411 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22412 (catanh_test): Likewise.
22413 * sysdeps/i386/fpu/libm-test-ulps: Update.
22414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22415
22416 [BZ #16789]
22417 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22418 instead of using underflowing value in computing result.
22419 * math/s_clog10.c (__clog10): Likewise.
22420 * math/s_clog10f.c (__clog10f): Likewise.
22421 * math/s_clog10l.c (__clog10l): Likewise.
22422 * math/s_clogf.c (__clogf): Likewise.
22423 * math/s_clogl.c (__clogl): Likewise.
22424 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22425 (clog10_test): Likewise.
22426 * sysdeps/i386/fpu/libm-test-ulps: Update.
22427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22428
22429 2014-04-02 Alan Modra <amodra@gmail.com>
22430
22431 [BZ #16739]
22432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22433 output when value is near a power of two. Use int64_t for lx and
22434 remove casts. Use decimal rather than hex exponent constants.
22435 Don't use long double multiplication when double will suffice.
22436 * math/libm-test.inc (nextafter_test_data): Add tests.
22437 * NEWS: Add 16739 and 16786 to bug list.
22438
22439 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22440
22441 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22442
22443 2014-04-01 Will Newton <will.newton@linaro.org>
22444
22445 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22446 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22447
22448 2014-04-01 Florian Weimer <fweimer@redhat.com>
22449
22450 [BZ #13347]
22451 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22452 * nptl/tst-setuid2.c: New file.
22453 * nptl/Makefile (xtests): Add tst-setuid2.
22454
22455 2014-04-01 Alan Modra <amodra@gmail.com>
22456
22457 [BZ #16786]
22458 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22459
22460 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22461
22462 [BZ #6803]
22463 [BZ #6804]
22464 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22465 set errno as appropriate.
22466 * math/w_scalbf.c (__scalbf): Likewise.
22467 * math/w_scalbl.c (__scalbl): Likewise.
22468 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22469 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22470 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22471 Add more NaN tests.
22472
22473 [BZ #16349]
22474 * math/w_atan2.c: Include <errno.h>.
22475 (__atan2): Set errno for result underflowing to zero.
22476 * math/w_atan2f.c: Include <errno.h>.
22477 (__atan2f): Set errno for result underflowing to zero.
22478 * math/w_atan2l.c: Include <errno.h>.
22479 (__atan2l): Set errno for result underflowing to zero.
22480 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22481 tests.
22482 * math/auto-libm-test-out: Regenerated.
22483
22484 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22485
22486 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22487 Encode instruction correctly in little endian.
22488 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22489 Likewise.
22490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22491 Likewise.
22492 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22493 Likewise.
22494 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22495 Likewise.
22496
22497 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22498
22499 [BZ #9894]
22500 * sysdeps/unix/sysv/linux/kernel-features.h
22501 [__sparc__ && !__arch64__ && !__sparc_v9__]
22502 (__ASSUME_SET_ROBUST_LIST): Do not define.
22503 [__sparc__ && !__arch64__ && !__sparc_v9__]
22504 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22505 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22506 Likewise.
22507 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22508 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22509 (__ASSUME_REQUEUE_PI): Likewise.
22510 (__ASSUME_SET_ROBUST_LIST): Likewise.
22511 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22512 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22513 Undefine.
22514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22515 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22516 Likewise.
22517 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22518 Likewise.
22519 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22520 Likewise.
22521 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22522 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22523 Undefine.
22524 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22525 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22526 Likewise.
22527
22528 [BZ #16648]
22529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22530 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22531 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22532
22533 2014-03-31 Will Newton <will.newton@linaro.org>
22534
22535 * benchtests/Makefile (bench): Add ffs and ffsll to list
22536 of tests.
22537 * benchtests/ffs-inputs: New file.
22538 * benchtests/ffsll-inputs: Likewise.
22539
22540 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22541
22542 [BZ #16770]
22543 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22544 too large before casting to int.
22545 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22546 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22547 * math/libm-test.inc (scalb_test_data): Add more tests.
22548
22549 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22550
22551 * benchtests/Makefile (DETAILED_OPT): New make option.
22552 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22553 set.
22554 * benchtests/bench-skeleton.c: Include stdbool.h.
22555 (main): Store and print timings per input.
22556 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22557 member to each argument value.
22558 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22559 (_print_arg_data): Initialize per-input timing to 0.
22560
22561 * benchtests/Makefile (timing-type): New binary.
22562 (bench-clean): Also remove bench-timing-type.
22563 (bench): New target for timing-type.
22564 (bench-func): Print output in JSON format.
22565 * benchtests/bench-skeleton.c (main): Print output in JSON
22566 format.
22567 * benchtests/bench-timing-type.c: New file.
22568 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22569 (TIMING_PRINT_STATS): Remove.
22570 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22571 name separately.
22572
22573 * benchtests/bench-modf.c: Remove.
22574 * benchtests/modf-inputs: New inputs file.
22575
22576 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22577
22578 [BZ #16362]
22579 * math/s_clog10.c (M_PI_LOG10E): New macro.
22580 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22581 imaginary parts are 0.
22582 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22583 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22584 imaginary parts are 0.
22585 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22586 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22587 imaginary parts are 0.
22588 * math/libm-test.inc (clog10_test_data): Update expected results
22589 for when real and imaginary parts are 0.
22590
22591 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22592
22593 * elf/dl-load.c: Finish conversion of __builtin_expect into
22594 __glibc_{un}likely.
22595
22596 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22597
22598 [BZ #16348]
22599 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22600 1+x for argument with exponent below -67.
22601 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22602 Likewise.
22603 * math/auto-libm-test-in: Add more tests of exp.
22604 * math/auto-libm-test-out: Regenerated.
22605
22606 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22607
22608 [BZ #16759]
22609 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22610 (nscd_getnetgrent): Use it.
22611
22612 [BZ #16760]
22613 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22614 of stpcpy.
22615
22616 2014-03-27 Andi Kleen <ak@linux.intel.com>
22617
22618 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22619 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22620 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22621 (lll_robust_unlock): Remove out of line section. Use cfi
22622 intrinsics.
22623 (LLL_STUB_UNWIND_INFO*): Remove.
22624 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22625 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22626 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22627 (lll_robust_unlock): Remove out of line section. Use cfi
22628 intrinsics.
22629 (LLL_STUB_UNWIND_INFO*): Remove.
22630
22631 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22632
22633 [BZ #16758]
22634 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22635 blank values.
22636
22637 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22638
22639 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22640
22641 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22642
22643 [BZ #16198]
22644 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22645 fnstenv.
22646 * math/test-fenv-preserve.c: New file.
22647 * math/Makefile (tests): Add test-fenv-preserve.
22648
22649 2014-03-26 Will Newton <will.newton@linaro.org>
22650
22651 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22652
22653 2014-03-25 Roland McGrath <roland@hack.frob.com>
22654
22655 * scripts/versionlist.awk: Partition the version sets and emit all
22656 GLIBC_* (sorted) before all others (sorted).
22657
22658 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22659
22660 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22661 GLIBC_2.2.5 version.
22662
22663 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22664
22665 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22666 calls.
22667
22668 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22669 previous change.
22670
22671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22672
22673 2014-03-25 Andreas Schwab <schwab@suse.de>
22674
22675 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22676 label to be used after in6ailist is initialized.
22677
22678 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22679
22680 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22681 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22682
22683 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22684
22685 [BZ #16357]
22686 [BZ #16599]
22687 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22688 min_plus_half.
22689 (fp_formats): Update initializers.
22690 (init_fp_formats): Initialize new field.
22691 (output_for_one_input_case): Allow underflow for results up to
22692 min_plus_half.
22693 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22694 * math/auto-libm-test-in: Don't mark some underflows from asin and
22695 atanh as spurious.
22696 * math/auto-libm-test-out: Regenerated.
22697 * sysdeps/i386/fpu/libm-test-ulps: Update.
22698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22699
22700 2014-03-25 Andreas Schwab <schwab@suse.de>
22701
22702 * libio/Makefile (tst-ftell-partial-wide-ENV)
22703 (tst-ftell-active-handler-ENV): Define.
22704
22705 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22706
22707 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22708
22709 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22710
22711 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22712
22713 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22714
22715 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22716 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22717 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22718
22719 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22720
22721 [BZ #16634]
22722 * elf/dl-load.c (open_verify): Add mode parameter.
22723 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22724 (open_path): Change from boolean 'secure' to complete flag 'mode'
22725 (_dl_map_object): Adjust.
22726 * elf/Makefile (tests): Add tst-dlopen-aout.
22727 * elf/tst-dlopen-aout.c: New test.
22728
22729 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22730
22731 [BZ #16714]
22732 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22733 (struct stat): Rename member pad0 to __glibc_reserved0.
22734
22735 [BZ #16712]
22736 * sysdeps/s390/s390-32/bits/wordsize.h
22737 (__WORDSIZE32_SIZE_ULONG): New define.
22738 * sysdeps/s390/s390-64/bits/wordsize.h
22739 (__WORDSIZE32_SIZE_ULONG): Likewise.
22740 * sysdeps/generic/stdint.h (SIZE_MAX):
22741 Define as UL if __WORDSIZE32_SIZE_ULONG.
22742
22743 [BZ #16713]
22744 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22745 (__glibc_reserved0): New variable.
22746 (sa_flags): Change type to int.
22747
22748 * posix/Makefile (before-compile): Use += before-compile instead
22749 of a :=.
22750
22751 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22752 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22753
22754 2014-03-20 Andreas Schwab <schwab@suse.de>
22755
22756 [BZ #16743]
22757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22758 non-matching result from nscd.
22759
22760 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22761
22762 * scripts/bench.py: Moved to ...
22763 * benchtests/scripts/bench.py: ... here.
22764 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22765
22766 2014-03-24 Andreas Schwab <schwab@suse.de>
22767
22768 [BZ #16002]
22769 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22770 alloca_account and account alloca use for struct in6ailist.
22771
22772 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22773
22774 [BZ #16284]
22775 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22776 rounding mode to recompute results that overflow to infinity or
22777 underflow to zero.
22778 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22779 bug 16284.
22780 * math/auto-libm-test-out: Regenerated.
22781 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22782 (ccosh_test): Likewise.
22783 (csin_test_data): Use plus_oflow.
22784 (csin_test): Use ALL_RM_TEST.
22785 (csinh_test_data): Use plus_oflow.
22786 (csinh_test): Use ALL_RM_TEST.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22789
22790 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22791
22792 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22793 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22794 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22795
22796 [BZ #16731]
22797 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22798 when x - 1 is zero.
22799 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22800 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22801 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22802 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22803 argument is 1.
22804 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22805 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22806 zero.
22807 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22808 * sysdeps/i386/fpu/libm-test-ulps: Update.
22809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22810
22811 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22812
22813 * scripts/bench.pl: Remove file.
22814 * scripts/bench.py: New benchmark script.
22815 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22816 * benchtests/README: Mention python dependency.
22817 * scripts/pylintrc: New file.
22818 * scripts/pylint: New file.
22819
22820 * bits/mathdef.h: Use #ifdef instead of #if.
22821 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22822 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22823 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22824 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22825 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22826 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22827
22828 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22829 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22830
22831 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22833 and strpbrk-ppc64 objects.
22834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22835 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22836 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22837 multiarch strpbrk for POWER7.
22838 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22839 multiarch strpbrk for PPC64.
22840 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22841 ifunc selector.
22842 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22843 strpbrk for POWER7.
22844
22845 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22846
22847 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22848 (atan_test): Likewise.
22849 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22850 (atanh_test): Use ALL_RM_TEST.
22851 (atan2_test_data): Likewise.
22852 (cabs_test): Likewise.
22853 (cacosh_test): Likewise.
22854 (carg_test): Likewise.
22855 (casin_test): Likewise.
22856 (casinh_test): Likewise.
22857 (cbrt_test): Likewise.
22858 (csqrt_test): Likewise.
22859 (erf_test): Likewise.
22860 (erfc_test): Likewise.
22861 (pow10_test): Likewise.
22862 (exp2_test): Likewise.
22863 (hypot_test): Likewise.
22864 (j0_test): Likewise.
22865 (j1_test): Likewise.
22866 (lgamma_test): Likewise.
22867 (gamma_test): Likewise.
22868 (sincos_test): Likewise.
22869 (tanh_test): Likewise.
22870 (y0_test): Likewise.
22871 (y1_test): Likewise.
22872 * sysdeps/i386/fpu/libm-test-ulps: Update.
22873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22874
22875 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22876
22877 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22879 and strcspn-ppc64 objects.
22880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22881 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22882 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22883 multiarch strcspn for POWER7.
22884 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22885 multiarch strcspn for PPC64.
22886 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22887 ifunc selector.
22888 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22889 strcspn for POWER7.
22890
22891 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22892
22893 * math/gen-libm-test.pl (generate_testfile): Expect only function
22894 name as argument to AUTO_TESTS_* and pass results for all rounding
22895 modes to parse_args.
22896 (parse_auto_input): Separate inputs of automatic tests from
22897 outputs before storing in %auto_tests.
22898 * math/libm-test.inc (acos_test_data): Update call to
22899 AUTO_TESTS_f_f.
22900 (acos_test): Use ALL_RM_TEST.
22901 (acos_tonearest_test_data): Remove.
22902 (acos_test_tonearest): Likewise.
22903 (acos_towardzero_test_data): Likewise.
22904 (acos_test_towardzero): Likewise.
22905 (acos_downward_test_data): Likewise.
22906 (acos_test_downward): Likewise.
22907 (acos_upward_test_data): Likewise.
22908 (acos_test_upward): Likewise.
22909 (acosh_test_data): Update call to AUTO_TESTS_f_f.
22910 (asin_test_data): Likewise.
22911 (asin_test): Use ALL_RM_TEST.
22912 (asin_tonearest_test_data): Remove.
22913 (asin_test_tonearest): Likewise.
22914 (asin_towardzero_test_data): Likewise.
22915 (asin_test_towardzero): Likewise.
22916 (asin_downward_test_data): Likewise.
22917 (asin_test_downward): Likewise.
22918 (asin_upward_test_data): Likewise.
22919 (asin_test_upward): Likewise.
22920 (asinh_test_data): Update call to AUTO_TESTS_f_f.
22921 (atan_test_data): Likewise.
22922 (atanh_test_data): Likewise.
22923 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22924 (cabs_test_data): Update call to AUTO_TESTS_c_f.
22925 (carg_test_data): Likewise.
22926 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22927 (ccos_test_data): Update call to AUTO_TESTS_c_c.
22928 (ccosh_test_data): Likewise.
22929 (cexp_test_data): Likewise.
22930 (clog_test_data): Likewise.
22931 (clog10_test_data): Likewise.
22932 (cos_test_data): Update call to AUTO_TESTS_f_f.
22933 (cos_test): Use ALL_RM_TEST.
22934 (cos_tonearest_test_data): Remove.
22935 (cos_test_tonearest): Likewise.
22936 (cos_towardzero_test_data): Likewise.
22937 (cos_test_towardzero): Likewise.
22938 (cos_downward_test_data): Likewise.
22939 (cos_test_downward): Likewise.
22940 (cos_upward_test_data): Likewise.
22941 (cos_test_upward): Likewise.
22942 (cosh_test_data): Update call to AUTO_TESTS_f_f.
22943 (cosh_test): Use ALL_RM_TEST.
22944 (cosh_tonearest_test_data): Remove.
22945 (cosh_test_tonearest): Likewise.
22946 (cosh_towardzero_test_data): Likewise.
22947 (cosh_test_towardzero): Likewise.
22948 (cosh_downward_test_data): Likewise.
22949 (cosh_test_downward): Likewise.
22950 (cosh_upward_test_data): Likewise.
22951 (cosh_test_upward): Likewise.
22952 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22953 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22954 (ctan_test_data): Likewise.
22955 (ctan_test): Use ALL_RM_TEST.
22956 (ctan_tonearest_test_data): Remove.
22957 (ctan_test_tonearest): Likewise.
22958 (ctan_towardzero_test_data): Likewise.
22959 (ctan_test_towardzero): Likewise.
22960 (ctan_downward_test_data): Likewise.
22961 (ctan_test_downward): Likewise.
22962 (ctan_upward_test_data): Likewise.
22963 (ctan_test_upward): Likewise.
22964 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22965 (ctanh_test): Use ALL_RM_TEST.
22966 (ctanh_tonearest_test_data): Remove.
22967 (ctanh_test_tonearest): Likewise.
22968 (ctanh_towardzero_test_data): Likewise.
22969 (ctanh_test_towardzero): Likewise.
22970 (ctanh_downward_test_data): Likewise.
22971 (ctanh_test_downward): Likewise.
22972 (ctanh_upward_test_data): Likewise.
22973 (ctanh_test_upward): Likewise.
22974 (erf_test_data): Update call to AUTO_TESTS_f_f.
22975 (erfc_test_data): Likewise.
22976 (exp_test_data): Likewise.
22977 (exp_test): Use ALL_RM_TEST.
22978 (exp_tonearest_test_data): Remove.
22979 (exp_test_tonearest): Likewise.
22980 (exp_towardzero_test_data): Likewise.
22981 (exp_test_towardzero): Likewise.
22982 (exp_downward_test_data): Likewise.
22983 (exp_test_downward): Likewise.
22984 (exp_upward_test_data): Likewise.
22985 (exp_test_upward): Likewise.
22986 (exp10_test_data): Update call to AUTO_TESTS_f_f.
22987 (exp10_test): Use ALL_RM_TEST.
22988 (exp10_tonearest_test_data): Remove.
22989 (exp10_test_tonearest): Likewise.
22990 (exp10_towardzero_test_data): Likewise.
22991 (exp10_test_towardzero): Likewise.
22992 (exp10_downward_test_data): Likewise.
22993 (exp10_test_downward): Likewise.
22994 (exp10_upward_test_data): Likewise.
22995 (exp10_test_upward): Likewise.
22996 (exp2_test_data): Update call to AUTO_TESTS_f_f.
22997 (expm1_test_data): Likewise.
22998 (expm1_test): Use ALL_RM_TEST.
22999 (expm1_tonearest_test_data): Remove.
23000 (expm1_test_tonearest): Likewise.
23001 (expm1_towardzero_test_data): Likewise.
23002 (expm1_test_towardzero): Likewise.
23003 (expm1_downward_test_data): Likewise.
23004 (expm1_test_downward): Likewise.
23005 (expm1_upward_test_data): Likewise.
23006 (expm1_test_upward): Likewise.
23007 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23008 (fma_test): Use ALL_RM_TEST.
23009 (fma_towardzero_test_data): Remove.
23010 (fma_test_towardzero): Likewise.
23011 (fma_downward_test_data): Likewise.
23012 (fma_test_downward): Likewise.
23013 (fma_upward_test_data): Likewise.
23014 (fma_test_upward): Likewise.
23015 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23016 (j0_test_data): Update call to AUTO_TESTS_f_f.
23017 (j1_test_data): Likewise.
23018 (jn_test_data): Update call to AUTO_TESTS_if_f.
23019 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23020 (log_test_data): Update call to AUTO_TESTS_f_f.
23021 (log10_test_data): Likewise.
23022 (log1p_test_data): Likewise.
23023 (log2_test_data): Likewise.
23024 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23025 (pow_tonearest_test_data): Likewise.
23026 (sin_test_data): Update call to AUTO_TESTS_f_f.
23027 (sin_test): Use ALL_RM_TEST.
23028 (sin_tonearest_test_data): Remove.
23029 (sin_test_tonearest): Likewise.
23030 (sin_towardzero_test_data): Likewise.
23031 (sin_test_towardzero): Likewise.
23032 (sin_downward_test_data): Likewise.
23033 (sin_test_downward): Likewise.
23034 (sin_upward_test_data): Likewise.
23035 (sin_test_upward): Likewise.
23036 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23037 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23038 (sinh_test): Use ALL_RM_TEST.
23039 (sinh_tonearest_test_data): Remove.
23040 (sinh_test_tonearest): Likewise.
23041 (sinh_towardzero_test_data): Likewise.
23042 (sinh_test_towardzero): Likewise.
23043 (sinh_downward_test_data): Likewise.
23044 (sinh_test_downward): Likewise.
23045 (sinh_upward_test_data): Likewise.
23046 (sinh_test_upward): Likewise.
23047 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23048 (sqrt_test): Use ALL_RM_TEST.
23049 (sqrt_tonearest_test_data): Remove.
23050 (sqrt_test_tonearest): Likewise.
23051 (sqrt_towardzero_test_data): Likewise.
23052 (sqrt_test_towardzero): Likewise.
23053 (sqrt_downward_test_data): Likewise.
23054 (sqrt_test_downward): Likewise.
23055 (sqrt_upward_test_data): Likewise.
23056 (sqrt_test_upward): Likewise.
23057 (tan_test_data): Update call to AUTO_TESTS_f_f.
23058 (tan_test): Use ALL_RM_TEST.
23059 (tan_tonearest_test_data): Remove.
23060 (tan_test_tonearest): Likewise.
23061 (tan_towardzero_test_data): Likewise.
23062 (tan_test_towardzero): Likewise.
23063 (tan_downward_test_data): Likewise.
23064 (tan_test_downward): Likewise.
23065 (tan_upward_test_data): Likewise.
23066 (tan_test_upward): Likewise.
23067 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23068 (tgamma_test_data): Likewise.
23069 (y0_test_data): Likewise.
23070 (y1_test_data): Likewise.
23071 (yn_test_data): Update call to AUTO_TESTS_if_f.
23072 (main): Do not call removed functions.
23073
23074 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23075
23076 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23077 (ldexp_test_data): Remove.
23078 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23079 scalbn_test_data.
23080 (scalb_test): Use ALL_RM_TEST.
23081
23082 2014-03-19 Andreas Schwab <schwab@suse.de>
23083
23084 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23085
23086 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23087
23088 [BZ #16649]
23089 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23090 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23092 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23093 (__ASSUME_PREADV): Undefine.
23094 (__ASSUME_PWRITEV): Likewise.
23095
23096 2014-03-18 Roland McGrath <roland@hack.frob.com>
23097
23098 * bits/mman-linux.h: Add comment about non-Linux use.
23099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23100 bits/mman-linux.h resting place.
23101
23102 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23103 * bits/mman-linux.h: ... here.
23104
23105 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23106
23107 * conform/conformtest.pl: Add standard definition when calling C
23108 preprocessor on data files.
23109 (checknamespace): Remove unused variable.
23110
23111 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23112
23113 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23114 minus_oflow, plus_uflow and minus_uflow in expected results.
23115 * math/libm-test.inc (scalbn_test_data): Add more tests of
23116 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23117 minus_uflow.
23118 (scalbn_test): Use ALL_RM_TEST.
23119 (scalbln_test_data): Add more tests of negative arguments. Use
23120 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23121 (scalbln_test): Use ALL_RM_TEST.
23122
23123 2014-03-18 Roland McGrath <roland@hack.frob.com>
23124
23125 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23126
23127 2014-03-18 Will Newton <will.newton@linaro.org>
23128
23129 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23130 inaccurate comment.
23131
23132 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23133
23134 * Makerules [!subdir] (check-abi): Exit with error status if a
23135 test failed.
23136
23137 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23138
23139 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23140 for rint. Include results for all rounding modes.
23141 (nearbyint_test): Use ALL_RM_TEST.
23142 (rint_test_data): Include all tests used for nearbyint.
23143
23144 2014-03-17 Will Newton <will.newton@linaro.org>
23145
23146 * nptl/sysdeps/pthread/pthread.h: Revert previous
23147 change.
23148
23149 * sysdeps/generic/ldsodefs.h: Revert previous
23150 change.
23151
23152 * libio/genops.c: Revert previous change.
23153 * libio/libioP.h: Likewise.
23154 * stdio-common/vfprintf.c: Likewise.
23155
23156 * sysdeps/generic/math_private.h: Revert previous
23157 change.
23158
23159 * sysdeps/generic/math_private.h: Check whether
23160 HAVE_RM_CTX is defined with #ifdef rather
23161 than #if.
23162
23163 * argp/argp-fmtstream.h: Check whether
23164 __STRICT_ANSI__ is defined with #ifdef rather
23165 than #if.
23166 * argp/argp.h: Likewise.
23167
23168 * libio/genops.c: Check whether
23169 _IO_JUMPS_OFFSET is defined with #ifdef rather
23170 than #if.
23171 * libio/libioP.h: Likewise.
23172 * stdio-common/vfprintf.c: Likewise.
23173
23174 * sysdeps/generic/ldsodefs.h: Check whether
23175 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23176 than #if.
23177
23178 * nptl/sysdeps/pthread/pthread.h: Check
23179 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23180 its value.
23181
23182 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23183
23184 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23185 setting O_APPEND.
23186 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23187 test case.
23188
23189 [BZ #16680]
23190 * libio/fileops.c (_IO_file_open): Seek to end of file but
23191 don't cache the offset.
23192 (get_file_offset): Remove function.
23193 (do_ftell): Use cached offset when available.
23194 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23195 don't cache the offset.
23196 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23197 case.
23198 (do_one_test): Call it.
23199 (do_ftell_test): Fix up expected old offset for a+ mode.
23200 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23201 available.
23202
23203 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23204 up test status with function return status.
23205 (do_write_test): Likewise.
23206 (do_append_test): Likewise.
23207
23208 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23209 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23210 Remove.
23211
23212 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23213
23214 * math/gen-libm-test.pl (parse_args): Handle results specified for
23215 each rounding mode separately.
23216 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23217 tests and results from lrint_tonearest_test_data,
23218 lrint_towardzero_test_data, lrint_downward_test_data and
23219 lrint_upward_test_data.
23220 (lrint_test): Use ALL_RM_TEST.
23221 (lrint_tonearest_test_data): Remove.
23222 (lrint_test_tonearest): Likewise.
23223 (lrint_towardzero_test_data): Likewise.
23224 (lrint_test_towardzero): Likewise.
23225 (lrint_downward_test_data): Likewise.
23226 (lrint_test_downward): Likewise.
23227 (lrint_upward_test_data): Likewise.
23228 (lrint_test_upward): Likewise.
23229 (llrint_test_data): Merge in per-rounding-mode tests and results
23230 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23231 llrint_downward_test_data and llrint_upward_test_data.
23232 (llrint_test): Use ALL_RM_TEST.
23233 (llrint_tonearest_test_data): Remove.
23234 (llrint_test_tonearest): Likewise.
23235 (llrint_towardzero_test_data): Likewise.
23236 (llrint_test_towardzero): Likewise.
23237 (llrint_downward_test_data): Likewise.
23238 (llrint_test_downward): Likewise.
23239 (llrint_upward_test_data): Likewise.
23240 (llrint_test_upward): Likewise.
23241 (rint_test_data): Merge in per-rounding-mode tests and results
23242 from rint_tonearest_test_data, rint_towardzero_test_data,
23243 rint_downward_test_data and rint_upward_test_data. Add
23244 per-rounding-mode results for tests not in those arrays.
23245 (rint_test): Use ALL_RM_TEST.
23246 (rint_tonearest_test_data): Remove.
23247 (rint_test_tonearest): Likewise.
23248 (rint_towardzero_test_data): Likewise.
23249 (rint_test_towardzero): Likewise.
23250 (rint_downward_test_data): Likewise.
23251 (rint_test_downward): Likewise.
23252 (rint_upward_test_data): Likewise.
23253 (rint_test_upward): Likewise.
23254 (main): Don't call removed functions.
23255
23256 2014-03-14 Roland McGrath <roland@hack.frob.com>
23257
23258 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23259 "Compiled on ..." crapola. It is anti-useful.
23260
23261 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23262
23263 * scripts/evaluate-test.sh: Handle fourth argument to determine
23264 whether test run should stop on failure.
23265 * Makeconfig (stop-on-test-failure): New variable.
23266 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23267 $(stop-on-test-failure).
23268 * Makefile (tests): Give a summary of results from testing and
23269 exit with failure status if they include an ERROR or FAIL.
23270 (xtests): Likewise.
23271 * manual/install.texi (Configuring and compiling): Mention
23272 stop-on-test-failure=y.
23273 * INSTALL: Regenerated.
23274
23275 2014-03-14 Roland McGrath <roland@hack.frob.com>
23276
23277 * scripts/versionlist.awk: New file.
23278 * Makerules [$(build-shared) = yes]
23279 (postclean-generated): Add Versions.def, not Versions.def.v and
23280 Versions.def.v.i.
23281 ($(common-objpfx)Versions.def.v.i): Target removed.
23282 ($(common-objpfx)Versions.def): New target.
23283 ($(common-objpfx)Versions.all): Depend on that rather that
23284 $(common-objpfx)Versions.def.v.
23285 * Versions.def: File removed.
23286
23287 * Makeconfig (+gccwarn): Add -Wundef.
23288 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23289 a dl-sysdep.h breaking its contract.
23290 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23291 * include/stackinfo.h: New file.
23292 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23293 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23294 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23295 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23296 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23297 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23298 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23299 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23300 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23301 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23302 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23303 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23304 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23305 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23306 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23307
23308 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23309
23310 [BZ #16707]
23311 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23312 implementation.
23313 * math/libm-test.inc (round_test_data): Add more tests.
23314
23315 [BZ #16706]
23316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23317 implementation.
23318 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23319
23320 [BZ #16701]
23321 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23322 implementation.
23323 * math/libm-test.inc (ceil_test_data): Add more tests.
23324
23325 * math/libm-test.inc (trunc_test_data): Add more tests related to
23326 BZ#16414.
23327
23328 2014-03-14 Roland McGrath <roland@hack.frob.com>
23329
23330 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23331 with #if rather than #ifdef.
23332 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23333
23334 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23335
23336 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23337 first. Disable AVX-512 GCC support if assembler doesn't support
23338 it.
23339 * sysdeps/x86_64/configure: Regenerated.
23340
23341 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23342
23343 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23344 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23345 (__old_pthread_attr_setstack): Likewise.
23346 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23347 [!_STACK_GROWS_DOWN]: Likewise.
23348
23349 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23350
23351 * config.make.in (have-bash2): Delete.
23352 * configure.ac (libc_cv_have_bash2): Delete.
23353 * configure: Regenerate.
23354 * elf/Makefile (common-ldd-rewrite): Rename to ...
23355 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23356 (sh-ldd-rewrite): Delete.
23357 (bash-ldd-rewrite): Delete.
23358 (have-bash2): Delete checks.
23359 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23360 ldd-rewrite.
23361
23362 * config.make.in (have-ksh): Delete.
23363 (KSH): Delete.
23364 * configure.ac (libc_cv_have_ksh): Delete.
23365 * configure: Regenerate.
23366
23367 * elf/Makefile: Delete $(have-ksh) check.
23368 ($(objpfx)sotruss): Change KSH to BASH.
23369 * elf/sotruss.ksh: Rename to ...
23370 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23371 function style to match POSIX. Drop ksh vim mode setting.
23372
23373 * manual/time.texi (Specifying the Time Zone with TZ): Change
23374 Tuesday to Thursday.
23375
23376 * debug/tst-longjmp_chk2.c: Update header comment.
23377 (stackoverflow_handler): Add comment. Call assert on pass value.
23378
23379 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23380
23381 [BZ #16194]
23382 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23383 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23384 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23385 (La_x86_64_vector): Add zmm.
23386 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23387 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23388 ($(objpfx)tst-audit10): New target.
23389 ($(objpfx)tst-audit10.out): Likewise.
23390 (tst-audit10-ENV): New.
23391 (AVX512-CFLAGS): Likewise.
23392 (CFLAGS-tst-audit10.c): Likewise.
23393 (CFLAGS-tst-auditmod10a.c): Likewise.
23394 (CFLAGS-tst-auditmod10b.c): Likewise.
23395 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23396 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23397 * sysdeps/x86_64/configure: Regenerated.
23398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23399 AVX-512 zmm register support.
23400 (_dl_x86_64_save_sse): Likewise.
23401 (_dl_x86_64_restore_sse): Likewise.
23402 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23403 size vector registers.
23404 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23405 (ZMM_SIZE): Likewise.
23406 * sysdeps/x86_64/tst-audit10.c: New file.
23407 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23408 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23409
23410 2014-03-13 Roland McGrath <roland@hack.frob.com>
23411
23412 * configure.ac (HAVE_EHDR_START): New check.
23413 * configure: Regenerated.
23414 * config.h.in (HAVE_EHDR_START): New #undef.
23415 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23416 assuming the lowest-addressed segment maps the start of the file.
23417
23418 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23419
23420 * INSTALL: Regenerated.
23421
23422 2014-03-13 Will Newton <will.newton@linaro.org>
23423
23424 * manual/setjmp.texi (System V contexts): Improve
23425 clarity and grammar of documentation.
23426
23427 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23428
23429 [BZ #16381]
23430 * elf/Makefile (tests): Add tst-pie2.
23431 (tests-pie): Add tst-pie2.
23432 * elf/tst-pie2.c: New file.
23433 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23434 for ET_EXEC.
23435 * elf/rtld.c (map_doit): Load executable as lt_executable.
23436 (dl_main): Likewise.
23437
23438 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23439
23440 [BZ #16642]
23441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23442 (__ASSUME_PSELECT): Undefine.
23443
23444 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23445
23446 [BZ #16689]
23447 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23448 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23449 static build.
23450 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23451 selector for static builds.
23452
23453 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23454
23455 [BZ #16695]
23456 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23457 key in the buffer.
23458
23459 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23460
23461 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23462 IFUNC selector for static builds.
23463
23464 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23465
23466 * sysdeps/mips/math_private.h [__mips_hard_float]
23467 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23468 libc_feresetround_mips_ctx.
23469 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23470 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23471 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23472
23473 [BZ #16677]
23474 * math/s_nextafter.c (__nextafter): Do not return value from
23475 overflowing computation.
23476 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23477 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23478 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23479 Likewise.
23480 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23481 Likewise.
23482 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23483 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23484
23485 2014-03-11 Roland McGrath <roland@hack.frob.com>
23486
23487 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23488 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23489 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23490 the new mov targetting sp.
23491
23492 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23493
23494 [BZ #16683]
23495 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23496 Define it for static builds as well.
23497 (NO_BZERO_IMPL): Likewise.
23498
23499 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23500
23501 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23502 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23503 multiarch strspn for PPC64.
23504 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23505 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23507 (__libc_ifunc_impl_list): Likewise.
23508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23509 multiarch optimizations
23510 * string/strspn.c (strspn): Using macro to redefine symbol name.
23511
23512 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23513 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23514
23515 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23516 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23517 multiarch strncat for PPC64.
23518 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23519 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23521 (__libc_ifunc_impl_list): Likewise.
23522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23523 multiarch optimizations
23524
23525 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23526
23527 [BZ #16639]
23528 * nscd/nscd.service: Make service type forking.
23529
23530 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23531
23532 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23533 sign in non default rounding modes.
23534 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23535
23536 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23537
23538 * math/libm-test.inc (ALL_RM_TEST): New macro.
23539 (ceil_test): Use ALL_RM_TEST.
23540 (cimag_test): Likewise.
23541 (conj_test): Likewise.
23542 (copysign_test): Likewise.
23543 (cproj_test): Likewise.
23544 (creal_test): Likewise.
23545 (fabs_test): Likewise.
23546 (floor_test): Likewise.
23547 (fmax_test): Likewise.
23548 (fmin_test): Likewise.
23549 (fmod_test): Likewise.
23550 (fpclassify_test): Likewise.
23551 (frexp_test): Likewise.
23552 (ilogb_test): Likewise.
23553 (isfinite_test): Likewise.
23554 (finite_test): Likewise.
23555 (isgreater_test): Likewise.
23556 (isgreaterequal_test): Likewise.
23557 (isinf_test): Likewise.
23558 (isless_test): Likewise.
23559 (islessequal_test): Likewise.
23560 (islessgreater_test): Likewise.
23561 (isnan_test): Likewise.
23562 (isnormal_test): Likewise.
23563 (issignaling_test): Likewise.
23564 (isunordered_test): Likewise.
23565 (logb_test): Likewise.
23566 (logb_downward_test_data): Remove.
23567 (logb_test_downward): Likewise.
23568 (lround_test): Use ALL_RM_TEST.
23569 (llround_test): Likewise.
23570 (modf_test): Likewise.
23571 (nexttoward_test): Likewise.
23572 (remainder_test): Likewise.
23573 (drem_test): Likewise.
23574 (remainder_tonearest_test_data): Likewise.
23575 (remainder_test_tonearest): Likewise.
23576 (drem_test_tonearest): Likewise.
23577 (remainder_towardzero_test_data): Likewise.
23578 (remainder_test_towardzero): Likewise.
23579 (drem_test_towardzero): Likewise.
23580 (remainder_downward_test_data): Likewise.
23581 (remainder_test_downward): Likewise.
23582 (drem_test_downward): Likewise.
23583 (remainder_upward_test_data): Likewise.
23584 (remainder_test_upward): Likewise.
23585 (drem_test_upward): Likewise.
23586 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23587 (round_test): Use ALL_RM_TEST.
23588 (signbit_test): Likewise.
23589 (trunc_test): Likewise.
23590 (significand_test): Likewise.
23591 (main): Don't call removed functions.
23592
23593 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23594
23595 [BZ #16674]
23596 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23597 || __USE_XOPEN2K8].
23598 (ILL_ILLOPN): Likewise.
23599 (ILL_ILLADR): Likewise.
23600 (ILL_ILLTRP): Likewise.
23601 (ILL_PRVOPC): Likewise.
23602 (ILL_PRVREG): Likewise.
23603 (ILL_COPROC): Likewise.
23604 (ILL_BADSTK): Likewise.
23605 (FPE_INTDIV): Likewise.
23606 (FPE_INTOVF): Likewise.
23607 (FPE_FLTDIV): Likewise.
23608 (FPE_FLTOVF): Likewise.
23609 (FPE_FLTUND): Likewise.
23610 (FPE_FLTRES): Likewise.
23611 (FPE_FLTINV): Likewise.
23612 (FPE_FLTSUB): Likewise.
23613 (SEGV_MAPERR): Likewise.
23614 (SEGV_ACCERR): Likewise.
23615 (BUS_ADRALN): Likewise.
23616 (BUS_ADRERR): Likewise.
23617 (BUS_OBJERR): Likewise.
23618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23619 (TRAP_TRACE): Likewise.
23620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23621 __USE_XOPEN2K8].
23622 (CLD_KILLED): Likewise.
23623 (CLD_DUMPED): Likewise.
23624 (CLD_TRAPPED): Likewise.
23625 (CLD_STOPPED): Likewise.
23626 (CLD_CONTINUED): Likewise.
23627 (POLL_IN): Likewise.
23628 (POLL_OUT): Likewise.
23629 (POLL_MSG): Likewise.
23630 (POLL_ERR): Likewise.
23631 (POLL_PRI): Likewise.
23632 (POLL_HUP): Likewise.
23633 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23634 Likewise.
23635 (ILL_ILLOPN): Likewise.
23636 (ILL_ILLADR): Likewise.
23637 (ILL_ILLTRP): Likewise.
23638 (ILL_PRVOPC): Likewise.
23639 (ILL_PRVREG): Likewise.
23640 (ILL_COPROC): Likewise.
23641 (ILL_BADSTK): Likewise.
23642 (FPE_INTDIV): Likewise.
23643 (FPE_INTOVF): Likewise.
23644 (FPE_FLTDIV): Likewise.
23645 (FPE_FLTOVF): Likewise.
23646 (FPE_FLTUND): Likewise.
23647 (FPE_FLTRES): Likewise.
23648 (FPE_FLTINV): Likewise.
23649 (FPE_FLTSUB): Likewise.
23650 (SEGV_MAPERR): Likewise.
23651 (SEGV_ACCERR): Likewise.
23652 (BUS_ADRALN): Likewise.
23653 (BUS_ADRERR): Likewise.
23654 (BUS_OBJERR): Likewise.
23655 (BUS_MCEERR_AR): Likewise.
23656 (BUS_MCEERR_AO): Likewise.
23657 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23658 (TRAP_TRACE): Likewise.
23659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23660 __USE_XOPEN2K8].
23661 (CLD_KILLED): Likewise.
23662 (CLD_DUMPED): Likewise.
23663 (CLD_TRAPPED): Likewise.
23664 (CLD_STOPPED): Likewise.
23665 (CLD_CONTINUED): Likewise.
23666 (POLL_IN): Likewise.
23667 (POLL_OUT): Likewise.
23668 (POLL_MSG): Likewise.
23669 (POLL_ERR): Likewise.
23670 (POLL_PRI): Likewise.
23671 (POLL_HUP): Likewise.
23672 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23673 (ILL_ILLOPN): Likewise.
23674 (ILL_ILLADR): Likewise.
23675 (ILL_ILLTRP): Likewise.
23676 (ILL_PRVOPC): Likewise.
23677 (ILL_PRVREG): Likewise.
23678 (ILL_COPROC): Likewise.
23679 (ILL_BADSTK): Likewise.
23680 (FPE_INTDIV): Likewise.
23681 (FPE_INTOVF): Likewise.
23682 (FPE_FLTDIV): Likewise.
23683 (FPE_FLTOVF): Likewise.
23684 (FPE_FLTUND): Likewise.
23685 (FPE_FLTRES): Likewise.
23686 (FPE_FLTINV): Likewise.
23687 (FPE_FLTSUB): Likewise.
23688 (SEGV_MAPERR): Likewise.
23689 (SEGV_ACCERR): Likewise.
23690 (BUS_ADRALN): Likewise.
23691 (BUS_ADRERR): Likewise.
23692 (BUS_OBJERR): Likewise.
23693 (BUS_MCEERR_AR): Likewise.
23694 (BUS_MCEERR_AO): Likewise.
23695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23696 (TRAP_TRACE): Likewise.
23697 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23698 __USE_XOPEN2K8].
23699 (CLD_KILLED): Likewise.
23700 (CLD_DUMPED): Likewise.
23701 (CLD_TRAPPED): Likewise.
23702 (CLD_STOPPED): Likewise.
23703 (CLD_CONTINUED): Likewise.
23704 (POLL_IN): Likewise.
23705 (POLL_OUT): Likewise.
23706 (POLL_MSG): Likewise.
23707 (POLL_ERR): Likewise.
23708 (POLL_PRI): Likewise.
23709 (POLL_HUP): Likewise.
23710 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23711 Likewise.
23712 (ILL_ILLOPN): Likewise.
23713 (ILL_ILLADR): Likewise.
23714 (ILL_ILLTRP): Likewise.
23715 (ILL_PRVOPC): Likewise.
23716 (ILL_PRVREG): Likewise.
23717 (ILL_COPROC): Likewise.
23718 (ILL_BADSTK): Likewise.
23719 (ILL_BADIADDR): Likewise.
23720 (ILL_BREAK): Likewise.
23721 (FPE_INTDIV): Likewise.
23722 (FPE_INTOVF): Likewise.
23723 (FPE_FLTDIV): Likewise.
23724 (FPE_FLTOVF): Likewise.
23725 (FPE_FLTUND): Likewise.
23726 (FPE_FLTRES): Likewise.
23727 (FPE_FLTINV): Likewise.
23728 (FPE_FLTSUB): Likewise.
23729 (FPE_DECOVF): Likewise.
23730 (FPE_DECDIV): Likewise.
23731 (FPE_DECERR): Likewise.
23732 (FPE_INVASC): Likewise.
23733 (FPE_INVDEC): Likewise.
23734 (SEGV_MAPERR): Likewise.
23735 (SEGV_ACCERR): Likewise.
23736 (SEGV_PSTKOVF): Likewise.
23737 (BUS_ADRALN): Likewise.
23738 (BUS_ADRERR): Likewise.
23739 (BUS_OBJERR): Likewise.
23740 (BUS_MCEERR_AR): Likewise.
23741 (BUS_MCEERR_AO): Likewise.
23742 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23743 (TRAP_TRACE): Likewise.
23744 (TRAP_BRANCH): Likewise.
23745 (TRAP_HWBKPT): Likewise.
23746 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23747 __USE_XOPEN2K8].
23748 (CLD_KILLED): Likewise.
23749 (CLD_DUMPED): Likewise.
23750 (CLD_TRAPPED): Likewise.
23751 (CLD_STOPPED): Likewise.
23752 (CLD_CONTINUED): Likewise.
23753 (POLL_IN): Likewise.
23754 (POLL_OUT): Likewise.
23755 (POLL_MSG): Likewise.
23756 (POLL_ERR): Likewise.
23757 (POLL_PRI): Likewise.
23758 (POLL_HUP): Likewise.
23759 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23760 (ILL_ILLOPN): Likewise.
23761 (ILL_ILLADR): Likewise.
23762 (ILL_ILLTRP): Likewise.
23763 (ILL_PRVOPC): Likewise.
23764 (ILL_PRVREG): Likewise.
23765 (ILL_COPROC): Likewise.
23766 (ILL_BADSTK): Likewise.
23767 (FPE_INTDIV): Likewise.
23768 (FPE_INTOVF): Likewise.
23769 (FPE_FLTDIV): Likewise.
23770 (FPE_FLTOVF): Likewise.
23771 (FPE_FLTUND): Likewise.
23772 (FPE_FLTRES): Likewise.
23773 (FPE_FLTINV): Likewise.
23774 (FPE_FLTSUB): Likewise.
23775 (SEGV_MAPERR): Likewise.
23776 (SEGV_ACCERR): Likewise.
23777 (BUS_ADRALN): Likewise.
23778 (BUS_ADRERR): Likewise.
23779 (BUS_OBJERR): Likewise.
23780 (BUS_MCEERR_AR): Likewise.
23781 (BUS_MCEERR_AO): Likewise.
23782 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23783 (TRAP_TRACE): Likewise.
23784 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23785 __USE_XOPEN2K8].
23786 (CLD_KILLED): Likewise.
23787 (CLD_DUMPED): Likewise.
23788 (CLD_TRAPPED): Likewise.
23789 (CLD_STOPPED): Likewise.
23790 (CLD_CONTINUED): Likewise.
23791 (POLL_IN): Likewise.
23792 (POLL_OUT): Likewise.
23793 (POLL_MSG): Likewise.
23794 (POLL_ERR): Likewise.
23795 (POLL_PRI): Likewise.
23796 (POLL_HUP): Likewise.
23797 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23798 (ILL_ILLOPN): Likewise.
23799 (ILL_ILLADR): Likewise.
23800 (ILL_ILLTRP): Likewise.
23801 (ILL_PRVOPC): Likewise.
23802 (ILL_PRVREG): Likewise.
23803 (ILL_COPROC): Likewise.
23804 (ILL_BADSTK): Likewise.
23805 (FPE_INTDIV): Likewise.
23806 (FPE_INTOVF): Likewise.
23807 (FPE_FLTDIV): Likewise.
23808 (FPE_FLTOVF): Likewise.
23809 (FPE_FLTUND): Likewise.
23810 (FPE_FLTRES): Likewise.
23811 (FPE_FLTINV): Likewise.
23812 (FPE_FLTSUB): Likewise.
23813 (SEGV_MAPERR): Likewise.
23814 (SEGV_ACCERR): Likewise.
23815 (BUS_ADRALN): Likewise.
23816 (BUS_ADRERR): Likewise.
23817 (BUS_OBJERR): Likewise.
23818 (BUS_MCEERR_AR): Likewise.
23819 (BUS_MCEERR_AO): Likewise.
23820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23821 (TRAP_TRACE): Likewise.
23822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23823 __USE_XOPEN2K8].
23824 (CLD_KILLED): Likewise.
23825 (CLD_DUMPED): Likewise.
23826 (CLD_TRAPPED): Likewise.
23827 (CLD_STOPPED): Likewise.
23828 (CLD_CONTINUED): Likewise.
23829 (POLL_IN): Likewise.
23830 (POLL_OUT): Likewise.
23831 (POLL_MSG): Likewise.
23832 (POLL_ERR): Likewise.
23833 (POLL_PRI): Likewise.
23834 (POLL_HUP): Likewise.
23835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23836 (ILL_ILLOPN): Likewise.
23837 (ILL_ILLADR): Likewise.
23838 (ILL_ILLTRP): Likewise.
23839 (ILL_PRVOPC): Likewise.
23840 (ILL_PRVREG): Likewise.
23841 (ILL_COPROC): Likewise.
23842 (ILL_BADSTK): Likewise.
23843 (FPE_INTDIV): Likewise.
23844 (FPE_INTOVF): Likewise.
23845 (FPE_FLTDIV): Likewise.
23846 (FPE_FLTOVF): Likewise.
23847 (FPE_FLTUND): Likewise.
23848 (FPE_FLTRES): Likewise.
23849 (FPE_FLTINV): Likewise.
23850 (FPE_FLTSUB): Likewise.
23851 (SEGV_MAPERR): Likewise.
23852 (SEGV_ACCERR): Likewise.
23853 (BUS_ADRALN): Likewise.
23854 (BUS_ADRERR): Likewise.
23855 (BUS_OBJERR): Likewise.
23856 (BUS_MCEERR_AR): Likewise.
23857 (BUS_MCEERR_AO): Likewise.
23858 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23859 (TRAP_TRACE): Likewise.
23860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23861 __USE_XOPEN2K8].
23862 (CLD_KILLED): Likewise.
23863 (CLD_DUMPED): Likewise.
23864 (CLD_TRAPPED): Likewise.
23865 (CLD_STOPPED): Likewise.
23866 (CLD_CONTINUED): Likewise.
23867 (POLL_IN): Likewise.
23868 (POLL_OUT): Likewise.
23869 (POLL_MSG): Likewise.
23870 (POLL_ERR): Likewise.
23871 (POLL_PRI): Likewise.
23872 (POLL_HUP): Likewise.
23873 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23874 (ILL_ILLOPN): Likewise.
23875 (ILL_ILLADR): Likewise.
23876 (ILL_ILLTRP): Likewise.
23877 (ILL_PRVOPC): Likewise.
23878 (ILL_PRVREG): Likewise.
23879 (ILL_COPROC): Likewise.
23880 (ILL_BADSTK): Likewise.
23881 (ILL_DBLFLT): Likewise.
23882 (ILL_HARDWALL): Likewise.
23883 (FPE_INTDIV): Likewise.
23884 (FPE_INTOVF): Likewise.
23885 (FPE_FLTDIV): Likewise.
23886 (FPE_FLTOVF): Likewise.
23887 (FPE_FLTUND): Likewise.
23888 (FPE_FLTRES): Likewise.
23889 (FPE_FLTINV): Likewise.
23890 (FPE_FLTSUB): Likewise.
23891 (SEGV_MAPERR): Likewise.
23892 (SEGV_ACCERR): Likewise.
23893 (BUS_ADRALN): Likewise.
23894 (BUS_ADRERR): Likewise.
23895 (BUS_OBJERR): Likewise.
23896 (BUS_MCEERR_AR): Likewise.
23897 (BUS_MCEERR_AO): Likewise.
23898 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23899 (TRAP_TRACE): Likewise.
23900 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23901 __USE_XOPEN2K8].
23902 (CLD_KILLED): Likewise.
23903 (CLD_DUMPED): Likewise.
23904 (CLD_TRAPPED): Likewise.
23905 (CLD_STOPPED): Likewise.
23906 (CLD_CONTINUED): Likewise.
23907 (POLL_IN): Likewise.
23908 (POLL_OUT): Likewise.
23909 (POLL_MSG): Likewise.
23910 (POLL_ERR): Likewise.
23911 (POLL_PRI): Likewise.
23912 (POLL_HUP): Likewise.
23913 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23914 (ILL_ILLOPN): Likewise.
23915 (ILL_ILLADR): Likewise.
23916 (ILL_ILLTRP): Likewise.
23917 (ILL_PRVOPC): Likewise.
23918 (ILL_PRVREG): Likewise.
23919 (ILL_COPROC): Likewise.
23920 (ILL_BADSTK): Likewise.
23921 (FPE_INTDIV): Likewise.
23922 (FPE_INTOVF): Likewise.
23923 (FPE_FLTDIV): Likewise.
23924 (FPE_FLTOVF): Likewise.
23925 (FPE_FLTUND): Likewise.
23926 (FPE_FLTRES): Likewise.
23927 (FPE_FLTINV): Likewise.
23928 (FPE_FLTSUB): Likewise.
23929 (SEGV_MAPERR): Likewise.
23930 (SEGV_ACCERR): Likewise.
23931 (BUS_ADRALN): Likewise.
23932 (BUS_ADRERR): Likewise.
23933 (BUS_OBJERR): Likewise.
23934 (BUS_MCEERR_AR): Likewise.
23935 (BUS_MCEERR_AO): Likewise.
23936 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23937 (TRAP_TRACE): Likewise.
23938 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23939 __USE_XOPEN2K8].
23940 (CLD_KILLED): Likewise.
23941 (CLD_DUMPED): Likewise.
23942 (CLD_TRAPPED): Likewise.
23943 (CLD_STOPPED): Likewise.
23944 (CLD_CONTINUED): Likewise.
23945 (POLL_IN): Likewise.
23946 (POLL_OUT): Likewise.
23947 (POLL_MSG): Likewise.
23948 (POLL_ERR): Likewise.
23949 (POLL_PRI): Likewise.
23950 (POLL_HUP): Likewise.
23951 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23952 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23953
23954 [BZ #16670]
23955 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23956 before #include of <time.h>.
23957 [!__USE_XOPEN2K] (__need_timespec): Likewise.
23958 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23959 (test-xfail-UNIX98/sched.h/conform): Likewise.
23960
23961 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
23962
23963 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23964 error absence of trapping exception support.
23965 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23966
23967 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23968
23969 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23970 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23971 * timezone/Makefile (testdata): Move definition above include of
23972 Rules.
23973 (test-zones): New variable.
23974 (tests-special): Add zone files.
23975 (build-testdata): Use $(evaluate-test).
23976
23977 * elf/Makefile (tests-special): Rename tests to end with .out.
23978 ($(objpfx)noload-mem): Likewise.
23979 ($(objpfx)tst-leaks1-mem): Likewise.
23980 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23981 * iconv/Makefile (xtests-special): Change test-iconvconfig to
23982 $(objpfx)test-iconvconfig.out.
23983 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
23984 set -e inside subshell and redirect output to file.
23985 * iconvdata/Makefile (generated): Rename tests to end with .out.
23986 Correct type.
23987 (tests-special): Rename tests to end with .out.
23988 ($(objpfx)mtrace-tst-loading): Likewise.
23989 * intl/Makefile (generated): Likewise.
23990 (tests-special): Likewise.
23991 ($(objpfx)mtrace-tst-gettext): Likewise.
23992 * misc/Makefile (generated): Likewise.
23993 (tests-special): Likewise.
23994 ($(objpfx)tst-error1-mem): Likewise.
23995 * nptl/Makefile (tests-special): Likewise.
23996 ($(objpfx)tst-stack3-mem): Likewise.
23997 (generated): Likewise.
23998 * posix/Makefile (generated): Likewise.
23999 (tests-special): Likewise.
24000 (xtests-special): Likewise.
24001 ($(objpfx)tst-fnmatch-mem): Likewise.
24002 ($(objpfx)bug-regex2-mem): Likewise.
24003 ($(objpfx)bug-regex14-mem): Likewise.
24004 ($(objpfx)bug-regex21-mem): Likewise.
24005 ($(objpfx)bug-regex31-mem): Likewise.
24006 ($(objpfx)tst-vfork3-mem): Likewise.
24007 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24008 ($(objpfx)tst-pcre-mem): Likewise.
24009 ($(objpfx)tst-boost-mem): Likewise.
24010 ($(objpfx)bug-ga2-mem): Likewise.
24011 ($(objpfx)bug-glob2-mem): Likewise.
24012 * resolv/Makefile (generate): Likewise.
24013 (tests-special): Likewise.
24014 (xtests-special): Likewise.
24015 (generated): Likewise.
24016 ($(objpfx)mtrace-tst-leaks): Likewise.
24017 ($(objpfx)mtrace-tst-leaks2): Likewise.
24018
24019 * scripts/merge-test-results.sh: New file.
24020 * Makefile (tests-special-notdir): New variable.
24021 (tests): Run merge-test-results.sh.
24022 (xtests): Likewise.
24023 * Rules (tests-special-notdir): New variable.
24024 (xtests-special-notdir): Likewise.
24025 (tests): Run merge-test-results.sh
24026 (xtests): Likewise.
24027
24028 * Makeconfig (test-xfail-name): New variable.
24029 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24030 compute variable name for expected failures.
24031 * conform/Makefile (conformtest-headers-data): New variable.
24032 (conformtest-standards): Likewise.
24033 (conformtest-headers-ISO): Likewise.
24034 (conformtest-headers-ISO99): Likewise.
24035 (conformtest-headers-ISO11): Likewise.
24036 (conformtest-headers-POSIX): Likewise.
24037 (conformtest-headers-XPG3): Likewise.
24038 (conformtest-headers-XPG4): Likewise.
24039 (conformtest-headers-UNIX98): Likewise.
24040 (conformtest-headers-XOPEN2K): Likewise.
24041 (conformtest-headers-POSIX2008): Likewise.
24042 (conformtest-headers-XOPEN2K8): Likewise.
24043 (conformtest-header-list-base): Likewise.
24044 (conformtest-header-list-tests): Likewise.
24045 (conformtest-header-base): Likewise.
24046 (conformtest-header-tests): Likewise.
24047 (tests-special): Add $(conformtest-header-list-tests). If
24048 [$(fast-check) && !$(cross-compiling)], add
24049 $(conformtest-header-tests) instead of
24050 $(objpfx)run-conformtest.out.
24051 (generated): Add $(conformtest-header-list-base). If
24052 [$(fast-check) && !$(cross-compiling)], add
24053 $(conformtest-header-base). Remove previous setting.
24054 ($(conformtest-header-list-tests)): New target.
24055 (test-xfail-run-conformtest): Remove variable.
24056 ($(objpfx)run-conformtest.out): Remove target.
24057 (test-xfail-ISO11/complex.h/conform): New variable.
24058 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24059 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24060 (test-xfail-XPG3/varargs.h/conform): Likewise.
24061 (test-xfail-XPG4/varargs.h/conform): Likewise.
24062 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24063 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24064 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24065 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24066 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24067 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24068 (test-xfail-XPG3/ftw.h/conform): Likewise.
24069 (test-xfail-XPG3/grp.h/conform): Likewise.
24070 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24071 (test-xfail-XPG3/limits.h/conform): Likewise.
24072 (test-xfail-XPG3/pwd.h/conform): Likewise.
24073 (test-xfail-XPG3/search.h/conform): Likewise.
24074 (test-xfail-XPG3/signal.h/conform): Likewise.
24075 (test-xfail-XPG3/stdio.h/conform): Likewise.
24076 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24077 (test-xfail-XPG3/string.h/conform): Likewise.
24078 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24079 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24080 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24081 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24082 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24083 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24084 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24085 (test-xfail-XPG3/termios.h/conform): Likewise.
24086 (test-xfail-XPG3/time.h/conform): Likewise.
24087 (test-xfail-XPG3/unistd.h/conform): Likewise.
24088 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24089 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24090 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24091 (test-xfail-XPG4/netdb.h/conform): Likewise.
24092 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24093 (test-xfail-XPG4/signal.h/conform): Likewise.
24094 (test-xfail-XPG4/stdio.h/conform): Likewise.
24095 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24096 (test-xfail-XPG4/stropts.h/conform): Likewise.
24097 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24098 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24099 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24100 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24101 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24102 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24103 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24104 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24105 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24106 (test-xfail-XPG4/termios.h/conform): Likewise.
24107 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24108 (test-xfail-XPG4/unistd.h/conform): Likewise.
24109 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24110 (test-xfail-POSIX/sched.h/conform): Likewise.
24111 (test-xfail-POSIX/signal.h/conform): Likewise.
24112 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24113 (test-xfail-POSIX/tar.h/conform): Likewise.
24114 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24115 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24116 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24117 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24118 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24119 (test-xfail-UNIX98/sched.h/conform): Likewise.
24120 (test-xfail-UNIX98/signal.h/conform): Likewise.
24121 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24122 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24123 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24124 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24125 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24126 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24127 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24128 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24129 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24130 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24131 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24132 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24133 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24134 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24135 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24136 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24137 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24138 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24139 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24140 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24141 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24142 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24143 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24144 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24145 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24146 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24147 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24148 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24149 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24150 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24151 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24152 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24153 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24154 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24155 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24156 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24157 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24158 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24159 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24160 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24161 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24162 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24163 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24164 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24165 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24166 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24167 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24168 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24169 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24170 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24171 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24172 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24173 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24174 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24175 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24176 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24177 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24178 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24179 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24180 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24181 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24182 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24183 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24184 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24185 (conformtest-cc-flags): Likewise.
24186 ($(conformtest-header-tests): New target.
24187 * conform/check-header-lists.sh: New file.
24188 * conform/run-conformtest.sh: Remove.
24189
24190 * conform/conformtest.pl: Allow ' and \ in values given for
24191 constants.
24192 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24193 inclusion.
24194 [POSIX] (sys/types.h): Likewise.
24195 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24196 inclusion.
24197 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24198 inclusion.
24199 * conform/data/signal.h-data (SIGIO): Remove expectation.
24200 [XPG3] (SIGBUS): Do not expect.
24201 [POSIX || XPG3] (SIGPOLL): Likewise.
24202 [POSIX || XPG3] (SIGPROF): Likewise.
24203 [POSIX || XPG3] (SIGSYS): Likewise.
24204 [XPG3] (SIGTRAP): Likewise.
24205 [POSIX || XPG3] (SIGURG): Likewise.
24206 [POSIX || XPG3] (SIGVTALRM): Likewise.
24207 [POSIX || XPG3] (SIGXCPU): Likewise.
24208 [POSIX || XPG3] (SIGXFSZ): Likewise.
24209 [POSIX] (SA_SIGINFO): Expect.
24210 [XPG3] (siginfo_t): Do not expect type or contents.
24211 [POSIX] (si_pid): Do not expect element.
24212 [POSIX] (si_uid): Likewise.
24213 [POSIX] (si_addr): Likewise.
24214 [POSIX] (si_status): Likewise.
24215 [POSIX] (si_band): Likewise.
24216 [XPG4] (si_value): Likewise.
24217 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24218 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24219 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24220 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24221 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24222 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24223 [POSIX || XPG3] (ILL_COPROC): Likewise.
24224 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24225 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24226 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24227 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24228 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24229 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24230 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24231 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24232 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24233 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24234 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24235 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24236 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24237 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24238 [POSIX || XPG3] (CLD_EXITED): Likewise.
24239 [POSIX || XPG3] (CLD_KILLED): Likewise.
24240 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24241 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24242 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24243 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24244 [POSIX || XPG3] (POLL_IN): Likewise.
24245 [POSIX || XPG3] (POLL_OUT): Likewise.
24246 [POSIX || XPG3] (POLL_MSG): Likewise.
24247 [POSIX || XPG3] (POLL_ERR): Likewise.
24248 [POSIX || XPG3] (POLL_PRI): Likewise.
24249 [POSIX || XPG3] (POLL_HUP): Likewise.
24250 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24251 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24252 (SIG*): Do not allow.
24253 [XPG3] (si_*): Likewise.
24254 [XPG3] (SI_*): Likewise.
24255 [XPG3 || XPG4] (sigev_*): Likewise.
24256 [XPG3 || XPG4] (SIGEV_*): Likewise.
24257 [XPG3 || XPG4] (sival_*): Likewise.
24258 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24259 [POSIX || XPG3] (BUS_*): Likewise.
24260 [POSIX || XPG3] (CLD_*): Likewise.
24261 [POSIX || XPG3] (FPE_*): Likewise.
24262 [POSIX || XPG3] (ILL_*): Likewise.
24263 [POSIX || XPG3] (POLL_*): Likewise.
24264 [POSIX || XPG3] (SEGV_*): Likewise.
24265 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24266 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24267 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24268 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24269 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24270 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24271 Specify type and value.
24272 (TVERSLEN): Likewise.
24273 (REGTYPE): Likewise.
24274 (AREGTYPE): Likewise.
24275 (LNKTYPE): Likewise.
24276 (SYMTYPE): Likewise.
24277 (CHRTYPE): Likewise.
24278 (BLKTYPE): Likewise.
24279 (DIRTYPE): Likewise.
24280 (FIFOTYPE): Likewise.
24281 (CONTTYPE): Likewise.
24282 (TSUID): Likewise.
24283 (TSGID): Likewise.
24284 (TSVTX): Likewise.
24285 (TUREAD): Likewise.
24286 (TUWRITE): Likewise.
24287 (TUEXEC): Likewise.
24288 (TGREAD): Likewise.
24289 (TGWRITE): Likewise.
24290 (TGEXEC): Likewise.
24291 (TOREAD): Likewise.
24292 (TOWRITE): Likewise.
24293 (TOEXEC): Likewise.
24294 [POSIX] (TSVTX): Expect constant.
24295
24296 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24297
24298 * Makefile (tests): Change dependencies to ....
24299 (tests-special): ... additions to this variable.
24300 (tests): Depend on $(tests-special).
24301 * Makerules (check-abi-list): New variable.
24302 (check-abi): Depend on $(check-abi-list).
24303 [$(subdir) = elf] (tests-special): Add
24304 $(objpfx)check-abi-libc.out.
24305 [$(build-shared) = yes && subdir] (tests-special): Add
24306 $(check-abi-list).
24307 [$(build-shared) = yes && subdir] (tests): Do not depend on
24308 check-abi.
24309 * Rules (tests): Depend on $(tests-special).
24310 (xtests): Depend on $(xtests-special).
24311 * catgets/Makefile (tests): Change dependencies to ....
24312 (tests-special): ... additions to this variable.
24313 * conform/Makefile (tests): Change dependencies to ....
24314 (tests-special): ... additions to this variable.
24315 * elf/Makefile (tests): Change dependencies to ....
24316 (tests-special): ... additions to this variable.
24317 * grp/Makefile (tests): Change dependencies to ....
24318 (tests-special): ... additions to this variable.
24319 * iconv/Makefile (xtests): Change dependencies to ....
24320 (xtests-special): ... additions to this variable.
24321 * iconvdata/Makefile (tests): Change dependencies to ....
24322 (tests-special): ... additions to this variable.
24323 * intl/Makefile (tests): Change dependencies to ....
24324 (tests-special): ... additions to this variable. Also add
24325 $(objpfx)tst-gettext.out.
24326 * io/Makefile (tests): Change dependencies to ....
24327 (tests-special): ... additions to this variable.
24328 * libio/Makefile (tests): Change dependencies to ....
24329 (tests-special): ... additions to this variable.
24330 * malloc/Makefile (tests): Change dependencies to ....
24331 (tests-special): ... additions to this variable.
24332 * misc/Makefile (tests): Change dependencies to ....
24333 (tests-special): ... additions to this variable.
24334 * nptl/Makefile (tests): Change dependencies to ....
24335 (tests-special): ... additions to this variable.
24336 * nptl_db/Makefile (tests): Change dependencies to ....
24337 (tests-special): ... additions to this variable.
24338 * posix/Makefile (tests): Change dependencies to ....
24339 (tests-special): ... additions to this variable.
24340 (xtests): Change dependencies to ....
24341 (xtests-special): ... additions to this variable.
24342 * resolv/Makefile (tests): Change dependencies to ....
24343 (tests-special): ... additions to this variable.
24344 (xtests): Change dependencies to ....
24345 (xtests-special): ... additions to this variable.
24346 * stdio-common/Makefile (tests): Change dependencies to ....
24347 (tests-special): ... additions to this variable.
24348 (do-tst-unbputc): Remove target.
24349 (do-tst-printf): Likewise.
24350 * stdlib/Makefile (tests): Change dependencies to ....
24351 (tests-special): ... additions to this variable.
24352 * string/Makefile (tests): Change dependencies to ....
24353 (tests-special): ... additions to this variable.
24354 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24355 (tests-special): ... additions to this variable.
24356
24357 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24358 whole file.
24359 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24360 whole file.
24361 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24362 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24363
24364 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24365 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24366 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24367 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24368 * conform/data/libgen.h-data [XPG3]: Likewise.
24369 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24370 * conform/data/ndbm.h-data [XPG3]: Likewise.
24371 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24372 * conform/data/netdb.h-data [XPG3]: Likewise.
24373 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24374 * conform/data/poll.h-data [XPG3]: Likewise.
24375 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24376 * conform/data/strings.h-data [XPG3]: Likewise.
24377 * conform/data/stropts.h-data [XPG3]: Likewise.
24378 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24379 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24380 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24381 Likewise.
24382 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24383 * conform/data/sys/time.h-data [XPG3]: Likewise.
24384 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24385 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24386 * conform/data/sys/un.h-data [XPG3]: Likewise.
24387 * conform/data/syslog.h-data [XPG3]: Likewise.
24388 * conform/data/ucontext.h-data [XPG3]: Likewise.
24389 * conform/data/utmpx.h-data [XPG3]: Likewise.
24390 * conform/data/varargs.h-data [UNIX98]: Enable file.
24391
24392 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24393
24394 * math/libm-test.inc (struct test_f_f_data): Move expected results
24395 into structure for each rounding mode.
24396 (struct test_ff_f_data): Likewise.
24397 (struct test_ff_f_data_nexttoward): Likewise.
24398 (struct test_fi_f_data): Likewise.
24399 (struct test_fl_f_data): Likewise.
24400 (struct test_if_f_data): Likewise.
24401 (struct test_fff_f_data): Likewise.
24402 (struct test_c_f_data): Likewise.
24403 (struct test_f_f1_data): Likewise.
24404 (struct test_fF_f1_data): Likewise.
24405 (struct test_ffI_f1_data): Likewise.
24406 (struct test_c_c_data): Likewise.
24407 (struct test_cc_c_data): Likewise.
24408 (struct test_f_i_data): Likewise.
24409 (struct test_ff_i_data): Likewise.
24410 (struct test_f_l_data): Likewise.
24411 (struct test_f_L_data): Likewise.
24412 (struct test_fFF_11_data): Likewise.
24413 (RM_): New macro.
24414 (RM_FE_DOWNWARD): Likewise.
24415 (RM_FE_TONEAREST): Likewise.
24416 (RM_FE_TOWARDZERO): Likewise.
24417 (RM_FE_UPWARD): Likewise.
24418 (RUN_TEST_LOOP_f_f): Update references to expected results.
24419 (RUN_TEST_LOOP_2_f): Likewise.
24420 (RUN_TEST_LOOP_fff_f): Likewise.
24421 (RUN_TEST_LOOP_c_f): Likewise.
24422 (RUN_TEST_LOOP_f_f1): Likewise.
24423 (RUN_TEST_LOOP_fF_f1): Likewise.
24424 (RUN_TEST_LOOP_fI_f1): Likewise.
24425 (RUN_TEST_LOOP_ffI_f1): Likewise.
24426 (RUN_TEST_LOOP_c_c): Likewise.
24427 (RUN_TEST_LOOP_cc_c): Likewise.
24428 (RUN_TEST_LOOP_f_i): Likewise.
24429 (RUN_TEST_LOOP_f_i_tg): Likewise.
24430 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24431 (RUN_TEST_LOOP_f_b): Likewise.
24432 (RUN_TEST_LOOP_f_b_tg): Likewise.
24433 (RUN_TEST_LOOP_f_l): Likewise.
24434 (RUN_TEST_LOOP_f_L): Likewise.
24435 (RUN_TEST_LOOP_fFF_11): Likewise.
24436 * math/gen-libm-test.pl (parse_args): Output four copies of
24437 expected results for each test.
24438
24439 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24440 (__ASSUME_UTIMES): Remove.
24441 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24442 (__ASSUME_UTIMES): Likewise.
24443
24444 * math/gen-auto-libm-tests.c: Update comment on output format.
24445 (output_for_one_input_case): Generate before-rounding and
24446 after-rounding information as conditions on output flags not
24447 floating-point format.
24448 * math/auto-libm-test-out: Regenerated.
24449 * math/gen-libm-test.pl (cond_value): New function.
24450 (or_cond_value): Use cond_value.
24451 (generate_testfile): Handle conditional exceptions.
24452
24453 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24454
24455 * math/libm-test.inc (max_valid_error): New variable.
24456 (init_max_error): Take new argument specifying whether function
24457 results are exactly determined. Set max_valid_error and bound
24458 other variables for errors based on this argument.
24459 (set_max_error): Do not record results above max_valid_error.
24460 (check_float_internal): Only accept errors of up to 0.5ulps if
24461 also at most max_valid_error.
24462 (START): Take new argument EXACT and pass it to init_max_error.
24463 (acos_test): Update call to START.
24464 (acos_test_tonearest): Likewise.
24465 (acos_test_towardzero): Likewise.
24466 (acos_test_downward): Likewise.
24467 (acos_test_upward): Likewise.
24468 (acosh_test): Likewise.
24469 (asin_test): Likewise.
24470 (asin_test_tonearest): Likewise.
24471 (asin_test_towardzero): Likewise.
24472 (asin_test_downward): Likewise.
24473 (asin_test_upward): Likewise.
24474 (asinh_test): Likewise.
24475 (atan_test): Likewise.
24476 (atanh_test): Likewise.
24477 (atan2_test): Likewise.
24478 (cabs_test): Likewise.
24479 (cacos_test): Likewise.
24480 (cacosh_test): Likewise.
24481 (carg_test): Likewise.
24482 (casin_test): Likewise.
24483 (casinh_test): Likewise.
24484 (catan_test): Likewise.
24485 (catanh_test): Likewise.
24486 (cbrt_test): Likewise.
24487 (ccos_test): Likewise.
24488 (ccosh_test): Likewise.
24489 (ceil_test): Likewise.
24490 (cexp_test): Likewise.
24491 (cimag_test): Likewise.
24492 (clog_test): Likewise.
24493 (clog10_test): Likewise.
24494 (conj_test): Likewise.
24495 (copysign_test): Likewise.
24496 (cos_test): Likewise.
24497 (cos_test_tonearest): Likewise.
24498 (cos_test_towardzero): Likewise.
24499 (cos_test_downward): Likewise.
24500 (cos_test_upward): Likewise.
24501 (cosh_test): Likewise.
24502 (cosh_test_tonearest): Likewise.
24503 (cosh_test_towardzero): Likewise.
24504 (cosh_test_downward): Likewise.
24505 (cosh_test_upward): Likewise.
24506 (cpow_test): Likewise.
24507 (cproj_test): Likewise.
24508 (creal_test): Likewise.
24509 (csin_test): Likewise.
24510 (csinh_test): Likewise.
24511 (csqrt_test): Likewise.
24512 (ctan_test): Likewise.
24513 (ctan_test_tonearest): Likewise.
24514 (ctan_test_towardzero): Likewise.
24515 (ctan_test_downward): Likewise.
24516 (ctan_test_upward): Likewise.
24517 (ctanh_test): Likewise.
24518 (ctanh_test_tonearest): Likewise.
24519 (ctanh_test_towardzero): Likewise.
24520 (ctanh_test_downward): Likewise.
24521 (ctanh_test_upward): Likewise.
24522 (erf_test): Likewise.
24523 (erfc_test): Likewise.
24524 (exp_test): Likewise.
24525 (exp_test_tonearest): Likewise.
24526 (exp_test_towardzero): Likewise.
24527 (exp_test_downward): Likewise.
24528 (exp_test_upward): Likewise.
24529 (exp10_test): Likewise.
24530 (exp10_test_tonearest): Likewise.
24531 (exp10_test_towardzero): Likewise.
24532 (exp10_test_downward): Likewise.
24533 (exp10_test_upward): Likewise.
24534 (pow10_test): Likewise.
24535 (exp2_test): Likewise.
24536 (expm1_test): Likewise.
24537 (expm1_test_tonearest): Likewise.
24538 (expm1_test_towardzero): Likewise.
24539 (expm1_test_downward): Likewise.
24540 (expm1_test_upward): Likewise.
24541 (fabs_test): Likewise.
24542 (fdim_test): Likewise.
24543 (floor_test): Likewise.
24544 (fma_test): Likewise.
24545 (fma_test_towardzero): Likewise.
24546 (fma_test_downward): Likewise.
24547 (fma_test_upward): Likewise.
24548 (fmax_test): Likewise.
24549 (fmin_test): Likewise.
24550 (fmod_test): Likewise.
24551 (fpclassify_test): Likewise.
24552 (frexp_test): Likewise.
24553 (hypot_test): Likewise.
24554 (ilogb_test): Likewise.
24555 (isfinite_test): Likewise.
24556 (finite_test): Likewise.
24557 (isgreater_test): Likewise.
24558 (isgreaterequal_test): Likewise.
24559 (isinf_test): Likewise.
24560 (isless_test): Likewise.
24561 (islessequal_test): Likewise.
24562 (islessgreater_test): Likewise.
24563 (isnan_test): Likewise.
24564 (isnormal_test): Likewise.
24565 (issignaling_test): Likewise.
24566 (isunordered_test): Likewise.
24567 (j0_test): Likewise.
24568 (j1_test): Likewise.
24569 (jn_test): Likewise.
24570 (ldexp_test): Likewise.
24571 (lgamma_test): Likewise.
24572 (gamma_test): Likewise.
24573 (lrint_test): Likewise.
24574 (lrint_test_tonearest): Likewise.
24575 (lrint_test_towardzero): Likewise.
24576 (lrint_test_downward): Likewise.
24577 (lrint_test_upward): Likewise.
24578 (llrint_test): Likewise.
24579 (llrint_test_tonearest): Likewise.
24580 (llrint_test_towardzero): Likewise.
24581 (llrint_test_downward): Likewise.
24582 (llrint_test_upward): Likewise.
24583 (log_test): Likewise.
24584 (log10_test): Likewise.
24585 (log1p_test): Likewise.
24586 (log2_test): Likewise.
24587 (logb_test): Likewise.
24588 (logb_test_downward): Likewise.
24589 (lround_test): Likewise.
24590 (llround_test): Likewise.
24591 (modf_test): Likewise.
24592 (nearbyint_test): Likewise.
24593 (nextafter_test): Likewise.
24594 (nexttoward_test): Likewise.
24595 (pow_test): Likewise.
24596 (pow_test_tonearest): Likewise.
24597 (pow_test_towardzero): Likewise.
24598 (pow_test_downward): Likewise.
24599 (pow_test_upward): Likewise.
24600 (remainder_test): Likewise.
24601 (drem_test): Likewise.
24602 (remainder_test_tonearest): Likewise.
24603 (drem_test_tonearest): Likewise.
24604 (remainder_test_towardzero): Likewise.
24605 (drem_test_towardzero): Likewise.
24606 (remainder_test_downward): Likewise.
24607 (drem_test_downward): Likewise.
24608 (remainder_test_upward): Likewise.
24609 (drem_test_upward): Likewise.
24610 (remquo_test): Likewise.
24611 (rint_test): Likewise.
24612 (rint_test_tonearest): Likewise.
24613 (rint_test_towardzero): Likewise.
24614 (rint_test_downward): Likewise.
24615 (rint_test_upward): Likewise.
24616 (round_test): Likewise.
24617 (scalb_test): Likewise.
24618 (scalbn_test): Likewise.
24619 (scalbln_test): Likewise.
24620 (signbit_test): Likewise.
24621 (sin_test): Likewise.
24622 (sin_test_tonearest): Likewise.
24623 (sin_test_towardzero): Likewise.
24624 (sin_test_downward): Likewise.
24625 (sin_test_upward): Likewise.
24626 (sincos_test): Likewise.
24627 (sinh_test): Likewise.
24628 (sinh_test_tonearest): Likewise.
24629 (sinh_test_towardzero): Likewise.
24630 (sinh_test_downward): Likewise.
24631 (sinh_test_upward): Likewise.
24632 (sqrt_test): Likewise.
24633 (sqrt_test_tonearest): Likewise.
24634 (sqrt_test_towardzero): Likewise.
24635 (sqrt_test_downward): Likewise.
24636 (sqrt_test_upward): Likewise.
24637 (tan_test): Likewise.
24638 (tan_test_tonearest): Likewise.
24639 (tan_test_towardzero): Likewise.
24640 (tan_test_downward): Likewise.
24641 (tan_test_upward): Likewise.
24642 (tanh_test): Likewise.
24643 (tgamma_test): Likewise.
24644 (trunc_test): Likewise.
24645 (y0_test): Likewise.
24646 (y1_test): Likewise.
24647 (yn_test): Likewise.
24648 (significand_test): Likewise.
24649
24650 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24651 individual tests in comment.
24652 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24653 (prev_max_error): New variable.
24654 (prev_real_max_error): Likewise.
24655 (prev_imag_max_error): Likewise.
24656 (compare_ulp_data): Don't refer to test names in comment.
24657 (find_test_ulps): Remove function.
24658 (find_function_ulps): Likewise.
24659 (find_complex_function_ulps): Likewise.
24660 (init_max_error): Take function name as argument. Look up ulps
24661 for that function.
24662 (print_ulps): Remove function.
24663 (print_max_error): Use prev_max_error instead of calling
24664 find_function_ulps.
24665 (print_complex_max_error): Use prev_real_max_error and
24666 prev_imag_max_error instead of calling find_complex_function_ulps.
24667 (check_float_internal): Take max_ulp parameter instead of calling
24668 find_test_ulps. Don't call print_ulps.
24669 (check_float): Update call to check_float_internal.
24670 (check_complex): Update calls to check_float_internal.
24671 (START): Pass argument to init_max_error.
24672 * math/gen-libm-test.pl (%results): Don't include "kind"
24673 information.
24674 (parse_ulps): Don't handle ulps of individual tests.
24675 (print_ulps_file): Likewise.
24676 (output_ulps): Likewise.
24677 * math/README.libm-test: Update.
24678 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24679 individual tests.
24680 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24681 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24682 * sysdeps/arm/libm-test-ulps: Likewise.
24683 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24684 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24685 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24686 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24687 * sysdeps/microblaze/libm-test-ulps: Likewise.
24688 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24689 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24691 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24693 * sysdeps/sh/libm-test-ulps: Likewise.
24694 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24695 * sysdeps/tile/libm-test-ulps: Likewise.
24696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24697
24698 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24699
24700 * math/libm-test.inc (print_complex_max_error): Check separately
24701 whether real and imaginary errors are within allowed range and
24702 pass 0 to print_complex_function_ulps instead of value within
24703 allowed range.
24704
24705 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24706
24707 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24708 formatting.
24709 (get_handles_fopen): Likewise.
24710 (do_write_test): Likewise.
24711
24712 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24713
24714 * libio/fileops.c (do_ftell): Use cached offset when
24715 available.
24716 * libio/iofwide.c (do_ftell_wide): Likewise.
24717 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24718 _IO_file_attach.
24719 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24720
24721 [BZ #16532]
24722 * libio/libioP.h (get_file_offset): New function.
24723 * libio/fileops.c (get_file_offset): Likewise.
24724 (do_ftell): Likewise.
24725 (_IO_new_file_seekoff): Split out ftell logic.
24726 * libio/wfileops.c (do_ftell_wide): Likewise.
24727 (_IO_wfile_seekoff): Split out ftell logic.
24728 * libio/tst-ftell-active-handler.c: New test case.
24729 * libio/Makefile (tests): Add it.
24730
24731 2014-03-03 Roland McGrath <roland@hack.frob.com>
24732
24733 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24734 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24735
24736 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24737
24738 [BZ #16639]
24739 * nscd/connections.c (nscd_init): Call do_exit.
24740 (start_threads): Call do_exit and notify_parent.
24741 (begin_drop_privileges): Call do_exit.
24742 (finish_drop_privileges): Likewise.
24743 * nscd/selinux.c (preserve_capabilities): Likewise.
24744 (install_real_capabilities): Likewise.
24745 (nscd_selinux_enabled): Likewise.
24746 (avc_create_thread): Likewise.
24747 (avc_alloc_lock): Likewise.
24748 (nscd_avc_init): Likewise.
24749 * nscd/nscd.c (parent_fd): New static variable.
24750 (main): Create a pipe between parent and child processes.
24751 Skip closing parent_fd.
24752 (monitor_child): New function.
24753 (do_exit): Likewise.
24754 (notify_parent): Likewise.
24755 * nscd/nscd.h (notify_parent): Likewise.
24756 (do_exit): Likewise.
24757
24758 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24759
24760 * malloc/malloc.c (__libc_calloc): Revert last change.
24761
24762 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24763
24764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24765
24766 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24767
24768 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24770 implementation.
24771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24772 (__libc_ifunc_impl_list): Likewise.
24773 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24774 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24775 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24776 * string/strrchr.c: Define STRRCHR.
24777
24778 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24779
24780 * benchtest/bench-strtok.c (simple_strtok): Delete.
24781 (strtok_string): Use as benchmark.
24782 * string/strtok (STRTOK): New macro.
24783
24784 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24785
24786 * manual/threads.texi: Add header and standard comments to all
24787 functions.
24788
24789 * elf/dl-lookup.c (check_match): New function.
24790 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24791 (do_lookup_x): Remove nested function check_match. Use non-nested
24792 function check_match.
24793
24794 2014-02-28 Roland McGrath <roland@hack.frob.com>
24795
24796 * csu/Makefile (generated, before-compile): Use += rather than =.
24797 * catgets/Makefile (generated, generated-dirs): Likewise.
24798 * debug/Makefile (generated): Likewise.
24799 * dlfcn/Makefile (generated): Likewise.
24800 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24801 * iconvdata/Makefile (before-compile, generated): Likewise.
24802 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24803 * libio/Makefile (generated): Likewise.
24804 * malloc/Makefile (generated): Likewise.
24805 * manual/Makefile (generated, generated-dirs): Likewise.
24806 * misc/Makefile (generated): Likewise.
24807 * posix/Makefile (generated): Likewise.
24808 * resolv/Makefile (generated): Likewise.
24809 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24810 * timezone/Makefile (generated, generated-dirs): Likewise.
24811
24812 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24813
24814 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24815
24816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24817 power8 implementation.
24818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24819 file: POWER8 llround ifunc implementation.
24820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24821 (__lllround): Add POWER8 implementation.
24822 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24823 POWER8 llround implementation.
24824
24825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24826 power8 implementation.
24827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24828 file: POWER8 llrint ifunc implementation.
24829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24830 Add POWER8 implementation.
24831 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24832 POWER8 llrint implementation.
24833
24834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24835 power8 implementation.
24836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24837 file: POWER8 finite ifunc implementation.
24838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24839 Add POWER8 implementation.
24840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24841 Likewise.
24842 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24843 POWER8 finite implementation.
24844 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24845
24846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24847 power8 implementation.
24848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24849 file: POWER8 isinf ifunc implementation.
24850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24851 POWER8 implementation.
24852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24853 Likewise.
24854 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24855 isinf implementation.
24856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24857
24858 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24859 (INIT_ARCH): Add hwcap2 initialization.
24860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24861 power8 implementation.
24862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24863 file: POWER8 isnan ifunc implementation.
24864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24865 POWER8 implementation.
24866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24867 Likewise.
24868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24869 isnan implementation.
24870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24871
24872 2014-02-27 Joey Ye <joey.ye@arm.com>
24873
24874 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24875 (_FP_NANFRAC_Q): Set to zero.
24876
24877 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24878
24879 [BZ #16623]
24880 * math/auto-libm-test-in: New test inputs.
24881 * math/auto-libm-test-out: Regenerate.
24882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24883 and DA.
24884 (__cos): Likewise.
24885 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24886
24887 2014-02-27 Joseph Myers <joseph@codesourcery.com>
24888
24889 * scripts/evaluate-test.sh: Take new argument indicating whether
24890 failure is expected.
24891 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24892 indicating whether failure is expected.
24893 * conform/Makefile (test-xfail-run-conformtest): New variable.
24894 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24895 level.
24896 * posix/Makefile (test-xfail-annexc): New variable.
24897 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24898
24899 2014-02-26 Joseph Myers <joseph@codesourcery.com>
24900
24901 * argp/Makefile: Include Makeconfig immediately after defining
24902 subdir.
24903 * assert/Makefile: Likewise.
24904 * benchtests/Makefile: Likewise.
24905 * catgets/Makefile: Likewise.
24906 * conform/Makefile: Likewise.
24907 * crypt/Makefile: Likewise.
24908 * csu/Makefile: Likewise.
24909 (all): Remove target.
24910 * ctype/Makefile: Include Makeconfig immediately after defining
24911 subdir.
24912 * debug/Makefile: Likewise.
24913 * dirent/Makefile: Likewise.
24914 * dlfcn/Makefile: Likewise.
24915 * gmon/Makefile: Likewise.
24916 * gnulib/Makefile: Likewise.
24917 * grp/Makefile: Likewise.
24918 * gshadow/Makefile: Likewise.
24919 * hesiod/Makefile: Likewise.
24920 * hurd/Makefile: Likewise.
24921 (all): Remove target.
24922 * iconvdata/Makefile: Include Makeconfig immediately after
24923 defining subdir.
24924 * inet/Makefile: Likewise.
24925 * intl/Makefile: Likewise.
24926 * io/Makefile: Likewise.
24927 * libio/Makefile: Likewise.
24928 (all): Remove target.
24929 * locale/Makefile: Include Makeconfig immediately after defining
24930 subdir.
24931 * login/Makefile: Likewise.
24932 * mach/Makefile: Likewise.
24933 (all): Remove target.
24934 * malloc/Makefile: Include Makeconfig immediately after defining
24935 subdir.
24936 (all): Remove target.
24937 * manual/Makefile: Include Makeconfig immediately after defining
24938 subdir.
24939 * math/Makefile: Likewise.
24940 * misc/Makefile: Likewise.
24941 * nis/Makefile: Likewise.
24942 * nss/Makefile: Likewise.
24943 * po/Makefile: Likewise.
24944 (all): Remove target.
24945 * posix/Makefile: Include Makeconfig immediately after defining
24946 subdir.
24947 * pwd/Makefile: Likewise.
24948 * resolv/Makefile: Likewise.
24949 * resource/Makefile: Likewise.
24950 * rt/Makefile: Likewise.
24951 * setjmp/Makefile: Likewise.
24952 * shadow/Makefile: Likewise.
24953 * signal/Makefile: Likewise.
24954 * socket/Makefile: Likewise.
24955 * soft-fp/Makefile: Likewise.
24956 * stdio-common/Makefile: Likewise.
24957 * stdlib/Makefile: Likewise.
24958 * streams/Makefile: Likewise.
24959 * string/Makefile: Likewise.
24960 * sunrpc/Makefile: Likewise.
24961 (all): Remove target.
24962 * sysvipc/Makefile: Include Makeconfig immediately after defining
24963 subdir.
24964 * termios/Makefile: Likewise.
24965 * time/Makefile: Likewise.
24966 * timezone/Makefile: Likewise.
24967 (all): Remove target.
24968 * wcsmbs/Makefile: Include Makeconfig immediately after defining
24969 subdir.
24970 * wctype/Makefile: Likewise.
24971
24972 2014-02-26 Steve Ellcey <sellcey@mips.com>
24973
24974 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24975 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24976 (libc_feholdexcept_setround_mips): Ditto.
24977 (libc_feholdsetround): New.
24978 (libc_feholdsetroundf): New.
24979 (libc_feholdsetroundl): New.
24980 (libc_feupdateenv_test_mips): New.
24981 (libc_feupdateenv_test): New.
24982 (libc_feupdateenv_testf): New.
24983 (libc_feupdateenv_testl): New.
24984 (libc_feresetround): New.
24985 (libc_feresetroundf): New.
24986 (libc_feresetroundl): New.
24987 (libc_fetestexcept_mips): New.
24988 (libc_fetestexcept): New.
24989 (libc_fetestexceptf): New.
24990 (libc_fetestexceptl): New.
24991 (HAVE_RM_CTX): New.
24992 (libc_feholdexcept_setround_mips_ctx): New.
24993 (libc_feholdexcept_setround_ctx): New.
24994 (libc_feholdexcept_setroundf_ctx): New.
24995 (libc_feholdexcept_setroundl_ctx): New.
24996 (libc_fesetenv_mips_ctx): New.
24997 (libc_fesetenv_ctx): New.
24998 (libc_fesetenv_ctxf): New.
24999 (libc_fesetenv_ctxl): New.
25000 (libc_feupdateenv_mips_ctx): New.
25001 (libc_feupdateenv_ctx): New.
25002 (libc_feupdateenvf_ctx): New.
25003 (libc_feupdateenvl_ctx): New.
25004 (libc_feholdsetround_mips_ctx): New.
25005 (libc_feholdsetround_ctx): New.
25006 (libc_feholdsetroundf_ctx): New.
25007 (libc_feholdsetroundl_ctx): New.
25008 (libc_feresetround_mips_ctx): New.
25009 (libc_feresetround_ctx): New.
25010 (libc_feresetroundf_ctx): New.
25011 (libc_feresetroundl_ctx): New.
25012
25013 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25014
25015 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25016
25017 * manual/ipc.texi: New file.
25018 * manual/Makefile (chapters): Add ipc.
25019 * manual/job.texi: Add "Inter-Process Communication" to next.
25020 * manual/process.texi: Add "Inter-Process Communication" to prev.
25021
25022 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25023
25024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25025
25026 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25027
25028 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25029
25030 * manual/arith.texi: Fix spaces after sentences.
25031 * manual/charset.texi: Likewise.
25032 * manual/errno.texi: Likewise.
25033 * manual/install.texi: Likewise.
25034 * manual/llio.texi: Likewise.
25035 * manual/locale.texi: Likewise.
25036 * manual/maint.texi: Likewise.
25037 * manual/math.texi: Likewise.
25038 * manual/memory.texi: Likewise.
25039 * manual/message.texi: Likewise.
25040 * manual/probes.texi: Likewise.
25041 * manual/resource.texi: Likewise.
25042 * manual/signal.texi: Likewise.
25043 * manual/socket.texi: Likewise.
25044 * manual/stdio.texi: Likewise.
25045 * manual/string.texi: Likewise.
25046 * manual/time.texi: Likewise.
25047 * manual/users.texi: Likewise.
25048
25049 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25050
25051 [BZ #16632]
25052 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25053 _DEFAULT_SOURCE is defined.
25054
25055 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25056 Carlos O'Donell <carlos@redhat.com>
25057
25058 [BZ #16613]
25059 * elf/dl-tls.c (_dl_count_modids): New function.
25060 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25061 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25062 audit library and increment generation counter.
25063 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25064 * elf/tst-audit9.c: New file.
25065 * elf/tst-auditmod9a.c: New file.
25066 * elf/tst-auditmod9b.c: New file.
25067 * elf/Makefile: Add rules to build and run tst-audit9.
25068
25069 2014-02-25 Florian Weimer <fweimer@redhat.com>
25070
25071 [BZ #15347]
25072 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25073
25074 2014-02-25 Will Newton <will.newton@linaro.org>
25075
25076 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25077 (__longjmp): Restore sp and lr before restoring callee
25078 saved registers. Add longjmp and longjmp_target
25079 SystemTap probe point.
25080 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25081 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25082 Define to zero to match jmpbuf layout.
25083 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25084 (__sigsetjmp): Save sp and lr before saving callee
25085 saved registers. Add setjmp SystemTap probe point.
25086
25087 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25088
25089 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25090
25091 2014-02-24 Andreas Schwab <schwab@suse.de>
25092
25093 [BZ #15804]
25094 * elf/pldd.c (wait_for_ptrace_stop): New function.
25095 (main): Call it after attaching.
25096
25097 2014-02-22 Roland McGrath <roland@hack.frob.com>
25098
25099 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25100 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25101 Versions files is now verboten.
25102 * hurd/Versions (libc: GLIBC_2.0):
25103 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25104 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25105 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25106 * mach/Versions: Likewise.
25107
25108 * csu/Versions: Remove unused %include.
25109 * resolv/Versions: Likewise.
25110
25111 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25112
25113 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25114 ($(objpfx)check-local-headers.out): Likewise.
25115 ($(objpfx)begin-end-check.out): Likewise.
25116 * Makerules (check-abi-%.out): Likewise.
25117 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25118 ($(objpfx)test2.cat): Likewise.
25119 ($(objpfx)de/libc.cat): Likewise.
25120 ($(objpfx)test-gencat.out): Likewise.
25121 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25122 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25123 ($(objpfx)noload-mem): Likewise.
25124 ($(objpfx)tst-pathopt.out): Likewise.
25125 ($(objpfx)tst-rtld-load-self.out): Likewise.
25126 ($(objpfx)tst-array1-cmp.out): Likewise.
25127 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25128 ($(objpfx)tst-array2-cmp.out): Likewise.
25129 ($(objpfx)tst-array3-cmp.out): Likewise.
25130 ($(objpfx)tst-array4-cmp.out): Likewise.
25131 ($(objpfx)tst-array5-cmp.out): Likewise.
25132 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25133 ($(objpfx)check-textrel.out): Likewise.
25134 ($(objpfx)check-execstack.out): Likewise.
25135 ($(objpfx)check-localplt.out): Likewise.
25136 ($(objpfx)order2-cmp.out): Likewise.
25137 ($(objpfx)tst-leaks1-mem): Likewise.
25138 ($(objpfx)tst-leaks1-static-mem): Likewise.
25139 ($(objpfx)tst-initorder-cmp.out): Likewise.
25140 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25141 ($(objpfx)tst-unused-dep.out): Likewise.
25142 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25143 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25144 * iconv/Makefile (test-iconvconfig): Likewise.
25145 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25146 ($(objpfx)iconv-test.out): Likewise.
25147 ($(objpfx)tst-tables.out): Likewise.
25148 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25149 ($(objpfx)tst-gettext.out): Likewise.
25150 ($(objpfx)tst-translit.out): Likewise.
25151 ($(objpfx)tst-gettext2.out): Likewise.
25152 ($(objpfx)tst-gettext4.out): Likewise.
25153 ($(objpfx)tst-gettext6.out): Likewise.
25154 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25155 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25156 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25157 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25158 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25159 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25160 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25161 ($(objpfx)wordexp-tst.out): Likewise.
25162 ($(objpfx)annexc.out): Likewise.
25163 ($(objpfx)tst-fnmatch-mem): Likewise.
25164 ($(objpfx)bug-regex2-mem): Likewise.
25165 ($(objpfx)bug-regex14-mem): Likewise.
25166 ($(objpfx)bug-regex21-mem): Likewise.
25167 ($(objpfx)bug-regex31-mem): Likewise.
25168 ($(objpfx)tst-vfork3-mem): Likewise.
25169 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25170 ($(objpfx)tst-pcre-mem): Likewise.
25171 ($(objpfx)tst-boost-mem): Likewise.
25172 ($(objpfx)tst-getconf.out): Likewise.
25173 ($(objpfx)bug-ga2-mem): Likewise.
25174 ($(objpfx)bug-glob2-mem): Likewise.
25175 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25176 ($(objpfx)mtrace-tst-leaks2): Likewise.
25177 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25178 ($(objpfx)tst-printf.out): Likewise.
25179 ($(objpfx)tst-setvbuf1.out): Likewise.
25180 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25181 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25182 ($(objpfx)tst-fmtmsg.out): Likewise.
25183 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25184 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25185
25186 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25187 * bits/sigaction.h [__USE_MISC]: Likewise.
25188 * bits/waitstatus.h: Update #endif comments.
25189 * ctype/ctype.h: Likewise.
25190 * dirent/dirent.h: Likewise.
25191 [__USE_MISC]: Remove redundant conditionals.
25192 * grp/grp.h: Update #endif comments.
25193 [__USE_GNU]: Remove redundant conditionals.
25194 [__USE_MISC]: Likewise.
25195 * inet/netinet/in.h [__USE_GNU]: Likewise.
25196 * io/sys/stat.h [__USE_MISC]: Likewise.
25197 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25198 * libio/bits/stdio.h: Update #endif comments.
25199 [__USE_MISC]: Remove redundant conditionals.
25200 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25201 * libio/stdio.h: Update #endif comments.
25202 [__USE_MISC]: Remove redundant conditionals.
25203 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25204 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25205 * math/math.h: Update #else and #endif comments.
25206 [__USE_MISC]: Remove redundant conditionals.
25207 * misc/sys/uio.h: Update #endif comments.
25208 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25209 * posix/glob.h [__USE_MISC]: Likewise.
25210 * posix/sys/types.h: Update #endif comments.
25211 [__USE_MISC]: Remove redundant conditionals.
25212 * posix/sys/wait.h: Update #endif comments.
25213 [__USE_MISC]: Remove redundant conditionals.
25214 * posix/unistd.h: Update #endif comments.
25215 [__USE_MISC]: Remove redundant conditionals.
25216 * pwd/pwd.h [__USE_GNU]: Likewise.
25217 [__USE_MISC]: Likewise.
25218 * resolv/netdb.h [__USE_GNU]: Likewise.
25219 * signal/signal.h: Update #endif comments.
25220 [__USE_MISC]: Remove redundant conditionals.
25221 * stdlib/stdlib.h: Update #else and #endif comments.
25222 [__USE_MISC]: Remove redundant conditionals.
25223 [__USE_GNU]: Likewise.
25224 * string/bits/string2.h [__USE_MISC]: Likewise.
25225 * string/string.h: Update #endif comments.
25226 [__USE_MISC]: Remove redundant conditionals.
25227 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25228 Likewise.
25229 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25230 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25231 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25232 Likewise.
25233 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25234 Likewise.
25235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25236 comments.
25237 [__USE_MISC]: Remove redundant conditionals.
25238 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25239 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25240 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25241 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25242 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25243 Likewise.
25244 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25245 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25246 Likewise.
25247 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25248 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25249 Likewise.
25250 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25251 Likewise.
25252 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25253 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25254 Likewise.
25255 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25256 Likewise.
25257 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25258 * sysdeps/x86/bits/string.h: Update #endif comments.
25259 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25260 conditionals.
25261 * time/sys/time.h: Update #endif comments.
25262 * time/time.h: Likewise.
25263 [__USE_MISC]: Remove redundant conditionals.
25264
25265 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25266
25267 [BZ #16600]
25268 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25269
25270 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25271
25272 * Versions.def (librt): Add GLIBC_2.17.
25273
25274 2014-02-21 Adam Conrad <adconrad@0c3.net>
25275
25276 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25277 synonym for _SYS_AUXV_H to allow direct inclusion.
25278 * sysdeps/sparc/bits/hwcap.h: Likewise.
25279 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25280 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25281 * sysdeps/sparc/sysdep.h: Likewise.
25282
25283 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25284
25285 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25286
25287 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25288
25289 * benchtests/bench-strrchr.c: Print length instead of position.
25290
25291 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25292
25293 [BZ #16611]
25294 * sysdeps/unix/sysv/linux/kernel-features.h
25295 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25296 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25297 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25298 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25299 Likewise.
25300 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25301 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25302 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25303 (__ASSUME_SENDMMSG): Define instead of using previous
25304 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25305 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25306 (__ASSUME_SENDMMSG_SYSCALL): Define.
25307 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25308 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25309 Likewise.
25310 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25311 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25312 Likewise.
25313 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25314 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25315 Likewise.
25316 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25317 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25318 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25319 [__ASSUME_SENDMMSG]: Change conditionals to
25320 [__ASSUME_SENDMMSG_SOCKETCALL].
25321 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25322 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25323 Define.
25324 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25325 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25326 Likewise.
25327 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25328 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25329 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25330 [!__ASSUME_SENDMMSG]: Change conditional to
25331 [!__ASSUME_SENDMMSG_SOCKETCALL].
25332 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25333 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25334 Define.
25335
25336 [BZ #16610]
25337 * sysdeps/unix/sysv/linux/kernel-features.h
25338 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25339 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25340 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25341 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25342 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25343 [__i386__ || __sparc__]
25344 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25345 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25346 (__ASSUME_RECVMMSG): Define instead of using previous
25347 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25348 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25349 (__ASSUME_RECVMMSG_SYSCALL): Define.
25350 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25351 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25352 Likewise.
25353 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25354 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25355 Likewise.
25356 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25357 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25358 Likewise.
25359 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25360 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25361 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25362 [__ASSUME_RECVMMSG]: Change condition to
25363 [__ASSUME_RECVMMSG_SOCKETCALL].
25364 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25365 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25366 Define.
25367 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25368 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25369 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25370 Likewise.
25371 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25372 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25373 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25374 [!__ASSUME_RECVMMSG]: Change condition to
25375 [!__ASSUME_RECVMMSG_SOCKETCALL].
25376 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25377 (__ASSUME_RECVMMSG_SYSCALL): Define.
25378
25379 [BZ #16609]
25380 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25381 __powerpc__ || __s390__ || __sh__ || __sparc__]
25382 (__ASSUME_SOCKETCALL): Define.
25383 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25384 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25385 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25386 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25387 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25388 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25389 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25390 (__ASSUME_ACCEPT4): Define instead of using previous
25391 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25392 __powerpc__ || __sparc__ || __s390__)] condition.
25393 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25394 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25395 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25396 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25397 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25398 [!__ASSUME_ACCEPT4]: Change condition to
25399 [!__ASSUME_ACCEPT4_SOCKETCALL].
25400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25401 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25402 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25404 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25405 __ASSUME_ACCEPT4_SYSCALL.
25406 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25407 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25408 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25409 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25410 __ASSUME_ACCEPT4_SYSCALL.
25411 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25412 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25413 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25414 [__ASSUME_ACCEPT4]: Change condition to
25415 [__ASSUME_ACCEPT4_SOCKETCALL].
25416 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25417 (__ASSUME_SOCKETCALL): Define.
25418 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25420 (__ASSUME_SOCKETCALL): Define.
25421 (__ASSUME_ACCEPT4): Remove.
25422 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25423 Define.
25424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25425 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25426 Likewise.
25427 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25428 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25429
25430 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25431 macro.
25432 (HWCAP_ARM_LPAE): Likewise.
25433 (HWCAP_ARM_EVTSTRM): Likewise.
25434 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25435 Add vpfd32, lpae and evtstrm.
25436 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25437 Increase to 22.
25438
25439 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25440
25441 * math/auto-libm-test-in: Add tests of clog10.
25442 * math/auto-libm-test-out: Regenerated.
25443 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25444 * sysdeps/i386/fpu/libm-test-ulps: Update.
25445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25446
25447 2014-02-18 Andreas Schwab <schwab@suse.de>
25448
25449 [BZ #16574]
25450 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25451 Store non-zero if the second buffer was newly allocated.
25452 (send_dg): Likewise.
25453 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25454 to send_vc and send_dg.
25455 (res_nsend): Pass NULL for ansp2_malloced.
25456 * resolv/res_query.c (__libc_res_nquery): Add parameter
25457 answerp2_malloced and pass it down to __libc_res_nsend.
25458 (res_nquery): Pass additional NULL to __libc_res_nquery.
25459 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25460 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25461 second answer buffer if answerp2_malloced was set.
25462 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25463 (__libc_res_nquerydomain): Add parameter
25464 answerp2_malloced and pass it down to __libc_res_nquery.
25465 (res_nquerydomain): Pass additional NULL to
25466 __libc_res_nquerydomain.
25467 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25468 additional NULL to __libc_res_nsend and __libc_res_nquery.
25469 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25470 additional NULL to __libc_res_nsearch.
25471 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25472 parameter of __libc_res_nsearch to check for separately allocated
25473 second buffer.
25474 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25475 __libc_res_nquery.
25476 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25477 additional NULL to __libc_res_nquery.
25478 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25479 __libc_res_nsearch.
25480 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25481 * include/resolv.h: Update prototypes of __libc_res_nquery,
25482 __libc_res_nsearch, __libc_res_nsend.
25483
25484 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25485
25486 * math/auto-libm-test-in: Add tests of fma.
25487 * math/auto-libm-test-out: Regenerated.
25488 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25489 (fma_towardzero_test_data): Likewise.
25490 (fma_downward_test_data): Likewise.
25491 (fma_upward_test_data): Likewise.
25492 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25493 mpc_mode.
25494 (rounding_modes): Add values for new field.
25495 (func_calc_method): Add value mpfr_fff_f.
25496 (func_calc_desc): Add mpfr_fff_f union field.
25497 (test_function): Add field exact_args.
25498 (FUNC): Add macro argument EXACT_ARGS.
25499 (FUNC_mpfr_f_f): Update call to FUNC.
25500 (FUNC_mpfr_f_f): Likewise.
25501 (FUNC_mpfr_ff_f): Likewise.
25502 (FUNC_mpfr_if_f): Likewise.
25503 (FUNC_mpc_c_f): Likewise.
25504 (FUNC_mpc_c_c): Likewise.
25505 (test_functions): Add fma. Update calls to FUNC.
25506 (handle_input_arg): Add argument exact_args.
25507 (add_test): Update call to handle_input_arg.
25508 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25509 (output_for_one_input_case): Update call to calc_generic_results.
25510 Recalculate exact zero results in each rounding mode.
25511
25512 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25513 non-negative before setting low bit.
25514 * math/auto-libm-test-in: Mark one asin test possibly having
25515 spurious underflow.
25516 * math/auto-libm-test-out: Regenerated.
25517 * sysdeps/i386/fpu/libm-test-ulps: Update.
25518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519
25520 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25521
25522 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25523 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25524 ports/sysdeps/unix/sysv/linux/microblaze.
25525 * README: Add missing listing for microblaze*-*-linux-gnu.
25526
25527 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25528
25529 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25530 duplicate code
25531
25532 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25533
25534 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25535 * sysdeps/unix/sysv/linux/ia64: Move directory from
25536 ports/sysdeps/unix/sysv/linux/ia64.
25537 * README: Update listing for ia64-*-linux-gnu.
25538
25539 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25540 Joseph Myers <joseph@codesourcery.com>
25541
25542 * Makeconfig (test-name): New variable.
25543 (evaluate-test): Likewise.
25544 * Makerules (do-test-clean): Remove .test-result files.
25545 (common-mostlyclean): Likewise.
25546 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25547 * scripts/evaluate-test.sh: New file.
25548
25549 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25550
25551 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25552 separate $(objpfx)tst-fopenloc-cmp.out and
25553 $(objpfx)tst-fopenloc-mem.out targets.
25554 (tests): Update dependencies.
25555 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25556 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25557 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25558 (tst-rxspencer-no-utf8-ARGS): New variable.
25559 (tst-rxspencer-no-utf8-ENV): Likewise.
25560 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25561 instead of $(objpfx)tst-rxspencer-mem.
25562 ($(objpfx)tst-rxspencer-mem): Change target to
25563 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25564 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25565 * posix/tst-rxspencer-no-utf8.c: New file.
25566
25567 * elf/Makefile ($(objpfx)order.out): Remove rule.
25568 [$(run-built-tests) = yes] (tests): Depend on
25569 $(objpfx)order-cmp.out.
25570 ($(objpfx)order-cmp.out): New rule.
25571 [$(run-built-tests) = yes] (tests): Depend on
25572 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25573 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25574 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25575 $(objpfx)tst-array5-static-cmp.out.
25576 ($(objpfx)tst-array1.out): Remove rule.
25577 ($(objpfx)tst-array1-cmp.out): New rule.
25578 ($(objpfx)tst-array1-static.out): Remove rule.
25579 ($(objpfx)tst-array1-static-cmp.out): New rule.
25580 ($(objpfx)tst-array2.out): Remove rule.
25581 ($(objpfx)tst-array2-cmp.out): New rule.
25582 ($(objpfx)tst-array3.out): Remove rule.
25583 ($(objpfx)tst-array3-cmp.out): New rule.
25584 ($(objpfx)tst-array4.out): Remove rule.
25585 ($(objpfx)tst-array4-cmp.out): New rule.
25586 ($(objpfx)tst-array5.out): Remove rule.
25587 ($(objpfx)tst-array5-cmp.out): New rule.
25588 ($(objpfx)tst-array5-static.out): Remove rule.
25589 ($(objpfx)tst-array5-static-cmp.out): New rule.
25590 [$(run-built-tests) = yes] (tests): Depend on
25591 $(objpfx)order2-cmp.out.
25592 ($(objpfx)order2.out): Remove rule.
25593 ($(objpfx)order2-cmp.out): New rule.
25594 ($(objpfx)tst-initorder.out): Remove rule.
25595 [$(run-built-tests) = yes] (tests): Depend on
25596 $(objpfx)tst-initorder-cmp.out.
25597 ($(objpfx)tst-initorder-cmp.out): New rule.
25598 ($(objpfx)tst-initorder2.out): Remove rule.
25599 [$(run-built-tests) = yes] (tests): Depend on
25600 $(objpfx)tst-initorder2-cmp.out.
25601 ($(objpfx)tst-initorder2-cmp.out): New rule.
25602 [$(run-built-tests) = yes] (tests): Depend on
25603 $(objpfx)tst-unused-dep-cmp.out.
25604 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25605 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25606 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25607 on $(objpfx)tst-setvbuf1-cmp.out.
25608 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25609 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25610 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25611 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25612 ($(objpfx)tst-svc.out): Remove rule.
25613 ($(objpfx)tst-svc-cmp.out): New rule.
25614
25615 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25616
25617 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25618 * ctype/ctype.h [__USE_MISC]: Likewise.
25619 * dirent/dirent.h [__USE_MISC]: Likewise.
25620 * grp/grp.h [__USE_MISC]: Likewise.
25621 * io/fcntl.h [__USE_MISC]: Likewise.
25622 * io/sys/stat.h [__USE_MISC]: Likewise.
25623 * libio/stdio.h [__USE_MISC]: Likewise.
25624 * posix/unistd.h [__USE_MISC]: Likewise.
25625 * pwd/pwd.h [__USE_MISC]: Likewise.
25626 * stdlib.h [__USE_MISC]: Likewise.
25627 * string/bits/string2.h [__USE_MISC]: Likewise.
25628 * string/string.h [__USE_MISC]: Likewise.
25629 * time/time.h [__USE_MISC]: Likewise.
25630
25631 2014-02-13 Andreas Schwab <schwab@suse.de>
25632
25633 [BZ #16574]
25634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25635 second answer buffer if it was separately allocated.
25636
25637 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25638
25639 * sysdeps/mips/math-tests.h: Include <features.h>.
25640 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25641 (ROUNDING_TESTS_long_double): Do not define.
25642 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25643 (EXCEPTION_TESTS_long_double): Likewise.
25644 * sysdeps/mips/mips64/libm-test-ulps: Update.
25645
25646 * include/features.h (__USE_BSD): Remove macro definitions.
25647 (__USE_SVID): Likewise.
25648 (_BSD_SOURCE): Likewise.
25649 (_SVID_SOURCE): Likewise.
25650 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25651 from definition of _DEFAULT_SOURCE.
25652 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25653 [_DEFAULT_SOURCE].
25654 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25655 * bits/mman.h [__USE_BSD]: Likewise.
25656 * bits/termios.h [__USE_BSD]: Likewise.
25657 * bits/waitstatus.h [__USE_BSD]: Likewise.
25658 * ctype/ctype.h [__USE_SVID]: Likewise.
25659 * dirent/dirent.h [__USE_BSD]: Likewise.
25660 * grp/grp.h [__USE_SVID]: Likewise.
25661 [__USE_BSD]: Likewise.
25662 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25663 * io/fcntl.h [__USE_BSD]: Likewise.
25664 * io/ftw.h [__USE_BSD]: Likewise.
25665 * io/sys/stat.h [__USE_BSD]: Likewise.
25666 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25667 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25668 * libio/stdio.h [__USE_SVID]: Likewise.
25669 [__USE_BSD]: Likewise.
25670 * math/math.h [__USE_SVID]: Likewise.
25671 [__USE_BSD]: Likewise.
25672 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25673 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25674 * misc/search.h [__USE_SVID]: Likewise.
25675 * misc/sys/mman.h [__USE_BSD]: Likewise.
25676 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25677 * misc/sys/uio.h [__USE_BSD]: Likewise.
25678 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25679 * posix/glob.h [__USE_BSD]: Likewise.
25680 * posix/regex.h [__USE_BSD]: Likewise.
25681 * posix/sys/types.h [__USE_BSD]: Likewise.
25682 [__USE_SVID]: Likewise.
25683 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25684 * posix/sys/wait.h [__USE_BSD]: Likewise.
25685 [__USE_SVID]: Likewise.
25686 * posix/unistd.h [__USE_BSD]: Likewise.
25687 [__USE_SVID]: Likewise.
25688 * pwd/pwd.h [__USE_SVID]: Likewise.
25689 * resolv/netdb.h [__USE_BSD]: Likewise.
25690 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25691 * signal/signal.h [__USE_BSD]: Likewise.
25692 [__USE_SVID]: Likewise.
25693 * socket/sys/socket.h [__USE_BSD]: Likewise.
25694 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25695 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25696 [__USE_SVID]: Likewise.
25697 * string/bits/string2.h [__USE_BSD]: Likewise.
25698 [__USE_SVID]: Likewise.
25699 * string/bits/string3.h [__USE_BSD]: Likewise.
25700 * string/endian.h [__USE_BSD]: Likewise.
25701 * string/string.h [__USE_SVID]: Likewise.
25702 [__USE_BSD]: Likewise.
25703 * string/strings.h [__USE_BSD]: Likewise.
25704 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25705 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25706 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25707 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25708 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25709 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25710 Likewise.
25711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25712 Likewise.
25713 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25714 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25715 Likewise.
25716 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25717 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25718 Likewise.
25719 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25720 Likewise.
25721 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25722 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25724 Likewise.
25725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25726 Likewise.
25727 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25728 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25729 * termios/termios.h [__USE_BSD]: Likewise.
25730 * time/sys/time.h [__USE_BSD]: Likewise.
25731 * time/time.h [__USE_BSD]: Likewise.
25732 [__USE_SVID]: Likewise.
25733
25734 * Makefile (subdir_targets): Remove subdir_lint.out.
25735
25736 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25737 (do-tst-printf): Likewise.
25738 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25739 $(objpfx)tst-printf.out.
25740
25741 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25742
25743 * Makerules (check-abi-%): Change target to
25744 $(objpfx)check-abi-%.out.
25745 (check-abi target): Update dependencies.
25746 (check-abi-pattern variable): Redirect output of diff to $@.
25747 (check-abi variable): Likewise.
25748 * elf/Makefile (check-abi): Update dependencies.
25749
25750 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25751 unused.
25752 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25753 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25754 subnormal range.
25755 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25756 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25757 value has largest subnormal exponent.
25758 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25759 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25760 * sysdeps/aarch64/soft-fp/sfp-machine.h
25761 (_FP_TININESS_AFTER_ROUNDING): New macro.
25762 * sysdeps/alpha/soft-fp/sfp-machine.h
25763 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25764 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25765 Likewise.
25766 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25767 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25768 * sysdeps/mips/soft-fp/sfp-machine.h
25769 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25770 * sysdeps/powerpc/soft-fp/sfp-machine.h
25771 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25772 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25773 Likewise.
25774 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25775 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25776 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25777 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25778 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25779 Likewise.
25780
25781 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25782
25783 [BZ #16545]
25784 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25785 model 1.
25786
25787 2014-02-12 Richard Henderson <rth@redhat.com>
25788
25789 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25790 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25791 * sysdeps/unix/sysv/linux/alpha: Move directory from
25792 ports/sysdeps/unix/sysv/linux/alpha.
25793 * README: Update listing for alpha-*-linux-gnu.
25794
25795 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25796
25797 * include/features.h: Update comment documenting feature test
25798 macros.
25799 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25800 _DEFAULT_SOURCE.
25801 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25802 (_SVID_SOURCE): Likewise.
25803 (_DEFAULT_SOURCE): Update description of default features.
25804 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25805 with _GNU_SOURCE.
25806 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25807 (S_ISVTX): Likewise.
25808 * manual/math.texi (Mathematical Constants): Likewise.
25809 * manual/signal.texi (Interrupted Primitives): Likewise.
25810 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25811 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25812 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25813 Don't refer to _SVID_SOURCE in warning text.
25814
25815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25816
25817 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25818 already defined.
25819 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25820 * sysdeps/mips/dl-lookup.c: Remove.
25821 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25822
25823 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25824
25825 [BZ #16447]
25826 * math/auto-libm-test-in: Add testcase for expl.
25827 * math/auto-libm-test-out: Regenerate.
25828 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25829 calculation of unsafe.
25830 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25831
25832 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25833
25834 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25835 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25836 ports/sysdeps/unix/sysv/linux/aarch64.
25837 * README: Update listing for aarch64*-*-linux-gnu.
25838
25839 2014-02-11 Will Newton <will.newton@linaro.org>
25840
25841 * manual/probes.texi (Mathematical Function Probes): Use
25842 "triggered" instead of "hit".
25843
25844 * manual/probes.texi (Internal Probes): Add documentation
25845 of setjmp, longjmp and longjmp_target probes.
25846
25847 * include/stap-probe.h: Add comment about probe argument
25848 format.
25849
25850 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25851 definition. (tr_where, tr_freehook, tr_mallochook,
25852 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25853
25854 2014-02-11 David S. Miller <davem@davemloft.net>
25855
25856 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25857 processing int_tests.
25858
25859 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25860
25861 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25862 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25863 * sysdeps/unix/sysv/linux/mips: Move directory from
25864 ports/sysdeps/unix/sysv/linux/mips.
25865 * README: Update listing for mips-*-linux-gnu and
25866 mips64-*-linux-gnu.
25867
25868 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
25869
25870 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25871 * sysdeps/unix/sysv/linux/m68k: Move directory from
25872 ports/sysdeps/unix/sysv/linux/m68k.
25873 * README: Update listing for m68k-*-linux-gnu.
25874
25875 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
25876
25877 * sysdeps/tile: Move directory from ports/sysdeps/tile.
25878 * sysdeps/unix/sysv/linux/generic: Move directory from
25879 ports/sysdeps/unix/sysv/linux/generic.
25880 * sysdeps/unix/sysv/linux/tile: Move directory from
25881 ports/sysdeps/unix/sysv/linux/tile.
25882 * README: Update listing for tile*-*-linux-gnu.
25883
25884 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
25885
25886 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25887 __builtin_expect.
25888 * benchtests/bench-memmem.c (simple_memmem): Likewise.
25889 * catgets/open_catalog.c (__open_catalog): Likewise.
25890 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25891 * debug/confstr_chk.c: Likewise.
25892 * debug/fread_chk.c (__fread_chk): Likewise.
25893 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25894 * debug/getgroups_chk.c: Likewise.
25895 * debug/mbsnrtowcs_chk.c: Likewise.
25896 * debug/mbsrtowcs_chk.c: Likewise.
25897 * debug/mbstowcs_chk.c: Likewise.
25898 * debug/memcpy_chk.c: Likewise.
25899 * debug/memmove_chk.c: Likewise.
25900 * debug/mempcpy_chk.c: Likewise.
25901 * debug/memset_chk.c: Likewise.
25902 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25903 * debug/strcat_chk.c (__strcat_chk): Likewise.
25904 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25905 * debug/strncat_chk.c (__strncat_chk): Likewise.
25906 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25907 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25908 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25909 * debug/wcpncpy_chk.c: Likewise.
25910 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25911 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25912 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25913 * debug/wcsncpy_chk.c: Likewise.
25914 * debug/wcsnrtombs_chk.c: Likewise.
25915 * debug/wcsrtombs_chk.c: Likewise.
25916 * debug/wcstombs_chk.c: Likewise.
25917 * debug/wmemcpy_chk.c: Likewise.
25918 * debug/wmemmove_chk.c: Likewise.
25919 * debug/wmempcpy_chk.c: Likewise.
25920 * debug/wmemset_chk.c: Likewise.
25921 * dirent/scandirat.c (SCANDIRAT): Likewise.
25922 * dlfcn/dladdr1.c (dladdr1): Likewise.
25923 * dlfcn/dladdr.c (dladdr): Likewise.
25924 * dlfcn/dlclose.c (dlclose_doit): Likewise.
25925 * dlfcn/dlerror.c (__dlerror): Likewise.
25926 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25927 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25928 * dlfcn/dlopen.c (dlopen_doit): Likewise.
25929 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25930 * dlfcn/dlsym.c (dlsym_doit): Likewise.
25931 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25932 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25933 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25934 Likewise.
25935 * elf/dl-conflict.c: Likewise.
25936 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25937 * elf/dl-dst.h: Likewise.
25938 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25939 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25940 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25941 * elf/dl-init.c (call_init, _dl_init): Likewise.
25942 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25943 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25944 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25945 Likewise.
25946 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25947 Likewise.
25948 * elf/dl-minimal.c (__libc_memalign): Likewise.
25949 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25950 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25951 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25952 * elf/dl-sym.c (do_sym): Likewise.
25953 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25954 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25955 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25956 * elf/dl-writev.h (_dl_writev): Likewise.
25957 * elf/ldconfig.c (search_dir): Likewise.
25958 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25959 (dl_main): Likewise.
25960 * elf/setup-vdso.h (setup_vdso): Likewise.
25961 * grp/compat-initgroups.c (compat_call): Likewise.
25962 * grp/fgetgrent.c (fgetgrent): Likewise.
25963 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25964 * grp/putgrent.c (putgrent): Likewise.
25965 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25966 Likewise.
25967 * hurd/hurdinit.c: Likewise.
25968 * iconvdata/8bit-gap.c (struct): Likewise.
25969 * iconvdata/ansi_x3.110.c : Likewise.
25970 * iconvdata/big5.c : Likewise.
25971 * iconvdata/big5hkscs.c : Likewise.
25972 * iconvdata/cp1255.c: Likewise.
25973 * iconvdata/cp1258.c : Likewise.
25974 * iconvdata/cp932.c : Likewise.
25975 * iconvdata/euc-cn.c: Likewise.
25976 * iconvdata/euc-jisx0213.c : Likewise.
25977 * iconvdata/euc-jp.c: Likewise.
25978 * iconvdata/euc-jp-ms.c : Likewise.
25979 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25980 * iconvdata/gb18030.c : Likewise.
25981 * iconvdata/gbbig5.c (const): Likewise.
25982 * iconvdata/gbgbk.c: Likewise.
25983 * iconvdata/gbk.c : Likewise.
25984 * iconvdata/ibm1364.c : Likewise.
25985 * iconvdata/ibm930.c : Likewise.
25986 * iconvdata/ibm932.c: Likewise.
25987 * iconvdata/ibm933.c : Likewise.
25988 * iconvdata/ibm935.c : Likewise.
25989 * iconvdata/ibm937.c : Likewise.
25990 * iconvdata/ibm939.c : Likewise.
25991 * iconvdata/ibm943.c: Likewise.
25992 * iconvdata/iso_11548-1.c: Likewise.
25993 * iconvdata/iso-2022-cn.c : Likewise.
25994 * iconvdata/iso-2022-cn-ext.c : Likewise.
25995 * iconvdata/iso-2022-jp-3.c: Likewise.
25996 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25997 * iconvdata/iso-2022-kr.c : Likewise.
25998 * iconvdata/iso646.c (gconv_end): Likewise.
25999 * iconvdata/iso_6937-2.c : Likewise.
26000 * iconvdata/iso_6937.c : Likewise.
26001 * iconvdata/iso8859-1.c: Likewise.
26002 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26003 * iconvdata/shift_jisx0213.c : Likewise.
26004 * iconvdata/sjis.c : Likewise.
26005 * iconvdata/t.61.c : Likewise.
26006 * iconvdata/tcvn5712-1.c : Likewise.
26007 * iconvdata/tscii.c: Likewise.
26008 * iconvdata/uhc.c : Likewise.
26009 * iconvdata/unicode.c (gconv_end): Likewise.
26010 * iconvdata/utf-16.c (gconv_end): Likewise.
26011 * iconvdata/utf-32.c (gconv_end): Likewise.
26012 * iconvdata/utf-7.c (base64): Likewise.
26013 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26014 * iconv/gconv_close.c (__gconv_close): Likewise.
26015 * iconv/gconv_open.c (__gconv_open): Likewise.
26016 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26017 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26018 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26019 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26020 (ucs4le_internal_loop_single): Likewise.
26021 * iconv/iconv.c (iconv): Likewise.
26022 * iconv/iconv_close.c: Likewise.
26023 * iconv/loop.c (SINGLE): Likewise.
26024 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26025 * include/atomic.h: Likewise.
26026 * inet/inet6_option.c (option_alloc): Likewise.
26027 * intl/bindtextdom.c (set_binding_values): Likewise.
26028 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26029 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26030 * intl/localealias.c (read_alias_file): Likewise.
26031 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26032 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26033 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26034 * libio/fmemopen.c (fmemopen): Likewise.
26035 * libio/iofgets.c (_IO_fgets): Likewise.
26036 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26037 * libio/iofgetws.c (fgetws): Likewise.
26038 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26039 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26040 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26041 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26042 * locale/findlocale.c (_nl_find_locale): Likewise.
26043 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26044 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26045 Likewise.
26046 * locale/setlocale.c (setlocale): Likewise.
26047 * login/programs/pt_chown.c (main): Likewise.
26048 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26049 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26050 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26051 (mmap, mmap64, mremap, munmap): Likewise.
26052 * math/e_exp2l.c: Likewise.
26053 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26054 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26055 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26056 * math/s_catan.c (__catan): Likewise.
26057 * math/s_catanf.c (__catanf): Likewise.
26058 * math/s_catanh.c (__catanh): Likewise.
26059 * math/s_catanhf.c (__catanhf): Likewise.
26060 * math/s_catanhl.c (__catanhl): Likewise.
26061 * math/s_catanl.c (__catanl): Likewise.
26062 * math/s_ccosh.c (__ccosh): Likewise.
26063 * math/s_ccoshf.c (__ccoshf): Likewise.
26064 * math/s_ccoshl.c (__ccoshl): Likewise.
26065 * math/s_cexp.c (__cexp): Likewise.
26066 * math/s_cexpf.c (__cexpf): Likewise.
26067 * math/s_cexpl.c (__cexpl): Likewise.
26068 * math/s_clog10.c (__clog10): Likewise.
26069 * math/s_clog10f.c (__clog10f): Likewise.
26070 * math/s_clog10l.c (__clog10l): Likewise.
26071 * math/s_clog.c (__clog): Likewise.
26072 * math/s_clogf.c (__clogf): Likewise.
26073 * math/s_clogl.c (__clogl): Likewise.
26074 * math/s_csin.c (__csin): Likewise.
26075 * math/s_csinf.c (__csinf): Likewise.
26076 * math/s_csinh.c (__csinh): Likewise.
26077 * math/s_csinhf.c (__csinhf): Likewise.
26078 * math/s_csinhl.c (__csinhl): Likewise.
26079 * math/s_csinl.c (__csinl): Likewise.
26080 * math/s_csqrt.c (__csqrt): Likewise.
26081 * math/s_csqrtf.c (__csqrtf): Likewise.
26082 * math/s_csqrtl.c (__csqrtl): Likewise.
26083 * math/s_ctan.c (__ctan): Likewise.
26084 * math/s_ctanf.c (__ctanf): Likewise.
26085 * math/s_ctanh.c (__ctanh): Likewise.
26086 * math/s_ctanhf.c (__ctanhf): Likewise.
26087 * math/s_ctanhl.c (__ctanhl): Likewise.
26088 * math/s_ctanl.c (__ctanl): Likewise.
26089 * math/w_pow.c: Likewise.
26090 * math/w_powf.c: Likewise.
26091 * math/w_powl.c: Likewise.
26092 * math/w_scalb.c (sysv_scalb): Likewise.
26093 * math/w_scalbf.c (sysv_scalbf): Likewise.
26094 * math/w_scalbl.c (sysv_scalbl): Likewise.
26095 * misc/error.c (error_tail): Likewise.
26096 * misc/pselect.c (__pselect): Likewise.
26097 * nis/nis_callback.c (__nis_create_callback): Likewise.
26098 * nis/nis_call.c (__nisfind_server): Likewise.
26099 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26100 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26101 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26102 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26103 * nis/nis_lookup.c (nis_lookup): Likewise.
26104 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26105 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26106 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26107 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26108 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26109 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26110 * nis/nss_compat/compat-initgroups.c (add_group)
26111 (internal_getgrent_r): Likewise.
26112 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26113 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26114 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26115 (internal_getspnam_r): Likewise.
26116 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26117 (_nss_nis_getaliasbyname_r): Likewise.
26118 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26119 (_nss_nis_getntohost_r): Likewise.
26120 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26121 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26122 (_nss_nis_getgrgid_r): Likewise.
26123 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26124 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26125 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26126 (_nss_nis_gethostbyname4_r): Likewise.
26127 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26128 (initgroups_netid): Likewise.
26129 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26130 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26131 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26132 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26133 (_nss_nis_getprotobynumber_r): Likewise.
26134 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26135 (_nss_nis_getsecretkey): Likewise.
26136 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26137 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26138 (_nss_nis_getpwuid_r): Likewise.
26139 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26140 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26141 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26142 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26143 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26144 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26145 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26146 Likewise.
26147 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26148 (_nss_nisplus_getntohost_r): Likewise.
26149 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26150 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26151 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26152 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26153 Likewise.
26154 * nis/nss_nisplus/nisplus-initgroups.c
26155 (_nss_nisplus_initgroups_dyn): Likewise.
26156 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26157 (_nss_nisplus_getnetbyaddr_r): Likewise.
26158 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26159 (_nss_nisplus_getprotobynumber_r): Likewise.
26160 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26161 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26162 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26163 Likewise.
26164 * nis/nss_nisplus/nisplus-service.c
26165 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26166 (_nss_nisplus_getservbyport_r): Likewise.
26167 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26168 (_nss_nisplus_getspnam_r): Likewise.
26169 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26170 Likewise.
26171 * nscd/aicache.c (addhstaiX): Likewise.
26172 * nscd/cache.c (cache_search, prune_cache): Likewise.
26173 * nscd/connections.c (register_traced_file, send_ro_fd)
26174 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26175 (main_loop_epoll): Likewise.
26176 * nscd/grpcache.c (addgrbyX): Likewise.
26177 * nscd/hstcache.c (addhstbyX): Likewise.
26178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26179 * nscd/mem.c (gc, mempool_alloc): Likewise.
26180 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26181 (addinnetgrX): Likewise.
26182 * nscd/nscd-client.h (__nscd_acquire_maplock)
26183 (__nscd_drop_map_ref): Likewise.
26184 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26185 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26186 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26187 Likewise.
26188 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26189 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26190 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26191 (__nscd_get_map_ref): Likewise.
26192 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26193 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26194 Likewise.
26195 * nscd/pwdcache.c (addpwbyX): Likewise.
26196 * nscd/selinux.c (preserve_capabilities): Likewise.
26197 * nscd/servicescache.c (addservbyX): Likewise.
26198 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26199 * posix/fnmatch.c (fnmatch): Likewise.
26200 * posix/getopt.c (_getopt_internal_r): Likewise.
26201 * posix/glob.c (glob, glob_in_dir): Likewise.
26202 * posix/wordexp.c (exec_comm_child): Likewise.
26203 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26204 (getanswer_r, gaih_getanswer_slice): Likewise.
26205 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26206 * resolv/res_init.c: Likewise.
26207 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26208 * resolv/res_query.c (__libc_res_nquery): Likewise.
26209 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26210 Likewise.
26211 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26212 * stdio-common/perror.c (perror): Likewise.
26213 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26214 * stdio-common/tmpnam.c (tmpnam): Likewise.
26215 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26216 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26217 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26218 Likewise.
26219 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26220 * stdlib/putenv.c (putenv): Likewise.
26221 * stdlib/setenv.c (__add_to_environ): Likewise.
26222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26223 * stdlib/strtol_l.c (INTERNAL): Likewise.
26224 * string/memmem.c (memmem): Likewise.
26225 * string/strerror.c (strerror): Likewise.
26226 * string/strnlen.c (__strnlen): Likewise.
26227 * string/test-memmem.c (simple_memmem): Likewise.
26228 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26229 * sunrpc/pm_getport.c (__get_socket): Likewise.
26230 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26231 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26232 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26233 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26234 Likewise.
26235 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26236 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26237 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26238 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26239 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26240 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26241 Likewise.
26242 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26243 Likewise.
26244 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26245 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26247 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26248 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26250 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26251 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26252 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26253 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26254 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26255 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26256 Likewise.
26257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26258 Likewise.
26259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26260 Likewise.
26261 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26265 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26267 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26277 Likewise.
26278 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26279 Likewise.
26280 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26281 Likewise.
26282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26283 Likewise.
26284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26286 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26287 Likewise.
26288 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26289 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26290 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26291 * sysdeps/posix/sleep.c: Likewise.
26292 * sysdeps/posix/tempname.c: Likewise.
26293 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26295 Likewise.
26296 * sysdeps/powerpc/powerpc32/dl-machine.h
26297 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26298 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26300 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26301 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26302 Likewise.
26303 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26305 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26306 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26307 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26308 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26309 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26310 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26311 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26312 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26314 (elf_machine_lazy_rel): Likewise.
26315 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26317 (elf_machine_lazy_rel): Likewise.
26318 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26319 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26320 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26321 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26322 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26323 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26324 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26326 Likewise.
26327 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26328 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26329 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26330 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26331 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26332 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26333 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26334 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26335 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26336 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26337 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26338 Likewise.
26339 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26340 (__posix_fallocate64_l64): Likewise.
26341 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26342 (posix_fallocate): Likewise.
26343 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26344 Likewise.
26345 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26346 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26347 (getifaddrs_internal): Likewise.
26348 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26349 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26350 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26351 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26352 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26353 (__posix_fallocate64_l64): Likewise.
26354 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26355 Likewise.
26356 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26357 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26358 (__get_clockfreq): Likewise.
26359 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26360 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26361 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26364 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26365 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26366 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26367 Likewise.
26368 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26369 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26370 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26373 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26374 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26375 Likewise.
26376 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26377 (posix_fallocate): Likewise.
26378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26379 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26380 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26381 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26382 (elf_machine_rela, elf_machine_rela_relative)
26383 (elf_machine_lazy_rel): Likewise.
26384 * time/asctime.c (asctime_internal): Likewise.
26385 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26386 * time/tzset.c (__tzset_parse_tz): Likewise.
26387 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26388 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26389 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26390 * wcsmbs/wcsmbsload.h: Likewise.
26391
26392 [BZ #15894]
26393 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26394
26395 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26396 (arena_get2): Remove THREAD_STATS conditionals.
26397 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26398 (__malloc_stats, int): Likewise.
26399
26400 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26401
26402 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26403 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26404
26405 * manual/setjmp.texi: Fix typos/grammar errors.
26406
26407 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26408 Only return early when n is <= 0. Delete unused return statement.
26409
26410 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26411 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26412 * debug/tst-longjmp_chk3.c: New file.
26413
26414 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26415 (test_main): Replace code with set_fortify_handler call.
26416 * debug/test-strcpy_chk.c: Likewise.
26417 * debug/tst-chk1.c: Likewise.
26418 * debug/tst-longjmp_chk.c: Likewise.
26419 * test-skeleton.c: Include fcntl.h & paths.h
26420 (set_fortify_handler): Define.
26421
26422 * debug/tst-longjmp_chk.c: Add header comment and include
26423 ../test-skeleton.c.
26424 (do_test): Mark static.
26425 (TEST_FUNCTION): Define.
26426
26427 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26428 (IP_PMTUDISC_INTERFACE): Likewise.
26429 (IP_MULTICAST_IF): Likewise.
26430 (IP_MULTICAST_TTL): Likewise.
26431 (IP_MULTICAST_LOOP): Likewise.
26432 (IP_ADD_MEMBERSHIP): Likewise.
26433 (IP_DROP_MEMBERSHIP): Likewise.
26434 (IP_UNBLOCK_SOURCE): Likewise.
26435 (IP_BLOCK_SOURCE): Likewise.
26436 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26437 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26438 (IP_MSFILTER): Likewise.
26439 (MCAST_JOIN_GROUP): Likewise.
26440 (MCAST_BLOCK_SOURCE): Likewise.
26441 (MCAST_UNBLOCK_SOURCE): Likewise.
26442 (MCAST_LEAVE_GROUP): Likewise.
26443 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26444 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26445 (MCAST_MSFILTER): Likewise.
26446 (IP_MULTICAST_ALL): Likewise.
26447 (IP_UNICAST_IF): Likewise.
26448
26449 * timezone/Makefile: Delete $(have-ksh) check.
26450 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26451 * timezone/tzselect.ksh: Add +x mode bits.
26452
26453 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26454 (ANON_INODE_FS_MAGIC): Likewise.
26455 (BDEVFS_MAGIC): Likewise.
26456 (BINFMTFS_MAGIC): Likewise.
26457 (BTRFS_TEST_MAGIC): Likewise.
26458 (CRAMFS_MAGIC_WEND): Likewise.
26459 (DEBUGFS_MAGIC): Likewise.
26460 (ECRYPTFS_SUPER_MAGIC): Likewise.
26461 (EXT3_SUPER_MAGIC): Likewise.
26462 (EXT4_SUPER_MAGIC): Likewise.
26463 (FUTEXFS_SUPER_MAGIC): Likewise.
26464 (HOSTFS_SUPER_MAGIC): Likewise.
26465 (HUGETLBFS_MAGIC): Likewise.
26466 (MINIX3_SUPER_MAGIC): Likewise.
26467 (MTD_INODE_FS_MAGIC): Likewise.
26468 (NILFS_SUPER_MAGIC): Likewise.
26469 (OPENPROM_SUPER_MAGIC): Likewise.
26470 (PIPEFS_MAGIC): Likewise.
26471 (PSTOREFS_MAGIC): Likewise.
26472 (QNX6_SUPER_MAGIC): Likewise.
26473 (RAMFS_MAGIC): Likewise.
26474 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26475 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26476 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26477 (SECURITYFS_MAGIC): Likewise.
26478 (SELINUX_MAGIC): Likewise.
26479 (SMACK_MAGIC): Likewise.
26480 (SOCKFS_MAGIC): Likewise.
26481 (SQUASHFS_MAGIC): Likewise.
26482 (STACK_END_MAGIC): Likewise.
26483 (TMPFS_MAGIC): Likewise.
26484 (USBDEVICE_SUPER_MAGIC): Likewise.
26485 (V9FS_MAGIC): Likewise.
26486 (XENFS_SUPER_MAGIC): Likewise.
26487 (CRAMFS_MAGIC): Fix typo in comment.
26488 (EXT2_SUPER_MAGIC): Update comment.
26489 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26490
26491 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26492
26493 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26494 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26495 * sysdeps/unix/sysv/linux/arm: Move directory from
26496 ports/sysdeps/unix/sysv/linux/arm.
26497 * README: Update listing for arm-*-linux-gnueabi.
26498
26499 * README: Remove mention of am33.
26500
26501 2014-02-07 Roland McGrath <roland@hack.frob.com>
26502
26503 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26504 than the comma operator, to avoid "rhs of comma has no effect"
26505 compiler warnings.
26506 (__sigfillset, __sigandset, __sigorset): Likewise.
26507 * include/signal.h (__sigemptyset): Likewise.
26508 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26509
26510 2014-02-07 Allan McRae <allan@archlinux.org>
26511
26512 * version.h (RELEASE): Set to "development".
26513 (VERSION): Set to "2.19.90"
26514 * NEWS: Add 2.20 section.
26515
26516 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26517
26518 [BZ #16529]
26519 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26520
26521 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26522
26523 * manual/contrib.texi: Update entry for Carlos O'Donell,
26524 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26525
26526 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26527
26528 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26529
26530 * sysdeps/unix/sysv/linux/kernel-features.h
26531 [__LINUX_KERNEL_VERSION >= 0x020621]
26532 (__ASSUME_PROC_PID_TASK_COMM): Define.
26533
26534 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26535
26536 [BZ #16398]
26537 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26538 conversion when destination buffer does not have enough space.
26539 * libio/tst-ftell-partial-wide.c: New test case.
26540 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26541
26542 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26543 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26544 Leonard and Allan McRae.
26545
26546 2014-02-04 David S. Miller <davem@davemloft.net>
26547
26548 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26549 32-bit.
26550
26551 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26552
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26554 New file
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26556 New file
26557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26558 New file.
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26560 New file.
26561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26562 New file.
26563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26564 New file.
26565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26566 New file.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26568 New file.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26570 New file.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26572 New file.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26574 New file.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26576 New file.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26578 New file.
26579
26580 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26581
26582 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26583 * shlib-versions: Likewise.
26584
26585 2014-02-04 Roland McGrath <roland@hack.frob.com>
26586 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26587
26588 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26589 (abilist-pattern): New variable, set to %-le.abilist.
26590
26591 * Makerules (abilist-pattern): New variable.
26592 (vpath): Use $(abilist-pattern) in place of %.abilist.
26593 (check-abi-% pattern rule): Likewise.
26594 (check-abi, update-abi): Likewise.
26595
26596 2014-02-04 Eric Wong <normalperson@yhbt.net>
26597
26598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26599
26600 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26601
26602 * manual/startup.texi: Add next, previous, and top entries for
26603 the `Program Arguments' and `Environment Variables' nodes.
26604
26605 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26606
26607 * manual/macros.texi: Add comments before MTASC-safety macros.
26608
26609 * manual/users.texi: Document MTASC-safety properties.
26610
26611 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26612 (pthread_getspecific, pthread_setspecific): Format with
26613 @deftypefun, and add @safety note.
26614 * manual/signal.texi: Move comments that analyze the above
26615 functions to their home place.
26616
26617 2014-02-03 Allan McRae <allan@archlinux.org>
26618
26619 * po/sl.po: Update Slovenian translation from translation project.
26620
26621 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26622
26623 * manual/time.texi (timegm): Add missing blank after @c.
26624 Reported by Joseph Myers <joseph@codesourcery.com>.
26625
26626 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26627
26628 * manual/check-safety.sh: New.
26629 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26630
26631 * manual/terminal.texi: Document MTASC-safety properties.
26632
26633 * manual/filesys.texi: Document MTASC-safety properties.
26634
26635 * manual/errno.texi: Document MTASC-safety properties.
26636
26637 * manual/intro.texi: Document safety identifiers and
26638 conditionals.
26639
26640 * manual/string.texi (wcstok): Fix prototype.
26641 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26642
26643 * manual/time.texi: Document MTASC-safety properties.
26644
26645 * manual/string.texi: Document MTASC-safety properties.
26646
26647 * manual/threads.texi: Document MTASC-safety properties.
26648
26649 * manual/stdio.texi: Document MTASC-safety properties.
26650
26651 * manual/syslog.texi: Document MTASC-safety properties.
26652
26653 * manual/sysinfo.texi: Document MTASC-safety properties.
26654
26655 * manual/startup.texi: Document MTASC-safety properties.
26656
26657 * manual/socket.texi: Document MTASC-safety properties.
26658
26659 * manual/signal.texi: Document MTASC-safety properties.
26660
26661 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26662
26663 * manual/setjmp.texi: Document MTASC-safety properties.
26664
26665 * manual/search.texi: Document MTASC-safety properties.
26666
26667 * manual/resource.texi: Document MTASC-safety properties.
26668
26669 * manual/process.texi: Document MTASC-safety properties.
26670
26671 * manual/platform.texi: Document MTASC-safety properties.
26672
26673 * manual/pipe.texi: Document MTASC-safety properties.
26674
26675 * manual/pattern.texi: Document MTASC-safety properties.
26676
26677 * manual/message.texi: Document MTASC-safety properties.
26678
26679 [BZ #12751]
26680 * manual/memory.texi: Document MTASC-safety properties.
26681
26682 * manual/math.texi: Document MTASC-safety properties.
26683
26684 * manual/locale.texi: Document MTASC-safety properties.
26685
26686 * manual/llio.texi: Document MTASC-safety properties.
26687
26688 * manual/libdl.texi: New.
26689
26690 * manual/lang.texi: Document MTASC-safety properties.
26691
26692 * manual/job.texi: Document MTASC-safety properties.
26693
26694 * manual/getopt.texi: Document MTASC-safety properties.
26695
26696 * manual/ctype.texi: Document MTASC-safety properties.
26697
26698 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26699
26700 [BZ #16046]
26701 * csu/libc-tls.c (static_map): Remove variable.
26702 (__libc_setup_tls): Use main executable's link map for TLS data.
26703 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26704 casing for LM_ID_BASE and GL(dl_nns).
26705 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26706 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26707 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26708 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26709 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26710 member.
26711 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26712 l_phnum members.
26713
26714 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26715
26716 * manual/debug.texi: Document MTASC-safety properties.
26717
26718 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26719
26720 [BZ #16510]
26721 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26722 of __x86_64__ when disabling x87 inline functions.
26723
26724 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26725
26726 * manual/charset.texi: Document MTASC-safety properties.
26727
26728 * manual/crypt.texi: Document MTASC-safety properties.
26729
26730 * manual/conf.texi: Document MTASC-safety properties.
26731
26732 * manual/arith.texi: Document MTASC-safety properties.
26733
26734 * manual/argp.texi: Document MTASC-safety properties.
26735
26736 * manual/macros.texi: Introduce macros to document multi
26737 thread, asynchronous signal and asynchronous cancellation
26738 safety properties.
26739 * manual/intro.texi: Introduce the properties themselves.
26740
26741 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26742
26743 * sysdeps/sh/sh4/Makefile: New file.
26744
26745 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26746
26747 * math/gen-libm-test.pl ($srcdir): New variable.
26748 ($auto_input): Use it.
26749
26750 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26751
26752 [BZ #16506]
26753 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26754 access beyond array bounds when parsing netgroups file.
26755
26756 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26757 the old buffer before realloc.
26758
26759 2014-01-27 Allan McRae <allan@archlinux.org>
26760
26761 * po/fr.po: Update French translation from translation project.
26762
26763 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26764
26765 * sysdeps/sh/libm-test-ulps: Regenerate.
26766
26767 2014-01-24 David S. Miller <davem@davemloft.net>
26768
26769 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26770
26771 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26772
26773 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26774 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26775
26776 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26777
26778 [BZ #16474]
26779 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26780 string pointers after reallocation.
26781
26782 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26783
26784 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26785 __SH4A__ instead of __SH_FPU_ANY__.
26786
26787 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26788
26789 * sysdeps/sh/fpu_control.h: New file.
26790 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26791 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26792 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26793 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26794 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26795 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26796 * sysdeps/sh/sys/ucontext.h: Remove.
26797 * sysdeps/sh/sys: Remove directory.
26798
26799 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26800
26801 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26802 s390/sys/ucontext.h.
26803 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26804 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26805
26806 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26807
26808 [BZ #15605]
26809 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26810
26811 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26812
26813 [BZ#16431]
26814 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26815 Adjust the vDSO correctly for internal calls.
26816 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26817
26818 2014-01-20 Allan McRae <allan@archlinux.org>
26819
26820 * po/ca.po: Update Catalan translation from translation project.
26821
26822 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26823
26824 * sysdeps/s390/sotruss-lib.c: New file.
26825
26826 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26827
26828 [BZ#16430]
26829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26830 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26831 local calls issues by not having a PLT stub required for IFUNC calls.
26832 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26833
26834 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26835
26836 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26837 * math/test-fpucw-static.c: Likewise.
26838
26839 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26840
26841 [BZ #16453]
26842 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26843
26844 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26845
26846 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26847 implementation for powerpc.
26848
26849 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26850
26851 [BZ #14782]
26852 * sysdeps/posix/system.c (__libc_system): Do not enable
26853 asynchronous cancellation.
26854
26855 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26856
26857 [BZ #16427]
26858 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26859 handling only for numbers special also in the IEEE case.
26860
26861 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26862
26863 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26864
26865 2014-01-11 Allan McRae <allan@archlinux.org>
26866
26867 * po/bg.po: Update Bulgarian translation from translation project.
26868
26869 * po/de.po: Update German translation from translation project.
26870
26871 2014-01-10 Roland McGrath <roland@hack.frob.com>
26872
26873 * sysdeps/generic/gcc-compat.h: New file.
26874
26875 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26876
26877 * benchtests/asin-inputs: Correct slow inputs.
26878 * benchtests/acos-inputs: Likewise.
26879
26880 2014-01-10 Allan McRae <allan@archlinux.org>
26881
26882 * po:sv.po: Update Swedish translation from translation project.
26883
26884 * po/vi.po: Update Vietnamese translation from translation project.
26885
26886 * po/eo.po: Update Esperanto translation from translation project.
26887
26888 * po/cs.po: Update Czech translation from translation project.
26889
26890 * po/nl.po: Update Dutch translation from translation project.
26891
26892 * po/pl.po: Update Polish translation from translation project.
26893
26894 * po/ru.po: Update Russian translation from translation project.
26895
26896 * po/uk.po: Update Ukrainian translation from translation project.
26897
26898 2014-01-08 Brooks Moses <bmoses@google.com>
26899
26900 * elf/dl-load.c: Fix comment typo.
26901
26902 2014-01-08 Carlos O'Donell <carlos@redhat.com>
26903
26904 * po/header.pot: Rename to...
26905 * po/pot.header: ... this.
26906 * po/Makefile: Use pot.header.
26907
26908 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
26909 Maxim Kuvyrkov <maxim@kugelworks.com>
26910
26911 [BZ #16394]
26912 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26913 SRC and DEST against LEN.
26914
26915 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26916
26917 [BZ #16414]
26918 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26919 implementation.
26920 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26921
26922 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26923
26924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26925
26926 2014-01-08 Joseph Myers <joseph@codesourcery.com>
26927
26928 [BZ #16408]
26929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26930 for large positive arguments.
26931
26932 2014-01-07 Joseph Myers <joseph@codesourcery.com>
26933
26934 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26935
26936 * math/auto-libm-test-in: Mark various tests with
26937 xfail-rounding:ldbl-128ibm.
26938 * math/auto-libm-test-out: Regenerated.
26939
26940 [BZ #16407]
26941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26942 Increase overflow threshold.
26943
26944 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
26945
26946 [BZ #14286]
26947 * stdio-common/vfprintf.c: Check for integer overflow.
26948
26949 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26950
26951 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26952 the first argument and return value of __tls_get_addr_internal.
26953
26954 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26955
26956 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26957 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26958
26959 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26960
26961 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26962 * sysdeps/s390/rtld-global-offsets.sym: New file.
26963 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26964 GLIBC_2.19 symbol.
26965 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26968 ... this.
26969 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26970 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26971 ... this.
26972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26973 Regenerate.
26974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26975 Regenerate.
26976 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26977 halfs of GPRs for high_gprs contexts.
26978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26979 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
26980 field.
26981 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26982 uc_flags field.
26983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26984 64 bit versions:
26985 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26986 for high GPRs (uc_high_gprs) and for future extensions
26987 (__reserved).
26988 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26989 for future extensions (__reserved).
26990 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26991 64 bit versions:
26992 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26993 SC_HIGHGPRS offset definition.
26994 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26995 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26996
26997 * Versions.def: Add GLIBC_2.19 for libpthread.
26998 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26999 siglongjmp for libpthread with GLIBC_2.19 symver.
27000 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27001 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27002 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27003 * sysdeps/s390/__longjmp.c: New file.
27004 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27005 * sysdeps/s390/longjmp.c: New file.
27006 * sysdeps/s390/setjmp.S: New file.
27007 * sysdeps/s390/sigjmp.S: New file.
27008 * sysdeps/s390/v1-longjmp.c: New file.
27009 * sysdeps/s390/v1-setjmp.h: New file.
27010 * sysdeps/s390/v1-sigjmp.c: New file.
27011 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27012 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27013 GLIBC_2.19 version.
27014 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27015 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27016 versioned symbols for ____longjmp_chk.
27017 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27018 Likewise.
27019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27020 Regenerate.
27021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27022 Regenerate.
27023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27024 Regenerate.
27025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27026 Regenerate.
27027 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27028 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27029 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27030 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27031 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27032 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27033 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27034 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27035 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27036 * sysdeps/s390/rtld-__longjmp.c: New file.
27037 * sysdeps/s390/rtld-setjmp.S: New file.
27038
27039 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27040
27041 [BZ #16400]
27042 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27043 Return -__logl (x) for small positive arguments without evaluating
27044 a polynomial.
27045
27046 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27047
27048 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27049 Rename to ...
27050 (__ptrace_peeksiginfo_args): ... this.
27051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27054
27055 2014-01-06 Allan McRae <allan@archlinux.org>
27056
27057 * inet/netinet/in.h: Fix typo in comment.
27058
27059 2014-01-05 Andreas Jaeger <aj@suse.de>
27060
27061 * sysdeps/i386/fpu/libm-test-ulps: Update.
27062
27063 2014-01-05 Allan McRae <allan@archlinux.org>
27064
27065 * po/libc.pot: Regenerated.
27066
27067 * malloc/memusagestat.c: Fix gettext call formatting.
27068
27069 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27070
27071 * nscd/nscd.c: Improve usage() output.
27072
27073 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27074
27075 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27076 * sysdeps/unix/sysv/linux/configure: Regenerated.
27077 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27078 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27079
27080 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27081
27082 [BZ #16390]
27083 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27084 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27085
27086 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27087
27088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27089 extra tokens at end of #undef directive.
27090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27091 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27093
27094 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27095
27096 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27097
27098 * math/auto-libm-test-in: Mark various tests with
27099 xfail-rounding:ldbl-128ibm.
27100 * math/auto-libm-test-out: Regenerated.
27101
27102 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27103
27104 [BZ #16386]
27105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27106 numbers with subnormal high part when calculating exponent.
27107
27108 [BZ #16385]
27109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27110 fabs.
27111
27112 [BZ #16384]
27113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27114 M_LN2l.
27115 (__ieee754_acoshl): Use __log1pl not __log1p.
27116
27117 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27118
27119 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27120 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27121 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27122 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27123 (reused_arena, arena_get2): Convert to GNU style.
27124 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27125 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27126 (memalign_check, __malloc_set_state): Likewise.
27127 * malloc/mallocbug.c (main): Likewise.
27128 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27129 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27130 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27131 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27132 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27133 (__posix_memalign, malloc_info): Likewise.
27134 * malloc/malloc.h: Likewise.
27135 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27136 (mallochook, memalignhook, reallochook, mabort): Likewise.
27137 * malloc/mcheck.h: Likewise.
27138 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27139 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27140 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27141 * malloc/morecore.c (__default_morecore): Likewise.
27142 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27143 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27144 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27145 (print_and_abort): Likewise.
27146 * malloc/obstack.h: Likewise.
27147 * malloc/set-freeres.c (__libc_freeres): Likewise.
27148 * malloc/tst-mallocstate.c (main): Likewise.
27149 * malloc/tst-mtrace.c (main): Likewise.
27150 * malloc/tst-realloc.c (do_test): Likewise.
27151
27152 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27153
27154 [BZ #16366]
27155 * nscd/netgroupcache.c (do_notfound): New function.
27156 (addgetnetgrentX): Use it.
27157
27158 [BZ # 16365]
27159 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27160 NSS_STATUS_NOTFOUND.
27161
27162 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27163
27164 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27166
27167 2014-01-01 Allan McRae <allan@archlinux.org>
27168
27169 * scripts/update-copyrights: Update configure input file suffix.
27170
27171 * NEWS: Update copyright year.
27172 * catgets/gencat.c: Likewise.
27173 * csu/version.c: Likewise.
27174 * debug/catchsegv.sh: Likewise.
27175 * debug/pcprofiledump.c: Likewise.
27176 * debug/xtrace.sh: Likewise.
27177 * elf/ldconfig.c: Likewise.
27178 * elf/ldd.bash.in: Likewise.
27179 * elf/pldd.c: Likewise.
27180 * elf/sotruss.ksh: Likewise.
27181 * elf/sprof.c: Likewise.
27182 * iconv/iconv_prog.c: Likewise.
27183 * iconv/iconvconfig.c: Likewise.
27184 * locale/programs/locale.c: Likewise.
27185 * locale/programs/localedef.c: Likewise.
27186 * login/programs/pt_chown.c: Likewise.
27187 * malloc/memusage.sh: Likewise.
27188 * malloc/memusagestat.c: Likewise.
27189 * malloc/mtrace.pl: Likewise.
27190 * manual/libc.texinfo: Likewise.
27191 * nscd/nscd.c: Likewise.
27192 * nss/getent.c: Likewise.
27193 * nss/makedb.c: Likewise.
27194 * posix/getconf.c: Likewise.
27195 * scripts/test-installation.pl: Likewise.
27196
27197 * All files with FSF copyright notices: Update copyright dates
27198 using scripts/update-copyrights.
27199 * intl/plural.c: Regenerated.
27200 * locale/programs/charmap-kw.h: Likewise.
27201 * locale/programs/locfile-kw.h: Likewise.
27202
27203 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27204
27205 * sysdeps/unix/sysv/linux/configure: Regenerated.
27206 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27207 the linux/fanotify.h header.
27208 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27209 HAVE_LINUX_FANOTIFY_H is defined.
27210
27211 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27212
27213 * benchtests/cos-inputs: New inputs.
27214 * benchtests/sin-inputs: Likewise.
27215
27216 * benchtests/atan-inputs: New inputs. Fix name of multiple
27217 precision fallback inputs.
27218
27219 * benchtests/atanh-inputs: New inputs.
27220 * benchtests/tanh-inputs: Likewise.
27221
27222 * benchtests/acosh-inputs: New inputs.
27223 * benchtests/asinh-inputs: Likewise.
27224
27225 * benchtests/cosh-inputs: New inputs.
27226 * benchtests/sinh-inputs: Likewise.
27227
27228 * benchtests/acos-inputs: Add more inputs.
27229 * benchtests/asin-inputs: Likewise.
27230
27231 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27232
27233 [BZ #16375]
27234 * manual/arith.texi: Fix spelling.
27235 * manual/charset.texi: Likewise.
27236 * manual/errno.texi: Likewise.
27237 * manual/filesys.texi: Likewise.
27238 * manual/lang.texi: Likewise.
27239 * manual/llio.texi: Likewise.
27240 * manual/locale.texi: Likewise.
27241 * manual/message.texi: Likewise.
27242 * manual/resource.texi: Likewise.
27243 * manual/search.texi: Likewise.
27244 * manual/setjmp.texi: Likewise.
27245 * manual/stdio.texi: Likewise.
27246 * manual/string.texi: Likewise.
27247 * manual/sysinfo.texi: Likewise.
27248 * manual/time.texi: Likewise.
27249
27250 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27251
27252 * po/sl.po: New file.
27253
27254 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27255
27256 * .gitignore: Add core/.gdbinit/.gdb_history.
27257
27258 2013-12-27 Allan McRae <allan@archlinux.org>
27259
27260 [BZ #16369]
27261 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27262 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27263
27264 2013-12-24 Brooks Moses <bmoses@google.com>
27265
27266 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27267 all compilers that claim C++98 compliance, not just GCC.
27268 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27269 Likewise.
27270
27271 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27272
27273 * NEWS: Restore accidentally deleted bug-fix entries.
27274
27275 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27276 Ondřej Bílka <neleai@seznam.cz>
27277
27278 [BZ #15073]
27279 * malloc/malloc.c (_int_free): Perform sanity check only if we
27280 have_lock.
27281
27282 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27283
27284 [BZ #12986]
27285 * manual/stdio.texi (String Input Conversions): Clarify that character
27286 classes are not supported.
27287
27288 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27289
27290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27291
27292 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27293
27294 [BZ #16337]
27295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27296 Calculate results for small negative arguments directly rather
27297 than using reflection formula with special underflow handling.
27298
27299 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27300 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27301 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27302 (fchflags): Likewise.
27303 (revoke): Likewise.
27304 (setlogin): Likewise.
27305 (sigaltstack): Likewise.
27306 (wait4): Likewise.
27307 (sigblock): Remove.
27308 (sigsetmask): Likewise.
27309 (wait3): Likewise.
27310 (waitpid): Likewise.
27311 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27312 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27313 file.
27314 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27315 * sysdeps/unix/bsd/Makefile: ... here.
27316 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27317 * sysdeps/unix/bsd/Versions: ... here.
27318 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27319 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27320 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27321 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27322 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27323 * sysdeps/unix/bsd/sigblock.c: ... here.
27324 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27325 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27326 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27327 * sysdeps/unix/bsd/sigvec.c: ... here.
27328 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27329 * sysdeps/unix/bsd/tcdrain.c: ... here.
27330 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27331 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27332 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27333 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27334 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27335 * sysdeps/unix/bsd/wait.c: ... here.
27336 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27337 * sysdeps/unix/bsd/wait3.c: ... here.
27338 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27339 * sysdeps/unix/bsd/waitpid.c: ... here.
27340
27341 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27342
27343 [BZ #16356]
27344 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27345 round-to-nearest for [!USE_AS_EXPM1L].
27346 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27347 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27348 more tests of exp and exp10. Expect some exp10 tests to miss
27349 exceptions or fail in directed rounding modes.
27350 * math/auto-libm-test-out: Regenerated.
27351 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27352 (exp10_test_tonearest): New function.
27353 (exp10_towardzero_test_data): New array.
27354 (exp10_test_towardzero): New function.
27355 (exp10_downward_test_data): New array.
27356 (exp10_test_downward): New function.
27357 (exp10_upward_test_data): New array.
27358 (exp10_test_upward): New function.
27359 (main): Call the new functions.
27360 * sysdeps/i386/fpu/libm-test-ulps: Update.
27361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27362
27363 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27364
27365 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27366 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27367 * math/auto-libm-test-out: Regenerated.
27368 * math/libm-test.inc (acosh_test_data): Add more tests.
27369 (atanh_test_data): Likewise.
27370 (ceil_test_data): Likewise.
27371 (copysign_test_data): Likewise.
27372 * sysdeps/i386/fpu/libm-test-ulps: Update.
27373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27374
27375 * timezone/checktab.awk: Update from tzcode 2013i.
27376 * timezone/private.h: Likewise.
27377 * timezone/scheck.c: Likewise.
27378 * timezone/tzfile.h: Likewise.
27379 * timezone/tzselect.ksh: Likewise.
27380 * timezone/zdump.c: Likewise.
27381 * timezone/zic.c: Likewise.
27382
27383 * math/auto-libm-test-in: Add tests of cpow.
27384 * math/auto-libm-test-out: Regenerated.
27385 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27386 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27387 mpc_cc_c.
27388 (func_calc_desc): Add mpc_cc_c union field.
27389 (test_functions): Add cpow.
27390 (special_fill_2pi): New function.
27391 (special_real_inputs): Add 2pi.
27392 (calc_generic_results): Handle mpc_cc_c.
27393 * sysdeps/i386/fpu/libm-test-ulps: Update.
27394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27395
27396 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27397 csqrt, ctan and ctanh.
27398 * math/auto-libm-test-out: Regenerated.
27399 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27400 (TEST_COND_x86): Likewise.
27401 (ccos_test_data): Use AUTO_TESTS_c_c.
27402 (ccosh_test_data): Likewise.
27403 (cexp_test_data): Likewise.
27404 (clog_test_data): Likewise.
27405 (csqrt_test_data): Likewise.
27406 (ctan_test_data): Likewise.
27407 (ctan_tonearest_test_data): Likewise.
27408 (ctan_towardzero_test_data): Likewise.
27409 (ctan_downward_test_data): Likewise.
27410 (ctan_upward_test_data): Likewise.
27411 (ctanh_test_data): Likewise.
27412 (ctanh_tonearest_test_data): Likewise.
27413 (ctanh_towardzero_test_data): Likewise.
27414 (ctanh_downward_test_data): Likewise.
27415 (ctanh_upward_test_data): Likewise.
27416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27417 mpc_c_c.
27418 (func_calc_desc): Add mpc_c_c union field.
27419 (FUNC_mpc_c_c): New macro.
27420 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27421 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27422 ctanh.
27423 (special_fill_min_subnorm_p120): New function.
27424 (special_real_inputs): Add min_subnorm_p120.
27425 (calc_generic_results): Handle mpc_c_c.
27426 * sysdeps/i386/fpu/libm-test-ulps: Update.
27427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27428
27429 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27430
27431 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27432 (do_sin_slow): New functions.
27433 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27434 (cslow2, csloww1, csloww2): Use the new functions.
27435
27436 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27437 Use M to change sign of result instead of X. Assume X is
27438 positive.
27439 (csloww1): Likewise.
27440 (__sin): Adjust.
27441 (__cos): Adjust.
27442
27443 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27444 arguments A and DA.
27445 (__sin): Adjust.
27446 (__cos): Likewise.
27447
27448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27449 (__cos): Likewise.
27450 (sloww1): Don't adjust sign of DX.
27451 (csloww1): Likewise.
27452 (sloww2): Use X directly and don't adjust sign of DX.
27453 (csloww2): Likewise.
27454
27455 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27456
27457 * math/auto-libm-test-in: Add tests of cabs and carg.
27458 * math/auto-libm-test-out: Regenerated.
27459 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27460 (carg_test_data): Likewise.
27461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27462 mpc_c_f.
27463 (func_calc_desc): Add mpc_c_f union field.
27464 (test_functions): Add cabs and carg.
27465 (calc_generic_results): Handle mpc_c_f.
27466
27467 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27468 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27469 as a macro and a compat symbol.
27470 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27471 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27472 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27473 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27474 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27475 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27476 not use .hidden.
27477 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27478 Likewise.
27479 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27480 Likewise.
27481 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27482 Likewise.
27483 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27484 Likewise.
27485 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27486 Likewise.
27487 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27488 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27489 from GLIBC_2.3.2.
27490
27491 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27492
27493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27494
27495 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27496
27497 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27498 trailing whitespace removed.
27499 * scripts/config.guess: Update to version 2013-11-29.
27500 * scripts/config.sub: Update to version 2013-10-01.
27501
27502 * math/auto-libm-test-in: Add tests of sincos.
27503 * math/auto-libm-test-out: Regenerated.
27504 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27505 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27506 mpfr_f_11.
27507 (func_calc_desc): Add mpfr_f_11 union field.
27508 (test_functions): Add sincos.
27509 (calc_generic_results): Handle mpfr_f_11.
27510 * sysdeps/i386/fpu/libm-test-ulps: Update.
27511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27512
27513 2013-12-19 Andreas Schwab <schwab@suse.de>
27514
27515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27516 CALL_MCOUNT.
27517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27518 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27519 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27520
27521 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27522
27523 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27524 * sysdeps/i386/fpu/libm-test-ulps: Update.
27525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27526
27527 [BZ #16293]
27528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27529 round-to-nearest mode when using frndint.
27530 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27531 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27532 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27533 Likewise.
27534 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27535 sinh test to fail.
27536 * math/auto-libm-test-out: Regenerated.
27537 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27538 (TEST_COND_x86): Likewise.
27539 (expm1_tonearest_test_data): New array.
27540 (expm1_test_tonearest): New function.
27541 (expm1_towardzero_test_data): New array.
27542 (expm1_test_towardzero): New function.
27543 (expm1_downward_test_data): New array.
27544 (expm1_test_downward): New function.
27545 (expm1_upward_test_data): New array.
27546 (expm1_test_upward): New function.
27547 (main): Run the new test functions.
27548 * sysdeps/i386/fpu/libm-test-ulps: Update.
27549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27550
27551 * include/features.h: Update comment documenting feature test
27552 macros. Mention _DEFAULT_SOURCE in comment.
27553 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27554 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27555 _BSD_SOURCE and _SVID_SOURCE.
27556 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27557 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27558 !_SVID_SOURCE]: Likewise.
27559 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27560 (__USE_POSIX_IMPLICITLY): Define.
27561 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27562 (_POSIX_SOURCE): Undefine and redefine.
27563 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27564 (_POSIX_C_SOURCE): Likewise.
27565 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27566 (Feature Test Macros): Update documentation of default features.
27567
27568 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27569
27570 * benchtests/Makefile: Add bench-strtok.
27571 * benchtests/bench-strtok.c: New file: strtok benchtest.
27572
27573 2013-12-19 Allan McRae <allan@archlinux.org>
27574
27575 * manual/install.texi: Suppress menu for plain text output.
27576 * INSTALL: Regenerated.
27577
27578 2013-12-18 Brooks Moses <bmoses@google.com>
27579
27580 [BZ #15846]
27581 * misc/getauxval.c: Include errno.h.
27582 (__getauxval): Set errno to ENOENT if the requested type is not
27583 found.
27584 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27585 don't declare with __attribute_const__.
27586 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27587 * manual/startup.texi: Document that getauxval sets errno.
27588
27589 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27590
27591 * math/auto-libm-test-in: Add tests of jn and yn.
27592 * math/auto-libm-test-out: Regenerated.
27593 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27594 (yn_test_data): Likewise.
27595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27596 mpfr_if_f.
27597 (func_calc_desc): Add mpfr_if_f union field.
27598 (FUNC_mpfr_if_f): New macro.
27599 (test_functions): Add jn and yn.
27600 (calc_generic_results): Assert type of second input for
27601 mpfr_ff_f. Handle mpfr_if_f.
27602 (output_for_one_input_case): Disable all checking for arguments
27603 fitting floating-point types in case of an integer argument.
27604 * sysdeps/i386/fpu/libm-test-ulps: Update.
27605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27606
27607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27608 Don't expect fegetround reference in libm.so.
27609
27610 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27611
27612 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27613 $(config-cflags-nofma).
27614
27615 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27616
27617 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27618 * math/auto-libm-test-out: Regenerated.
27619
27620 [BZ #16338]
27621 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27622 to determine exponent and adjust argument to have exponent of -1.
27623 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27624 log2.
27625 * math/auto-libm-test-out: Regenerated.
27626 * sysdeps/i386/fpu/libm-test-ulps: Update.
27627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27628
27629 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27630
27631 * manual/probes.texi: Remove cases when per-thread arenas are
27632 disabled.
27633
27634 2013-12-18 Andreas Schwab <schwab@suse.de>
27635
27636 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27637 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27638 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27639 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27640 * sysdeps/i386/i686/multiarch/Makefile: Update.
27641 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27642
27643 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27644
27645 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27646 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27647
27648 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27649
27650 [BZ #15968]
27651 Support TZ transition times < 00:00:00.
27652 This is needed for version-3 tz-format files; it supports time
27653 stamps past 2037 for America/Godthab (the only entry in the tz
27654 database for which this change is relevant).
27655 * manual/time.texi (TZ Variable): Document transition times
27656 from -167:59:59 through -00:00:01.
27657 * time/tzset.c (tz_rule): Time of day is now signed.
27658 (__tzset_parse_tz): Parse negative time of day.
27659
27660 Document TZ transition times >= 25:00:00.
27661 * manual/time.texi (TZ Variable): Document transition times from
27662 25:00:00 through 167:59:59. These are already supported, and this
27663 support will help with version-3 tz-format files.
27664
27665 * manual/time.texi (TZ Variable): Modernize North America example
27666 to reflect current (i.e., 2007-and-later) daylight saving rules.
27667
27668 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27669
27670 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27671
27672 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27673 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27676 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27677 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27678 * sysdeps/unix/bsd/clock.c: Likewise.
27679 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27680 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27681 * sysdeps/unix/bsd/init-posix.c: Likewise.
27682 * sysdeps/unix/bsd/poll.c: Likewise.
27683 * sysdeps/unix/bsd/ptsname.c: Likewise.
27684 * sysdeps/unix/bsd/seekdir.c: Likewise.
27685 * sysdeps/unix/bsd/setegid.c: Likewise.
27686 * sysdeps/unix/bsd/seteuid.c: Likewise.
27687 * sysdeps/unix/bsd/setgid.c: Likewise.
27688 * sysdeps/unix/bsd/setrgid.c: Likewise.
27689 * sysdeps/unix/bsd/setruid.c: Likewise.
27690 * sysdeps/unix/bsd/setsid.c: Likewise.
27691 * sysdeps/unix/bsd/setuid.c: Likewise.
27692 * sysdeps/unix/bsd/sigaction.c: Likewise.
27693 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27694 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27695 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27696 * sysdeps/unix/bsd/telldir.c: Likewise.
27697 * sysdeps/unix/bsd/times.c: Likewise.
27698 * sysdeps/unix/bsd/usleep.c: Likewise.
27699
27700 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27701 ($(objpfx)libbsd-compat.a): Remove rule.
27702
27703 * include/features.h (__FAVOR_BSD): Do not define.
27704 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27705 features conflicting with POSIX.
27706 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27707 (_BSD_SOURCE): Remove description of not being a subset of other
27708 feature test macros.
27709 * manual/job.texi (getpgrp): Do not document BSD version.
27710 (getpgid): Do not document by reference to BSD getpgrp.
27711 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27712 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27713 * signal/signal.h [__FAVOR_BSD]: Likewise.
27714 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27715 instead of making contents conditional on [__FAVOR_BSD].
27716 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27717
27718 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27719
27720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27721
27722 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27723
27724 [BZ #16314]
27725 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27726 values below 2**-450, not 2**-500.
27727 * math/auto-libm-test-in: Don't allow spurious underflow from
27728 hypot.
27729 * math/auto-libm-test-out: Regenerated.
27730
27731 [BZ #16316]
27732 [BZ #16330]
27733 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27734 values of ha and hb and sort them after adjusting subnormal
27735 arguments.
27736 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27737 Likewise.
27738 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27739 values of ea and eb and sort them after adjusting subnormal
27740 arguments.
27741 * math/auto-libm-test-in: Do not expect some hypot tests of
27742 subnormals to fail. Add more hypot tests.
27743 * math/auto-libm-test-out: Regenerated.
27744
27745 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27746
27747 [BZ #13304]
27748 * sysdeps/sh/s_fma.c: New file.
27749 * sysdeps/sh/s_fmaf.c: New file.
27750 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27751 version.
27752 * sysdeps/sh/Implies: Add sh/soft-fp.
27753
27754 2013-12-16 Roland McGrath <roland@hack.frob.com>
27755
27756 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27757 level of indirection to members `objname', `errstring', `malloced'.
27758 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27759 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27760 it as the __longjmp argument (just pass 1 instead).
27761 (_dl_catch_error): Initialize C with argument pointers and address of
27762 volatile local ERRCODE rather than copying values out of C at return.
27763
27764 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27765
27766 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27767 * math/auto-libm-test-out: Regenerated.
27768 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27769 (hypot_test_data): Likewise.
27770 (pow_test_data): Likewise.
27771 (pow_tonearest_test_data): Likewise.
27772 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27773 mpfr_ff_f.
27774 (func_calc_desc): Add mpfr_ff_f union field.
27775 (FUNC_mpfr_ff_f): New macro.
27776 (test_functions): Add atan2, hypot and pow.
27777 (special_fill_min): New function.
27778 (special_fill_minus_min): Likewise.
27779 (special_fill_min_subnorm): Likewise.
27780 (special_fill_minus_min_subnorm): Likewise.
27781 (special_real_inputs): Add min, -min, min_subnorm and
27782 -min_subnorm.
27783 (calc_generic_results): Handle mpfr_ff_f.
27784 * sysdeps/i386/fpu/libm-test-ulps: Update.
27785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27786
27787 2013-12-16 Will Newton <will.newton@linaro.org>
27788
27789 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27790 (Aligned Memory Blocks): Add documentation for aligned_alloc
27791 and suggest it as an alternative to posix_memalign.
27792 (Hooks for Malloc): Document __memalign_hook is also called
27793 for aligned_alloc. (Summary of Malloc): Add summary for
27794 aligned alloc. Document __memalign_hook is also called
27795 for aligned_alloc.
27796
27797 2013-12-16 Will Newton <will.newton@linaro.org>
27798
27799 * manual/memory.texi (Malloc Examples): Clarify default
27800 alignment documentation. Suggest posix_memalign rather
27801 than memalign or valloc.
27802 (Aligned Memory Blocks): Remove suggestion to use memalign
27803 or valloc. Remove obsolete comment about BSD.
27804 Document memalign errno values and mark the function obsolete.
27805 Document posix_memalign returned error codes. Mark valloc
27806 as obsolete. (Hooks for Malloc): __memalign_hook is also
27807 called for posix_memalign and valloc.
27808 (Summary of Malloc): Add posix_memalign to function summary.
27809 __memalign_hook is also called for posix_memalign and valloc.
27810
27811 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27812
27813 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27814 TAYLOR_SIN.
27815 (__sin): Adjust.
27816 (__cos): Likewise.
27817 (sloww): Use mynumber union. Expand ternary operator into
27818 if-else statements.
27819 (cslow): use mynumber union.
27820
27821 2013-12-16 Allan McRae <allan@archlinux.org>
27822
27823 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27824 * configure: Regenerated.
27825
27826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27827
27828 [BZ #14120]
27829 * configure.ac: Added --enable-maintainer-mode. Check for
27830 autoconf when enabled.
27831 * configure: Regenerated.
27832
27833 * nscd/nscd.service: New file.
27834 * nscd/nscd.tmpfiles: New file.
27835
27836 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27837
27838 [BZ #12100]
27839 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27840 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27841 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27842 (strstr): Add __strstr_sse2_unaligned ifunc.
27843 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27844 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27845 (strcasestr): Remove __strcasestr_sse42 ifunc.
27846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27849
27850 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27851
27852 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27853 * sysdeps/sh/bits/fenv.h: ... here.
27854 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27855
27856 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27857
27858 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27859
27860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27861 hypotf multiarch implementations.
27862 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27864 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27865 multiarch hypot for PPC64.
27866 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27868 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27869 multiarch hypotf for PPC64.
27870
27871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27872 modff multiarch implementations.
27873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27876 multiarch modf for PPC64.
27877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27880 multiarch modff for PPC64.
27881
27882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27883 and logl multiarch implementations.
27884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27887 multiarch logb for PPC64.
27888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27891 multiarch logb for PPC64.
27892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27895 multiarch logb for PPC64.
27896
27897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27898 isinff multiarch implementation.
27899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27900 file.
27901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27903 multiarch isinf for PPC64.
27904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27905 file.
27906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27907 multiarch isinff for PPC64.
27908
27909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27910 finitef multiarch implementation.
27911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27912 file.
27913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27915 multiarch finite for PPC64.
27916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27917 file.
27918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27919 multiarch finitef for PPC64.
27920
27921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27922 lrint multiarch implementation.
27923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27924 file.
27925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27927 multiarch llrint for PPC64.
27928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27929 multiarch lrint for PPC64.
27930
27931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27932 copysignf multiarch implementation.
27933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27934 file.
27935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27936 file.
27937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27938 multiarch copysign for PPC64.
27939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27940 multiarch copysignf for PPC64.
27941
27942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27943 multiarch implementation.
27944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27945 file.
27946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27947 file.
27948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27949 file.
27950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27951 file.
27952 multiarch llround for PPC64.
27953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27954 multiarch trunc for PPC64.
27955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27956 multiarch truncf for PPC64.
27957
27958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27959 multiarch implementation.
27960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27961 file.
27962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27963 file.
27964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27965 file.
27966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27967 file.
27968 multiarch llround for PPC64.
27969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27970 multiarch round for PPC64.
27971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27972 multiarch roundf for PPC64.
27973
27974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27975 multiarch implementation.
27976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27977 file.
27978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27979 file.
27980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27981 file.
27982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27983 file.
27984 multiarch llround for PPC64.
27985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27986 multiarch floor for PPC64.
27987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27988 multiarch floorf for PPC64.
27989
27990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27991 multiarch implementation.
27992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27993 file.
27994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27995 file.
27996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27997 file.
27998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27999 file.
28000 multiarch llround for PPC64.
28001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28002 multiarch ceil for PPC64.
28003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28004 multiarch ceilf for PPC64.
28005
28006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28007 multiarch implementation.
28008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28009 file.
28010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28011 file.
28012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28013 file.
28014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28015 multiarch llround for PPC64.
28016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28017 multiarch lround for PPC64.
28018
28019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28020 multiarch implementation.
28021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28024 file.
28025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28028 multiarch isnan for PPC64.
28029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28030 multiarch isnanf for PPC64.
28031
28032 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28033 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28034 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28035 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28036 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28038
28039 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28040 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28043
28044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28045 multiarch implementations.
28046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28047 (__libc_ifunc_impl_list): Likewise.
28048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28049 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28050 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28051 multiarch stpcpy for PPC64.
28052
28053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28054 multiarch implementations.
28055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28056 (__libc_ifunc_impl_list): Likewise.
28057 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28058 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28059 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28060 multiarch strcpy for PPC64.
28061
28062 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28063 redefine function name.
28064 (_wordcopy_fwd_dest_aligned): Likewise.
28065 (_wordcopy_bwd_aligned): Likewise.
28066 (_wordcopy_bwd_dest_aligned): Likewise.
28067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28068 multiarch implementations.
28069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28070 (__libc_ifunc_impl_list): Likewise.
28071 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28073 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28074 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28075 multiarch wcscpy for PPC64.
28076
28077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28078 multiarch implementations.
28079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28080 (__libc_ifunc_impl_list): Likewise.
28081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28085 multiarch wcscpy for PPC64.
28086
28087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28088 multiarch implementations.
28089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28090 (__libc_ifunc_impl_list): Likewise.
28091 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28094 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28095 multiarch wcsrchr for PPC64.
28096
28097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28098 multiarch implementations.
28099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28100 (__libc_ifunc_impl_list): Likewise.
28101 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28102 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28103 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28104 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28105 multiarch wcschr for PPC64.
28106
28107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28108 multiarch implementations.
28109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28110 (__libc_ifunc_impl_list): Likewise.
28111 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28112 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28113 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28114 multiarch strchrnul for PPC64.
28115
28116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28117 implementations.
28118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28119 (__libc_ifunc_impl_list): Likewise.
28120 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28121 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28122 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28123 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28124 strchr for PPC64.
28125
28126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28127 implementations.
28128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28129 (__libc_ifunc_impl_list): Likewise.
28130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28132 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28133 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28134 strncmp for PPC64.
28135
28136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28137 multiarch implementations.
28138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28139 (__libc_ifunc_impl_list): Likewise.
28140 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28141 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28142 strncasecmp for PPC64.
28143 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28144 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28145 multiarch strncasecmp_l for PPC64.
28146
28147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28148 multiarch implementations.
28149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28150 (__libc_ifunc_impl_list): Likewise.
28151 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28153 multiarch strcasecmp for PPC64.
28154 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28155 file.
28156 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28157 multiarch strcasecmp_l for PPC64.
28158
28159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28160 implementations.
28161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28162 (__libc_ifunc_impl_list): Likewise.
28163 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28164 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28165 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28166 strnlen for PPC64.
28167
28168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28169 implementations.
28170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28171 (__libc_ifunc_impl_list): Likewise.
28172 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28173 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28174 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28175 strlen for PPC64.
28176
28177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28178 implementations.
28179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28180 (__libc_ifunc_impl_list): Likewise.
28181 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28182 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28183 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28184 rawmemrchr for PPC64.
28185
28186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28187 implementation.
28188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28189 (__libc_ifunc_impl_list): Likewise.
28190 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28191 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28192 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28193 memrchr for PPC64.
28194
28195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28196 implementation.
28197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28198 (__libc_ifunc_impl_list): Likewise.
28199 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28200 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28201 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28202 memchr for PPC64.
28203
28204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28205 implementation.
28206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28207 (__libc_ifunc_impl_list): Likewise.
28208 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28209 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28210 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28211 mempcpy for PPC64.
28212
28213 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28214 avoid cretion of __bzero symbol.
28215 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28216 Likewise.
28217 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28218 Likewise.
28219 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28220 Likewise.
28221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28222 multiarch implementations.
28223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28224 (__libc_ifunc_impl_list): Likewise.
28225 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28226 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28227 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28228 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28229 bzero for PPC32.
28230 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28231 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28232 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28233 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28234 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28235 memset for PPC64.
28236 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28237
28238 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28240 implementations.
28241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28242 (__libc_ifunc_impl_list): Likewise.
28243 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28244 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28245 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28246 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28247 memcmp for PPC64.
28248
28249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28250 multiarch for POWER/PPC64.
28251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28252 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28258 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28259 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28260 memcpy for PPC64.
28261
28262 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28263 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28264 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28266 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28267 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28268 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28269 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28270 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28271 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28272 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28273 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28274 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28275 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28276 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28284
28285 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28286
28287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28288
28289 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28290
28291 * benchtests/Makefile (bench): Add exp2 and log2.
28292 (LDLIBS-bench-exp2): Add -lm.
28293 (LDLIBS-bench-log2): Likewise.
28294 * benchtests/exp2-inputs: New inputs file.
28295 * benchtests/log2-inputs: New inputs file.
28296 * benchtests/log-inputs: Add new inputs.
28297 * benchtests/tan-inputs: Likewise.
28298
28299 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28300
28301 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28302 definition...
28303 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28304 (csloww2): ... from here.
28305
28306 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28307 instead of structures.
28308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28309 (POLYNOMIAL): Likewise.
28310 (TAYLOR_SLOW): Likewise.
28311 (__sin): Likewise.
28312 (__cos): Likewise.
28313 (slow1): Likewise.
28314 (slow2): Likewise.
28315 (sloww): Likewise.
28316 (sloww1); Likewise.
28317 (sloww2): Likewise.
28318 (bsloww1): Likewise.
28319 (bsloww2): Likewise.
28320 (cslow2): Likewise.
28321 (csloww): Likewise.
28322 (csloww1): Likewise.
28323 (csloww2): Likewise.
28324
28325 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28326
28327 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28328 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28329 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28330 * malloc/hooks.c (realloc_check): Likewise.
28331
28332 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28333 * malloc/arena.c: Remove PER_THREAD conditional.
28334 [!PER_THREAD]: Remove code.
28335 (ptmalloc_unlock_all2): Likewise.
28336 (ptmalloc_init): Likewise.
28337 (_int_new_arena): Likewise.
28338 (arena_get2): Likewise.
28339 * malloc/hooks.c (__malloc_get_state): Likewise.
28340 (__malloc_set_state): Likewise.
28341 * malloc/malloc.c: Likewise.
28342 (struct malloc_state): Likewise.
28343 (struct malloc_par): Likewise.
28344 (__libc_realloc): Likewise.
28345 (__libc_mallopt): Likewise.
28346
28347 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28348
28349 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28350
28351 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28352
28353 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28354 macro to a function. Check for zero perturb_byte.
28355 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28356
28357 * malloc/malloc.c: (force_reg): Remove.
28358 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28359 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28360 force_reg by atomic_forced_read.
28361 * malloc/arena.c (ptmalloc_init): Likewise.
28362 * malloc/hooks.c (top_check): Likewise.
28363
28364 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28365
28366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28367
28368 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28369
28370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28371
28372 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28373
28374 * math/auto-libm-test-in: Add tests of lgamma.
28375 * math/auto-libm-test-out: Regenerated.
28376 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28377 (M_LOG_2_SQRT_PIl): Likewise.
28378 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28380 mpfr_f_f1.
28381 (func_calc_desc): Add mpfr_f_f1 union field.
28382 (ARGS1): New macro.
28383 (ARGS2): Likewise.
28384 (ARGS3): Likewise.
28385 (ARGS4): Likewise.
28386 (RET1): Likewise.
28387 (RET2): Likewise.
28388 (CALC): Likewise.
28389 (FUNC): Likewise.
28390 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28391 (test_functions): Add lgamma.
28392 (calc_generic_results): Handle mpfr_f_f1.
28393 * sysdeps/i386/fpu/libm-test-ulps: Update.
28394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28395
28396 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28397
28398 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28399 __mpn_add_n for PowerPC64/POWER7.
28400 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28401 __mpn_sub_n for PowerPC64/POWER7.
28402
28403 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28404 __mpn_addmul_1 for PowerPC64.
28405 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28406 __mpn_submul_1 for PowerPC64.
28407 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28408 for PowerPC64.
28409 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28410 for PowerPC64.
28411
28412 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28413
28414 [BZ #15089]
28415 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28416
28417 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28418
28419 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28420
28421 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28422 add multiarch folders.
28423 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28424 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28425 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28426 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28427 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28428 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28429 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28430 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28431 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28432 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28433 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28440
28441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28442 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28444 New file.
28445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28446 New file.
28447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28448 multiarch __ieee754_hypot for PowerPC32.
28449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28450 New file.
28451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28452 New file.
28453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28454 multiarch __ieee754_hypotf for PowerPC32.
28455
28456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28457 long_double_symbol only if __logbl is defined.
28458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28459 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28461 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28463 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28465 path for implementation.
28466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28469 logb, and logbl multiarch implementations for PowerPC32.
28470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28471 file.
28472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28473 file.
28474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28475 multiarch logb for PowerPC32.
28476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28477 file.
28478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28479 file.
28480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28481 multiarch logbf for PowerPC32.
28482 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28484 file.
28485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28486 multiarch logbl implementation for PowerPC32.
28487
28488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28489 and modff multiarch implementations.
28490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28491 New file.
28492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28493 New file.
28494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28495 multiarch modf for PowerPC32.
28496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28497 New file.
28498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28499 New file.
28500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28501 multiarch modff for PowerPC32.
28502
28503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28504 and lrintf multiarch implementations.
28505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28506 New file.
28507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28508 New file.
28509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28510 multiarch lrint for PowerPC32.
28511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28512 file: multiarch lrintf for PowerPC32.
28513
28514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28515 and lroundf multiarch implementations.
28516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28517 New file.
28518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28519 New file.
28520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28521 New file.
28522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28523 multiarch lround for PowerPC32.
28524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28525 file: multiarch lroundf for PowerPC32.
28526
28527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28528 copysign and copysignf multiarch implementations.
28529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28530 New file.
28531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28532 New file.
28533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28534 file: multiarch copysign for PowerPC32.
28535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28536 file: multiarch copysignf for PowerPC32.
28537
28538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28539 and truncf multiarch implementations.
28540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28541 New file.
28542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28543 file.
28544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28545 multiarch trunc for PowerPC32.
28546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28547 New file.
28548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28549 New file.
28550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28551 multiarch truncf for PowerPC32.
28552
28553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28554 and roundf multiarch implementations.
28555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28556 New file.
28557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28558 file.
28559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28560 multiarch round for PowerPC32.
28561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28562 New file.
28563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28564 New file.
28565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28566 multiarch roundf for PowerPC32.
28567
28568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28569 and floorf multiarch implementations.
28570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28571 New file.
28572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28573 file.
28574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28575 multiarch floor for PowerPC32.
28576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28577 New file.
28578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28579 New file.
28580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28581 multiarch floorf for PowerPC32.
28582
28583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28584 and ceilf multiarch implementations.
28585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28586 New file.
28587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28588 file.
28589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28590 multiarch ceil for PowerPC32.
28591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28592 New file.
28593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28594 file.
28595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28596 multiarch ceilf for PowerPC32.
28597
28598 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28599 is defined.
28600 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28601 FINITEF is defined.
28602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28603 and finitef multiarch implementations.
28604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28605 New file.
28606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28607 file.
28608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28609 multiarch finite for PowerPC32.
28610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28611 New file.
28612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28613 file: multiarch finitef for PowerPC32.
28614
28615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28616 and isinff multiarch implementations.
28617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28618 file.
28619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28620 file.
28621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28622 multiarch isinf for PowerPC32.
28623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28624 New file.
28625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28626 multiarch isinff for PowerPC32.
28627
28628 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28629 alias when __isnan is defined.
28630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28631 and isnanf multiarch implementations.
28632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28633 file.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28635 file.
28636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28637 file.
28638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28639 file.
28640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28641 multiarch isnan for PowerPC32.
28642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28643 New file.
28644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28645 New file.
28646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28647 multiarch isnanf for PowerPC32.
28648
28649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28650 and sqrtf multiarch implementations.
28651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28652 file.
28653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28654 file.
28655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28656 multiarch sqrt for PowerPC32.
28657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28658 file.
28659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28660 file.
28661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28662 multiarch sqrtf for PowerPC32.
28663
28664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28665 and llroundf multiarch implementations.
28666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28667 New file.
28668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28669 New file.
28670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28671 New file.
28672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28673 file: multiarch llround for PowerPC32.
28674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28675 file: multiarch llroundf for PowerPC32.
28676
28677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28678 multiarch PowerPC32 fpu implementations.
28679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28680 New file.
28681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28682 New file.
28683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28684 multiarch llrint for PowerPC32.
28685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28686 New file.
28687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28688 New file.
28689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28690 file.
28691
28692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28693
28694 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28695 file.
28696 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28697 file.
28698 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28699 file.
28700 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28701 multiarch wordcopy for PPC32.
28702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28703 wordcopy objects.
28704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28705 (__libc_ifunc_impl_list): Likewise.
28706 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28707 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28708 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28709 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28710 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28711 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28712
28713 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28715 file.
28716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28717 file.
28718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28719 file.
28720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28721 multiarch wcscpy for PPC32.
28722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28723 multiarch objects.
28724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28725 (__libc_ifunc_impl_list): Likewise.
28726 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28727 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28728 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28729 sysdeps/powerpc/power6/wcscpy.c.
28730
28731 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28733 file.
28734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28735 file.
28736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28737 file.
28738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28739 multiarch wcsrchr for PPC32.
28740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28741 multiarch objects.
28742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28743 (__libc_ifunc_impl_list): Likewise.
28744 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28745 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28746 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28747 sysdeps/powerpc/power6/wcsrchr.c.
28748
28749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28750 file.
28751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28752 file.
28753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28755 multiarch wcschr for PPc32.
28756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28757 multiarch objects.
28758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28759 (__libc_ifunc_impl_list): Likewise.
28760 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28761 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28762 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28763 sysdeps/powerpc/power6/wcschr.c.
28764
28765 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28766 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28767 file.
28768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28769 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28770 file: multiarch strchr for PPC32.
28771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28772 multiarch objects.
28773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28774 (__libc_ifunc_impl_list): Likewise.
28775
28776 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28777 name.
28778 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28779 file.
28780 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28781 file.
28782 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28783 multiarch strchrnul for PPC32.
28784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28785 multiarch objects.
28786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28787 (__libc_ifunc_impl_list): Likewise.
28788
28789 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28790 file.
28791 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28792 multiarch strncasecmp for PPC32.
28793 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28794 file.
28795 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28796 multiarch strncasecmp_l for PPC32.
28797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28798 strncasecmp multiarch objects.
28799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28800 (__libc_ifunc_impl_list): Likewise.
28801
28802 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28803 file.
28804 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28805 multiarch strncasecmp for PPC32.
28806 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28807 New file.
28808 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28809 multiarch strcasecmp_l for PPC32.
28810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28811 multiarch objects.
28812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28813 (__libc_ifunc_impl_list): Likewise.
28814
28815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28816 file.
28817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28818 file.
28819 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28820 multiarch strncmp for PPC32.
28821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28822 multiarch objects.
28823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28824 (__libc_ifunc_impl_list): Likewise.
28825
28826 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28827 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28828 file.
28829 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28830 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28832 multiarch objects.
28833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28834 (__libc_ifunc_impl_list): Likewise.
28835
28836 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28837 file.
28838 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28839 file.
28840 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28842 multiarch objects.
28843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28844 (__libc_ifunc_impl_list): Likewise.
28845
28846 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28847 file.
28848 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28849 file.
28850 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28851 multiarch rawmemchr for PPC32.
28852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28853 multiarch objects.
28854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28855 (__libc_ifunc_impl_list): Likewise.
28856
28857 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28858 file.
28859 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28860 file.
28861 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28862 file: memrchr multiarch for PPC32.
28863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28864 multiarch objects.
28865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28866 (__libc_ifunc_impl_list): Likewise.
28867
28868 * string/memchr.c (__memchr): Using macro to redefine symbol name.
28869 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28870 file.
28871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28872 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28873 multiarch memchr for PPC32.
28874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28875 multiarch objects.
28876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28877 (__libc_ifunc_impl_list): Likewise.
28878
28879 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28880 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28881 file.
28882 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28883 file.
28884 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28885 file: multiarch mempcpy for PPC32.
28886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28887 multiarch objects.
28888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28889 (__libc_ifunc_impl_list): Likewise.
28890
28891 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28892 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28893 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28894 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28895 multiarch bzero for PPC32.
28896 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28897 file.
28898 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28899 file.
28900 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28901 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28902 file: multiarch memset for PPC32.
28903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28905 memset multiarch objects.
28906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28907 (__libc_ifunc_impl_list): Likewise.
28908
28909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28910 file.
28911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28913 memcmp for PPC32.
28914 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28916 multiarch objects.
28917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28918 (__libc_ifunc_impl_list): Likewise.
28919
28920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28922 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28923 file.
28924 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28925 file.
28926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28927 file.
28928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28929 multiarch memcpy for PPC32.
28930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28931 multiarch objects.
28932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28933 (__libc_ifunc_impl_list): Likewise.
28934
28935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28936 support multiarch for POWER/PPC32.
28937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28938 Likewise.
28939 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28941 Implies file to make multiarch folder appers before the fpu and
28942 default folder for power4 configuration.
28943
28944 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28945
28946 * scripts/bench.pl: Append volatile keyword to type.
28947
28948 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28949
28950 * sysdeps/sh/sotruss-lib.c: New file.
28951 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28952
28953 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28954
28955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28956
28957 2013-12-05 Joseph Myers <joseph@codesourcery.com>
28958
28959 [BZ #6810]
28960 * math/w_tgamma.c: Include <errno.h>.
28961 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
28962 * math/w_tgammaf.c: Include <errno.h>.
28963 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
28964 * math/w_tgammal.c: Include <errno.h>.
28965 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
28966 * math/auto-libm-test-in: Do not allow missing errno on tgamma
28967 underflow. Add more tgamma tests.
28968 * math/auto-libm-test-out: Regenerated.
28969 * sysdeps/i386/fpu/libm-test-ulps: Update.
28970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28971
28972 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28973 sin, sinh, tan, tanh, tgamma, y0 and y1.
28974 * math/auto-libm-test-out: Regenerated.
28975 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28976 (TEST_COND_x86): Likewise.
28977 (M_E2l): Remove macro.
28978 (M_E3l): Likewise.
28979 (M_2_SQRT_PIl): Likewise.
28980 (M_SQRT_PIl): Likewise.
28981 (M_1_DIV_El): Likewise.
28982 (log_test_data): Use AUTO_TESTS_f_f.
28983 (log10_test_data): Likewise.
28984 (log1p_test_data): Likewise.
28985 (log2_test_data): Likewise.
28986 (sin_test_data): Likewise.
28987 (sin_tonearest_test_data): Likewise.
28988 (sin_towardzero_test_data): Likewise.
28989 (sin_downward_test_data): Likewise.
28990 (sin_upward_test_data): Likewise.
28991 (sinh_test_data): Likewise.
28992 (sinh_tonearest_test_data): Likewise.
28993 (sinh_towardzero_test_data): Likewise.
28994 (sinh_downward_test_data): Likewise.
28995 (sinh_upward_test_data): Likewise.
28996 (tan_test_data): Likewise.
28997 (tan_tonearest_test_data): Likewise.
28998 (tan_towardzero_test_data): Likewise.
28999 (tan_downward_test_data): Likewise.
29000 (tan_upward_test_data): Likewise.
29001 (tanh_test_data): Likewise.
29002 (tgamma_test_data): Likewise.
29003 (y0_test_data): Likewise.
29004 (y1_test_data): Likewise.
29005 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29006 (special_real_inputs): Add pi/4.
29007 * sysdeps/i386/fpu/libm-test-ulps: Update.
29008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29009
29010 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29011
29012 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29013 "longjmp_target" static probes.
29014 (__longjmp): Rename to __longjmp_symbol.
29015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29016 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29017 on which longjmp to generate.
29018 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29019 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29020 probe.
29021 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29022 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29023 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29024 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29025 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29026 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29028 __longjmp_symbol based on which __longjmp to generate.
29029 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29030 probe.
29031 (setjmp): Rename to setjmp_symbol.
29032 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29033 (_setjmp): Rename to _setjmp_symbol.
29034 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29035 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29036 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29037 which setjmp to generate.
29038 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29039 "longjmp_target" static probes.
29040
29041 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29042
29043 * benchtests/README: Add note about output arguments.
29044 * benchtests/bench-sincos.c: Remove file.
29045 * benchtests/sincos-inputs: New file.
29046 * scripts/bench.pl: Identify output arguments and define
29047 static variables for them.
29048
29049 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29050
29051 [BZ #15941]
29052 * Makefile (INSTALL): Add install-plain.texi as the primary
29053 dependency.
29054 * manual/install-plain.texi: New file.
29055 * manual/install.texi: Include node directive only for
29056 non-plaintext output.
29057
29058 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29059
29060 * stdlib/longlong.h: Update from GCC.
29061
29062 [BZ #6807]
29063 [BZ #15901]
29064 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29065 * math/w_j0f.c (y0f): Likewise.
29066 * math/w_j0l.c (__y0l): Likewise.
29067 * math/w_j1.c (y1): Likewise.
29068 * math/w_j1f.c (y1f): Likewise.
29069 * math/w_j1l.c (__y1l): Likewise
29070 * math/w_jn.c (yn): Likewise.
29071 * math/w_jnf.c (ynf): Likewise.
29072 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29073 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29074 value for Bessel function domain errors outside _SVID_ mode.
29075 Adjust sign of return value for yn (negative integer, 0).
29076 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29077 by zero in return for negative x and set sign appropriately for
29078 negative n.
29079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29080 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29081 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29082 expectations in error cases.
29083 (y1_test_data): Likewise.
29084 (yn_test_data): Likewise.
29085 * sysdeps/i386/fpu/libm-test-ulps: Update.
29086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29087
29088 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29089
29090 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29091 "64" to "64-v1". Add "64-v2".
29092 (abi-64-options): Rename to ...
29093 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29094 (abi-64-condition): Rename to ...
29095 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29096 (abi-64-ld-soname): Rename to ...
29097 (abi-64-v1-ld-soname): ... this.
29098 (abi-64-v2-options): Define.
29099 (abi-64-v2-condition): Likewise.
29100 (abi-64-v2-ld-soname): Likewise.
29101 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29102 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29106
29107 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29108 Alan Modra <amodra@gmail.com>
29109
29110 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29111 New versions for use with the ELFv2 ABI.
29112 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29113 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29114 declaration.
29115 (struct La_ppc64v2_retval): Likewise.
29116 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29117 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29118 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29119 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29120 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29121 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29122 Do not save or restore CR.
29123 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29124 (_dl_profile_resolve): Do no save or restore CR. Support extended
29125 return values for ELFv2 ABI. Fix location of FPR return registers.
29126 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29127 updated values for _CALL_ELF == 2.
29128 (La_regs, La_retval, int_retval): Likewise.
29129
29130 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29131
29132 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29133 (FRAME_MIN_SIZE_PARM): Likewise.
29134 (FRAME_BACKCHAIN): Likewise.
29135 (FRAME_CR_SAVE): Likewise.
29136 (FRAME_LR_SAVE): Likewise.
29137 (FRAME_TOC_SAVE): Likewise.
29138 (FRAME_PARM_SAVE): Likewise.
29139 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29140 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29141 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29142 (call_mcount_parm_offset): New macro.
29143 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29144 (PROF): Use symbolic stack frame offsets.
29145 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29146 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29147 Redefine in terms of FRAME_MIN_SIZE.
29148 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29149 (_dl_profile_resolve): Likewise. Update comment.
29150 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29151 symbols stack frame offsets.
29152 (__sigsetjmp): Likewise.
29153 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29154 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29155 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29156 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29157
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29159 (FRAME_BACKCHAIN): Remove.
29160 (FRAME_CR_SAVE): Likewise.
29161 (FRAME_LR_SAVE): Likewise.
29162 (FRAME_COMPILER_DW): Likewise.
29163 (FRAME_LINKER_DW): Likewise.
29164 (FRAME_TOC_SAVE): Likewise.
29165 (FRAME_PARM_SAVE): Likewise.
29166 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29167 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29168 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29170 (CHECK_SP): Use symbolic stack frame offsets.
29171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29172 zone" instead of caller's parameter save area for temp storage.
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29174 Likewise. Also, use symbolic stack frame offsets.
29175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29176 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29177 our own stack frame instead of the caller's.
29178 (__socket): Use symbolic stack frame offsets.
29179
29180 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29181 Alan Modra <amodra@gmail.com>
29182
29183 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29184 Define.
29185 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29186 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29187 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29188 New function.
29189 (elf_machine_fixup_plt): Call it.
29190 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29191 reloc arguments.
29192 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29194 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29195 r2 before calling target.
29196
29197 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29198 Alan Modra <amodra@gmail.com>
29199
29200 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29201 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29202 versions of macros to support ELFv2 ABI.
29203 (LOCALENTRY): New macro.
29204 (ENTRY, EALIGN): Use it.
29205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29206 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29207 fall through into ENTRY entry point.
29208 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29209 Only define if _CALL_ELF != 2.
29210
29211 (elf_machine_matches_host): Verify ABI version matches.
29212 (RTLD_START): Use LOCALENTRY.
29213 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29214 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29215 (PLT_ENTRY_WORDS): New macro.
29216 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29217 (elf_machine_runtime_setup): Support ELFv2 ABI.
29218 (elf_machine_fixup_plt): Likewise.
29219 (elf_machine_plt_conflict): Likewise.
29220 (resolve_ifunc): Likewise.
29221 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29222 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29223 Likewise.
29224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29225 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29227 (makecontext): Support ELFv2 ABI.
29228 * elf/elf.h (EF_PPC64_ABI): Define.
29229
29230 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29231
29232 * sysdeps/powerpc/powerpc64/sysdep.h
29233 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29234 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29235 (ENTRY) [ASSEMBLER]: ... but instead here ...
29236 (EALIGN) [ASSEMBLER]: ... and here.
29237 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29238 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29239 (ENTRY_2) [!ASSEMBLER]: Use it.
29240 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29241 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29243 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29244 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29246 Use PPC64_LOAD_FUNCPTR.
29247
29248 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29249
29250 2013-12-04 Alan Modra <amodra@gmail.com>
29251
29252 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29253 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29254 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29255 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29256
29257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29258 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29259 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29260 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29261 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29262 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29263
29264 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29265
29266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29267 (__makecontext): Fix incorrect CFI when backtracing out of
29268 context created via makecontext.
29269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29270 (__setcontext): Fix incorrect CFI during switch to new context.
29271 (__novec_setcontext): Likewise.
29272
29273 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29274
29275 [BZ #4772]
29276 * time/strptime_l.c (__strptime_internal): Allow modifiers
29277 in strptime.
29278 * time/tst-strptime.c (day_tests): Add testcase.
29279
29280 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29281
29282 * scripts/bench.pl: Skip over blank lines.
29283
29284 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29285
29286 [BZ #926]
29287 * manual/time.texi (Calendar Time): Clarify what timezone functions
29288 use.
29289
29290 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29291
29292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29293
29294 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29295
29296 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29297 implementation.
29298 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29299 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29300 * debug/memset_chk.c (__memset_chk): Likewise.
29301 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29302 * debug/strncpy_chk.c: Likewise.
29303
29304 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29305
29306 [BZ #15268]
29307 [BZ #15425]
29308 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29309 (__ieee754_exp): For possibly underflowing results, check size of
29310 result and force underflow exception if required.
29311 * math/auto-libm-test-in: Add more tests of exp.
29312 * math/auto-libm-test-out: Regenerated.
29313 * sysdeps/i386/fpu/libm-test-ulps: Update.
29314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29315
29316 [BZ #16283]
29317 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29318 * math/w_exp2f.c (__exp2f): Likewise.
29319 * math/w_exp2l.c (__exp2l): Likewise.
29320 * math/auto-libm-test-in: Do not allow missing errno on exp2
29321 underflow.
29322 * math/auto-libm-test-out: Regenerated.
29323
29324 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29325
29326 [BZ #16274]
29327 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29328 handle filename validation.
29329 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29330 (do_open): Delete.
29331
29332 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29333
29334 [BZ #6786]
29335 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29336 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29337 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29338 <float.h>.
29339 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29341 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29343 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29345 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29346 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29347 Add more erfc tests.
29348 * math/auto-libm-test-out: Regenerated.
29349 * sysdeps/i386/fpu/libm-test-ulps: Update.
29350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29351
29352 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29353 exp2, expm1, j0 and j1.
29354 * math/auto-libm-test-out: Regenerated.
29355 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29356 (erfc_test_data): Likewise.
29357 (exp_test_data): Likewise.
29358 (exp_tonearest_test_data): Likewise.
29359 (exp_towardzero_test_data): Likewise.
29360 (exp_downward_test_data): Likewise.
29361 (exp_upward_test_data): Likewise.
29362 (exp10_test_data): Likewise.
29363 (exp2_test_data): Likewise.
29364 (expm1_test_data): Likewise.
29365 (j0_test_data): Likewise.
29366 (j1_test_data): Likewise.
29367 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29368 (input_flag_type): Add flag_xfail_rounding.
29369 (input_flags): Add xfail-rounding.
29370 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29371 (output_for_one_input_case): Handle flag_xfail_rounding.
29372 * sysdeps/i386/fpu/libm-test-ulps: Update.
29373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29374
29375 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29376
29377 [BZ #16289]
29378 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29379 division by 0.
29380
29381 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29382
29383 [BZ #16195]
29384 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29385 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29386 (STAP_PROBE0): New macro.
29387 (STAP_PROBE1): Likewise.
29388 (STAP_PROBE2): Likewise.
29389 (STAP_PROBE3): Likewise.
29390 (STAP_PROBE4): Likewise.
29391
29392 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29393
29394 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29395
29396 2013-12-02 Steve Ellcey <sellcey@mips.com>
29397
29398 * benchtests/Makefile (bench): Add sqrt.
29399 (LDLIBS-bench-sqrt): New.
29400 * benchtests/sqrt-input: New.
29401
29402 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29403
29404 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29405 (GAIH_EAI): Likewise.
29406 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29407 (gaih_inet): Likewise.
29408 (getaddrinfo): Don't use GAIH_EAI.
29409
29410 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29411 (struct gaih): Remove definition.
29412
29413 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29414
29415 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29416 Use HERRNOP directly.
29417
29418 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29419
29420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29421
29422 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29423
29424 * math/gen-auto-libm-tests.c (test_functions): Add more
29425 single-argument functions.
29426 (special_fill_pi_2): New function.
29427 (special_fill_minus_pi_2): Likewise.
29428 (special_fill_pi_6): Likewise.
29429 (special_fill_minus_pi_6): Likewise.
29430 (special_fill_pi_3): Likewise.
29431 (special_fill_2pi_3): Likewise.
29432 (special_fill_e): Likewise.
29433 (special_fill_1_e): Likewise.
29434 (special_fill_e_minus_1): Likewise.
29435 (special_real_inputs): Add more special inputs.
29436 (output_for_one_input_case): Do not require ERANGE on underflow to
29437 zero if round-to-nearest result does not underflow to zero, unless
29438 exact results required.
29439 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29440 atan, atanh, cbrt, cos and cosh.
29441 * math/auto-libm-test-out: Regenerated.
29442 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29443 (acos_tonearest_test_data): Likewise.
29444 (acos_towardzero_test_data): Likewise.
29445 (acos_downward_test_data): Likewise.
29446 (acos_upward_test_data): Likewise.
29447 (acosh_test_data): Likewise.
29448 (asin_test_data): Likewise.
29449 (asin_tonearest_test_data): Likewise.
29450 (asin_towardzero_test_data): Likewise.
29451 (asin_upward_test_data): Likewise.
29452 (asinh_test_data): Likewise.
29453 (atan_test_data): Likewise.
29454 (atanh_test_data): Likewise.
29455 (cbrt_test_data): Likewise.
29456 (cos_test_data): Likewise.
29457 (cos_tonearest_test_data): Likewise.
29458 (cos_towardzero_test_data): Likewise.
29459 (cos_downward_test_data): Likewise.
29460 (cos_upward_test_data): Likewise.
29461 (cosh_test_data): Likewise.
29462 (cosh_tonearest_test_data): Likewise.
29463 (cosh_towardzero_test_data): Likewise.
29464 (cosh_downward_test_data): Likewise.
29465 (cosh_upward_test_data): Likewise.
29466 * sysdeps/i386/fpu/libm-test-ulps: Update.
29467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29468
29469 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29470
29471 [BZ #6787]
29472 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29473 * math/w_exp10f.c (__exp10f): Likewise.
29474 * math/w_exp10l.c (__exp10l): Likewise.
29475 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29476 errno settings in existing tests.
29477
29478 [BZ #14032]
29479 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29480 precision control set to double precision.
29481 * sysdeps/i386/fpu/w_sqrt.c: New file.
29482 * math/auto-libm-test-in: Add more tests.
29483 * math/auto-libm-test-out: Update.
29484
29485 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29486 (sqrt_test_tonearest): New function.
29487 (sqrt_towardzero_test_data): New variable.
29488 (sqrt_test_towardzero): New function.
29489 (sqrt_downward_test_data): New variable.
29490 (sqrt_test_downward): New function.
29491 (sqrt_upward_test_data): New variable.
29492 (sqrt_test_upward): New function.
29493 (main): Call the new functions.
29494
29495 * math/gen-auto-libm-tests.c: New file.
29496 * math/auto-libm-test-in: Likewise.
29497 * math/auto-libm-test-out: New generated file.
29498 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29499 variables.
29500 (%beautify): Add generated representations of zero.
29501 (top level): Set $auto_input and call parse_auto_input.
29502 (beautify): Remove trailing "f" from hex float constants.
29503 (parse_args): Handle XFAIL_TEST.
29504 (convert_condition): New function.
29505 (or_value): Likewise.
29506 (or_cond_value): Likewise.
29507 (generate_testfile): Handle AUTO_TESTS_* lines.
29508 (parse_auto_input): New function.
29509 * math/libm-test.inc (XFAIL_TEST): New macro.
29510 (ERRNO_UNCHANGED): Update value.
29511 (ERRNO_EDOM): Likewise.
29512 (ERRNO_ERANGE): Likewise.
29513 (IGNORE_RESULT): Likewise.
29514 (TEST_COND_flt_32): New macro.
29515 (TEST_COND_dbl_64): Likewise.
29516 (TEST_COND_ldbl_96_intel): Likewise.
29517 (TEST_COND_ldbl_96_m68k): Likewise.
29518 (TEST_COND_ldbl_128): Likewise.
29519 (TEST_COND_ldbl_128ibm): Likewise.
29520 (TEST_COND_long32): Likewise.
29521 (TEST_COND_long64): Likewise.
29522 (TEST_COND_before_rounding): Likewise.
29523 (TEST_COND_after_rounding): Likewise.
29524 (enable_test): Handle XFAIL_TEST flag.
29525 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29526 with finite results.
29527 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29528 auto-libm-test-out.
29529
29530 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29531 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29532
29533 [BZ #16214]
29534 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29535 __tls_get_addr_internal instead of __tls_get_offset in order to
29536 avoid GOT pointer dependency. Make rtld export
29537 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29538 __tls_get_addr since we are a __tls_get_offset platform.
29539 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29540 GOT pointer being set up before.
29541 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29542
29543 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29544
29545 * manual/math.texi (Errors in Math Functions): Document accuracy
29546 goals.
29547
29548 [BZ #15004]
29549 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29550 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29551 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29552 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29553 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29554 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29555 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29556 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29557 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29558 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29559 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29560 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29561 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29562 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29563 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29564 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29565
29566 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29567 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29568 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29569 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29570 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29571 Likewise.
29572 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29573 Likewise.
29574 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29575 Likewise.
29576 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29577 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29578 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29579 atomic-feupdateenv and flt-rounds.
29580 * sysdeps/powerpc/nofpu/Versions (libc): Add
29581 __atomic_feholdexcept, __atomic_feclearexcept,
29582 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29583 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29584 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29585 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29586 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29587 here.
29588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29589 Update.
29590
29591 * manual/arith.texi (FP Exceptions): Document that exceptions may
29592 not be raised when matherr is used.
29593 (Math Error Reporting): Document overflow in directed rounding
29594 modes. Document that errno may not be set when finite values are
29595 returned on overflow. Document intent to set errno on underflow
29596 only for underflow to zero.
29597
29598 [BZ #16271]
29599 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29600 round-to-nearest then adjust result for other rounding modes.
29601 * include/fenv.h (fegetround): Use libm_hidden_proto.
29602 * math/fegetround.c (fegetround): Use libm_hidden_def.
29603 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29604 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29605 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29607 Likewise.
29608 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29609 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29610 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29611 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29612
29613 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29614
29615 [BZ #16077]
29616 * nss/Versions (libnss_files): Add
29617 _nss_files_gethostbyname3_r.
29618 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29619 New function.
29620 (HOST_DB_LOOKUP): Remove macro.
29621 (_nss_files_gethostbyname_r): Implement function without the
29622 HOST_DB_LOOKUP macro.
29623 (_nss_files_gethostbyname2_r): Likewise.
29624
29625 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29626
29627 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29628
29629 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29630
29631 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29632 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29633 warning.
29634
29635 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29636
29637 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29638 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29639 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29640 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29641 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29642 __fe_nomask_env_priv and attribute_hidden.
29643 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29644 (libc_feupdateenv_test_ppc): Likewise.
29645 (libc_feresetround_ppc): Likewise.
29646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29647 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29648 compat_symbol macro.
29649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29650 (__fe_nomask_env): Likewise.
29651 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29652
29653 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29654
29655 * string/Makefile: Remove ifunc tests.
29656 * string/test-string.h: Define TEST_IFUNC.
29657 * string/test-bcopy-ifunc.c: Remove.
29658 * string/test-bzero-ifunc.c: Likewise.
29659 * string/test-memccpy-ifunc.c: Likewise.
29660 * string/test-memchr-ifunc.c: Likewise.
29661 * string/test-memcmp-ifunc.c: Likewise.
29662 * string/test-memcpy-ifunc.c: Likewise.
29663 * string/test-memmem-ifunc.c: Likewise.
29664 * string/test-memmove-ifunc.c: Likewise.
29665 * string/test-mempcpy-ifunc.c: Likewise.
29666 * string/test-memrchr-ifunc.c: Likewise.
29667 * string/test-memset-ifunc.c: Likewise.
29668 * string/test-rawmemchr-ifunc.c: Likewise.
29669 * string/test-stpcpy-ifunc.c: Likewise.
29670 * string/test-stpncpy-ifunc.c: Likewise.
29671 * string/test-strcasecmp-ifunc.c: Likewise.
29672 * string/test-strcasestr-ifunc.c: Likewise.
29673 * string/test-strcat-ifunc.c: Likewise.
29674 * string/test-strchr-ifunc.c: Likewise.
29675 * string/test-strchrnul-ifunc.c: Likewise.
29676 * string/test-strcmp-ifunc.c: Likewise.
29677 * string/test-strcpy-ifunc.c: Likewise.
29678 * string/test-strcspn-ifunc.c: Likewise.
29679 * string/test-strlen-ifunc.c: Likewise.
29680 * string/test-strncasecmp-ifunc.c: Likewise.
29681 * string/test-strncat-ifunc.c: Likewise.
29682 * string/test-strncmp-ifunc.c: Likewise.
29683 * string/test-strncpy-ifunc.c: Likewise.
29684 * string/test-strnlen-ifunc.c: Likewise.
29685 * string/test-strpbrk-ifunc.c: Likewise.
29686 * string/test-strrchr-ifunc.c: Likewise.
29687 * string/test-strspn-ifunc.c: Likewise.
29688 * string/test-strstr-ifunc.c: Likewise.
29689
29690 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29691
29692 * benchtests/Makefile: Remove ifunc tests.
29693 * benchtests/bench-string.h: Define TEST_IFUNC.
29694 * benchtests/bench-bcopy-ifunc.c: Remove.
29695 * benchtests/bench-bzero-ifunc.c: Likewise.
29696 * benchtests/bench-memccpy-ifunc.c: Likewise.
29697 * benchtests/bench-memchr-ifunc.c: Likewise.
29698 * benchtests/bench-memcmp-ifunc.c: Likewise.
29699 * benchtests/bench-memcpy-ifunc.c: Likewise.
29700 * benchtests/bench-memmem-ifunc.c: Likewise.
29701 * benchtests/bench-memmove-ifunc.c: Likewise.
29702 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29703 * benchtests/bench-memrchr-ifunc.c: Likewise.
29704 * benchtests/bench-memset-ifunc.c: Likewise.
29705 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29706 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29707 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29708 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29709 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29710 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29711 * benchtests/bench-strcat-ifunc.c: Likewise.
29712 * benchtests/bench-strchr-ifunc.c: Likewise.
29713 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29714 * benchtests/bench-strcmp-ifunc.c: Likewise.
29715 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29716 * benchtests/bench-strcpy-ifunc.c: Likewise.
29717 * benchtests/bench-strcspn-ifunc.c: Likewise.
29718 * benchtests/bench-strlen-ifunc.c: Likewise.
29719 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29720 * benchtests/bench-strncat-ifunc.c: Likewise.
29721 * benchtests/bench-strncmp-ifunc.c: Likewise.
29722 * benchtests/bench-strncpy-ifunc.c: Likewise.
29723 * benchtests/bench-strnlen-ifunc.c: Likewise.
29724 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29725 * benchtests/bench-strrchr-ifunc.c: Likewise.
29726 * benchtests/bench-strsep-ifunc.c: Likewise.
29727 * benchtests/bench-strspn-ifunc.c: Likewise.
29728 * benchtests/bench-strstr-ifunc.c: Likewise.
29729
29730 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29731
29732 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29733
29734 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29735
29736 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29737 * rt/aio.h: Likewise.
29738 * sysdeps/gnu/bits/utmp.h: Likewise.
29739 * sysdeps/gnu/bits/utmpx.h: Likewise.
29740 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29741 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29742 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29743 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29744 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29745 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29746 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29747 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29748 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29749 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29750 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29751 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29752 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29754 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29755 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29756 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29757 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29758 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29759 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29760 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29761 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29762 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29763 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29764 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29766 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29767 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29768 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29769 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29770 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29771 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29772 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29773 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29774 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29775 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29776 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29777 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29778 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29779 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29780 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29781 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29782
29783 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29784
29785 [BZ #16245]
29786 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29787 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29788
29789 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29790
29791 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29792 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29793 Likewise.
29794
29795 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29796
29797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29798 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29799 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29800 (__fesetround): Remove define.
29801 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29802 rounding and exceptions handling.
29803 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29804 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29805 (__fe_nomask_env): Likewise.
29806 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29807 __fegetround instead of fegetround.
29808 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29810
29811 2013-11-21 Roland McGrath <roland@hack.frob.com>
29812
29813 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29814 it's there.
29815
29816 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29817
29818 2013-11-21 Meador Inge <meadori@codesourcery.com>
29819
29820 [BZ #11157]
29821 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29822 (encrypt_r): Likewise.
29823 * malloc/obstack.h (obstack_free): Likewise.
29824 * posix/unistd.h (encrypt): Likewise.
29825
29826 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29827
29828 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29829 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29830 DL_CALL_DT_FINI() that call the functions directly.
29831 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29832 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29833 * elf/dl-fini.c: Likewise.
29834
29835 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29836
29837 * malloc/hooks.c (memalign_check): Add alignment rounding.
29838 * malloc/malloc.c (_mid_memalign): New function.
29839 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29840 Implement by calling _mid_memalign.
29841 * manual/probes.texi (Memory Allocation Probes): Remove
29842 memory_valloc_retry and memory_pvalloc_retry.
29843
29844 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29845
29846 * locale/programs/locarchive.c (open_archive): Add const
29847 qualifier to ARCHIVEFNAME and copy default fname to
29848 DEFAULT_FNAME.
29849
29850 [BZ #15601]
29851 * libio/tst-widetext.input: Rename Oriya to Odia.
29852 * locale/iso-639.def: Likewise.
29853
29854 * manual/probes.texi (Mathematical Function Probes): Add
29855 documentation for sin, cos, asin and acos probes.
29856 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29857 (__sin32): Add slowasin probe.
29858 (__cos32): Add slowacos probe.
29859 (__mpsin): Add slowsin probe.
29860 (__mpcos): Add slowcos probe.
29861
29862 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29863
29864 [BZ #15483]
29865 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29866 thread-local __sim_exceptions_thread and global
29867 __sim_exceptions_global.
29868 (__sim_disabled_exceptions): Change to thread-local
29869 __sim_disabled_exceptions_thread and global
29870 __sim_disabled_exceptions_global.
29871 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29872 and global __sim_round_mode_global.
29873 (__simulate_exceptions): Use thread-local floating-point state and
29874 set global state from it as needed.
29875 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29876 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29877 __sim_round_mode_thread.
29878 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29879 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29880 and global __sim_exceptions_global.
29881 (__sim_disabled_exceptions): Change to thread-local
29882 __sim_disabled_exceptions_thread and global
29883 __sim_disabled_exceptions_global.
29884 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29885 and global __sim_round_mode_global.
29886 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29887 (SIM_SET_GLOBAL): Likewise.
29888 * sysdeps/powerpc/soft-fp/sfp-machine.h
29889 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29890 __sim_round_mode_thread.
29891 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29892 __sim_disabled_exceptions_thread.
29893 (__sim_exceptions): Change to __sim_exceptions_thread.
29894 (__sim_disabled_exceptions): Change to
29895 __sim_disabled_exceptions_thread.
29896 (__sim_round_mode): Change to __sim_round_mode_thread.
29897 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29898 thread-local floating-point state and set global state from it as
29899 needed.
29900 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29901 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29902 (__sim_disabled_exceptions): Remove extern declaration.
29903 (feenableexcept): Use thread-local floating-point state and set
29904 global state from it as needed.
29905 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29906 extern declaration.
29907 (__sim_disabled_exceptions): Likewise.
29908 (__sim_round_mode): Likewise.
29909 (__fegetenv): Use thread-local floating-point state.
29910 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29911 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29912 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29913 floating-point state and set global state from it as needed.
29914 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29915 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29916 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29917 Likewise.
29918 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29919 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29920 Likewise.
29921 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29922 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29923 Use __sim_round_mode_thread.
29924 * math/test-fenv-tls.c: New file.
29925 * math/Makefile (tests): Add test-fenv-tls.
29926 ($(objpfx)test-fenv-tls): Depend on
29927 $(common-objpfx)nptl/libpthread.so.
29928
29929 2013-11-19 Andreas Schwab <schwab@suse.de>
29930
29931 * locale/programs/locale.c (show_info): Decode wordarray elements.
29932 * locale/categories.def (LC_MONETARY): Add element for
29933 _NL_MONETARY_CRNCYSTR.
29934 * locale/C-monetary.c (conversion_rate): New variable.
29935 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29936 element.
29937
29938 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
29939
29940 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29941 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29942
29943 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29944
29945 * elf/Makefile (tst-auxv): New test.
29946 * elf/tst-auxv.c: New
29947 * elf/rtld.c (dl_main): Adjust AT_EXECFN
29948
29949 2013-11-18 Joseph Myers <joseph@codesourcery.com>
29950
29951 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29952 (hidden_proto): Caller changed.
29953 (hidden_tls_proto): New macro.
29954 (libc_hidden_tls_proto): Likewise.
29955 (rtld_hidden_tls_proto): Likewise.
29956 (libm_hidden_tls_proto): Likewise.
29957 (libresolv_hidden_tls_proto): Likewise.
29958 (librt_hidden_tls_proto): Likewise.
29959 (libdl_hidden_tls_proto): Likewise.
29960 (libnss_files_hidden_tls_proto): Likewise.
29961 (libnsl_hidden_tls_proto): Likewise.
29962 (libnss_nisplus_hidden_tls_proto): Likewise.
29963 (libutil_hidden_tls_proto): Likewise.
29964
29965 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
29966
29967 [BZ #10253]
29968 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29969 (decompose_rpath): Defer expansion to fillin_rpath.
29970 (_dl_init_paths): Pass linkmap to fillin_rpath.
29971
29972 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29973
29974 * benchtests/Makefile: Add strsep.
29975 * benchtests/bench-strsep.c: New file: strsep benchtest.
29976 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29977
29978 2013-11-18 Andreas Schwab <schwab@suse.de>
29979
29980 * locale/programs/locale.c (show_info) [case byte]: Check for
29981 '\377' instead of '\177'.
29982 * locale/C-monetary.c (not_available): Always use "\377".
29983 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29984 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
29985 detect unavailable sign_posn locale elements.
29986 * locale/localeconv.c (__localeconv): For grouping and
29987 mon_grouping handle "\177" and "\377" like no grouping.
29988 (INT_ELEM): New macro. Use it to set all numeric members.
29989 * locale/programs/ld-monetary.c (monetary_read)
29990 <tok_mon_grouping>: Normalize single -1 to the empty string.
29991 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29992 Likewise.
29993
29994 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
29995
29996 [BZ #16055]
29997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29998 when we match (nil).
29999 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30000
30001 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30002
30003 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30004 (NO_TEST_INLINE): Update value.
30005 (ERRNO_UNCHANGED): Likewise.
30006 (ERRNO_EDOM): Likewise.
30007 (ERRNO_ERANGE): Likewise.
30008 (IGNORE_RESULT): Likewise.
30009 (check_float_internal): Check signs of NaN results if
30010 TEST_NAN_SIGN used.
30011 (check_complex): Pass TEST_NAN_SIGN flag through to second
30012 check_float_internal call.
30013 (copysign_test_data): Add tests with quiet NaNs as second
30014 argument. Use TEST_NAN_SIGN.
30015 (fabs_test_data): Add test of negative quiet NaN argument. Use
30016 TEST_NAN_SIGN.
30017 (signbit_test_data): Add tests of quiet NaN argument.
30018 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30019
30020 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30021 $ignore_result.
30022 (parse_args): Handle function results specified as IGNORE.
30023 * math/libm-test.inc (IGNORE_RESULT): New macro.
30024 (check_float_internal): Do not check numerical result if flag
30025 IGNORE_RESULT set.
30026 (check_complex): Pass through IGNORE_RESULT to second
30027 check_float_internal call.
30028 (check_int): Do not check numerical result if flag IGNORE_RESULT
30029 set.
30030 (check_long): Likewise.
30031 (check_bool): Likewise.
30032 (check_longlong): Likewise.
30033 (lrint_test_data): Add tests of infinite and NaN arguments.
30034 (lrint_tonearest_test_data): Likewise.
30035 (lrint_towardzero_test_data): Likewise.
30036 (lrint_downward_test_data): Likewise.
30037 (lrint_upward_test_data): Likewise.
30038 (llrint_test_data): Likewise.
30039 (llrint_tonearest_test_data): Likewise.
30040 (llrint_towardzero_test_data): Likewise.
30041 (llrint_downward_test_data): Likewise.
30042 (llrint_upward_test_data): Likewise.
30043 (lround_test_data): Likewise.
30044 (llround_test_data): Likewise.
30045
30046 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30047 (ERRNO_UNCHANGED): Update value.
30048 (ERRNO_EDOM): Likewise.
30049 (ERRNO_ERANGE): Likewise.
30050 (NO_TEST_INLINE_FLOAT): New macro.
30051 (NO_TEST_INLINE_DOUBLE): Likewise.
30052 (enable_test): New function.
30053 (RUN_TEST_f_f): Check enable_test before running test.
30054 (RUN_TEST_2_f): Likewise.
30055 (RUN_TEST_fff_f): Likewise.
30056 (RUN_TEST_c_f): Likewise.
30057 (RUN_TEST_f_f1): Likewise.
30058 (RUN_TEST_fF_f1): Likewise.
30059 (RUN_TEST_fI_f1): Likewise.
30060 (RUN_TEST_ffI_f1): Likewise.
30061 (RUN_TEST_c_c): Likewise.
30062 (RUN_TEST_cc_c): Likewise.
30063 (RUN_TEST_f_i): Likewise.
30064 (RUN_TEST_f_i_tg): Likewise.
30065 (RUN_TEST_ff_i_tg): Likewise.
30066 (RUN_TEST_f_b): Likewise.
30067 (RUN_TEST_f_b_tg): Likewise.
30068 (RUN_TEST_f_l): Likewise.
30069 (RUN_TEST_f_L): Likewise.
30070 (RUN_TEST_fFF_11): Likewise.
30071 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30072 conditionals.
30073 (cosh_test_data): Likewise.
30074 (exp_test_data): Likewise.
30075 (expm1_test_data): Likewise.
30076 (hypot_test_data): Likewise.
30077 (pow_test_data): Likewise.
30078 (sinh_test_data): Likewise.
30079 (tanh_test_data): Likewise.
30080 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30081 flags argument.
30082
30083 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30084 tests with quiet NaN input and output.
30085 (acosh_test_data): Likewise.
30086 (asin_test_data): Likewise.
30087 (asinh_test_data): Likewise.
30088 (atan_test_data): Likewise.
30089 (atanh_test_data): Likewise.
30090 (atan2_test_data): Likewise.
30091 (cbrt_test_data): Likewise.
30092 (cos_test_data): Likewise.
30093 (cosh_test_data): Likewise.
30094 (erf_test_data): Likewise.
30095 (erfc_test_data): Likewise.
30096 (exp_test_data): Likewise.
30097 (exp10_test_data): Likewise.
30098 (exp2_test_data): Likewise.
30099 (expm1_test_data): Likewise.
30100 (hypot_test_data): Likewise.
30101 (j0_test_data): Likewise.
30102 (j1_test_data): Likewise.
30103 (jn_test_data): Likewise.
30104 (lgamma_test_data): Likewise.
30105 (log_test_data): Likewise.
30106 (log10_test_data): Likewise.
30107 (log1p_test_data): Likewise.
30108 (log2_test_data): Likewise.
30109 (pow_test_data): Likewise.
30110 (scalb_test_data): Likewise.
30111 (sin_test_data): Likewise.
30112 (sincos_test_data): Likewise.
30113 (sinh_test_data): Likewise.
30114 (tan_test_data): Likewise.
30115 (tanh_test_data): Likewise.
30116 (tgamma_test_data): Likewise.
30117 (y0_test_data): Likewise.
30118 (y1_test_data): Likewise.
30119 (yn_test_data): Likewise.
30120
30121 [BZ #16167]
30122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30123 argument being NaN and avoid computations with second argument in
30124 that case.
30125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30126 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30127 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30128
30129 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30130
30131 * locale/iso-639.def: Add Chitwani Tharu (the).
30132
30133 2013-11-14 Andreas Schwab <schwab@suse.de>
30134
30135 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30136 word instead of empty string.
30137
30138 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30139
30140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30141 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30143 (__fe_nomask_env): Likewise.
30144
30145 2013-11-13 Steve Ellcey <sellcey@mips.com>
30146
30147 * benchtests/bench-timing.h: Include time.h.
30148
30149 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30150
30151 [BZ #15997]
30152 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30153 to 3.4.0 for x32.
30154 * sysdeps/unix/sysv/linux/configure: Regenerated.
30155
30156 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30157
30158 [BZ #16151]
30159 * stdlib/strtod_l.c (round_and_return): Do not consider
30160 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30161 exponent one less than half the least subnormal exponent.
30162 * stdlib/test-strtod-round-data: Add more tests.
30163 * stdlib/tst-strtod-round.c (tests): Regenerated.
30164
30165 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30166
30167 [BZ #14143]
30168 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30169 (__fe_mask_env): Likewise.
30170 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30171 libm_hidden_proto and add function prototype.
30172 (__fe_mask_env): Add function prototype.
30173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30174 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30176 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30178 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30179
30180 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30181
30182 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30183 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30184
30185 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30186
30187 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30188 of htab_find_slot().
30189
30190 2013-11-11 David S. Miller <davem@davemloft.net>
30191
30192 [BZ #16150]
30193 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30194 symbol in the non-vis3 case in static builds.
30195 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30196 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30197 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30198 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30199
30200 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30201
30202 [BZ #387]
30203 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30204 it is empty.
30205
30206 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30207
30208 * benchtests/Makefile: Add bench-strtod.
30209 * benchtests/bench-strtod.c: New file: strtod benchtest
30210
30211 2013-11-11 Andreas Schwab <schwab@suse.de>
30212
30213 [BZ #16153]
30214 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30215 terminating NUL in key length.
30216
30217 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30218
30219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30220 Add artificial ODP entry for vDSO symbol for PPC64.
30221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30222 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30223
30224 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30225
30226 [BZ #15374]
30227 * nss/getent.c (services_keys): Recognize services starting with digit.
30228
30229 2013-11-06 David S. Miller <davem@davemloft.net>
30230
30231 [BZ #15985]
30232 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30233 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30234
30235 2013-11-06 Will Newton <will.newton@linaro.org>
30236
30237 * manual/memory.texi (Malloc Examples): Remove register
30238 keyword from examples.
30239
30240 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30241
30242 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30243
30244 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30245
30246 [BZ #6981]
30247 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30248 depending on [__GCC_IEC_559 > 0].
30249 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30250 depending on [__GCC_IEC_559_COMPLEX > 0].
30251
30252 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30253
30254 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30255 to iso-639.def.
30256
30257 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30258
30259 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30260
30261 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30262
30263 [BZ #16112]
30264 * malloc/malloc (malloc_info): Do not handle first bin as
30265 special case.
30266
30267 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30268
30269 * locale/iso-639.def: Add Central Nahuatl (nhn).
30270
30271 2013-11-01 Bruno Haible <bruno@clisp.org>
30272
30273 [BZ #7003]
30274 * manual/math.texi (BSD Random): Specify range upper bound as
30275 in POSIX.
30276
30277 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30278
30279 * locale/iso-639.def: Add Meadow Mari (mhr).
30280
30281 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30282
30283 [BZ #14752], [BZ #15763]
30284 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30285 Validate name.
30286 * rt/tst_shm.c: Add test for escaping directory.
30287
30288 2013-10-31 Andreas Schwab <schwab@suse.de>
30289
30290 [BZ #15917]
30291 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30292 followed by 'x' as part of digit sequence.
30293 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30294
30295 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30296
30297 [BZ #16037]
30298 * configure.ac: allow GNU Make 4.0 and greater.
30299 * configure: Regenerated.
30300
30301 2013-10-30 Will Newton <will.newton@linaro.org>
30302
30303 [BZ #16038]
30304 * malloc/hooks.c (memalign_check): Limit alignment to the
30305 maximum representable power of two.
30306 * malloc/malloc.c (__libc_memalign): Likewise.
30307 * malloc/tst-memalign.c (do_test): Add test for very
30308 large alignment values.
30309 * malloc/tst-posix_memalign.c (do_test): Likewise.
30310
30311 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30312
30313 [BZ #11087]
30314 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30315 (munmap_chunk): Likewise.
30316 (mremap_chunk): Likewise.
30317
30318 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30319
30320 [BZ #15799]
30321 * stdlib/div.c (div): Remove obsolete code.
30322 * stdlib/ldiv.c (ldiv): Likewise.
30323 * stdlib/lldiv.c (lldiv): Likewise.
30324
30325 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30326
30327 [BZ #16071]
30328 * nss/nss_files/files-XXX.c (get_contents_ret): New
30329 enumerator.
30330 (get_contents): New function.
30331 (internal_getent): Use it. Expand size of LINEBUFLEN.
30332
30333 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30334
30335 * configure.in: Moved to ...
30336 * configure.ac: ... here. Change reference to configure.in
30337 to configure.ac.
30338 * sysdeps/arm/preconfigure.ac: ... here.
30339 configure.in to configure.ac.
30340 * sysdeps/gnu/configure.in: Moved to ...
30341 * sysdeps/gnu/configure.ac: ... here.
30342 * sysdeps/i386/configure.in: Moved to ...
30343 * sysdeps/i386/configure.ac: ... here.
30344 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30345 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30346 * sysdeps/mach/configure.in: Moved to ...
30347 * sysdeps/mach/configure.ac: ... here.
30348 * sysdeps/mach/hurd/configure.in: Moved to ...
30349 * sysdeps/mach/hurd/configure.ac: ... here.
30350 * sysdeps/powerpc/configure.in: Moved to ...
30351 * sysdeps/powerpc/configure.ac: ... here.
30352 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30353 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30354 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30355 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30356 * sysdeps/s390/s390-32/configure.in: Moved to ...
30357 * sysdeps/s390/s390-32/configure.ac: ... here.
30358 * sysdeps/s390/s390-64/configure.in: Moved to ...
30359 * sysdeps/s390/s390-64/configure.ac: ... here.
30360 * sysdeps/sh/configure.in: Moved to ...
30361 * sysdeps/sh/configure.ac: ... here.
30362 * sysdeps/sparc/configure.in: Moved to ...
30363 * sysdeps/sparc/configure.ac: ... here.
30364 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30365 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30366 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30367 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30368 * sysdeps/x86_64/configure.in: Moved to ...
30369 * sysdeps/x86_64/configure.ac: ... here.
30370 * sysdeps/x86_64/preconfigure.in: Moved to ...
30371 * sysdeps/x86_64/preconfigure.ac: ... here.
30372 * aclocal.m4: Change reference to configure.in to configure.ac.
30373 * config.h.in: Likewise.
30374 * manual/install.texi: Likewise.
30375 * manual/maint.texi: Likewise.
30376 * Makefile: Likewise.
30377 * malloc/Makefile: Likewise.
30378 * nscd/Makefile: Likewise.
30379 * Makeconfig: Change reference to configure.in and
30380 preconfigure.in to configure.ac and preconfigure.ac
30381 respectively.
30382 * INSTALL: Regenerated.
30383 * configure: Likewise.
30384 * sysdeps/gnu/configure: Likewise.
30385 * sysdeps/i386/configure: Likewise.
30386 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30387 * sysdeps/mach/configure: Likewise.
30388 * sysdeps/mach/hurd/configure: Likewise.
30389 * sysdeps/powerpc/configure: Likewise.
30390 * sysdeps/powerpc/powerpc32/configure: Likewise.
30391 * sysdeps/powerpc/powerpc64/configure: Likewise.
30392 * sysdeps/s390/s390-32/configure: Likewise.
30393 * sysdeps/s390/s390-64/configure: Likewise.
30394 * sysdeps/sh/configure: Likewise.
30395 * sysdeps/sparc/configure: Likewise.
30396 * sysdeps/unix/sysv/linux/configure: Likewise.
30397 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30398 * sysdeps/x86_64/configure: Likewise.
30399 * sysdeps/x86_64/preconfigure: Likewise.
30400
30401 2013-10-29 Andreas Schwab <schwab@suse.de>
30402
30403 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30404
30405 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30406
30407 * benchtests/pow-inputs: Add new inputs.
30408
30409 * benchtests/exp-inputs: Add new inputs.
30410
30411 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30412 conditional check for return value.
30413 (__cos32): Likewise.
30414
30415 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30416
30417 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30418 to provide a boost for large inputs with word alignment.
30419 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30420 implementation based on optimized PPC64 strcpy.
30421 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30422 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30423 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30424 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30425
30426 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30427
30428 [BZ #2801]
30429 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30430
30431 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30432
30433 [BZ #14876]
30434 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30435 * time/tst-strptime.c (day_tests): Add testcase.
30436
30437 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30438
30439 [BZ #14029]
30440 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30441
30442 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30443
30444 [BZ #16074]
30445 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30446 MAP_FAILED on error.
30447
30448 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30449
30450 [BZ #16072]
30451 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30452 heap for large requests.
30453
30454 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30455
30456 [BZ #9954]
30457 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30458 result if the result has no associated interface.
30459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30460 interface for all 127.X.Y.Z addresses.
30461
30462 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30463
30464 * locale/iso-639.def: Add Ligurian (lij)
30465
30466 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30467
30468 [BZ #15825]
30469 * sunrpc/rpc_main.c: Document rpcgen -5.
30470
30471 2013-10-19 Michael Stahl <mstahl@redhat.com>
30472
30473 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30474
30475 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30476
30477 [BZ #10278]
30478 * posix/glob.c: Match only directories when trailing slash is present.
30479 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30480 (main): Add testcase.
30481
30482 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30483
30484 [BZ #15670]
30485 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30486
30487 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30488
30489 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30490 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30491 AUTH_DES and cindex for FIPS 140-2.
30492 (DES Encryption): Add cindex FIPS 46-3.
30493
30494 * locale/locarchive.h (struct locarhandle): Add fname.
30495 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30496 if an optional argument was specified to --list-archive,
30497 otherwise NULL.
30498 * locale/programs/locarchive.c (show_archive_content): Take new
30499 argument fname and pass it via ah.fname to open_archive.
30500 * locale/programs/localedef.h: Update decl.
30501 (open_archive): If AH->fname is non-null, open that file
30502 rather than the default file name, and don't ignore ENOENT.
30503 (create_archive): Set AH.fname to NULL.
30504 (delete_locales_from_archive): Likewise.
30505 (add_locales_to_archive): Likewise.
30506 * locale/programs/locfile.c (write_all_categories): Likewise.
30507
30508 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30509 Aldy Hernandez <aldyh@redhat.com>
30510
30511 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30512 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30513 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30514 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30515 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30516 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30518 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30519 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30520 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30521 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30522 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30523 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30524 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30525 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30526 Likewise.
30527 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30528 Likewise.
30529 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30530 Likewise.
30531 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30532 Likewise.
30533 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30534 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30535 Likewise.
30536 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30537 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30538 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30539 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30540 Likewise.
30541 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30542 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30543 * sysdeps/powerpc/preconfigure: Likewise.
30544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30545 Likewise.
30546 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30547 Replace contents of file by #include of <fenv_libc.h>.
30548 * sysdeps/powerpc/soft-fp/sfp-machine.h
30549 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30550 and <sys/prctl.h>.
30551 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30556 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30558 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30562 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30564 Allow copysignl PLT reference to be missing.
30565
30566 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30567 Joseph Myers <joseph@codesourcery.com
30568
30569 [BZ #15948]
30570 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30571 single character.
30572 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30573
30574 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30575
30576 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30577 * elf/tst-tls1.c: Likewise.
30578 * elf/tst-tls10.h: Likewise.
30579 * elf/tst-tls14.c: Likewise.
30580 * elf/tst-tls2.c: Likewise.
30581 * elf/tst-tls3.c: Likewise.
30582 * elf/tst-tls4.c: Likewise.
30583 * elf/tst-tls5.c: Likewise.
30584 * elf/tst-tls6.c: Likewise.
30585 * elf/tst-tls7.c: Likewise.
30586 * elf/tst-tls8.c: Likewise.
30587 * elf/tst-tls9.c: Likewise.
30588 * elf/tst-tlsmod1.c: Likewise.
30589 * elf/tst-tlsmod13.c: Likewise.
30590 * elf/tst-tlsmod13a.c: Likewise.
30591 * elf/tst-tlsmod14a.c: Likewise.
30592 * elf/tst-tlsmod16a.c: Likewise.
30593 * elf/tst-tlsmod16b.c: Likewise.
30594 * elf/tst-tlsmod2.c: Likewise.
30595 * elf/tst-tlsmod3.c: Likewise.
30596 * elf/tst-tlsmod4.c: Likewise.
30597 * elf/tst-tlsmod5.c: Likewise.
30598 * elf/tst-tlsmod6.c: Likewise.
30599
30600 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30601
30602 [BZ #12486]
30603 * malloc/malloc.c: remove checks for statistics.
30604
30605 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30606
30607 [BZ #15277]
30608 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30609 * inet/tst-network.c: Add testcase.
30610
30611 2013-10-17 Andreas Schwab <schwab@suse.de>
30612
30613 [BZ #15218]
30614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30615 to determine canonical name.
30616
30617 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30618
30619 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30620 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30644 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30659 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30663 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30664 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30666 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30667 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30668 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30669 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30677
30678 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30679
30680 [BZ #16041]
30681 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30682 make result into a quiet NaN.
30683
30684 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30685
30686 * soft-fp/adddf3.c: Fix horizontal whitespace.
30687 * soft-fp/addsf3.c: Likewise.
30688 * soft-fp/addtf3.c: Likewise.
30689 * soft-fp/divdf3.c: Likewise.
30690 * soft-fp/divsf3.c: Likewise.
30691 * soft-fp/divtf3.c: Likewise.
30692 * soft-fp/double.h: Likewise.
30693 * soft-fp/eqdf2.c: Likewise.
30694 * soft-fp/eqsf2.c: Likewise.
30695 * soft-fp/eqtf2.c: Likewise.
30696 * soft-fp/extenddftf2.c: Likewise.
30697 * soft-fp/extended.h: Likewise.
30698 * soft-fp/extendsfdf2.c: Likewise.
30699 * soft-fp/extendsftf2.c: Likewise.
30700 * soft-fp/extendxftf2.c: Likewise.
30701 * soft-fp/fixdfdi.c: Likewise.
30702 * soft-fp/fixdfsi.c: Likewise.
30703 * soft-fp/fixdfti.c: Likewise.
30704 * soft-fp/fixsfdi.c: Likewise.
30705 * soft-fp/fixsfsi.c: Likewise.
30706 * soft-fp/fixsfti.c: Likewise.
30707 * soft-fp/fixtfdi.c: Likewise.
30708 * soft-fp/fixtfsi.c: Likewise.
30709 * soft-fp/fixtfti.c: Likewise.
30710 * soft-fp/fixunsdfdi.c: Likewise.
30711 * soft-fp/fixunsdfsi.c: Likewise.
30712 * soft-fp/fixunsdfti.c: Likewise.
30713 * soft-fp/fixunssfdi.c: Likewise.
30714 * soft-fp/fixunssfsi.c: Likewise.
30715 * soft-fp/fixunssfti.c: Likewise.
30716 * soft-fp/fixunstfdi.c: Likewise.
30717 * soft-fp/fixunstfsi.c: Likewise.
30718 * soft-fp/fixunstfti.c: Likewise.
30719 * soft-fp/floatdidf.c: Likewise.
30720 * soft-fp/floatdisf.c: Likewise.
30721 * soft-fp/floatditf.c: Likewise.
30722 * soft-fp/floatsidf.c: Likewise.
30723 * soft-fp/floatsisf.c: Likewise.
30724 * soft-fp/floatsitf.c: Likewise.
30725 * soft-fp/floattidf.c: Likewise.
30726 * soft-fp/floattisf.c: Likewise.
30727 * soft-fp/floattitf.c: Likewise.
30728 * soft-fp/floatundidf.c: Likewise.
30729 * soft-fp/floatundisf.c: Likewise.
30730 * soft-fp/floatunditf.c: Likewise.
30731 * soft-fp/floatunsidf.c: Likewise.
30732 * soft-fp/floatunsisf.c: Likewise.
30733 * soft-fp/floatunsitf.c: Likewise.
30734 * soft-fp/floatuntidf.c: Likewise.
30735 * soft-fp/floatuntisf.c: Likewise.
30736 * soft-fp/floatuntitf.c: Likewise.
30737 * soft-fp/fmadf4.c: Likewise.
30738 * soft-fp/fmasf4.c: Likewise.
30739 * soft-fp/fmatf4.c: Likewise.
30740 * soft-fp/gedf2.c: Likewise.
30741 * soft-fp/gesf2.c: Likewise.
30742 * soft-fp/getf2.c: Likewise.
30743 * soft-fp/ledf2.c: Likewise.
30744 * soft-fp/lesf2.c: Likewise.
30745 * soft-fp/letf2.c: Likewise.
30746 * soft-fp/muldf3.c: Likewise.
30747 * soft-fp/mulsf3.c: Likewise.
30748 * soft-fp/multf3.c: Likewise.
30749 * soft-fp/negdf2.c: Likewise.
30750 * soft-fp/negsf2.c: Likewise.
30751 * soft-fp/negtf2.c: Likewise.
30752 * soft-fp/op-1.h: Likewise.
30753 * soft-fp/op-2.h: Likewise.
30754 * soft-fp/op-4.h: Likewise.
30755 * soft-fp/op-8.h: Likewise.
30756 * soft-fp/op-common.h: Likewise.
30757 * soft-fp/quad.h: Likewise.
30758 * soft-fp/single.h: Likewise.
30759 * soft-fp/soft-fp.h: Likewise.
30760 * soft-fp/sqrtdf2.c: Likewise.
30761 * soft-fp/sqrtsf2.c: Likewise.
30762 * soft-fp/sqrttf2.c: Likewise.
30763 * soft-fp/subdf3.c: Likewise.
30764 * soft-fp/subsf3.c: Likewise.
30765 * soft-fp/subtf3.c: Likewise.
30766 * soft-fp/truncdfsf2.c: Likewise.
30767 * soft-fp/trunctfdf2.c: Likewise.
30768 * soft-fp/trunctfsf2.c: Likewise.
30769 * soft-fp/trunctfxf2.c: Likewise.
30770 * soft-fp/unorddf2.c: Likewise.
30771 * soft-fp/unordsf2.c: Likewise.
30772 * soft-fp/unordtf2.c: Likewise.
30773
30774 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30775
30776 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30777 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30778
30779 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30780
30781 * elf/dl-libc.c: Clear initfini list after freeing.
30782
30783 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30784
30785 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30786 * soft-fp/addsf3.c: Likewise.
30787 * soft-fp/addtf3.c: Likewise.
30788 * soft-fp/divdf3.c: Likewise.
30789 * soft-fp/divsf3.c: Likewise.
30790 * soft-fp/divtf3.c: Likewise.
30791 * soft-fp/double.h: Likewise.
30792 * soft-fp/eqdf2.c: Likewise.
30793 * soft-fp/eqsf2.c: Likewise.
30794 * soft-fp/eqtf2.c: Likewise.
30795 * soft-fp/extenddftf2.c: Likewise.
30796 * soft-fp/extended.h: Likewise.
30797 * soft-fp/extendsfdf2.c: Likewise.
30798 * soft-fp/extendsftf2.c: Likewise.
30799 * soft-fp/extendxftf2.c: Likewise.
30800 * soft-fp/fixdfdi.c: Likewise.
30801 * soft-fp/fixdfsi.c: Likewise.
30802 * soft-fp/fixdfti.c: Likewise.
30803 * soft-fp/fixsfdi.c: Likewise.
30804 * soft-fp/fixsfsi.c: Likewise.
30805 * soft-fp/fixsfti.c: Likewise.
30806 * soft-fp/fixtfdi.c: Likewise.
30807 * soft-fp/fixtfsi.c: Likewise.
30808 * soft-fp/fixtfti.c: Likewise.
30809 * soft-fp/fixunsdfdi.c: Likewise.
30810 * soft-fp/fixunsdfsi.c: Likewise.
30811 * soft-fp/fixunsdfti.c: Likewise.
30812 * soft-fp/fixunssfdi.c: Likewise.
30813 * soft-fp/fixunssfsi.c: Likewise.
30814 * soft-fp/fixunssfti.c: Likewise.
30815 * soft-fp/fixunstfdi.c: Likewise.
30816 * soft-fp/fixunstfsi.c: Likewise.
30817 * soft-fp/fixunstfti.c: Likewise.
30818 * soft-fp/floatdidf.c: Likewise.
30819 * soft-fp/floatdisf.c: Likewise.
30820 * soft-fp/floatditf.c: Likewise.
30821 * soft-fp/floatsidf.c: Likewise.
30822 * soft-fp/floatsisf.c: Likewise.
30823 * soft-fp/floatsitf.c: Likewise.
30824 * soft-fp/floattidf.c: Likewise.
30825 * soft-fp/floattisf.c: Likewise.
30826 * soft-fp/floattitf.c: Likewise.
30827 * soft-fp/floatundidf.c: Likewise.
30828 * soft-fp/floatundisf.c: Likewise.
30829 * soft-fp/floatunsidf.c: Likewise.
30830 * soft-fp/floatunsisf.c: Likewise.
30831 * soft-fp/floatuntidf.c: Likewise.
30832 * soft-fp/floatuntisf.c: Likewise.
30833 * soft-fp/floatuntitf.c: Likewise.
30834 * soft-fp/fmadf4.c: Likewise.
30835 * soft-fp/fmasf4.c: Likewise.
30836 * soft-fp/fmatf4.c: Likewise.
30837 * soft-fp/gedf2.c: Likewise.
30838 * soft-fp/gesf2.c: Likewise.
30839 * soft-fp/getf2.c: Likewise.
30840 * soft-fp/ledf2.c: Likewise.
30841 * soft-fp/lesf2.c: Likewise.
30842 * soft-fp/letf2.c: Likewise.
30843 * soft-fp/muldf3.c: Likewise.
30844 * soft-fp/mulsf3.c: Likewise.
30845 * soft-fp/multf3.c: Likewise.
30846 * soft-fp/negdf2.c: Likewise.
30847 * soft-fp/negsf2.c: Likewise.
30848 * soft-fp/negtf2.c: Likewise.
30849 * soft-fp/op-1.h: Likewise.
30850 * soft-fp/op-2.h: Likewise.
30851 * soft-fp/op-4.h: Likewise.
30852 * soft-fp/op-8.h: Likewise.
30853 * soft-fp/op-common.h: Likewise.
30854 * soft-fp/quad.h: Likewise.
30855 * soft-fp/single.h: Likewise.
30856 * soft-fp/soft-fp.h: Likewise.
30857 * soft-fp/sqrtdf2.c: Likewise.
30858 * soft-fp/sqrtsf2.c: Likewise.
30859 * soft-fp/sqrttf2.c: Likewise.
30860 * soft-fp/subdf3.c: Likewise.
30861 * soft-fp/subsf3.c: Likewise.
30862 * soft-fp/subtf3.c: Likewise.
30863 * soft-fp/truncdfsf2.c: Likewise.
30864 * soft-fp/trunctfdf2.c: Likewise.
30865 * soft-fp/trunctfsf2.c: Likewise.
30866 * soft-fp/trunctfxf2.c: Likewise.
30867 * soft-fp/unorddf2.c: Likewise.
30868 * soft-fp/unordsf2.c: Likewise.
30869 * soft-fp/unordtf2.c: Likewise.
30870
30871 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
30872
30873 [BZ #15672]
30874 * misc/error.c (error_tail): Fix possible buffer overflow.
30875
30876 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
30877
30878 [BZ #13028]
30879 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30880 address.
30881
30882 2013-10-14 P. J. McDermott <pj@pehjota.net>
30883
30884 [BZ #832]
30885 * elf/ldd.bash.in (try_trace): New function. Delete previous code
30886 testing pipefail option.
30887
30888 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30889
30890 * soft-fp/double.h: Indent preprocessor directives inside #if.
30891 * soft-fp/extended.h: Likewise.
30892 * soft-fp/op-2.h: Likewise.
30893 * soft-fp/op-4.h: Likewise.
30894 * soft-fp/op-common.h: Likewise.
30895 * soft-fp/quad.h: Likewise.
30896 * soft-fp/single.h: Likewise.
30897 * soft-fp/soft-fp.h: Likewise.
30898
30899 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
30900
30901 * iconv/iconv_prog.c: Fix typos.
30902 * stdio-common/psiginfo-data.h: Likewise.
30903
30904 2013-10-12 Reuben Thomas <rrt@sc3d.org>
30905
30906 [BZ #15764]
30907 * locale/setlocale.c: Fix typo.
30908
30909 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30910
30911 [BZ #16036]
30912 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30913 signaling NaN arguments.
30914 * soft-fp/unordsf2.c (__unordsf2): Likewise.
30915 * soft-fp/unordtf2.c (__unordtf2): Likewise.
30916
30917 [BZ #14910]
30918 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30919 unordered operands.
30920 * soft-fp/gesf2.c (__gesf2): Likewise.
30921 * soft-fp/getf2.c (__getf2): Likewise.
30922 * soft-fp/ledf2.c (__ledf2): Likewise.
30923 * soft-fp/lesf2.c (__lesf2): Likewise.
30924 * soft-fp/letf2.c (__letf2): Likewise.
30925
30926 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30927 * soft-fp/eqsf2.c (__eqsf2): Likewise.
30928 * soft-fp/eqtf2.c (__eqtf2): Likewise.
30929 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30930 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30931 * soft-fp/fixdfti.c (__fixdfti): Likewise.
30932 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30933 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30934 * soft-fp/fixsfti.c (__fixsfti): Likewise.
30935 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30936 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30937 * soft-fp/fixtfti.c (__fixtfti): Likewise.
30938 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30939 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30940 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30941 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30942 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30943 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30944 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30945 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30946 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30947 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30948 * soft-fp/floatdisf.c (__floatdisf): Likewise.
30949 * soft-fp/floatsisf.c (__floatsisf): Likewise.
30950 * soft-fp/floattidf.c (__floattidf): Likewise.
30951 * soft-fp/floattisf.c (__floattisf): Likewise.
30952 * soft-fp/floattitf.c (__floattitf): Likewise.
30953 * soft-fp/floatundidf.c (__floatundidf): Likewise.
30954 * soft-fp/floatundisf.c (__floatundisf): Likewise.
30955 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30956 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30957 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30958 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30959 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30960 * soft-fp/gesf2.c (__gesf2): Likewise.
30961 * soft-fp/getf2.c (__getf2): Likewise.
30962 * soft-fp/ledf2.c (__ledf2): Likewise.
30963 * soft-fp/lesf2.c (__lesf2): Likewise.
30964 * soft-fp/letf2.c (__letf2): Likewise.
30965
30966 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30967 Undefine and redefine.
30968 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30969 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30970 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30971 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30972 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30973 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30974 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30975 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30976 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30977 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30978 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30979 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30980 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30981 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30982 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30983
30984 [BZ #16032]
30985 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30986 without decrementing exponent if mantissa >= that for the
30987 denominator, not >.
30988 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30989 denominator, not >. Decrement exponent in < case instead of
30990 incrementing in >= case.
30991 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30992 without decrementing exponent if mantissa >= that for the
30993 denominator, not >.
30994
30995 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30996 computing saturated result for unsigned overflow.
30997
30998 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30999 Jeff Law <law@redhat.com>
31000
31001 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31002 (atan2Mp): Add systemtap probe marker.
31003 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31004 (__ieee754_log): Add systemtap probe marker.
31005 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31006 (atanMp): Add systemtap probe marker.
31007 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31008 (tanMp): Add systemtap probe marker.
31009 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31010 (__slowexp): Add systemtap probe marker.
31011 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31012 (__slowpow): Add systemtap probe marker.
31013 * manual/probes.texi: Document probes.
31014
31015 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31016
31017 [BZ #15362]
31018 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31019 written.
31020 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31021 written.
31022 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31023 written to buffer but not flushed.
31024 * libio/iofwrite_u.c: Likewise.
31025 * libio/iopadn.c: Return bytes returned even if EOF was
31026 encountered.
31027 * libio/iowpadn.c: Likewise.
31028 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31029 if _IO_padn does not write the whole buffer.
31030 [!COMPILE_WPRINTF] (PAD): Likewise.
31031
31032 2013-10-10 David S. Miller <davem@davemloft.net>
31033
31034 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31035 directory block.
31036
31037 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31038
31039 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31040 instead of FSF address.
31041 * soft-fp/fixdfti.c: Likewise.
31042 * soft-fp/fixsfti.c: Likewise.
31043 * soft-fp/fixtfti.c: Likewise.
31044 * soft-fp/fixunsdfti.c: Likewise.
31045 * soft-fp/fixunssfti.c: Likewise.
31046 * soft-fp/fixunstfti.c: Likewise.
31047 * soft-fp/floattidf.c: Likewise.
31048 * soft-fp/floattisf.c: Likewise.
31049 * soft-fp/floattitf.c: Likewise.
31050 * soft-fp/floatuntidf.c: Likewise.
31051 * soft-fp/floatuntisf.c: Likewise.
31052 * soft-fp/floatuntitf.c: Likewise.
31053 * soft-fp/trunctfxf2.c: Likewise.
31054
31055 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31056 * soft-fp/fixdfti.c: Likewise.
31057 * soft-fp/fixsfti.c: Likewise.
31058 * soft-fp/fixtfti.c: Likewise.
31059 * soft-fp/fixunsdfti.c: Likewise.
31060 * soft-fp/fixunssfti.c: Likewise.
31061 * soft-fp/fixunstfti.c: Likewise.
31062 * soft-fp/floattidf.c: Likewise.
31063 * soft-fp/floattisf.c: Likewise.
31064 * soft-fp/floattitf.c: Likewise.
31065 * soft-fp/floatuntidf.c: Likewise.
31066 * soft-fp/floatuntisf.c: Likewise.
31067 * soft-fp/floatuntitf.c: Likewise.
31068 * soft-fp/trunctfxf2.c: Likewise.
31069
31070 2013-10-10 David S. Miller <davem@davemloft.net>
31071
31072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31073
31074 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31075
31076 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31077 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31078 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31079 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31080 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31081 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31082 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31083
31084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31085 for NaNs before doing comparisons on argument.
31086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31087 Likewise.
31088
31089 2013-10-10 Will Newton <will.newton@linaro.org>
31090
31091 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31092 passed to _int_memalign does not overflow.
31093
31094 2013-10-10 Torvald Riegel <triegel@redhat.com>
31095
31096 * scripts/bench.pl: Add include-sources directive.
31097 * benchtests/README: Update documentation.
31098
31099 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31100
31101 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31102 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31103 instead of FP_INIT_ROUNDMODE.
31104 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31105 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31106
31107 [BZ #16034]
31108 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31109 copy class of input value.
31110 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31111 not handle exceptions.
31112 * soft-fp/negsf2.c (__negsf2): Likewise.
31113 * soft-fp/negtf2.c (__negtf2): Likewise.
31114 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31115
31116 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31117
31118 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31119 semicolon. From Linux kernel.
31120
31121 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31122
31123 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31124
31125 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31126
31127 [BZ #156]
31128 * manual/socket.texi: Added statement about buffer
31129 for gethostbyname2_r.
31130
31131 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31132
31133 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31134 Use .p2align directive instead, throughout.
31135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31136 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31137 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31138 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31140 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31141 * sysdeps/x86_64/strchr.S: Likewise.
31142 * sysdeps/x86_64/strrchr.S: Likewise.
31143
31144 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31145
31146 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31147
31148 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31149
31150 * sysdeps/generic/math_private.h (__mpsin1): Remove
31151 declaration.
31152 (__mpcos1): Likewise.
31153 (__mpsin): New argument __range_reduce.
31154 (__mpcos): Likewise.
31155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31156 (slow): Use __mpsin and __mpcos.
31157 (slow1): Likewise.
31158 (slow2): Likewise.
31159 (sloww): Likewise.
31160 (sloww1): Likewise.
31161 (sloww2): Likewise.
31162 (bsloww): Likewise.
31163 (bsloww1): Likewise.
31164 (bsloww2): Likewise.
31165 (cslow2): Likewise.
31166 (csloww): Likewise.
31167 (csloww1): Likewise.
31168 (csloww2): Likewise.
31169 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31170 range_reduce. Merge in __mpsin1.
31171 (__mpcos): Likewise.
31172 (__mpsin1): Remove.
31173 (__mpcos1): Likewise.
31174
31175 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31176
31177 * locale/loadlocale.c (_nl_intern_locale_data): Use
31178 LOCFILE_ALIGNED_P.
31179 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31180 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31181 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31182 obstack data is appropriately aligned.
31183 (obstack_int32_grow_fast): Likewise.
31184 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31185 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31186 (add_locale_uint32_array): Likewise.
31187
31188 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31189
31190 * benchtests/Makefile: Remove ARGLIST and RET variables.
31191 ($(objpfx)bench-%.c): Pass only function name to the script.
31192 * benchtests/README: Update documentation.
31193 * benchtests/acos-inputs: Add new directives.
31194 * benchtests/acosh-inputs: Likewise.
31195 * benchtests/asin-inputs: Likewise.
31196 * benchtests/asinh-inputs: Likewise.
31197 * benchtests/atan-inputs: Likewise.
31198 * benchtests/atanh-inputs: Likewise.
31199 * benchtests/cos-inputs: Likewise.
31200 * benchtests/cosh-inputs: Likewise.
31201 * benchtests/exp-inputs: Likewise.
31202 * benchtests/log-inputs: Likewise.
31203 * benchtests/pow-inputs: Likewise.
31204 * benchtests/rint-inputs: Likewise.
31205 * benchtests/sin-inputs: Likewise.
31206 * benchtests/sinh-inputs: Likewise.
31207 * benchtests/tan-inputs: Likewise.
31208 * benchtests/tanh-inputs: Likewise.
31209 * scripts/bench.pl: Add support for new directives.
31210
31211 2013-10-07 Alan Modra <amodra@gmail.com>
31212
31213 * README: Fix careless merge.
31214
31215 2013-10-05 Alan Modra <amodra@gmail.com>
31216
31217 * NEWS: Mention powerpc64le support and bugs fixed.
31218 * README: Both big-endian and little-endian powerpc64 supported.
31219
31220 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31221
31222 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31223 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31224 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31225 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31226
31227 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31228
31229 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31230 match prototype.
31231
31232 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31233
31234 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31235 Move -mhard-float appending from
31236 ports/sysdeps/powerpc/powerpc32/Makefile.
31237 [$(with-fp) = yes] (ASFLAGS): Likewise.
31238 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31239 * sysdeps/powerpc/nofpu: Move directory from
31240 ports/sysdeps/powerpc/nofpu.
31241 * sysdeps/powerpc/soft-fp: Move directory from
31242 ports/sysdeps/powerpc/soft-fp.
31243 * sysdeps/powerpc/powerpc32/405: Move directory from
31244 ports/sysdeps/powerpc/powerpc32/405.
31245 * sysdeps/powerpc/powerpc32/440: Move directory from
31246 ports/sysdeps/powerpc/powerpc32/440.
31247 * sysdeps/powerpc/powerpc32/464: Move directory from
31248 ports/sysdeps/powerpc/powerpc32/464.
31249 * sysdeps/powerpc/powerpc32/476: Move directory from
31250 ports/sysdeps/powerpc/powerpc32/476.
31251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31252 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31254 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31256 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31258 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31260 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31261 * README: Update for powerpc-*-linux-gnu software floating point
31262 support in libc.
31263
31264 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31265 case to powerpc/powerpc32*.
31266 * sysdeps/unix/sysv/linux/configure: Regenerated.
31267
31268 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31269 (_FPU_MASK_OM): Define as 0x04.
31270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31272 0x00c10080.
31273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31274 0x0000003c.
31275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31276
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31278 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31279 getcontext_e500.
31280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31281 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31282 setcontext_e500.
31283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31284 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31285 and setcontext_e500.
31286
31287 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31288
31289 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31290
31291 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31292
31293 * manual/threads.texi (Default Thread Attributes): Fix typo.
31294
31295 2013-10-04 Will Newton <will.newton@linaro.org>
31296
31297 * malloc/Makefile: Add tst-memalign.
31298 * malloc/tst-memalign.c: New file.
31299
31300 * malloc/tst-posix_memalign.c: Add comments.
31301 (do_test): Add comments and call free on all potentially
31302 allocated pointers. Add space after cast.
31303
31304 * malloc/tst-pvalloc.c: Add comments.
31305 (do_test): Add comments and call free on all potentially
31306 allocated pointers. Remove duplicate check for NULL pointer.
31307 Add space after cast.
31308
31309 * malloc/tst-valloc.c: Add comments.
31310 (do_test): Add comments and call free on all potentially
31311 allocated pointers. Remove duplicate check for NULL pointer.
31312 Add space after cast.
31313
31314 2013-10-04 Alan Modra <amodra@gmail.com>
31315
31316 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31317 Use stdint types in rather than __attribute__((mode())).
31318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31319
31320 2013-10-04 Alan Modra <amodra@gmail.com>
31321
31322 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31323 Correct handling of unaligned relocs for little-endian.
31324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31325
31326 2013-10-04 Alan Modra <amodra@gmail.com>
31327
31328 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31329 * configure: Regenerate.
31330 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31331 * shlib-versions: Likewise.
31332
31333 2013-10-04 Alan Modra <amodra@gmail.com>
31334
31335 * string/tester.c (test_memrchr): Increment reported test cycle.
31336
31337 2013-10-04 Alan Modra <amodra@gmail.com>
31338
31339 * string/test-memcpy.c (do_one_test): When reporting errors, print
31340 string address and don't overrun end of string.
31341
31342 2013-10-04 Alan Modra <amodra@gmail.com>
31343
31344 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31345 insrdi. Make better use of reg selection to speed exit slightly.
31346 Schedule entry path a little better. Remove useless "are we done"
31347 checks on entry to main loop. Handle wrapping around zero address.
31348 Correct main loop count. Handle single left-over word from main
31349 loop inline rather than by using loop_small. Remove extra word
31350 case in loop_small caused by wrong loop count. Add little-endian
31351 support.
31352 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31353 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31354 cache hint.
31355 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31356 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31357 support. Avoid rlwimi.
31358 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31359
31360 2013-10-04 Alan Modra <amodra@gmail.com>
31361
31362 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31363 insrdi. Formatting.
31364 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31365 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31366 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31367 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31368 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31369 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31370
31371 2013-10-04 Alan Modra <amodra@gmail.com>
31372
31373 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31375 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31376 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31377 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31379 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31381 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31382 use of regs. Use power7 mtocrf. Tidy function tails.
31383
31384 2013-10-04 Alan Modra <amodra@gmail.com>
31385
31386 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31387 Formatting. Consistently use rXXX register defines or rN defines.
31388 Use early exit labels that avoid restoring unused non-volatile regs.
31389 Make cr field use more consistent with rWORDn compares. Rename
31390 regs used as shift registers for unaligned loop, using rN defines
31391 for short lifetime/multiple use regs.
31392 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31393 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31394 addi 1,1,64 to pop stack frame. Simplify return value code.
31395 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31396
31397 2013-10-04 Alan Modra <amodra@gmail.com>
31398
31399 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31400 support. Correct typos, formatting. Optimize tail. Use insrdi
31401 rather than rlwimi.
31402 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31403 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31404 little-endian support. Correct typos.
31405 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31406 rather than rlwimi.
31407 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31408 in loop and entry code to keep "and." results.
31409 (strchr): Add little-endian support. Comment. Move cntlzd
31410 earlier in tail.
31411 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31412
31413 2013-10-04 Alan Modra <amodra@gmail.com>
31414
31415 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31416 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31417 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31418 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31419
31420 2013-10-04 Alan Modra <amodra@gmail.com>
31421
31422 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31423 (rTMP): Define as r11.
31424 (strcmp): Add little-endian support. Optimise tail.
31425 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31426 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31427 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31428 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31432
31433 2013-10-04 Alan Modra <amodra@gmail.com>
31434
31435 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31436 little-endian support. Remove unnecessary "are we done" tests.
31437 Handle "s" wrapping around zero and extremely large "size".
31438 Correct main loop count. Handle single left-over word from main
31439 loop inline rather than by using small_loop. Correct comments.
31440 Delete "zero" tail, use "end_max" instead.
31441 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31442
31443 2013-10-04 Alan Modra <amodra@gmail.com>
31444
31445 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31446 support. Don't branch over align.
31447 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31448 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31449 support. Rearrange tmp reg use to suit. Comment.
31450 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31451
31452 2013-10-04 Alan Modra <amodra@gmail.com>
31453
31454 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31455
31456 2013-10-04 Alan Modra <amodra@gmail.com>
31457
31458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31459 conditional form of branch and link when obtaining pc.
31460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31461
31462 2013-10-04 Alan Modra <amodra@gmail.com>
31463
31464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31465 HIWORD/LOWORD.
31466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31468
31469 2013-10-04 Alan Modra <amodra@gmail.com>
31470
31471 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31472 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31473 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31474 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31475 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31476 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31477 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31478 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31479 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31480 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31481
31482 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31483 Alistair Popple <alistair@ozlabs.au.ibm.com>
31484 Alan Modra <amodra@gmail.com>
31485
31486 [BZ #15723]
31487 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31488 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31489 _dl_hwcap access for little-endian.
31490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31491 destroy vmx regs when saving unaligned.
31492 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31493 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31494 destroy vmx regs when saving unaligned.
31495
31496 2013-10-04 Alan Modra <amodra@gmail.com>
31497
31498 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31499 Don't use a union to pack hi/low value.
31500
31501 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31502
31503 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31504 for little-endian.
31505 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31507 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31508 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31509 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31510
31511 2013-10-04 Alan Modra <amodra@gmail.com>
31512
31513 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31514 constants to usual value for .cst8 section, and remove redundant
31515 high address load.
31516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31517 constant for 0x1p52. Load little-endian words of double from
31518 correct stack offsets.
31519
31520 2013-10-04 Alan Modra <amodra@gmail.com>
31521
31522 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31523 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31524 words of double from correct stack offsets.
31525 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31526 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31527 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31532 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31533 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31537 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31538 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31539 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31540 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31541 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31542
31543 2013-10-04 Alan Modra <amodra@gmail.com>
31544
31545 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31546 64-bit int/double union.
31547 (_FPU_SETCW): Likewise.
31548 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31549 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31550
31551 2013-10-04 Alan Modra <amodra@gmail.com>
31552
31553 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31554 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31555
31556 2013-10-04 Alan Modra <amodra@gmail.com>
31557
31558 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31559 use vector int constants.
31560 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31561
31562 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31563
31564 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31565 array with long long.
31566 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31567 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31568 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31569 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31570 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31571 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31572 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31573 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31574 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31575 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31576 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31577 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31578 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31579
31580 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31581
31582 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31583 (__signbit): Likewise. Correct for little-endian.
31584 (__signbitl): Call __signbit.
31585 (lrint): Correct for little-endian.
31586 (lrintf): Call lrint.
31587
31588 2013-10-04 Alan Modra <amodra@gmail.com>
31589
31590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31591 union 32-bit int array member with 64-bit int array.
31592 (t515, tm256): Double rather than long double.
31593 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31594
31595 2013-10-04 Alan Modra <amodra@gmail.com>
31596
31597 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31598 Delete.
31599 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31601 version of math_ldbl.h.
31602
31603 2013-10-04 Alan Modra <amodra@gmail.com>
31604
31605 [BZ #15734], [BZ #15735]
31606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31607 all uses of ieee875 long double macros and unions. Simplify test
31608 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31609 ldbl_extract_mantissa value for ix,iy exponents. Properly
31610 normalize after ldbl_extract_mantissa, and don't add hidden bit
31611 already handled. Don't treat low word of ieee854 mantissa like
31612 low word of IBM long double and mask off bit when testing for
31613 zero.
31614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31615 all uses of ieee875 long double macros and unions. Simplify tests
31616 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31617 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31618 two1022, instead use their values. Recognise that tests for large
31619 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31620 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31621 Rewrite all uses of ieee875 long double macros and unions. Simplify
31622 test for 0.0L and nan. Correct negation.
31623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31624 ieee875 long double macros and unions. Correct output for large
31625 magnitude x. Correct absolute value calculation.
31626 (__erfcl): Likewise.
31627 * math/libm-test.inc: Add tests for errors discovered in IBM long
31628 double versions of fmodl, remainderl, erfl and erfcl.
31629
31630 2013-10-04 Alan Modra <amodra@gmail.com>
31631
31632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31633 all uses of ieee854 long double macros and unions. Simplify tests
31634 for long doubles that are fully specified by the high double.
31635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31636 Likewise.
31637 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31638 Remove dead code too.
31639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31640 (__ieee754_ynl): Likewise.
31641 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31644 Remove dead code too.
31645 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31646 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31647 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31648 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31649 Simplify.
31650 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31651 Simplify.
31652 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31653 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31655 Comment on variable precision.
31656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31658 Likewise.
31659 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31662 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31664
31665 2013-10-04 Alan Modra <amodra@gmail.com>
31666
31667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31669 all uses of ieee854 long double macros and unions.
31670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31675 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31676 Likewise.
31677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31678 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31679 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31680 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31683 Simplify sign and nan test too.
31684 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31685 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31686 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31687 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31688 Likewise.
31689 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31690 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31691 Likewise.
31692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31693 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31694 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31695 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31696 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31698
31699 2013-10-04 Alan Modra <amodra@gmail.com>
31700
31701 * stdio-common/printf_size.c (__printf_size): Don't use
31702 union ieee854_long_double in fpnum union.
31703 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31704 signbit macro to retrieve sign from long double.
31705 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31706 retrieve sign from long double.
31707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31708 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31709 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31710 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31711 * math/test-misc.c (main): Don't use union ieee854_long_double.
31712
31713 2013-10-04 Alan Modra <amodra@gmail.com>
31714
31715 [BZ #15680]
31716 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31717 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31718 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31719 calculation. Remove unnecessary test for denormal exponent.
31720 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31721 Correct handling of denormals. Avoid undefined shift behaviour.
31722 Correct normalisation of low mantissa when low double is denormal.
31723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31724 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31725 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31726 Correct normalisation of low mantissa. Test for overflow of high
31727 mantissa and normalise.
31728 (ldbl_nearbyint): Use more readable constant for two52.
31729 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31730 (__mpn_construct_long_double): Fix test for overflow of high
31731 mantissa and correct normalisation. Avoid undefined shift.
31732
31733 2013-10-04 Alan Modra <amodra@gmail.com>
31734
31735 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31736 (union ibm_extended_long_double): Define as an array of ieee754_double.
31737 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31738 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31739 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31740 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31741 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31742 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31744 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31745 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31746 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31747 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31748
31749 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31750
31751 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31752 page size instead of calling getpagesize.
31753
31754 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31755 (LOCFILE_ALIGN_MASK): Likewise.
31756 (LOCFILE_ALIGN_UP): Likewise.
31757 (LOCFILE_ALIGNED_P): Likewise.
31758 * locale/programs/ld-collate.c (collate_output): Use the new
31759 macros instead of __alignof__ (int32_t).
31760 * locale/weight.h (findidx): Likewise.
31761
31762 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31763
31764 [BZ #431]
31765 * manual/string.texi: Fix strncat and wcsncat.
31766
31767 2013-10-03 Brooks Moses <bmoses@google.com>
31768
31769 [BZ #15915]
31770 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31771 * Makerules: ...here, and adjust associated comments.
31772
31773 2013-10-02 Will Newton <will.newton@linaro.org>
31774
31775 * malloc/Makefile: Add tst-pvalloc.
31776 * malloc/tst-pvalloc.c: New file.
31777
31778 2013-10-02 Will Newton <will.newton@linaro.org>
31779
31780 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31781 improve test coverage.
31782
31783 2013-10-02 Will Newton <will.newton@linaro.org>
31784
31785 * malloc/Makefile: Add tst-posix_memalign.
31786 * malloc/tst-posix_memalign.c: New file.
31787
31788 2013-10-01 Eric Blake <eblake@redhat.com>
31789
31790 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31791 Use __THROWNL rather than __THROW on static functions.
31792
31793 2013-09-30 Petr Machata <pmachata@redhat.com>
31794
31795 * elf/elf.h (R_AARCH64_ABS16): New macro.
31796 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31797 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31798 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31799 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31800 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31801 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31802 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31803 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31804 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31805 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31806 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31807 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31808 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31809 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31810 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31811 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31812 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31813 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31814 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31815 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31816 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31817 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31818 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31819 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31820 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31821 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31822 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31823 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31824 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31825 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31826 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31827 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31828 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31829 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31830 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31831 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31832 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31833 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31834 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31835 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31836 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31837 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31838 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31839 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31840 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31841 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31842 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31843 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31844 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31845 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31846 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31847 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31848 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31849 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31850 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31851 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31852 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31853 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31854 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31855 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31856 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31857 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31858 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31859 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31860 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31861 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31862 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31863 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31864 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31865 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31866 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31867 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31868 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31869 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31870 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31871 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31872 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31873 (R_AARCH64_TLSDESC_LDR): Likewise.
31874 (R_AARCH64_TLSDESC_ADD): Likewise.
31875 (R_AARCH64_TLSDESC_CALL): Likewise.
31876
31877 2013-09-30 Andreas Schwab <schwab@suse.de>
31878
31879 [BZ #15048]
31880 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31881 the nss database lookup.
31882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31884
31885 2013-09-28 Mike Frysinger <vapier@gentoo.org>
31886
31887 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31888
31889 2013-09-28 P. J. McDermott <pj@pehjota.net>
31890
31891 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31892 ${Bash-specific parameter/pattern/string} parameter expansion.
31893 * sysdeps/unix/make-syscalls.sh: Likewise.
31894
31895 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31896
31897 * sysdeps/sh/stackguard-macros.h: New file.
31898
31899 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
31900
31901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31903 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31904 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31905 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31906 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31907
31908 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31909
31910 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31911 Fix thread ID register.
31912
31913 2013-09-25 Joseph Myers <joseph@codesourcery.com>
31914
31915 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31916 [POSIX || UNIX98]: Require rather than permitting all symbols from
31917 <time.h>.
31918 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31919 element of struct sched_param.
31920 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31921 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31922 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31923 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31924 constant.
31925
31926 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
31927
31928 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31929 argument calculation.
31930
31931 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31932
31933 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31934 Expect macro.
31935 [POSIX] (pthread_attr_t): Do not require type.
31936 [POSIX] (pthread_cond_t): Likewise.
31937 [POSIX] (pthread_condattr_t): Likewise.
31938 [POSIX] (pthread_key_t): Likewise.
31939 [POSIX] (pthread_mutex_t): Likewise.
31940 [POSIX] (pthread_mutexattr_t): Likewise.
31941 [POSIX] (pthread_once_t): Likewise.
31942 [POSIX] (pthread_t): Likewise.
31943 [POSIX-based standards] (pthread_atfork): Expect function.
31944
31945 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31946 Richard Sandiford <richard@codesourcery.com>
31947
31948 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31949 (swap_endianness_p): New extern variable.
31950 (set_big_endian): New inline function.
31951 (maybe_swap_uint32): Likewise.
31952 (maybe_swap_uint32_array): Likewise.
31953 (maybe_swap_uint32_obstack): Likewise.
31954 * locale/programs/locfile.c: Include <stdbool.h>.
31955 (swap_endianness_p): New variable.
31956 (add_locale_uint32): Call maybe_swap_uint32.
31957 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31958 (write_locale_data): Call maybe_swap_uint32_array.
31959 * locale/programs/ld-collate.c (obstack_int32_grow): Call
31960 maybe_swap_uint32.
31961 (obstack_int32_grow_fast): Likewise.
31962 (output_weightwc): Call maybe_swap_uint32_obstack.
31963 (collate_output): Likewise.
31964 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31965 (OPT_LITTLE_ENDIAN): Likewise.
31966 (options): Add --little-endian and --big-endian options.
31967 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31968 * locale/programs/locarchive.c: Include "locfile.h".
31969 (GET): New macro.
31970 (SET): Likewise.
31971 (INC): Likewise.
31972 (create_archive): Use the new macros to access fields of
31973 structures directly mapped from or written to locale archives.
31974 (oldlocrecentcmp): Likewise.
31975 (enlarge_archive): Likewise.
31976 (insert_name): Likewise.
31977 (add_alias): Likewise.
31978 (add_locale): Likewise.
31979 (delete_locales_from_archive): Likewise.
31980 (show_archive_content): Likewise.
31981 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
31982 locale data.
31983
31984 2013-09-24 Roland McGrath <roland@hack.frob.com>
31985
31986 * manual/freemanuals.texi: Updated from (newly) canonical copy at
31987 http://www.gnu.org/doc/freemanuals.texi.
31988 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31989
31990 2013-09-24 Will Newton <will.newton@linaro.org>
31991
31992 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31993 macro.
31994
31995 2013-09-23 Joseph Myers <joseph@codesourcery.com>
31996
31997 * locale/hashval.h (compute_hashval): Interpret bytes of key as
31998 unsigned char.
31999
32000 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32001
32002 * manual/threads.texi (POSIX Threads): Fix a typo.
32003
32004 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32005
32006 [BZ #14547]
32007 * string/tst-strcoll-overflow.c: New test case.
32008 * string/Makefile (xtests): Add tst-strcoll-overflow.
32009 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32010 cache if string sizes may cause integer overflow.
32011
32012 [BZ #14547]
32013 * string/strcoll_l.c (coll_seq): New members rule, idx,
32014 save_idx and back_us.
32015 (get_next_seq_nocache): New function.
32016 (do_compare_nocache): New function.
32017 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32018 when malloc fails.
32019
32020 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32021
32022 [BZ #15754]
32023 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32024 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32025 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32026
32027 [BZ #15754]
32028 * elf/Makefile (tests): Add tst-ptrguard1.
32029 (tests-static): Add tst-ptrguard1-static.
32030 (tst-ptrguard1-ARGS): Define.
32031 (tst-ptrguard1-static-ARGS): Define.
32032 * elf/tst-ptrguard1.c: New file.
32033 * elf/tst-ptrguard1-static.c: New file.
32034 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32035 * sysdeps/i386/stackguard-macros.h: Likewise.
32036 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32037 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32038 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32039 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32040 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32041 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32042
32043 2013-09-23 Hector Marco <hecmargi@upv.es>
32044 Ismael Ripoll <iripoll@disca.upv.es>
32045 Carlos O'Donell <carlos@redhat.com>
32046
32047 [BZ #15754]
32048 * sysdeps/generic/stackguard-macros.h: Define
32049 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32050 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32051 Define __pointer_chk_guard_local.
32052 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32053 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32054
32055 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32056
32057 [BZ #15859]
32058 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32059
32060 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32061
32062 * include/string.h (__ffs): Declare as hidden.
32063 * string/ffs.c (__ffs): Define as hidden.
32064 * sysdeps/i386/ffs.c (__ffs): Likewise.
32065 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32066 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32067 * sysdeps/s390/ffs.c (__ffs): Likewise.
32068 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32069
32070 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32071
32072 * NEWS: Mention malloc probes.
32073
32074 * malloc/arena.c (new_heap): New memory_heap_new probe.
32075 (grow_heap): New memory_heap_more probe.
32076 (shrink_heap): New memory_heap_less probe.
32077 (heap_trim): New memory_heap_free probe.
32078 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32079 (systrim): New memory_sbrk_less probe.
32080 * manual/probes.texi: Document them.
32081
32082 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32083 * manual/probes.texi: Document it.
32084
32085 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32086 (__libc_realloc): Add memory_realloc_retry probe.
32087 (__libc_memalign): Add memory_memalign_retry probe.
32088 (__libc_valloc): Add memory_valloc_retry probe.
32089 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32090 (__libc_calloc): Add memory_calloc_retry probe.
32091 * manual/probes.texi: Document them.
32092
32093 * malloc/arena.c (get_free_list): Add probe
32094 memory_arena_reuse_free_list.
32095 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32096 and memory_arena_reuse.
32097 (arena_get2) [!PER_THREAD]: Likewise.
32098 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32099 memory_arena_reuse_realloc.
32100 * manual/probes.texi: Document them.
32101
32102 * malloc/malloc.c (__libc_free): Add
32103 memory_mallopt_free_dyn_thresholds probe.
32104 (__libc_mallopt): Add multiple memory_mallopt probes.
32105 * manual/probes.texi: Document them.
32106
32107 * malloc/malloc.c: Include stap-probe.h.
32108 (__libc_mallopt): Add memory_mallopt probe.
32109 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32110 * manual/probes.texi: New.
32111 * manual/Makefile (chapters): Add probes.
32112 * manual/threads.texi: Set next node.
32113
32114 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32115
32116 [BZ #15963, #13985]
32117 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32118 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32119 Add `Chinese' to `nan' entry name.
32120
32121 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32122
32123 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32124 (POLYNOMIAL): Likewise.
32125 (TAYLOR_SINCOS): Likewise.
32126 (TAYLOR_SLOW): Likewise.
32127 (__sin): Use TAYLOR_SINCOS.
32128 (__cos): Likewise.
32129 (slow): Use TAYLOR_SLOW.
32130 (sloww): Likewise.
32131 (bsloww): Likewise.
32132 (csloww): Likewise.
32133
32134 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32135
32136 * stdlib/strtod_l.c: Fix buffer overrun.
32137
32138 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32139
32140 * benchtests/Makefile (bench): Add sincos.
32141 * benchtests/bench-sincos.c: New file.
32142
32143 * math/libm-test.inc (cos_test_data): New test inputs.
32144 (sin_test_data): Likewise.
32145
32146 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32147 macro.
32148 (__sin): Use it.
32149 (__cos): Likewise.
32150 (slow1): Likewise.
32151 (slow2): Likewise.
32152 (sloww1): Likewise.
32153 (sloww2): Likewise.
32154 (bsloww1): Likewise.
32155 (bsloww2): Likewise.
32156 (cslow2): Likewise.
32157 (csloww1): Likewise.
32158 (csloww2): Likewise.
32159
32160 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32161 function.
32162 (__sin): Use it.
32163 (__cos): Likewise.
32164
32165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32166 gotos.
32167 (__cos): Likewise.
32168
32169 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32170
32171 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32172 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32173 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32174 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32175 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32176 * elf/cache.c (print_entry): Handle the new cache flags.
32177
32178 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32179 Aldy Hernandez <aldyh@redhat.com>
32180
32181 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32182 Change condition to [_SOFT_FLOAT].
32183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32195 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32198 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32199 declaration.
32200
32201 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32202
32203 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32204 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32205 (__longjmp): Use LOAD_GP to load saved GPRs.
32206 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32207 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32208 (__sigsetjmp): Use SAVE_GP to save GPRs.
32209
32210 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32211 Do not append -msoft-float.
32212 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32213
32214 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32215
32216 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32217
32218 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32219
32220 [BZ #15966]
32221 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32222 (_FPU_GETCW): Use initial "__" on variable and field names but not
32223 on macro parameter name.
32224 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32225 parentheses around reference to macro parameter.
32226
32227 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32228
32229 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32230 prototype.
32231 (ctype_startup): Use uint32_t in cast and sizeof for
32232 ctype->charnames.
32233
32234 2013-09-11 Jia Liu <proljc@gmail.com>
32235
32236 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32237 __daddr_t_defined.
32238 [__FreeBSD__]: Likewise.
32239
32240 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32241
32242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32243 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32244 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32245 (strchr): Remove __strchr_sse42 ifunc selection.
32246 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32247 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32248
32249 2013-09-11 Will Newton <will.newton@linaro.org>
32250
32251 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32252 parameter to RES. Remove hardcoded 1000 value.
32253 * benchtests/bench-skeleton.c (main): Pass RES parameter
32254 to TIMING_INIT and multiply result by 1000.
32255
32256 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32257
32258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32259
32260 2013-09-11 Andreas Schwab <schwab@suse.de>
32261
32262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32263 if not defined.
32264 (O_TMPFILE) [__USE_GNU]: Define.
32265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32266 Define.
32267
32268 2013-09-11 Will Newton <will.newton@linaro.org>
32269
32270 [BZ #15857]
32271 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32272 does not overflow.
32273
32274 2013-09-11 Will Newton <will.newton@linaro.org>
32275
32276 [BZ #15856]
32277 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32278 does not overflow.
32279
32280 2013-09-11 Will Newton <will.newton@linaro.org>
32281
32282 [BZ #15855]
32283 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32284 does not overflow.
32285
32286 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32287
32288 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32291 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32293
32294 2013-09-10 Allan McRae <allan@archlinux.org>
32295
32296 [BZ #15748]
32297 * manual/arith.texi (Parsing of Floats): Clarify
32298 cross-reference.
32299
32300 [BZ #15849]
32301 * manual/install.texi (Running make install): Mention
32302 --enable-pt-chown.
32303 * INSTALL: Regenerated.
32304
32305 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32306
32307 * csu/init-first.c (_init): Remove the !SHARED condition around
32308 FPU control word initialization.
32309 * elf/dl-support.c (_dl_fpu_control): New variable.
32310 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32311 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32312 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32313 * math/test-fpucw-static.c: New file.
32314 * math/test-fpucw-ieee.c: New file.
32315 * math/test-fpucw-ieee-static.c: New file.
32316 * math/Makefile (tests): Add `test-fpucw-ieee' and
32317 `$(tests-static)'.
32318 (tests-static): New variable.
32319 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32320 dependency to...
32321 [($(build-shared),yes)]
32322 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32323 ... this.
32324 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32325 New dependency.
32326
32327 2013-09-09 Allan McRae <allan@archlinux.org>
32328
32329 [BZ #15939]
32330 * manual/string.texi (Collation Functions): Fix typo in
32331 strcoll example.
32332 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32333
32334 [BZ #15893]
32335 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32336
32337 [BZ #15892]
32338 * libio/memstream.c (open_memstream): Fix memory leak.
32339 * libio/wmemstream.c (open_wmemstream): Likewise.
32340
32341 [BZ #15895]
32342 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32343
32344 2013-09-09 Will Newton <will.newton@linaro.org>
32345
32346 * malloc/Makefile: Add tst-realloc to tests.
32347 * malloc/tst-realloc.c: New file.
32348
32349 2013-09-09 Allan McRae <allan@archlinux.org>
32350
32351 [BZ #15844]
32352 * COPYING: Update from GNU website to fix FSF address.
32353 * COPYING.LIB: Likewise.
32354
32355 2013-09-06 David S. Miller <davem@davemloft.net>
32356
32357 * po/zh_TW.po: Update Chinese (traditional) translation from
32358 translation project.
32359
32360 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32361 Joseph Myers <joseph@codesourcery.com>
32362
32363 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32364 "localeinfo.h".
32365 (obstack_chunk_alloc): New macro.
32366 (obstack_chunk_free): Likewise.
32367 (record_offset): New function.
32368 (init_locale_data): Likewise.
32369 (align_locale_data): Likewise.
32370 (add_locale_empty): Likewise.
32371 (add_locale_raw_data): Likewise.
32372 (add_locale_raw_obstack): Likewise.
32373 (add_locale_string): Likewise.
32374 (add_locale_wstring): Likewise.
32375 (add_locale_uint32): Likewise.
32376 (add_locale_uint32_array): Likewise.
32377 (add_locale_char): Likewise.
32378 (start_locale_structure): Likewise.
32379 (end_locale_structure): Likewise.
32380 (start_locale_prelude): Likewise.
32381 (end_locale_prelude): Likewise.
32382 (write_locale_data): Take locale_file structure rather than an
32383 iovec.
32384 * locale/programs/locfile.h: Include "obstack.h".
32385 (struct locale_file): Change to store locale file contents instead
32386 of header.
32387 (init_locale_data): New prototype.
32388 (align_locale_data): Likewise.
32389 (add_locale_empty): Likewise.
32390 (add_locale_raw_data): Likewise.
32391 (add_locale_raw_obstack): Likewise.
32392 (add_locale_string): Likewise.
32393 (add_locale_wstring): Likewise.
32394 (add_locale_uint32): Likewise.
32395 (add_locale_uint32_array): Likewise.
32396 (add_locale_char): Likewise.
32397 (start_locale_structure): Likewise.
32398 (end_locale_structure): Likewise.
32399 (start_locale_prelude): Likewise.
32400 (end_locale_prelude): Likewise.
32401 (write_locale_data): Update prototype.
32402 * locale/programs/3level.h (struct TABLE): Remove result field.
32403 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32404 Use new locale_file interface.
32405 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32406 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32407 * locale/programs/ld-address.c (address_output): Use new
32408 locale_file interface.
32409 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32410 NO_ADD_LOCALE.
32411 (collate_finish): Don't call collseq_table_finalize.
32412 (collate_output): Use new locale_file interface.
32413 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32414 in file.
32415 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32416 (TABLE): Move defines earlier in file.
32417 (ELEMENT): Likewise.
32418 (DEFAULT): Likewise.
32419 (wctrans_table_add): Move macro and inline function earlier in
32420 file.
32421 (struct wctype_table): Move type earlier in file.
32422 (add_locale_wctype_table): New static prototype.
32423 (struct locale_ctype_t): Use logical types instead of struct iovec
32424 pointers for members.
32425 (ctype_output): Use new locale_file interface.
32426 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32427 new locale_file interface.
32428 (allocate_arrays): Update for use of new locale_file interface.
32429 * locale/programs/ld-identification.c (identification_output): Use
32430 new locale_file interface.
32431 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32432 * locale/programs/ld-messages.c (messages_output): Likewise.
32433 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32434 * locale/programs/ld-name.c (name_output): Likewise.
32435 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32436 * locale/programs/ld-paper.c (paper_output): Likewise.
32437 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32438 * locale/programs/ld-time.c (time_output): Likewise.
32439
32440 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32441
32442 * benchtests/Makefile: Add memrchr benchmark.
32443 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32444 benchmark as memrchr.
32445 * benchtests/bench-memrchr-ifunc.c: New file.
32446 * benchtests/bench-memrchr.c: New file.
32447
32448 2013-09-06 Will Newton <will.newton@linaro.org>
32449
32450 * benchtests/Makefile (string-bench): Add memcpy.
32451
32452 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32453 Cong Wang <amwang@redhat.com>
32454
32455 [BZ #15850]
32456 * sysdeps/unix/sysv/linux/bits/in.h
32457 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32458 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32459 before __USE_KERNEL_IPV6_DEFS uses.
32460 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32461 IPPROTO_BEETPH.
32462 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32463 sockaddr_in6, or ipv6_mreq.
32464
32465 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32466
32467 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32468 memory access for final bytes in some large inputs.
32469 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32470
32471 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32472
32473 * string/test-memrchr.c: New file.
32474 * string/test-memrchr-ifunc.c: New file.
32475 * string/Makefile: Add new memrchr testcase.
32476
32477 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32478
32479 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32480 fanotify_init returns EPERM.
32481
32482 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32483
32484 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32485 errors.
32486 (top level): Treat second token from macro or constant entries for
32487 allowed headers as allowed.
32488 * include/complex.h: Condition internal declarations on
32489 [!_ISOMAC].
32490 * include/fenv.h: Condition include of <stdbool.h> and internal
32491 declarations on [!_ISOMAC].
32492
32493 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32494
32495 [BZ #15923]
32496 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32497
32498 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32499
32500 * configure.in (--enable-versioning): Remove configure option.
32501 (libc_cv_asm_symver_directive): Remove configure test.
32502 (libc_cv_ld_version_script_option): Likewise.
32503 (VERSIONING): Remove variable and AC_SUBST.
32504 (DO_VERSIONING): Remove AC_DEFINE.
32505 * configure: Regenerated.
32506 * config.h.in (DO_VERSIONING): Remove macro.
32507 * Makerules [$(versioning) = yes]: Change conditionals to
32508 [$(build-shared) = yes].
32509 * config.make.in (versioning): Remove variable.
32510 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32511 [$(build-shared) = yes].
32512 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32513 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32514 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32515 [$(build-shared) = yes].
32516 * extra-lib.mk [$(versioning) = yes]: Likewise.
32517 * hurd/Makefile [$(versioning) = yes]: Likewise.
32518 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32519 [SHARED].
32520 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32521 [SHARED].
32522 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32523 [SHARED && !NO_HIDDEN].
32524 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32525 [SHARED].
32526 [SHARED && DO_VERSIONING]: Likewise..
32527 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32528 [$(build-shared) = yes].
32529 * manual/install.texi (--disable-versioning): Remove
32530 documentation.
32531 * INSTALL: Regenerated.
32532 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32533 to [SHARED].
32534 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32535 [$(build-shared) = yes].
32536 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32537 * sysdeps/i386/i686/multiarch/strstr-c.c
32538 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32539 [SHARED && !NO_HIDDEN].
32540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32541 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32542 * sysdeps/powerpc/powerpc32/dl-machine.c
32543 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32544 * sysdeps/powerpc/powerpc32/sysdep.h
32545 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32546 to [SHARED && PIC && !NO_HIDDEN].
32547 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32548 conditional to [SHARED].
32549
32550 2013-09-04 Will Newton <will.newton@linaro.org>
32551
32552 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32553 * benchtests/bench-string.h: Include bench-timing.h instead
32554 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32555 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32556 call to HP_TIMING_DIFF_INIT.
32557 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32558 instead of hp-timing.h macros.
32559 * benchtests/bench-memchr.c: Likewise.
32560 * benchtests/bench-memcmp.c: Likewise.
32561 * benchtests/bench-memcpy.c: Likewise.
32562 * benchtests/bench-memmem.c: Likewise.
32563 * benchtests/bench-memmove.c: Likewise.
32564 * benchtests/bench-memset.c: Likewise.
32565 * benchtests/bench-rawmemchr.c: Likewise.
32566 * benchtests/bench-strcasecmp.c: Likewise.
32567 * benchtests/bench-strcasestr.c: Likewise.
32568 * benchtests/bench-strcat.c: Likewise.
32569 * benchtests/bench-strchr.c: Likewise.
32570 * benchtests/bench-strcmp.c: Likewise.
32571 * benchtests/bench-strcpy.c: Likewise.
32572 * benchtests/bench-strcpy_chk.c: Likewise.
32573 * benchtests/bench-strlen.c: Likewise.
32574 * benchtests/bench-strncasecmp.c: Likewise.
32575 * benchtests/bench-strncat.c: Likewise.
32576 * benchtests/bench-strncmp.c: Likewise.
32577 * benchtests/bench-strncpy.c: Likewise.
32578 * benchtests/bench-strnlen.c: Likewise.
32579 * benchtests/bench-strpbrk.c: Likewise.
32580 * benchtests/bench-strrchr.c: Likewise.
32581 * benchtests/bench-strspn.c: Likewise.
32582 * benchtests/bench-strstr.c: Likewise.
32583
32584 2013-09-04 Will Newton <will.newton@linaro.org>
32585
32586 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32587
32588 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32589
32590 [BZ #15427]
32591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32592 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32593 * math/libm-test.inc (lgamma_test_data): Add more tests.
32594 * sysdeps/i386/fpu/libm-test-ulps: Update.
32595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32596
32597 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32598
32599 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32601 Add ifunc.
32602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32603 Add strcmp-sse2-unaligned
32604 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32605
32606 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32607
32608 * Versions.def (libc): Add GLIBC_2.19.
32609
32610 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32611
32612 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32613 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32614
32615 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32616
32617 [BZ #14155]
32618 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32619 intermediate calculations in recurrence.
32620 (__ieee754_ynf): Likewise.
32621 * math/libm-test.inc (jn_test_data): Do not allow spurious
32622 underflow exception. Add more tests.
32623 (yn_test_data): Add more tests.
32624 * sysdeps/i386/fpu/libm-test-ulps: Update.
32625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32626
32627 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32628
32629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32630
32631 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32632
32633 * csu/init-first.c: Fix then/than typos.
32634 * locale/programs/ld-collate.c: Likewise.
32635 * locale/programs/linereader.h: Likewise.
32636 * manual/charset.texi: Likewise.
32637 * manual/filesys.texi: Likewise.
32638 * manual/stdio.texi: Likewise.
32639 * manual/string.texi: Likewise.
32640 * stdlib/fmtmsg.c: Likewise.
32641 * sysdeps/i386/stpncpy.S: Likewise.
32642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32643 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32644 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32646
32647 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32648
32649 * elf/dl-open.c: Fix typos.
32650 * iconvdata/gbbig5.c: Likewise.
32651 * iconvdata/iso-2022-jp.c: Likewise.
32652 * iconv/gconv_int.h: Likewise.
32653 * iconv/loop.c: Likewise.
32654 * nis/rpcsvc/nis.h: Likewise.
32655 * resolv/ns_name.c: Likewise.
32656 * stdio-common/vfscanf.c: Likewise.
32657 * streams/stropts.h: Likewise.
32658 * sunrpc/rpc_thread.c: Likewise.
32659 * sysdeps/i386/strpbrk.S: Likewise.
32660 * sysdeps/ieee754/k_standard.c: Likewise.
32661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32663 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32664 * sysdeps/mach/hurd/profil.c: Likewise.
32665 * sysdeps/s390/dl-procinfo.h: Likewise.
32666 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32668 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32669 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32671
32672 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32673
32674 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32676
32677 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32678
32679 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32680 aix specific files.
32681 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32682 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32683 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32684 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32685 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32686 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32687 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32688 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32689
32690 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32691 Roland McGrath <roland@hack.frob.com>
32692
32693 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32694 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32695
32696 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32697
32698 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32699 __executable_start symbol instead of _start.
32700
32701 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32702
32703 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32704 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32705 Move macros to...
32706 * sysdeps/gnu/ldsodefs.h: ... this new file.
32707
32708 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32709 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32710 instead of ELFOSABI_LINUX.
32711
32712 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32713 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32714 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32715 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32716 Likewise.
32717 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32718 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32719 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32720 Likewise.
32721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32722 (ibm_extended_long_double): Add ieee_nan member.
32723 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32724 (do_test): New function.
32725
32726 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32727 TEST_TRUNC.
32728 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32729 functions, renamed from truncdfsf_test, trunctfsf_test,
32730 trunctfdf_test.
32731 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32732 functions.
32733 (do_test): Run all these.
32734
32735 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32736
32737 * argp/argp-help.c: Fix typos.
32738 * argp/argp-parse.c: Likewise.
32739 * debug/backtracesyms.c: Likewise.
32740 * elf/elf.h: Likewise.
32741 * malloc/malloc.c: Likewise.
32742 * nis/nis_print.c: Likewise.
32743 * resolv/res_comp.c: Likewise.
32744 * stdlib/stdlib.h: Likewise.
32745 * sunrpc/clnt_tcp.c: Likewise.
32746 * sunrpc/clnt_udp.c: Likewise.
32747 * sunrpc/clnt_unix.c: Likewise.
32748 * sysdeps/unix/bsd/ptsname.c: Likewise.
32749 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32750 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32752 Likewise.
32753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32754 Likewise.
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32756 Likewise.
32757 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32758
32759 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32760
32761 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32763
32764 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32765
32766 [BZ #15897]
32767 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32768 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32769 ($(objpfx)bug-dl-leaf): New rule.
32770 ($(objpfx)bug-dl-leaf.so): Likewise.
32771 ($(objpfx)bug-dl-leaf.out): Likewise.
32772 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32773 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32774 * dlfcn/bug-dl-leaf.c: New test.
32775 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32776 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32777 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32778 (dlclose): Likewise.
32779 (dlmopen): Likewise.
32780
32781 2013-08-27 Roland McGrath <roland@hack.frob.com>
32782
32783 * include/netdb.h [!_ISOMAC]:
32784 Don't include <tls.h>.
32785 (h_errno, __libc_h_errno): Move declaration and macros out of
32786 [_LIBC_REENTRANT].
32787
32788 * include/resolv.h [_RESOLV_H_]:
32789 Don't include <tls.h>.
32790 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32791 * resolv/res_libc.c: Don't include <tls.h>.
32792 (_res): Use __attribute__ ((nocommon)) in place of
32793 __attribute__ ((section (".bss"))).
32794
32795 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32796 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32797
32798 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32799
32800 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32801 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32802
32803 * resolv/res_mkquery.c: Include <sys/time.h>.
32804
32805 * inet/ifreq.c: Moved to ...
32806 * sysdeps/unix/ifreq.c: ... here.
32807 * inet/ifreq.c: New file, true stub version.
32808
32809 * socket/sa_len.c: New file.
32810 * socket/Makefile (aux): Add it.
32811 * sysdeps/unix/sysv/linux/Makefile
32812 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32813 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32814 and #include <socket/sa_len.c>.
32815 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32816 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32817
32818 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32819 * bits/socket.h: ... here.
32820
32821 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32822 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32823 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32824
32825 2013-08-27 Andreas Schwab <schwab@suse.de>
32826
32827 [BZ #15736]
32828 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32829 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32830 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32831 * string/test-strcasecmp.c (test_main): Run tests in several
32832 locales.
32833 * string/test-strncasecmp.c (test_main): Likewise.
32834
32835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32836 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32837 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32839 (__strncasecmp_ssse3) [PIC]: Likewise.
32840
32841 2013-08-26 Roland McGrath <roland@hack.frob.com>
32842
32843 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32844
32845 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32846 instead of explicitly declaring xdecrypt.
32847 * nis/nss_nis/nis-publickey.c: Likewise.
32848
32849 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32850
32851 [BZ #15890]
32852 * nscd/aicache.c: Include res_hconf.h.
32853 (addhstaiX): Initialize res_hconf.
32854
32855 2013-08-26 Andreas Schwab <schwab@suse.de>
32856
32857 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32858 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32859
32860 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32861
32862 * nscd/aicache.c (addhstaiX): Fix indentation.
32863
32864 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32865
32866 * configure.ac: Quote $build_pt_chown test.
32867 * configure: Regenerated.
32868
32869 2013-08-23 Joseph Myers <joseph@codesourcery.com>
32870
32871 [BZ #15532]
32872 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32873 * math/s_cexpf.c (__cexpf): Likewise.
32874 * math/s_cexpl.c (__cexpl): Likewise.
32875 * math/libm-test.inc (cexp_test_data): Correct expected return
32876 value for NaN + i0. Add another test.
32877
32878 2013-08-22 David S. Miller <davem@davemloft.net>
32879
32880 * po/ca.po: Update Catalan translation from translation project.
32881 * po/uk.po: Add Ukrainian translations from translation project.
32882
32883 2013-08-21 Joseph Myers <joseph@codesourcery.com>
32884
32885 [BZ #15797]
32886 * math/s_fdim.c (__fdim): Check for infinite arguments if result
32887 is infinite, not alongside NaN test.
32888 * math/s_fdimf.c (__fdimf): Likewise.
32889 * math/s_fdiml.c (__fdiml): Likewise.
32890 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32891 errno is unchanged.
32892
32893 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
32894
32895 * argp/argp-help.c: Fix typos.
32896 * crypt/speeds.c: Likewise.
32897 * csu/check_fds.c: Likewise.
32898 * elf/dl-load.c: Likewise.
32899 * elf/dl-open.c: Likewise.
32900 * elf/reldep3.c: Likewise.
32901 * elf/reldep.c: Likewise.
32902 * elf/sprof.c: Likewise.
32903 * iconv/iconv_charmap.c: Likewise.
32904 * iconv/skeleton.c: Likewise.
32905 * iconv/strtab.c: Likewise.
32906 * io/lockf64.c: Likewise.
32907 * libio/libioP.h: Likewise.
32908 * resolv/gai_notify.c: Likewise.
32909 * resolv/ns_name.c: Likewise.
32910 * resolv/ns_samedomain.c: Likewise.
32911 * resolv/res_send.c: Likewise.
32912 * stdlib/random.c: Likewise.
32913 * sunrpc/rpc/xdr.h: Likewise.
32914 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32915 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32916 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32917 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32922 * sysdeps/mach/hurd/check_fds.c: Likewise.
32923 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32924 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32927 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32928 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32929 * sysdeps/pthread/aio_notify.c: Likewise.
32930 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32931 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32934 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32935
32936 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32937
32938 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32939 version if bit_Slow_SSE4_2 is set.
32940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32942
32943 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32944
32945 [BZ #15867]
32946 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32947 trampoline stack frame information.
32948 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32950 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32951 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32952 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32953 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32954 (_libc_vdso_platform_setup): Initialize the signal trampolines.
32955 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32956 sa_flags value.
32957 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32958 interrupting a syscall and set with option SA_SIGINFO.
32959
32960 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32961
32962 [BZ #15531]
32963 * math/s_cproj.c (__cproj): Only return an infinity if one part of
32964 argument is infinite.
32965 * math/s_cprojf.c (__cprojf): Likewise.
32966 * math/s_cprojl.c (__cprojl): Likewise.
32967 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32968 * math/libm-test.inc (cproj_test_data): Add more tests.
32969
32970 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32971
32972 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32973 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32974 size. Use __ffs to determine corresponding shift.
32975
32976 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32977 Roland McGrath <roland@hack.frob.com>
32978
32979 * Makefile (INSTALL): Remove trailing blank lines from output of
32980 makeinfo.
32981
32982 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32983
32984 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32985 Align 32 bit compat elf_greg to 8 bytes.
32986
32987 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
32988
32989 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32990
32991 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32992
32993 * string/strcoll_l.c (coll_seq): New structure.
32994 (get_next_seq_cached): New function.
32995 (get_next_seq): New function.
32996 (do_compare): New function.
32997 (STRCOLL): Use GNU style definition. Simplify implementation
32998 by using get_next_seq, get_next_seq_cached and do_compare.
32999
33000 2013-08-16 Florian Weimer <fweimer@redhat.com>
33001
33002 [BZ #14699]
33003 CVE-2013-4237
33004 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33005 member.
33006 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33007 member.
33008 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33009 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33010 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33011 conditional.
33012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33013 GETDENTS_64BIT_ALIGNED.
33014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33015 * manual/filesys.texi (Reading/Closing Directory): Document
33016 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33017 strongly.
33018 * manual/conf.texi (Limits for Files): Add portability note to
33019 NAME_MAX, PATH_MAX.
33020 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33021
33022 2013-08-13 Andreas Schwab <schwab@suse.de>
33023
33024 [BZ #15749]
33025 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33026 of fabs.
33027 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33028 LDBL_MAX_EXP >= 16384]: Add tests for it.
33029
33030 2013-08-12 David S. Miller <davem@davemloft.net>
33031
33032 * version.h (RELEASE): Set to "development".
33033 (VERSION): Set to "2.18.90".
33034 * NEWS: Add 2.19 section.
33035
33036 2013-08-03 David S. Miller <davem@davemloft.net>
33037
33038 * po/ko.po: Update Korean translation from translation project.
33039
33040 2013-08-01 David S. Miller <davem@davemloft.net>
33041
33042 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33043 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33044 Bilka.
33045
33046 2013-07-30 David S. Miller <davem@davemloft.net>
33047
33048 * po/fr.po: Update French translation from translation project.
33049
33050 2013-07-28 David S. Miller <davem@davemloft.net>
33051
33052 * po/cs.po: Update Czech translation from translation project.
33053
33054 * po/sv.po: Update Swedish translation from translation project.
33055
33056 2013-07-27 David S. Miller <davem@davemloft.net>
33057
33058 * po/eo.po: Update Esperanto translation from translation project.
33059
33060 * po/vi.po: Update Vietnamese translation from translation project.
33061
33062 * po/de.po: Update German translation from translation project.
33063
33064 2013-07-26 David S. Miller <davem@davemloft.net>
33065
33066 * po/bg.po: Update Bulgarian translation from translation project.
33067
33068 * po/nl.po: Update Dutch translation from translation project.
33069 * po/pl.po: Update Polish translation from translation project.
33070 * po/ru.po: Update Russian translation from translation project.
33071
33072 2013-07-24 David S. Miller <davem@davemloft.net>
33073
33074 * po/libc.pot: Update.
33075
33076 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33077
33078 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33079 variable page size.
33080 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33081 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33082 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33083
33084 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33085
33086 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33087
33088 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33089 Andreas Schwab <schwab@suse.de>
33090 Roland McGrath <roland@hack.frob.com>
33091 Joseph Myers <joseph@codesourcery.com>
33092 Carlos O'Donell <carlos@redhat.com>
33093
33094 [BZ #15755]
33095 * config.h.in: Define HAVE_PT_CHOWN.
33096 * config.make.in (build-pt-chown): New variable.
33097 * configure.in (--enable-pt_chown): New configure option.
33098 * configure: Regenerate.
33099 * login/Makefile: Include Makeconfig. Build pt_chown only if
33100 build-pt-chown is enabled.
33101 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33102 pt_chown to fix pty ownership.
33103 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33104 CLOSE_ALL_FDS.
33105 * manual/install.texi (Configuring and compiling): Mention
33106 --enable-pt_chown. Add @findex for grantpt.
33107 * INSTALL: Regenerate.
33108
33109 2013-07-20 David S. Miller <davem@davemloft.net>
33110
33111 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33112 difference between 32-bit and 64-bit.
33113
33114 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33115
33116 [BZ #15711]
33117 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33118 Avoid system header dependency with -ffreestanding.
33119 ($(objpfx)bits/syscall%d): Likewise.
33120
33121 2013-07-13 David S. Miller <davem@davemloft.net>
33122
33123 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33124 underflows from atanl/atan2l due to bug 15319.
33125 (casinh_test_data): Likewise.
33126
33127 2013-07-07 David S. Miller <davem@davemloft.net>
33128
33129 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33130
33131 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33132
33133 * sysdeps/i386/fpu/libm-test-ulps: Update.
33134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33135
33136 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33137
33138 * configure.in (--enable-lock-elision): Fix message text.
33139 * INSTALL: Regenerate.
33140 * configure: Regenerate.
33141
33142 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33143
33144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33145
33146 2013-07-03 Andreas Jaeger <aj@suse.de>
33147
33148 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33149 define.
33150 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33151 (ptrace_peeksiginfo_args): Add.
33152 (__ptrace_peeksiginfo_flags): Add.
33153 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33156
33157 2013-07-03 Allan McRae <allan@archlinux.org>
33158
33159 * sysdeps/i386/fpu/libm-test-ulps: Update.
33160
33161 2013-07-02 David S. Miller <davem@davemloft.net>
33162
33163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33164
33165 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33166
33167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33168
33169 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33170
33171 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33173
33174 2013-07-02 Andi Kleen <ak@linux.intel.com>
33175
33176 * config.h.in (ENABLE_LOCK_ELISION): Add.
33177 * configure.in (--enable-lock-elision): Add option.
33178 * manual/install.texi: Document --enable lock elision.
33179 * configure: Regenerate
33180 * INSTALL: Regenerate.
33181
33182 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33183
33184 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33185 SSE4.2 strcasecmp for libc.a.
33186 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33187
33188 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33189
33190 [BZ #13304]
33191 * soft-fp/op-common.h (_FP_FMA): New macro.
33192 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33193 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33194 (_FP_MUL_MEAT_1_imm): ... here.
33195 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33196 (_FP_MUL_MEAT_1_wide): ... here.
33197 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33198 (_FP_MUL_MEAT_1_hard): ... here.
33199 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33200 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33201 (_FP_MUL_MEAT_2_wide): ... here.
33202 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33203 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33204 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33205 (_FP_MUL_MEAT_2_gmp): ... here.
33206 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33207 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33208 (_FP_MUL_MEAT_4_wide): ... here.
33209 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33210 (_FP_MUL_MEAT_4_gmp): ... here.
33211 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33212 (_FP_WFRACBITS_DW_S): Likewise.
33213 (_FP_WFRACXBITS_DW_S): Likewise.
33214 (_FP_HIGHBIT_DW_S): Likewise.
33215 (FP_FMA_S): Likewise.
33216 (_FP_FRAC_HIGH_DW_S): Likewise.
33217 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33218 (_FP_WFRACBITS_DW_D): Likewise.
33219 (_FP_WFRACXBITS_DW_D): Likewise.
33220 (_FP_HIGHBIT_DW_D): Likewise.
33221 (FP_FMA_D): Likewise.
33222 (_FP_FRAC_HIGH_DW_D): Likewise.
33223 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33224 (_FP_WFRACBITS_DW_E): Likewise.
33225 (_FP_WFRACXBITS_DW_E): Likewise.
33226 (_FP_HIGHBIT_DW_E): Likewise.
33227 (FP_FMA_E): Likewise.
33228 (_FP_FRAC_HIGH_DW_E): Likewise.
33229 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33230 (_FP_WFRACBITS_DW_Q): Likewise.
33231 (_FP_WFRACXBITS_DW_Q): Likewise.
33232 (_FP_HIGHBIT_DW_Q): Likewise.
33233 (FP_FMA_Q): Likewise.
33234 (_FP_FRAC_HIGH_DW_Q): Likewise.
33235 * soft-fp/fmasf4.c: New file.
33236 * soft-fp/fmadf4.c: Likewise.
33237 * soft-fp/fmatf4.c: Likewise.
33238
33239 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33240
33241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33242 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33243 Silvermont.
33244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33245 macro.
33246 (index_Slow_SSE4_2): Likewise.
33247 (index_Prefer_PMINUB_for_stringop): Likewise.
33248 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33249 bit_Slow_SSE4_2 is set.
33250 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33251 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33252
33253 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33254
33255 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33256 rtld_global._dl_hwcap2.
33257 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33258 POWER8.
33259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33260 POWER8 feature descriptions defined in _dl_hwcap2.
33261 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33262 string handling for POWER8 feature bits.
33263 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33264 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33265 _dl_powerpc_cap_flags.
33266 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33267 * sysdeps/powerpc/rtld-global-offsets.sym
33268 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33269 _dl_hwcap2 in the rtld_global_ro structure.
33270
33271 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33272
33273 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33274 hardware capabilities in support of AT_HWCAP2.
33275 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33276 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33277 GLRO(dl_hwcap2).
33278 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33279 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33280 explicitly the unknown a_type display mechanism is used.
33281 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33282 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33283 struct member.
33284 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33285 to macro prototype for AT_HWCAP2 support.
33286 * sysdeps/i386/dl-procinfo.h: Likewise.
33287 * sysdeps/s390/dl-procinfo.h: Likewise.
33288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33289 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33290 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33291 return -1 for unknown a_type display fallback.
33292 * sysdeps/sparc/dl-procinfo.h: Likewise.
33293 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33294 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33295
33296 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33297
33298 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33299 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33300
33301 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33302
33303 [BZ #12492]
33304 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33305 mprotect making __stack_prot writable.
33306
33307 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33308 Joseph Myers <joseph@codesourcery.com>
33309
33310 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33311 as being properly aligned.
33312
33313 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33314
33315 * dlfcn/modstatic5.c: New file.
33316 * dlfcn/tststatic5.c: New file.
33317 * dlfcn/Makefile (tests): Add tststatic5.
33318 (tests-static): Likewise.
33319 (modules-names): Add modstatic5.
33320 (tststatic5-ENV): New variable.
33321 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33322
33323 [BZ #15022]
33324 * elf/dl-support.c (_dl_main_map): New variable.
33325 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33326 (_dl_nns, _dl_load_adds): Set to 1.
33327 (_dl_initial_searchlist): Refer to _dl_main_map.
33328 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33329 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33330 call to _dl_get_origin.
33331 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33332 around call_map.
33333 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33334 * dlfcn/modstatic3.c: New file.
33335 * dlfcn/tststatic3.c: New file.
33336 * dlfcn/tststatic4.c: New file.
33337 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33338 (tests-static): Likewise.
33339 (modules-names): Add modstatic3.
33340 (tststatic3-ENV, tststatic4-ENV): New variables.
33341 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33342 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33343
33344 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33345
33346 * configure.in (CC): Require GCC version 4.4 or later.
33347 * configure: Regenerated.
33348 * manual/install.texi (Tools for Compilation): Update GCC version
33349 requirement.
33350 * INSTALL: Regenerated.
33351
33352 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33353
33354 [BZ #15674]
33355 * string/test-memcmp.c (check2): New.
33356 (main): Call check2.
33357
33358 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33359
33360 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33361
33362 [BZ #15022]
33363 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33364 over to...
33365 (dl_open_worker) [!SHARED]: ... here.
33366
33367 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33368
33369 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33370
33371 2013-06-25 Richard Henderson <rth@redhat.com>
33372
33373 * locale/programs/locarchive.c: Include <libc-internal.h>
33374
33375 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33376
33377 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33378 trailing whitespace removed.
33379
33380 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33381
33382 [BZ #10283]
33383 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33384 * locale/programs/locarchive.c: Include libc-mmap.h.
33385 (prepare_address_space): Take two new outputs (the mmap base and len).
33386 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33387 values.
33388 (create_archive): Declare new mmap base and len values for
33389 prepare_address_space, and store the result in ah.
33390 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33391 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33392 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33393 Declare new mmap base and len values for
33394 prepare_address_space, and store the result in new_ah.
33395 (open_archive): Declare new mmap base and len values for
33396 prepare_address_space, and store the result in ah.
33397 (close_archive): If ah->mmap_base is not NULL, use that and
33398 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33399 * sysdeps/generic/libc-mmap.h: New file.
33400
33401 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33402
33403 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33404 (ALIGN_UP): Likewise.
33405 (PTR_ALIGN_DOWN): Likewise.
33406 (PTR_ALIGN_UP): Likewise.
33407
33408 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33409
33410 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33411 entry mapped to PPC_PLATFORM_POWER8.
33412 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33413 POWER8.
33414 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33415 (_dl_string_platform): Add case for exporting platform position for
33416 POWER8.
33417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33418 search path to sysdeps/powerpc/powerpc32/power8 directory.
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33420 search path to sysdeps/powerpc/powerpc64/power8 directory.
33421 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33422 power7 directories.
33423 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33424 power7 directories.
33425
33426 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33427
33428 * INSTALL: Regenerate.
33429
33430 * nscd/connections.c (nscd_init): Fix comment.
33431
33432 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33433
33434 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33435
33436 [BZ #15667]
33437 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33438 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33439
33440 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33441
33442 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33443 DL_DST_REQ_STATIC.
33444 (DL_DST_REQ_STATIC): Remove macro.
33445
33446 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33447
33448 [BZ #7006]
33449 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33450 with a shift of 0 bits.
33451
33452 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33453
33454 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33455 $(tststatic-ENV).
33456
33457 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33458
33459 [BZ #15655]
33460 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33461
33462 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33463
33464 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33465 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33466 accepts -fno-tree-loop-distribute-patterns.
33467 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33468 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33469 recursive call.
33470 * string/memset.c (memset): Likewise.
33471 * string/test-memmove.c (simple_memmove): Disable loop transformation
33472 to library calls.
33473 * string/test-memset.c (simple_memset): Likewise.
33474 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33475 * benchtests/bench-memset.c (simple_memset): Likewise.
33476 * configure: Regenerated.
33477
33478 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33479
33480 * math/test-misc.c (main): Ignore fesetround failure when failures
33481 of subsequent rounding tests would be ignored.
33482
33483 [BZ #15654]
33484 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33485 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33486 * math/fegetenv.c (__fegetenv): Return 0.
33487 * math/fegetexcept.c (fegetexcept): Return 0.
33488 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33489 FE_TONEAREST.
33490 * math/feholdexcpt.c (feholdexcept): Return 0.
33491 * math/fesetenv.c (__fesetenv): Return 0.
33492 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33493 argument FE_TONEAREST.
33494 * math/feupdateenv.c (__feupdateenv): Return 0.
33495 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33496
33497 2013-06-18 Roland McGrath <roland@hack.frob.com>
33498
33499 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33500 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33501 ($(objpfx)rtld-%.os rules): Use them.
33502
33503 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33504
33505 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33506 fields.
33507
33508 2013-06-17 Roland McGrath <roland@hack.frob.com>
33509
33510 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33511 length of target pattern, then descending length of dependency pattern.
33512 * configure.in (AWK): Require gawk 3.1.2 or newer.
33513 * manual/install.texi (Tools for Compilation): Say that we do.
33514 * configure: Regenerated.
33515
33516 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33517 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33518 * scripts/sysd-rules.awk: ... this new script.
33519 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33520 than a glob-style pattern.
33521
33522 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33523
33524 * math/test-misc.c (main): Do not treat incorrectly rounded
33525 conversions as failure unless ROUNDING_TESTS passes.
33526
33527 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33528
33529 [BZ #15631]
33530 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33531 restore exception state around main square root computation, then
33532 check for inexactness explicitly.
33533
33534 * math/libm-test.inc (fma_test_data): Add another test.
33535
33536 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33537
33538 * manual/threads.texi (Non-POSIX Extensions): New document
33539 node. Document pthread_getattr_default_np and
33540 pthread_setattr_default_np.
33541
33542 * Versions.def (libpthread): Add GLIBC_2.18.
33543 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33545 Likewise.
33546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33547 Likewise.
33548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33549 Likewise.
33550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33551 Likewise.
33552 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33553 Likewise.
33554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33555 Likewise.
33556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33557 Likewise.
33558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33559 Likewise.
33560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33561 Likewise.
33562
33563 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33564
33565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33566 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33567
33568 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33569 H.J. Lu <hjl.tools@gmail.com>
33570
33571 [BZ #15627]
33572 * sysdeps/x86_64/rtld-memset.c: Remove file.
33573 * sysdeps/x86_64/rtld-memset.S: New file.
33574
33575 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33576
33577 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33578 (test_in_one_mode): Take arguments for whether the rounding mode
33579 is supported for each floating-point type.
33580 (do_test): Pass new arguments to test_in_one_mode using
33581 ROUNDING_TESTS.
33582
33583 2013-06-13 Roland McGrath <roland@hack.frob.com>
33584
33585 * posix/tst-waitid.c (do_test): Distinguish different instances of
33586 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33587 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33588 before entering the kernel for waitpid.
33589
33590 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33591
33592 * NEWS: Fix note on clock function precision. Text by Roland
33593 McGrath.
33594
33595 2013-06-13 Roland McGrath <roland@hack.frob.com>
33596
33597 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33598 it into place only when and if the sanity check passes.
33599
33600 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33601
33602 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33603 output for whether conversion result is exact. Take argument
33604 indicating whether type is IBM long double.
33605 (round_for_all): Change need_exact field to ibm_ld.
33606 * stdlib/tst-strtod-round.c (struct exactness): New type.
33607 (struct test): Change bool ld_ok field to struct exactness exact.
33608 (TEST): Update all definitions for change to field.
33609 (tests): Regenerate array contents.
33610 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33611 field value. Check for IBM long double here.
33612 (do_test): Update calls to test_in_one_mode.
33613
33614 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33615
33616 [BZ #12515]
33617 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33618 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33619
33620 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33621
33622 [BZ #15605]
33623 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33624 generated by the compiler on loop optimizations.
33625 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33626 general definitions.
33627
33628 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33629
33630 * math/bug-nextafter.c: Include <math-tests.h>.
33631 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33632 the relevant type.
33633 * math/bug-nexttoward.c: Include <math-tests.h>.
33634 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33635 the relevant type.
33636 * math/test-misc.c: Include <math-tests.h>.
33637 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33638 the relevant type.
33639
33640 2013-06-12 Andreas Jaeger <aj@suse.de>
33641
33642 * po/ia.po: Update Interlingua translation from translation
33643 project.
33644
33645 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33646
33647 * include/fenv.h: Include stdbool.h.
33648 (struct rm_ctx): New structure.
33649 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33650 Define macro.
33651 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33652 (SET_RESTORE_ROUNDF): Likewise.
33653 (SET_RESTORE_ROUNDL): Likewise.
33654 (SET_RESTORE_ROUND_NOEX): Likewise.
33655 (SET_RESTORE_ROUND_NOEXF): Likewise.
33656 (SET_RESTORE_ROUND_NOEXL): Likewise.
33657 (SET_RESTORE_ROUND_53BIT): Likewise.
33658 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33659 (libc_feresetround_noexf_ctx): Likewise.
33660 (libc_feresetround_noexl_ctx): Likewise.
33661 (libc_feholdsetround_53bit_ctx): Likewise.
33662 (libc_feresetround_53bit_ctx): Likewise.
33663 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33664 (libc_feholdexcept_setround_sse_ctx): New function.
33665 (libc_fesetenv_sse_ctx): Likewise.
33666 (libc_feupdateenv_sse_ctx): Likewise.
33667 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33668 (libc_feholdexcept_setround_387_ctx): Likewise.
33669 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33670 (libc_feholdsetround_387_prec_ctx): Likewise.
33671 (libc_feholdsetround_387_ctx): Likewise.
33672 (libc_feholdsetround_387_53bit_ctx): Likewise.
33673 (libc_feholdsetround_sse_ctx): Likewise.
33674 (libc_feresetround_sse_ctx): Likewise.
33675 (libc_feresetround_387_ctx): Likewise.
33676 (libc_feupdateenv_387_ctx): Likewise.
33677 (libc_feholdexcept_setroundf_ctx): Define macro.
33678 (libc_fesetenvf_ctx): Likewise.
33679 (libc_feupdateenvf_ctx): Likewise.
33680 (libc_feholdsetroundf_ctx): Likewise.
33681 (libc_feresetroundf_ctx): Likewise.
33682 (libc_feholdexcept_setround_ctx): Likewise.
33683 (libc_fesetenv_ctx): Likewise.
33684 (libc_feupdateenv_ctx): Likewise.
33685 (libc_feholdsetround_ctx): Likewise.
33686 (libc_feresetround_ctx): Likewise.
33687 (libc_feholdexcept_setroundl_ctx): Likewise.
33688 (libc_feupdateenvl_ctx): Likewise.
33689 (libc_feholdsetroundl_ctx): Likewise.
33690 (libc_feresetroundl_ctx): Likewise.
33691 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33692 (libc_feresetround_53bit_ctx): Likewise.
33693
33694 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33695
33696 * locale/iso-639.def: Convert to UTF-8.
33697
33698 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33699
33700 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33701 (EXCEPTION_TESTS_double): Likewise.
33702 (EXCEPTION_TESTS_long_double): Likewise.
33703 (EXCEPTION_TESTS): Likewise.
33704 * math/libm-test.inc (test_exceptions): Only test exceptions if
33705 EXCEPTION_TESTS (FLOAT).
33706
33707 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33708
33709 * benchtests/Makefile (string-bench): Add strcpy_chk and
33710 stpcpy_chk.
33711 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33712 * benchtests/bench-stpcpy_chk.c: New file.
33713 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33714 * benchtests/bench-strcpy_chk.c: New file.
33715 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33716 code.
33717 (do_test): Likewise.
33718
33719 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33720
33721 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33722 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33723 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33724 with tabs where appropriate.
33725 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33726 dl-procinfo.h.
33727 [PPC_PLATFORM_PPC440]: Likewise.
33728 [PPC_PLATFORM_PPC464]: Likewise.
33729 [PPC_PLATFORM_PPC476]: Likewise.
33730 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33731 ppc464, and ppc476 platform strings merging from ports/
33732 dl-procinfo.h.
33733
33734 2013-06-11 Andreas Schwab <schwab@suse.de>
33735
33736 [BZ #14991]
33737 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33738 (from_ucs4_idx): Regenerate.
33739 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33740 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33741 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33742 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33743 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33744 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33745 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33746 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33747 from FROM_LOOP and TO_LOOP specific macros.
33748 (BODY): Handle combining characters.
33749 * iconvdata/BIG5HKSCS.irreversible: Update.
33750 * iconvdata/BIG5HKSCS.precomposed: New file.
33751 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33752 characters.
33753 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33754
33755 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33756
33757 * include/sys/time.h: Fix indentation and add copyright header.
33758
33759 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33760 (do_test): Likewise.
33761 * string/test-memchr.c (do_one_test): Likewise.
33762 (do_test): Likewise.
33763 * string/test-memcmp.c (do_one_test): Likewise.
33764 (do_test): Likewise.
33765 * string/test-memcpy.c (do_one_test): Likewise.
33766 (do_test): Likewise.
33767 * string/test-memmem.c (do_one_test): Likewise.
33768 (do_test): Likewise.
33769 (do_random_tests): Likewise.
33770 * string/test-memmove.c (do_one_test): Likewise.
33771 (do_test): Likewise.
33772 * string/test-memset.c (do_one_test): Likewise.
33773 (do_test): Likewise.
33774 * string/test-rawmemchr.c (do_one_test): Likewise.
33775 (do_test): Likewise.
33776 * string/test-strcasecmp.c (do_one_test): Likewise.
33777 (do_test): Likewise.
33778 * string/test-strcasestr.c (do_one_test): Likewise.
33779 (do_test): Likewise.
33780 * string/test-strcat.c (do_one_test): Likewise.
33781 (do_test): Likewise.
33782 * string/test-strchr.c (do_one_test): Likewise.
33783 (do_test): Likewise.
33784 * string/test-strcmp.c (do_one_test): Likewise.
33785 (do_test): Likewise.
33786 * string/test-strcpy.c (do_one_test): Likewise.
33787 (do_test): Likewise.
33788 * string/test-string.h: Likewise.
33789 (test_init): Likewise.
33790 * string/test-strlen.c (do_one_test): Likewise.
33791 (do_test): Likewise.
33792 * string/test-strncasecmp.c (do_one_test): Likewise.
33793 (do_test): Likewise.
33794 * string/test-strncat.c (do_one_test): Likewise.
33795 (do_test): Likewise.
33796 * string/test-strncmp.c (do_one_test): Likewise.
33797 (do_test_limit): Likewise.
33798 (do_test): Likewise.
33799 * string/test-strncpy.c (do_one_test): Likewise.
33800 (do_test): Likewise.
33801 * string/test-strnlen.c (do_one_test): Likewise.
33802 (do_test): Likewise.
33803 * string/test-strpbrk.c (do_one_test): Likewise.
33804 (do_test): Likewise.
33805 * string/test-strrchr.c (do_one_test): Likewise.
33806 (do_test): Likewise.
33807 * string/test-strspn.c (do_one_test): Likewise.
33808 (do_test): Likewise.
33809 * string/test-strstr.c (do_one_test): Likewise.
33810 (do_test): Likewise.
33811
33812 * benchtests/Makefile (string-bench): Add string benchmarks.
33813 * benchtests/bench-bcopy-ifunc.c: New file.
33814 * benchtests/bench-bcopy.c: New file.
33815 * benchtests/bench-bzero-ifunc.c: New file.
33816 * benchtests/bench-bzero.c: New file.
33817 * benchtests/bench-memccpy-ifunc.c: New file.
33818 * benchtests/bench-memccpy.c: New file.
33819 * benchtests/bench-memchr-ifunc.c: New file.
33820 * benchtests/bench-memchr.c: New file.
33821 * benchtests/bench-memcmp-ifunc.c: New file.
33822 * benchtests/bench-memcmp.c: New file.
33823 * benchtests/bench-memmem-ifunc.c: New file.
33824 * benchtests/bench-memmem.c: New file.
33825 * benchtests/bench-memmove-ifunc.c: New file.
33826 * benchtests/bench-memmove.c: New file.
33827 * benchtests/bench-mempcpy-ifunc.c: New file.
33828 * benchtests/bench-mempcpy.c: New file.
33829 * benchtests/bench-memset-ifunc.c: New file.
33830 * benchtests/bench-memset.c: New file.
33831 * benchtests/bench-rawmemchr-ifunc.c: New file.
33832 * benchtests/bench-rawmemchr.c: New file.
33833 * benchtests/bench-stpcpy-ifunc.c: New file.
33834 * benchtests/bench-stpcpy.c: New file.
33835 * benchtests/bench-stpncpy-ifunc.c: New file.
33836 * benchtests/bench-stpncpy.c: New file.
33837 * benchtests/bench-strcasecmp-ifunc.c: New file.
33838 * benchtests/bench-strcasecmp.c: New file.
33839 * benchtests/bench-strcasestr-ifunc.c: New file.
33840 * benchtests/bench-strcasestr.c: New file.
33841 * benchtests/bench-strcat-ifunc.c: New file.
33842 * benchtests/bench-strcat.c: New file.
33843 * benchtests/bench-strchr-ifunc.c: New file.
33844 * benchtests/bench-strchr.c: New file.
33845 * benchtests/bench-strchrnul-ifunc.c: New file.
33846 * benchtests/bench-strchrnul.c: New file.
33847 * benchtests/bench-strcmp-ifunc.c: New file.
33848 * benchtests/bench-strcmp.c: New file.
33849 * benchtests/bench-strcpy-ifunc.c: New file.
33850 * benchtests/bench-strcpy.c: New file.
33851 * benchtests/bench-strcspn-ifunc.c: New file.
33852 * benchtests/bench-strcspn.c: New file.
33853 * benchtests/bench-strlen-ifunc.c: New file.
33854 * benchtests/bench-strlen.c: New file.
33855 * benchtests/bench-strncasecmp-ifunc.c: New file.
33856 * benchtests/bench-strncasecmp.c: New file.
33857 * benchtests/bench-strncat-ifunc.c: New file.
33858 * benchtests/bench-strncat.c: New file.
33859 * benchtests/bench-strncmp-ifunc.c: New file.
33860 * benchtests/bench-strncmp.c: New file.
33861 * benchtests/bench-strncpy-ifunc.c: New file.
33862 * benchtests/bench-strncpy.c: New file.
33863 * benchtests/bench-strnlen-ifunc.c: New file.
33864 * benchtests/bench-strnlen.c: New file.
33865 * benchtests/bench-strpbrk-ifunc.c: New file.
33866 * benchtests/bench-strpbrk.c: New file.
33867 * benchtests/bench-strrchr-ifunc.c: New file.
33868 * benchtests/bench-strrchr.c: New file.
33869 * benchtests/bench-strspn-ifunc.c: New file.
33870 * benchtests/bench-strspn.c: New file.
33871 * benchtests/bench-strstr-ifunc.c: New file.
33872 * benchtests/bench-strstr.c: New file.
33873
33874 * benchtests/Makefile: Disable parallel execution of targets.
33875 (string-bench): Add memcpy.
33876 (benchset): New variable to store a list of benchmark sets.
33877 (bench-func): Renamed from bench.
33878 (bench-set): New target.
33879 (bench): Depend on bench-func and bench-set.
33880 * benchtests/README: Add section on benchmark sets.
33881 * benchtests/bench-memcpy-ifunc.c: New file.
33882 * benchtests/bench-memcpy.c: New file.
33883 * benchtests/bench-string.h: New file.
33884
33885 2013-06-11 Andreas Schwab <schwab@suse.de>
33886
33887 [BZ #15577]
33888 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33889 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33890 values in the triple.
33891 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33892 terminator in the group key.
33893
33894 2013-06-11 Andreas Jaeger <aj@suse.de>
33895
33896 * po/zh_TW.po: Update Chinese (traditional) translation from
33897 translation project.
33898
33899 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33900
33901 * include/time.h (__clock_gettime): Add libc_hidden_proto.
33902 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33903 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33905 (clock_getcpuclockid): Likewise.
33906 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33907 Add weak_alias and libc_hidden_def.
33908 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33909 * rt/clock_gettime.c (clock_gettime): Rename to
33910 __clock_gettime. Add weak_alias and libc_hidden_def.
33911 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33912 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33913 __clock_nanosleep. Add weak_alias and libc_hidden_def.
33914 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33915 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33916 Likewise.
33917 * rt/clock_settime.c (clock_settime): Rename to
33918 __clock_settime. Add weak_alias and libc_hidden_def.
33919 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33920
33921 2013-06-10 Joseph Myers <joseph@codesourcery.com>
33922
33923 * mach/err_boot.sub: Remove trailing whitespace.
33924 * mach/err_ipc.sub: Likewise.
33925 * mach/err_mach.sub: Likewise.
33926
33927 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33928 (ROUNDING_TESTS_double): Likewise.
33929 (ROUNDING_TESTS_long_double): Likewise.
33930 (ROUNDING_TESTS): Likewise.
33931 * math/libm-test.inc: Include <math-tests.h>.
33932 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33933 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33934 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33935 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33936
33937 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33938
33939 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33940 of assigning.
33941
33942 2013-06-08 Joseph Myers <joseph@codesourcery.com>
33943
33944 * sysdeps/gnu/errlist.awk: Do not generate space at end of
33945 otherwise empty TRANS lines.
33946 * sysdeps/gnu/errlist.c: Regenerated.
33947
33948 * catgets/gencat.c (error_print): Use (void) in function
33949 definition.
33950 * crypt/crypt_util.c (__init_des): Likewise.
33951 * crypt/speeds.c (Stop): Likewise.
33952 (main): Likewise.
33953 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33954 * inet/ruserpass.c (token): Likewise.
33955 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33956 * intl/localealias.c (extend_alias_table): Likewise.
33957 * intl/plural-exp.c (init_germanic_plural): Likewise.
33958 * libio/fcloseall.c (__fcloseall): Likewise.
33959 * libio/genops.c (_IO_flush_all): Likewise.
33960 (_IO_flush_all_linebuffered): Likewise.
33961 (_IO_cleanup): Likewise.
33962 (_IO_iter_begin): Likewise.
33963 (_IO_iter_end): Likewise.
33964 (_IO_list_lock): Likewise.
33965 (_IO_list_unlock): Likewise.
33966 (_IO_list_resetlock): Likewise.
33967 * libio/getchar.c (getchar): Likewise.
33968 * libio/getchar_u.c (getchar_unlocked): Likewise.
33969 * libio/getwchar.c (getwchar): Likewise.
33970 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33971 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33972 * login/getpt.c (__getpt): Likewise.
33973 * login/tst-utmp.c (main): Likewise.
33974 * malloc/hooks.c (__malloc_check_init): Likewise.
33975 * malloc/malloc.c (__malloc_stats): Likewise.
33976 * malloc/mtrace.c (tr_break): Likewise.
33977 (mtrace): Likewise.
33978 (muntrace): Likewise.
33979 * misc/fstab.c (endfsent): Likewise.
33980 * misc/getclktck.c (__getclktck): Likewise.
33981 * misc/getdtsz.c (__getdtablesize): Likewise.
33982 * misc/gethostid.c (gethostid): Likewise.
33983 * misc/getpagesize.c (__getpagesize): Likewise.
33984 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33985 (__get_nprocs): Likewise.
33986 (__get_phys_pages): Likewise.
33987 (__get_avphys_pages): Likewise.
33988 * misc/getttyent.c (getttyent): Likewise.
33989 (setttyent): Likewise.
33990 (endttyent): Likewise.
33991 * misc/getusershell.c (getusershell): Likewise.
33992 (endusershell): Likewise.
33993 (setusershell): Likewise.
33994 (initshells): Likewise.
33995 * misc/hsearch.c (__hdestroy): Likewise.
33996 * misc/sync.c (sync): Likewise.
33997 * misc/syslog.c (closelog_internal): Likewise.
33998 (closelog): Likewise.
33999 * misc/ttyslot.c (ttyslot): Likewise.
34000 * misc/vhangup.c (vhangup): Likewise.
34001 * posix/fork.c (__fork): Likewise.
34002 * posix/getegid.c (__getegid): Likewise.
34003 * posix/geteuid.c (__geteuid): Likewise.
34004 * posix/getgid.c (__getgid): Likewise.
34005 * posix/getpid.c (__getpid): Likewise.
34006 * posix/getppid.c (__getppid): Likewise.
34007 * posix/getuid.c (__getuid): Likewise.
34008 * posix/pause.c (pause): Likewise.
34009 * posix/setpgrp.c (setpgrp): Likewise.
34010 * posix/setsid.c (__setsid): Likewise.
34011 * posix/test-vfork.c (noop): Likewise.
34012 * resolv/gethnamaddr.c (_endhtent): Likewise.
34013 (_gethtent): Likewise.
34014 (ht_endhostent): Likewise.
34015 (gethostent): Likewise.
34016 (dns_service): Likewise.
34017 * stdlib/drand48.c (drand48): Likewise.
34018 * stdlib/lrand48.c (lrand48): Likewise.
34019 * stdlib/mrand48.c (mrand48): Likewise.
34020 * stdlib/rand.c (rand): Likewise.
34021 * stdlib/random.c (__random): Likewise.
34022 * stdlib/setenv.c (clearenv): Likewise.
34023 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34024 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34025 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34026 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34027 (__get_nprocs): Likewise.
34028 (__get_phys_pages): Likewise.
34029 (__get_avphys_pages): Likewise.
34030 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34031 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34032 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34033 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34034 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34035 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34036 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34037 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34038 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34039 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34040 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34041 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34042 * sysdeps/posix/clock.c (clock): Likewise.
34043 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34044 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34045 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34046 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34047 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34049 (__get_nprocs_conf): Likewise.
34050 (__get_phys_pages): Likewise.
34051 (__get_avphys_pages): Likewise.
34052 * time/clock.c (clock): Likewise.
34053 * time/tzset.c (__tzname_max): Likewise.
34054
34055 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34056
34057 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34058 (__bswap_32): Do not use "register".
34059 * crypt/crypt.c (_ufc_doit_r): Likewise.
34060 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34061 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34062 * gmon/gmon.c (__monstartup): Likewise.
34063 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34064 * hurd/hurdmalloc.c (more_memory): Likewise.
34065 (malloc): Likewise.
34066 (free): Likewise.
34067 (realloc): Likewise.
34068 (malloc_fork_prepare): Likewise.
34069 (malloc_fork_parent): Likewise.
34070 (malloc_fork_child): Likewise.
34071 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34072 (_svcauth_des): Likewise.
34073 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34074 * inet/inet_net.c (inet_network): Likewise.
34075 * inet/inet_netof.c (inet_netof): Likewise.
34076 * inet/rcmd.c (__validuser2_sa): Likewise.
34077 * io/fts.c (fts_open): Likewise.
34078 (fts_load): Likewise.
34079 (fts_close): Likewise.
34080 (fts_read): Likewise.
34081 (fts_children): Likewise.
34082 (fts_build): Likewise.
34083 (fts_stat): Likewise.
34084 (fts_sort): Likewise.
34085 (fts_alloc): Likewise.
34086 (fts_lfree): Likewise.
34087 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34088 (_IO_file_xsgetn): Likewise.
34089 (_IO_file_xsgetn_mmap): Likewise.
34090 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34091 (_IO_cookie_write): Likewise.
34092 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34093 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34094 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34095 * malloc/obstack.c (_obstack_begin): Likewise.
34096 (_obstack_begin_1): Likewise.
34097 (_obstack_newchunk): Likewise.
34098 (_obstack_allocated_p): Likewise.
34099 (obstack_free): Likewise.
34100 (_obstack_memory_used): Likewise.
34101 * misc/getttyent.c (getttynam): Likewise.
34102 (getttyent): Likewise.
34103 (skip): Likewise.
34104 (value): Likewise.
34105 * misc/getusershell.c (initshells): Likewise.
34106 * misc/syslog.c (__vsyslog_chk): Likewise.
34107 * misc/ttyslot.c (ttyslot): Likewise.
34108 * nis/nis_hash.c (__nis_hash): Likewise.
34109 * posix/fnmatch_loop.c (FCT): Likewise.
34110 * posix/getconf.c (print_all): Likewise.
34111 (main): Likewise.
34112 * posix/getopt.c (exchange): Likewise.
34113 * posix/glob.c (globfree): Likewise.
34114 (prefix_array): Likewise.
34115 (__glob_pattern_type): Likewise.
34116 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34117 (NS_GET32): Likewise.
34118 (NS_PUT16): Likewise.
34119 (NS_PUT32): Likewise.
34120 * resolv/gethnamaddr.c (getanswer): Likewise.
34121 (gethostbyname2): Likewise.
34122 (gethostbyaddr): Likewise.
34123 (_gethtent): Likewise.
34124 (_gethtbyname2): Likewise.
34125 (_gethtbyaddr): Likewise.
34126 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34127 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34128 * resolv/res_init.c (__res_vinit): Likewise.
34129 (net_mask): Likewise.
34130 * resolv/res_mkquery.c (outchar): Likewise.
34131 (PRINT): Likewise.
34132 * stdio-common/printf_fp.c (outchar): Likewise.
34133 (PRINT): Likewise.
34134 * stdio-common/printf_fphex.c (outchar): Likewise.
34135 (PRINT): Likewise.
34136 * stdio-common/printf_size.c (outchar): Likewise.
34137 (PRINT): Likewise.
34138 * stdio-common/test_rdwr.c (main): Likewise.
34139 * stdio-common/tfformat.c (matches): Likewise.
34140 * stdio-common/vfprintf.c (outchar): Likewise.
34141 (printf_unknown): Likewise.
34142 (buffered_vfprintf): Likewise.
34143 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34144 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34145 (ReadFile): Likewise.
34146 * stdlib/qsort.c (SWAP): Likewise.
34147 (_quicksort): Likewise.
34148 * stdlib/setenv.c (__add_to_environ): Likewise.
34149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34150 * stdlib/strtol_l.c (__strtol_l): Likewise.
34151 * stdlib/tst-strtod.c (main): Likewise.
34152 * stdlib/tst-strtol.c (main): Likewise.
34153 * stdlib/tst-strtoll.c (main): Likewise.
34154 * string/bits/string2.h (__strcmp_cc): Likewise.
34155 (__strcmp_cg): Likewise.
34156 (__strcspn_c1): Likewise.
34157 (__strcspn_c2): Likewise.
34158 (__strcspn_c3): Likewise.
34159 (__strspn_c1): Likewise.
34160 (__strspn_c2): Likewise.
34161 (__strspn_c3): Likewise.
34162 (__strsep_1c): Likewise.
34163 (__strsep_2c): Likewise.
34164 (__strsep_3c): Likewise.
34165 * string/memccpy.c (__memccpy): Likewise.
34166 * string/stpcpy.c (__stpcpy): Likewise.
34167 * string/strcmp.c (strcmp): Likewise.
34168 * string/strrchr.c (strrchr): Likewise.
34169 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34170 Likewise.
34171 * sysdeps/mach/hurd/getcwd.c
34172 (_hurd_canonicalize_directory_name_internal): Likewise.
34173 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34174 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34175 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34176 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34177 Likewise, in both definitions.
34178 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34179 definitions.
34180 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34181 64] (__bswap_64): Likewise.
34182 * time/test_time.c (main): Likewise.
34183 * time/tzfile.c (__tzfile_read): Likewise.
34184 (__tzfile_compute): Likewise.
34185 * time/tzset.c (__tzset_parse_tz): Likewise.
34186 (tzset_internal): Likewise.
34187 (compute_change): Likewise.
34188 * wcsmbs/wcscat.c (__wcscat): Likewise.
34189 * wcsmbs/wcschr.c (wcschr): Likewise.
34190 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34191 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34192 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34193 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34194 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34195 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34196 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34197 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34198 * wcsmbs/wmemset.c (wmemset): Likewise.
34199
34200 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34201
34202 * scripts/config.guess: Update to version 2013-05-16.
34203 * scripts/config.sub: Update to version 2013-04-24.
34204 * scripts/install-sh: Update to version 2011-11-20.07.
34205 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34206 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34207
34208 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34209
34210 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34211 * elf/sln.c: Likewise.
34212 * hurd/hurd/ioctl.h: Likewise.
34213 * hurd/hurdmalloc.c: Likewise.
34214 * hurd/xattr.c: Likewise.
34215 * include/shlib-compat.h: Likewise.
34216 * inet/ruserpass.c: Likewise.
34217 * libio/iofgets_u.c: Likewise.
34218 * libio/iofgetws_u.c: Likewise.
34219 * locale/programs/ld-identification.c: Likewise.
34220 * locale/programs/ld-time.c: Likewise.
34221 * mach/msg-destroy.c: Likewise.
34222 * nss/nss_files/files-netgrp.c: Likewise.
34223 * resolv/res_data.c: Likewise.
34224 * soft-fp/op-1.h: Likewise.
34225 * soft-fp/op-2.h: Likewise.
34226 * soft-fp/op-4.h: Likewise.
34227 * soft-fp/op-common.h: Likewise.
34228 * stdio-common/printf_fphex.c: Likewise.
34229 * stdlib/strtod_l.c: Likewise.
34230 * sunrpc/rpc/clnt.h: Likewise.
34231 * sysdeps/generic/framestate.c: Likewise.
34232 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34233 * sysdeps/i386/bsd-setjmp.S: Likewise.
34234 * sysdeps/i386/__longjmp.S: Likewise.
34235 * sysdeps/i386/setjmp.S: Likewise.
34236 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34237 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34243 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34244 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34245 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34246 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34249 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34252 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34253 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34254 * sysdeps/ieee754/support.c: Likewise.
34255 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34256 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34257 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34258 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34259 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34260 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34261 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34262 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34263 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34264 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34265 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34266 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34267 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34268 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34269 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34270 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34271 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34273
34274 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34275
34276 * posix/transbug.c: Remove executable mode.
34277
34278 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34279
34280 * crypt/speeds.c: Remove trailing whitespace.
34281 * dlfcn/default.c: Likewise.
34282 * elf/ifuncdep2.c: Likewise.
34283 * elf/ifuncmain1.c: Likewise.
34284 * elf/ifuncmain1vis.c: Likewise.
34285 * elf/testobj.h: Likewise.
34286 * elf/tst-stackguard1.c: Likewise.
34287 * gmon/sys/gmon.h: Likewise.
34288 * hurd/hurdmsg.c: Likewise.
34289 * hurd/new-fd.c: Likewise.
34290 * hurd/ports-get.c: Likewise.
34291 * iconvdata/ibm1008_420.c: Likewise.
34292 * inet/tst-getni1.c: Likewise.
34293 * inet/tst-getni2.c: Likewise.
34294 * libio/ioungetc.c: Likewise.
34295 * libio/wfiledoalloc.c: Likewise.
34296 * manual/libm-err-tab.pl: Likewise.
34297 * math/w_dremf.c: Likewise.
34298 * misc/ftruncate.c: Likewise.
34299 * posix/bug-glob2.c: Likewise.
34300 * posix/tst-pcre.c: Likewise.
34301 * posix/wait4.c: Likewise.
34302 * resolv/README: Likewise.
34303 * resolv/res_debug.h: Likewise.
34304 * resolv/tst-inet_ntop.c: Likewise.
34305 * setjmp/bug269-setjmp.c: Likewise.
34306 * soft-fp/extended.h: Likewise.
34307 * soft-fp/op-1.h: Likewise.
34308 * soft-fp/op-2.h: Likewise.
34309 * soft-fp/op-4.h: Likewise.
34310 * soft-fp/op-8.h: Likewise.
34311 * soft-fp/testit.c: Likewise.
34312 * stdio-common/bug16.c: Likewise.
34313 * stdlib/random.c: Likewise.
34314 * sunrpc/rpcsvc/rquota.x: Likewise.
34315 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34320 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34322 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34323 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34324 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34327 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34331 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34333 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34336 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34337 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34338 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34339 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34340 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34343 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34344 * sysdeps/ieee754/s_lib_version.c: Likewise.
34345 * sysdeps/mach/hurd/check_fds.c: Likewise.
34346 * sysdeps/mach/hurd/getsockname.c: Likewise.
34347 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34348 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34349 * sysdeps/powerpc/bits/link.h: Likewise.
34350 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34351 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34352 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34353 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34354 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34355 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34356 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34357 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34358 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34359 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34360 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34361 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34362 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34363 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34364 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34365 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34369 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34370 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34371 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34372 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34373 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34374 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34375 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34377 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34378 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34382 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34384 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34385 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34386 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34387 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34388 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34389 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34390 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34391 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34392 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34393 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34394 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34395 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34396 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34397 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34398 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34399 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34402 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34403 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34404 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34405 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34406 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34410 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34411 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34412 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34413 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34414 * sysdeps/powerpc/sysdep.h: Likewise.
34415 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34416 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34417 * sysdeps/sh/dl-trampoline.S: Likewise.
34418 * sysdeps/sh/memset.S: Likewise.
34419 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34420 * sysdeps/sh/strlen.S: Likewise.
34421 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34422 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34423 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34424 * sysdeps/sparc/sparc32/rem.S: Likewise.
34425 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34426 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34427 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34428 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34429 * sysdeps/sparc/sparc32/urem.S: Likewise.
34430 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34431 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34432 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34433 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34435 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34436 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34437 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34438 * sysdeps/unix/bsd/times.c: Likewise.
34439 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34440 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34444 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34445 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34446 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34447 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34448 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34449 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34450 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34451 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34452 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34453 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34454 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34455 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34456 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34457 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34458 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34459 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34460 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34461 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34462 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34463 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34464 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34465 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34467 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34468 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34469 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34470 * sysdeps/x86_64/strcspn.S: Likewise.
34471
34472 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34473
34474 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34475 generated file. Regenerate properly from gen-translit.pl.
34476 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34477 locale/C-translit.h.
34478
34479 2013-06-05 Andreas Schwab <schwab@suse.de>
34480
34481 [BZ #15100]
34482 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34483 week as 6 instead of -1.
34484 * time/tst-strptime.c (day_tests): Add test case.
34485
34486 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34487
34488 * sysdeps/generic/math_private.h
34489 (libc_feholdexcept_setround_53bit): Replace with
34490 libc_feholdsetround_53bit.
34491 (libc_feupdateenv_53bit): Replace with
34492 libc_feresetround_53bit.
34493 (SET_RESTORE_ROUND_53BIT): Adjust.
34494
34495 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34496
34497 * string/test-strchrnul.c: Add copyright header.
34498
34499 * posix/tst-getaddrinfo4.c: Increase test timeout.
34500
34501 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34502
34503 [BZ #15536]
34504 * math/libm-test.inc (MAX_EXP): Remove
34505 (MIN_EXP): Define.
34506 (ulp): Use MIN_EXP - MANT_DIG.
34507 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34508
34509 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34510
34511 * po/be.po: Revert last change.
34512 * po/zh_CN.po: Likewise.
34513 * po/header.pot: Likewise.
34514
34515 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34516
34517 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34518 link-libc-deps to empty as target-specific variable.
34519 * Makerules (link-libc-args): New variable.
34520 (libc-for-link): Likewise.
34521 (link-libc-deps): Likewise.
34522 (lib%.so): Depend on $(link-libc-deps). Link with
34523 $(link-libc-args).
34524 (build-module): Link with $(link-libc-args).
34525 (build-module-asneeded): Likewise.
34526 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34527 list of objects.
34528 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34529 target-specific variable.
34530 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34531 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34532 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34533 libc.
34534 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34535 libc and ld.so.
34536 ($(objpfx)libpcprofile.so): Likewise.
34537 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34538 libc_nonshared.a.
34539 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34540 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34541 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34542 $(link-libc-deps).
34543 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34544 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34545 * login/Makefile ($(objpfx)libutil.so): Likewise.
34546 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34547 * math/Makefile ($(objpfx)libm.so): Likewise.
34548 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34549 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34550 variable instead of depending directly on libc.
34551 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34552 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34553 $(link-libc-deps).
34554 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34555 libc.
34556 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34557 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34558 ($(objpfx)libanl.so): Likewise.
34559 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34560 ld.so.
34561 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34562 $(link-libc-deps).
34563 * sysdeps/i386/fpu/Makefile: Remove file.
34564 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34565 ($(objpfx)libm.so): Remove dependency on ld.so.
34566
34567 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34568
34569 [BZ # 15553]
34570 * nis/yp_xdr.c (XDRMAXNAME): Define.
34571 (XDRMAXRECORD): Define.
34572 (xdr_domainname): Use XDRMAXNAME.
34573 (xdr_mapname): Likewise.
34574 (xdr_peername): Likewise.
34575 (xdr_keydat): Use XDRMAXRECORD.
34576 (xdr_valdat): Likewise.
34577
34578 2013-05-30 Jeff Law <law@redhat.com>
34579
34580 [BZ #14256]
34581 * manual/errno.texi (ESTALE): Update to account for more than
34582 just NFS file systems.
34583 * sysdeps/gnu/errlist.c: Regenerated.
34584
34585 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34586
34587 [BZ #15465]
34588 * elf/Makefile (tests): Add tst-null-argv.
34589 (modules-names): Add tst-null-argv-lib.
34590 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34591 (tst-null-argv-ENV): Set environment for tst-null-argv.
34592 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34593 (RTLD_PROGNAME): New macro.
34594 * elf/tst-null-argv.c: New test case.
34595 * elf/tst-null-argv-lib.c: Library for test case.
34596 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34597 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34598 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34599 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34600 * elf/dl-init.c (call_init): Likewise.
34601 (_dl_init): Likewise.
34602 * elf/dl-load.c (print_search_path): Likewise.
34603 (_dl_map_object): Likewise.
34604 * elf/dl-lookup.c (do_lookup_x): Likewise.
34605 (add_dependency): Likewise.
34606 (_dl_lookup_symbol_x): Likewise.
34607 (_dl_debug_bindings): Likewise.
34608 * elf/dl-open.c (_dl_show_scope): Likewise.
34609 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34610 * elf/dl-version.c (match_symbol): Likewise.
34611 (_dl_check_map_versions): Likewise.
34612 * elf/rtld.c (dl_main): Likewise.
34613 (print_unresolved): Use RTLD_PROGNAME.
34614 (print_missing_version): Likewise.
34615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34616 (elf_machine_rela): Likewise.
34617 * sysdeps/powerpc/powerpc32/dl-machine.c
34618 (__process_machine_rela): Likewise.
34619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34620 Likewise.
34621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34622 Likewise.
34623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34624 Likewise.
34625 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34627 Likewise.
34628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34629 Likewise.
34630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34631
34632 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34633
34634 * po/be.po: Add descriptive title.
34635 * po/zh_CN.po: Likewise.
34636 * po/header.pot: Likewise.
34637
34638 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34639
34640 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34641 error message.
34642 (enlarge_archive): Likewise.
34643
34644 2013-05-28 Ben North <ben@redfrontdoor.org>
34645
34646 * manual/arith.texi (frexp): It is the magnitude of the return
34647 value which lies in [0.5, 1), not the return value itself.
34648
34649 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34650
34651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34652
34653 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34654
34655 * stdio-common/bug26.c (main): Correct fscanf template.
34656
34657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34658 declare _dl_skip_args.
34659
34660 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34661 Don't declare.
34662
34663 * manual/platform.texi: Add missing @end deftypefun.
34664
34665 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34666
34667 [BZ #15529]
34668 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34669 bit of mantissa of 2^16382.
34670 * math/libm-test.inc (hypot_test_data): Add more tests.
34671
34672 * math/libm-test.inc: Add drem and pow10 to list of tested
34673 functions.
34674 (pow10_test): New function.
34675 (drem_test): Likewise.
34676 (drem_test_tonearest): Likewise.
34677 (drem_test_towardzero): Likewise.
34678 (drem_test_downward): Likewise.
34679 (drem_test_upward): Likewise.
34680 (main): Call the new functions.
34681
34682 * math/libm-test.inc (finite_test_data): Remove.
34683 (finite_test): Run tests from isfinite_test_data.
34684 (gamma_test_data): Remove.
34685 (gamma_test): Run tests from lgamma_test_data.
34686 * sysdeps/i386/fpu/libm-test-ulps: Update.
34687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34688
34689 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34690
34691 * manual/platform.texi: Add PowerPC PPR function set documentation.
34692 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34693 implementation.
34694
34695 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34696
34697 * math/libm-test.inc (MAX_EXP): Define.
34698 (ULPDIFF): Define.
34699 (ulp): New function.
34700 (check_float_internal): Use ULPDIFF.
34701 (cpow_test): Disable failing test.
34702 (check_ulp): Test ulp() implemetnation.
34703 (main): Call check_ulp before starting tests.
34704
34705 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34706
34707 * math/gen-libm-test.pl (generate_testfile): Do not handle
34708 START_DATA and END_DATA.
34709 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34710 END_DATA.
34711 (acos_tonearest_test_data): Likewise.
34712 (acos_towardzero_test_data): Likewise.
34713 (acos_downward_test_data): Likewise.
34714 (acos_upward_test_data): Likewise.
34715 (acosh_test_data): Likewise.
34716 (asin_test_data): Likewise.
34717 (asin_tonearest_test_data): Likewise.
34718 (asin_towardzero_test_data): Likewise.
34719 (asin_downward_test_data): Likewise.
34720 (asin_upward_test_data): Likewise.
34721 (asinh_test_data): Likewise.
34722 (atan_test_data): Likewise.
34723 (atanh_test_data): Likewise.
34724 (atan2_test_data): Likewise.
34725 (cabs_test_data): Likewise.
34726 (cacos_test_data): Likewise.
34727 (cacosh_test_data): Likewise.
34728 (carg_test_data): Likewise.
34729 (casin_test_data): Likewise.
34730 (casinh_test_data): Likewise.
34731 (catan_test_data): Likewise.
34732 (catanh_test_data): Likewise.
34733 (cbrt_test_data): Likewise.
34734 (ccos_test_data): Likewise.
34735 (ccosh_test_data): Likewise.
34736 (ceil_test_data): Likewise.
34737 (cexp_test_data): Likewise.
34738 (cimag_test_data): Likewise.
34739 (clog_test_data): Likewise.
34740 (clog10_test_data): Likewise.
34741 (conj_test_data): Likewise.
34742 (copysign_test_data): Likewise.
34743 (cos_test_data): Likewise.
34744 (cos_tonearest_test_data): Likewise.
34745 (cos_towardzero_test_data): Likewise.
34746 (cos_downward_test_data): Likewise.
34747 (cos_upward_test_data): Likewise.
34748 (cosh_test_data): Likewise.
34749 (cosh_tonearest_test_data): Likewise.
34750 (cosh_towardzero_test_data): Likewise.
34751 (cosh_downward_test_data): Likewise.
34752 (cosh_upward_test_data): Likewise.
34753 (cpow_test_data): Likewise.
34754 (cproj_test_data): Likewise.
34755 (creal_test_data): Likewise.
34756 (csin_test_data): Likewise.
34757 (csinh_test_data): Likewise.
34758 (csqrt_test_data): Likewise.
34759 (ctan_test_data): Likewise.
34760 (ctan_tonearest_test_data): Likewise.
34761 (ctan_towardzero_test_data): Likewise.
34762 (ctan_downward_test_data): Likewise.
34763 (ctan_upward_test_data): Likewise.
34764 (ctanh_test_data): Likewise.
34765 (ctanh_tonearest_test_data): Likewise.
34766 (ctanh_towardzero_test_data): Likewise.
34767 (ctanh_downward_test_data): Likewise.
34768 (ctanh_upward_test_data): Likewise.
34769 (erf_test_data): Likewise.
34770 (erfc_test_data): Likewise.
34771 (exp_test_data): Likewise.
34772 (exp_tonearest_test_data): Likewise.
34773 (exp_towardzero_test_data): Likewise.
34774 (exp_downward_test_data): Likewise.
34775 (exp_upward_test_data): Likewise.
34776 (exp10_test_data): Likewise.
34777 (exp2_test_data): Likewise.
34778 (expm1_test_data): Likewise.
34779 (fabs_test_data): Likewise.
34780 (fdim_test_data): Likewise.
34781 (finite_test_data): Likewise.
34782 (floor_test_data): Likewise.
34783 (fma_test_data): Likewise.
34784 (fma_towardzero_test_data): Likewise.
34785 (fma_downward_test_data): Likewise.
34786 (fma_upward_test_data): Likewise.
34787 (fmax_test_data): Likewise.
34788 (fmin_test_data): Likewise.
34789 (fmod_test_data): Likewise.
34790 (fpclassify_test_data): Likewise.
34791 (frexp_test_data): Likewise.
34792 (gamma_test_data): Likewise.
34793 (hypot_test_data): Likewise.
34794 (ilogb_test_data): Likewise.
34795 (isfinite_test_data): Likewise.
34796 (isgreater_test_data): Likewise.
34797 (isgreaterequal_test_data): Likewise.
34798 (isinf_test_data): Likewise.
34799 (isless_test_data): Likewise.
34800 (islessequal_test_data): Likewise.
34801 (islessgreater_test_data): Likewise.
34802 (isnan_test_data): Likewise.
34803 (isnormal_test_data): Likewise.
34804 (issignaling_test_data): Likewise.
34805 (isunordered_test_data): Likewise.
34806 (j0_test_data): Likewise.
34807 (j1_test_data): Likewise.
34808 (jn_test_data): Likewise.
34809 (ldexp_test_data): Likewise.
34810 (lgamma_test_data): Likewise.
34811 (lrint_test_data): Likewise.
34812 (lrint_tonearest_test_data): Likewise.
34813 (lrint_towardzero_test_data): Likewise.
34814 (lrint_downward_test_data): Likewise.
34815 (lrint_upward_test_data): Likewise.
34816 (llrint_test_data): Likewise.
34817 (llrint_tonearest_test_data): Likewise.
34818 (llrint_towardzero_test_data): Likewise.
34819 (llrint_downward_test_data): Likewise.
34820 (llrint_upward_test_data): Likewise.
34821 (log_test_data): Likewise.
34822 (log10_test_data): Likewise.
34823 (log1p_test_data): Likewise.
34824 (log2_test_data): Likewise.
34825 (logb_test_data): Likewise.
34826 (logb_downward_test_data): Likewise.
34827 (lround_test_data): Likewise.
34828 (llround_test_data): Likewise.
34829 (modf_test_data): Likewise.
34830 (nearbyint_test_data): Likewise.
34831 (nextafter_test_data): Likewise.
34832 (nexttoward_test_data): Likewise.
34833 (pow_test_data): Likewise.
34834 (pow_tonearest_test_data): Likewise.
34835 (pow_towardzero_test_data): Likewise.
34836 (pow_downward_test_data): Likewise.
34837 (pow_upward_test_data): Likewise.
34838 (remainder_test_data): Likewise.
34839 (remainder_tonearest_test_data): Likewise.
34840 (remainder_towardzero_test_data): Likewise.
34841 (remainder_downward_test_data): Likewise.
34842 (remainder_upward_test_data): Likewise.
34843 (remquo_test_data): Likewise.
34844 (rint_test_data): Likewise.
34845 (rint_tonearest_test_data): Likewise.
34846 (rint_towardzero_test_data): Likewise.
34847 (rint_downward_test_data): Likewise.
34848 (rint_upward_test_data): Likewise.
34849 (round_test_data): Likewise.
34850 (scalb_test_data): Likewise.
34851 (scalbn_test_data): Likewise.
34852 (scalbln_test_data): Likewise.
34853 (signbit_test_data): Likewise.
34854 (sin_test_data): Likewise.
34855 (sin_tonearest_test_data): Likewise.
34856 (sin_towardzero_test_data): Likewise.
34857 (sin_downward_test_data): Likewise.
34858 (sin_upward_test_data): Likewise.
34859 (sincos_test_data): Likewise.
34860 (sinh_test_data): Likewise.
34861 (sinh_tonearest_test_data): Likewise.
34862 (sinh_towardzero_test_data): Likewise.
34863 (sinh_downward_test_data): Likewise.
34864 (sinh_upward_test_data): Likewise.
34865 (sqrt_test_data): Likewise.
34866 (tan_test_data): Likewise.
34867 (tan_tonearest_test_data): Likewise.
34868 (tan_towardzero_test_data): Likewise.
34869 (tan_downward_test_data): Likewise.
34870 (tan_upward_test_data): Likewise.
34871 (tanh_test_data): Likewise.
34872 (tgamma_test_data): Likewise.
34873 (trunc_test_data): Likewise.
34874 (y0_test_data): Likewise.
34875 (y1_test_data): Likewise.
34876 (yn_test_data): Likewise.
34877 (significand_test_data): Likewise.
34878
34879 * math/gen-libm-test.pl (@functions): Remove variable.
34880 (generate_testfile): Don't handle START and END lines.
34881 * math/libm-test.inc (START): New macro.
34882 (END): Likewise.
34883 (END_COMPLEX): Likewise.
34884 (acos_test): Use END macro without arguments.
34885 (acos_test_tonearest): Likewise.
34886 (acos_test_towardzero): Likewise.
34887 (acos_test_downward): Likewise.
34888 (acos_test_upward): Likewise.
34889 (acosh_test): Likewise.
34890 (asin_test): Likewise.
34891 (asin_test_tonearest): Likewise.
34892 (asin_test_towardzero): Likewise.
34893 (asin_test_downward): Likewise.
34894 (asin_test_upward): Likewise.
34895 (asinh_test): Likewise.
34896 (atan_test): Likewise.
34897 (atanh_test): Likewise.
34898 (atan2_test): Likewise.
34899 (cabs_test): Likewise.
34900 (cacos_test): Use END_COMPLEX macro without arguments.
34901 (cacosh_test): Likewise.
34902 (carg_test): Use END macro without arguments.
34903 (casin_test): Use END_COMPLEX macro without arguments.
34904 (casinh_test): Likewise.
34905 (catan_test): Likewise.
34906 (catanh_test): Likewise.
34907 (cbrt_test): Use END macro without arguments.
34908 (ccos_test): Use END_COMPLEX macro without arguments.
34909 (ccosh_test): Likewise.
34910 (ceil_test): Use END macro without arguments.
34911 (cexp_test): Use END_COMPLEX macro without arguments.
34912 (cimag_test): Use END macro without arguments.
34913 (clog_test): Use END_COMPLEX macro without arguments.
34914 (clog10_test): Likewise.
34915 (conj_test): Likewise.
34916 (copysign_test): Use END macro without arguments.
34917 (cos_test): Likewise.
34918 (cos_test_tonearest): Likewise.
34919 (cos_test_towardzero): Likewise.
34920 (cos_test_downward): Likewise.
34921 (cos_test_upward): Likewise.
34922 (cosh_test): Likewise.
34923 (cosh_test_tonearest): Likewise.
34924 (cosh_test_towardzero): Likewise.
34925 (cosh_test_downward): Likewise.
34926 (cosh_test_upward): Likewise.
34927 (cpow_test): Use END_COMPLEX macro without arguments.
34928 (cproj_test): Likewise.
34929 (creal_test): Use END macro without arguments.
34930 (csin_test): Use END_COMPLEX macro without arguments.
34931 (csinh_test): Likewise.
34932 (csqrt_test): Likewise.
34933 (ctan_test): Likewise.
34934 (ctan_test_tonearest): Likewise.
34935 (ctan_test_towardzero): Likewise.
34936 (ctan_test_downward): Likewise.
34937 (ctan_test_upward): Likewise.
34938 (ctanh_test): Likewise.
34939 (ctanh_test_tonearest): Likewise.
34940 (ctanh_test_towardzero): Likewise.
34941 (ctanh_test_downward): Likewise.
34942 (ctanh_test_upward): Likewise.
34943 (erf_test): Use END macro without arguments.
34944 (erfc_test): Likewise.
34945 (exp_test): Likewise.
34946 (exp_test_tonearest): Likewise.
34947 (exp_test_towardzero): Likewise.
34948 (exp_test_downward): Likewise.
34949 (exp_test_upward): Likewise.
34950 (exp10_test): Likewise.
34951 (exp2_test): Likewise.
34952 (expm1_test): Likewise.
34953 (fabs_test): Likewise.
34954 (fdim_test): Likewise.
34955 (finite_test): Likewise.
34956 (floor_test): Likewise.
34957 (fma_test): Likewise.
34958 (fma_test_towardzero): Likewise.
34959 (fma_test_downward): Likewise.
34960 (fma_test_upward): Likewise.
34961 (fmax_test): Likewise.
34962 (fmin_test): Likewise.
34963 (fmod_test): Likewise.
34964 (fpclassify_test): Likewise.
34965 (frexp_test): Likewise.
34966 (gamma_test): Likewise.
34967 (hypot_test): Likewise.
34968 (ilogb_test): Likewise.
34969 (isfinite_test): Likewise.
34970 (isgreater_test): Likewise.
34971 (isgreaterequal_test): Likewise.
34972 (isinf_test): Likewise.
34973 (isless_test): Likewise.
34974 (islessequal_test): Likewise.
34975 (islessgreater_test): Likewise.
34976 (isnan_test): Likewise.
34977 (isnormal_test): Likewise.
34978 (issignaling_test): Likewise.
34979 (isunordered_test): Likewise.
34980 (j0_test): Likewise.
34981 (j1_test): Likewise.
34982 (jn_test): Likewise.
34983 (ldexp_test): Likewise.
34984 (lgamma_test): Likewise.
34985 (lrint_test): Likewise.
34986 (lrint_test_tonearest): Likewise.
34987 (lrint_test_towardzero): Likewise.
34988 (lrint_test_downward): Likewise.
34989 (lrint_test_upward): Likewise.
34990 (llrint_test): Likewise.
34991 (llrint_test_tonearest): Likewise.
34992 (llrint_test_towardzero): Likewise.
34993 (llrint_test_downward): Likewise.
34994 (llrint_test_upward): Likewise.
34995 (log_test): Likewise.
34996 (log10_test): Likewise.
34997 (log1p_test): Likewise.
34998 (log2_test): Likewise.
34999 (logb_test): Likewise.
35000 (logb_test_downward): Likewise.
35001 (lround_test): Likewise.
35002 (llround_test): Likewise.
35003 (modf_test): Likewise.
35004 (nearbyint_test): Likewise.
35005 (nextafter_test): Likewise.
35006 (nexttoward_test): Likewise.
35007 (pow_test): Likewise.
35008 (pow_test_tonearest): Likewise.
35009 (pow_test_towardzero): Likewise.
35010 (pow_test_downward): Likewise.
35011 (pow_test_upward): Likewise.
35012 (remainder_test): Likewise.
35013 (remainder_test_tonearest): Likewise.
35014 (remainder_test_towardzero): Likewise.
35015 (remainder_test_downward): Likewise.
35016 (remainder_test_upward): Likewise.
35017 (remquo_test): Likewise.
35018 (rint_test): Likewise.
35019 (rint_test_tonearest): Likewise.
35020 (rint_test_towardzero): Likewise.
35021 (rint_test_downward): Likewise.
35022 (rint_test_upward): Likewise.
35023 (round_test): Likewise.
35024 (scalb_test): Likewise.
35025 (scalbn_test): Likewise.
35026 (scalbln_test): Likewise.
35027 (signbit_test): Likewise.
35028 (sin_test): Likewise.
35029 (sin_test_tonearest): Likewise.
35030 (sin_test_towardzero): Likewise.
35031 (sin_test_downward): Likewise.
35032 (sin_test_upward): Likewise.
35033 (sincos_test): Likewise.
35034 (sinh_test): Likewise.
35035 (sinh_test_tonearest): Likewise.
35036 (sinh_test_towardzero): Likewise.
35037 (sinh_test_downward): Likewise.
35038 (sinh_test_upward): Likewise.
35039 (sqrt_test): Likewise.
35040 (tan_test): Likewise.
35041 (tan_test_tonearest): Likewise.
35042 (tan_test_towardzero): Likewise.
35043 (tan_test_downward): Likewise.
35044 (tan_test_upward): Likewise.
35045 (tanh_test): Likewise.
35046 (tgamma_test): Likewise.
35047 (trunc_test): Likewise.
35048 (y0_test): Likewise.
35049 (y1_test): Likewise.
35050 (yn_test): Likewise.
35051 (significand_test): Likewise.
35052
35053 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35054
35055 [BZ #15381]
35056 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35057
35058 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35059
35060 [BZ #14894]
35061 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35062 __ppc_mdoio and __ppc_mdoom.
35063 * manual/platform.texi: Document new functions __ppc_yield,
35064 __ppc_mdoio and __ppc_mdoom.
35065
35066 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35067
35068 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35069 (main): Mention "tls" pseudo-hwcap is legacy.
35070 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35071
35072 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35073
35074 * math/gen-libm-test.pl (parse_args): Output only string of
35075 arguments as text for test name, not full call or descriptions of
35076 tests for extra outputs.
35077 (generate_testfile): Do not pass function name to parse_args.
35078 Generate this_func variable from START.
35079 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35080 field to arg_str.
35081 (struct test_ff_f_data): Likewise.
35082 (test_ff_f_data_nexttoward): Likewise.
35083 (struct test_fi_f_data): Likewise.
35084 (struct test_fl_f_data): Likewise.
35085 (struct test_if_f_data): Likewise.
35086 (struct test_fff_f_data): Likewise.
35087 (struct test_c_f_data): Likewise.
35088 (struct test_f_f1_data): Likewise. Remove field extra_name.
35089 (struct test_fF_f1_data): Likewise.
35090 (struct test_ffI_f1_data): Likewise.
35091 (struct test_c_c_data): Rename test_name field to arg_str.
35092 (struct test_cc_c_data): Likewise.
35093 (struct test_f_i_data): Likewise.
35094 (struct test_ff_i_data): Likewise.
35095 (struct test_f_l_data): Likewise.
35096 (struct test_f_L_data): Likewise.
35097 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35098 and extra2_name.
35099 (COMMON_TEST_SETUP): New macro.
35100 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35101 (COMMON_TEST_CLEANUP): Likewise.
35102 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35103 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35104 macros.
35105 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35106 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35107 macros.
35108 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35109 (RUN_TEST_fff_f): Take argument string. Call new setup and
35110 cleanup macros.
35111 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35112 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35113 macros.
35114 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35115 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35116 macros.
35117 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35118 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35119 cleanup macros.
35120 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35121 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35122 cleanup macros.
35123 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35124 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35125 cleanup macros.
35126 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35127 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35128 macros.
35129 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35130 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35131 macros.
35132 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35133 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35134 macros.
35135 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35136 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35137 cleanup macros.
35138 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35139 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35140 cleanup macros.
35141 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35142 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35143 macros.
35144 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35145 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35146 cleanup macros.
35147 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35148 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35149 macros.
35150 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35151 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35152 macros.
35153 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35154 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35155 cleanup macros.
35156 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35157
35158 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35159
35160 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35161 to _sifields.sigfault.
35162 (si_addr_lsb): Define new macro.
35163 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35165 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35166
35167 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35168
35169 [BZ #15441]
35170 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35171 returns -1.
35172 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35173 null return -1.
35174 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35175 loading the domain.
35176
35177 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35178
35179 * math/gen-libm-test.pl (parse_args): Do not include expected
35180 result in test name.
35181 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35184 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35187
35188 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35189
35190 * benchtests/Makefile: Sort function entries.
35191
35192 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35193 tanh, asinh, acosh, atanh.
35194 * benchtests/acos-inputs: New file.
35195 * benchtests/acosh-inputs: New file.
35196 * benchtests/asin-inputs: New file.
35197 * benchtests/asinh-inputs: New file.
35198 * benchtests/atanh-inputs: New file.
35199 * benchtests/cosh-inputs: New file.
35200 * benchtests/log-inputs: New file.
35201 * benchtests/sinh-inputs: New file.
35202 * benchtests/tanh-inputs: New file.
35203
35204 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35205
35206 [BZ #15339]
35207 * posix/tst-getaddrinfo4.c: New test.
35208 * posix/Makefile (tests): Add it.
35209
35210 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35211
35212 [BZ #15339]
35213 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35214 when no services were used.
35215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35216 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35217
35218 2013-05-21 Andreas Schwab <schwab@suse.de>
35219
35220 [BZ #15014]
35221 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35222 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35223 successful.
35224 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35225 redundant variable declarations and reallocation of buffer when
35226 parsing as IPv6 address. Always set NSS status when called from
35227 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35228 buffer too small. Correct computation of needed size.
35229 * nss/Makefile (tests): Add test-digits-dots.
35230 * nss/test-digits-dots.c: New test.
35231
35232 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35233
35234 * benchtests/Makefile: Remove instructions for adding
35235 benchmark tests.
35236 * benchtests/README: New file to explain how to execute and
35237 enhance the benchmark tests.
35238
35239 2013-05-21 Andreas Schwab <schwab@suse.de>
35240
35241 [BZ #15493]
35242 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35243 * setjmp/tst-sigsetjmp.c: New test.
35244
35245 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35246
35247 * sysdeps/x86_64/memset.S (memset): New implementation.
35248 (__bzero): Likewise.
35249 (__memset_tail): New function.
35250
35251 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35252
35253 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35254 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35255 __memcpy_sse2_unaligned ifunc selection.
35256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35257 Add memcpy-sse2-unaligned.S.
35258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35259 Add: __memcpy_sse2_unaligned.
35260
35261 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35262
35263 [BZ #15490]
35264 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35265 math_force_eval before restoring floating-point envrionment.
35266 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35268 Likewise.
35269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35270 <math_private.h>.
35271 (__nearbyintl): Use math_force_eval before restoring
35272 floating-point environment.
35273 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35274
35275 * math/gen-libm-test.pl (special_functions): Remove.
35276 (parse_args): Don't handle TEST_extra. Handle functions with no
35277 return value.
35278 * math/libm-test.inc (struct test_sincos_data): Replace with
35279 struct test_fFF_11_data.
35280 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35281 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35282 (sincos_test_data): Change element type to struct
35283 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35284 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35285 RUN_TEST_LOOP_sincos.
35286 * math/README.libm-test: Don't mention special handling of
35287 individual functions.
35288 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35294
35295 * math/gen-libm-test.pl (get_variable): Remove function.
35296 (parse_args): Don't show pointer parameters to call in test
35297 names. Use "extra output N" in test names for extra outputs
35298 rather than naming variables.
35299
35300 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35301
35302 [BZ #15488]
35303 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35304 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35305 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35306 double tests.
35307 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35308 disable.
35309 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35310 check_long_double.
35311
35312 * math/gen-libm-test.pl (@tests): Remove variable.
35313 ($count): Likewise.
35314 (new_test): Remove function.
35315 (show_exceptions): New function.
35316 (special_functions): Use show_exceptions instead of new_test.
35317 (parse_args): Likewise.
35318 (generate_testfile): Pass only function name in generated call to
35319 print_max_error or print_complex_max_error.
35320 (get_ulps): Do not handle complex tests specially.
35321 (output_test): Rename to ...
35322 (get_all_ulps_for_test): ... this. Return a string rather than
35323 printing to a file. Require ulps to be present.
35324 (output_ulps): Generate arrays rather than #defines.
35325 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35326 (struct ulp_data): New type.
35327 (BUILD_COMPLEX_ULP): Remove macro.
35328 (compare_ulp_data): New function.
35329 (find_ulps): Likewise.
35330 (find_test_ulps): Likewise.
35331 (find_function_ulps): Likewise.
35332 (find_complex_function_ulps): Likewise.
35333 (print_max_error): Determine allowed ulps using
35334 find_function_ulps.
35335 (print_complex_max_error): Determine allowed ulps using
35336 find_complex_function_ulps.
35337 (check_float_internal): Determine max ulps using find_test_ulps.
35338 (check_float): Do not take max_ulp parameter. Update call to
35339 check_float_internal.
35340 (check_complex): Likewise.
35341 (check_int): Do not take max_ulp parameter.
35342 (check_long): Likewise.
35343 (check_bool): Likewise.
35344 (check_longlong): Likewise.
35345 (struct test_f_f_data): Remove max_ulp field.
35346 (struct test_ff_f_data): Likewise.
35347 (struct test_ff_f_data_nexttoward): Likewise.
35348 (struct test_fi_f_data): Likewise.
35349 (struct test_fl_f_data): Likewise.
35350 (struct test_if_f_data): Likewise.
35351 (struct test_fff_f_data): Likewise.
35352 (struct test_c_f_data): Likewise.
35353 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35354 (struct test_fF_f1_data): Likewise.
35355 (struct test_ffI_f1_data): Likewise.
35356 (struct test_c_c_data): Remove max_ulp field.
35357 (struct test_cc_c_data): Likewise.
35358 (struct test_f_i_data): Likewise.
35359 (struct test_ff_i_data): Likewise.
35360 (struct test_f_l_data): Likewise.
35361 (struct test_f_L_data): Likewise.
35362 (struct test_sincos_data): Likewise.
35363 (RUN_TEST_f_f): Do not handle ulps.
35364 (RUN_TEST_LOOP_f_f): Likewise.
35365 (RUN_TEST_2_f): Likewise.
35366 (RUN_TEST_LOOP_2_f): Likewise.
35367 (RUN_TEST_fff_f): Likewise.
35368 (RUN_TEST_LOOP_fff_f): Likewise.
35369 (RUN_TEST_c_f): Likewise.
35370 (RUN_TEST_LOOP_c_f): Likewise.
35371 (RUN_TEST_f_f1): Likewise.
35372 (RUN_TEST_LOOP_f_f1): Likewise.
35373 (RUN_TEST_fF_f1): Likewise.
35374 (RUN_TEST_LOOP_fF_f1): Likewise.
35375 (RUN_TEST_fI_f1): Likewise.
35376 (RUN_TEST_LOOP_fI_f1): Likewise.
35377 (RUN_TEST_ffI_f1): Likewise.
35378 (RUN_TEST_LOOP_ffI_f1): Likewise.
35379 (RUN_TEST_c_c): Likewise.
35380 (RUN_TEST_LOOP_c_c): Likewise.
35381 (RUN_TEST_cc_c): Likewise.
35382 (RUN_TEST_LOOP_cc_c): Likewise.
35383 (RUN_TEST_f_i): Likewise.
35384 (RUN_TEST_LOOP_f_i): Likewise.
35385 (RUN_TEST_f_i_tg): Likewise.
35386 (RUN_TEST_LOOP_f_i_tg): Likewise.
35387 (RUN_TEST_ff_i_tg): Likewise.
35388 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35389 (RUN_TEST_f_b): Likewise.
35390 (RUN_TEST_LOOP_f_b): Likewise.
35391 (RUN_TEST_f_b_tg): Likewise.
35392 (RUN_TEST_LOOP_f_b_tg): Likewise.
35393 (RUN_TEST_f_l): Likewise.
35394 (RUN_TEST_LOOP_f_l): Likewise.
35395 (RUN_TEST_f_L): Likewise.
35396 (RUN_TEST_LOOP_f_L): Likewise.
35397 (RUN_TEST_sincos): Likewise.
35398 (RUN_TEST_LOOP_sincos): Likewise.
35399
35400 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35401
35402 [BZ #15480]
35403 [BZ #15485]
35404 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35405 main case of finite arguments, set rounding mode to FE_TONEAREST
35406 and discard exceptions.
35407 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35408 exceptions.
35409 (remainder_tonearest_test_data): New variable.
35410 (remainder_test_tonearest): New function.
35411 (remainder_towardzero_test_data): New variable.
35412 (remainder_test_towardzero): New function.
35413 (remainder_downward_test_data): New variable.
35414 (remainder_test_downward): New function.
35415 (remainder_upward_test_data): New variable.
35416 (remainder_test_upward): New function.
35417 (main): Call the new test functions.
35418
35419 * math/libm-test.inc (struct test_f_f1_data): Remove field
35420 extra_init.
35421 (struct test_fF_f1_data): Likewise.
35422 (struct test_ffI_f1_data): Likewise.
35423 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35424 based on value of EXTRA_EXPECTED.
35425 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35426 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35427 EXTRA_VAR based on value of EXTRA_EXPECTED.
35428 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35429 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35430 EXTRA_VAR based on value of EXTRA_EXPECTED.
35431 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35432 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35433 EXTRA_VAR based on value of EXTRA_EXPECTED.
35434 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35435 * math/gen-libm-test.pl (parse_args): Don't output initializers
35436 for extra output values.
35437
35438 * math/libm-test.inc (check_int): Expect result to be exactly
35439 equal to expected value and do not handle ulps.
35440 (check_long): Likewise.
35441 (check_longlong): Likewise.
35442
35443 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35444 exceptions.
35445 (cimag_test_data): Likewise.
35446 (conj_test_data): Likewise.
35447 (copysign_test_data): Likewise.
35448 (cproj_test_data): Likewise.
35449 (creal_test_data): Likewise.
35450 (fabs_test_data): Likewise.
35451 (fdim_test_data): Likewise.
35452 (finite_test_data): Likewise.
35453 (floor_test_data): Likewise.
35454 (fmax_test_data): Likewise.
35455 (fmin_test_data): Likewise.
35456 (fmod_test_data): Likewise.
35457 (fpclassify_test_data): Likewise.
35458 (frexp_test_data): Likewise.
35459 (ilogb_test_data): Likewise.
35460 (isfinite_test_data): Likewise.
35461 (isgreater_test_data): Likewise.
35462 (isgreaterequal_test_data): Likewise.
35463 (isinf_test_data): Likewise.
35464 (isless_test_data): Likewise.
35465 (islessequal_test_data): Likewise.
35466 (islessgreater_test_data): Likewise.
35467 (isnan_test_data): Likewise.
35468 (isnormal_test_data): Likewise.
35469 (issignaling_test_data): Likewise.
35470 (isunordered_test_data): Likewise.
35471 (ldexp_test_data): Likewise.
35472 (lrint_test_data): Likewise.
35473 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35474 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35475 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35476 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35477 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35478 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35479 test input.
35480 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35481 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35482 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35483 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35484 that test input.
35485 (lrint_downward_test_data): Test for "inexact" exceptions.
35486 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35487 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35488 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35489 test input.
35490 (lrint_upward_test_data): Test for "inexact" exceptions.
35491 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35492 test input.
35493 (llrint_test_data): Test for "inexact" exceptions.
35494 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35495 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35496 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35497 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35498 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35499 (llrint_downward_test_data): Test for "inexact" exceptions.
35500 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35501 (llrint_upward_test_data): Test for "inexact" exceptions.
35502 (logb_test_data): Likewise.
35503 (logb_downward_test_data): Likewise.
35504 (nextafter_test_data): Likewise.
35505 (nexttoward_test_data): Likewise.
35506 (remainder_test_data): Likewise.
35507 (remquo_test_data): Likewise.
35508 (scalbn_test_data): Likewise.
35509 (scalbln_test_data): Likewise.
35510 (signbit_test_data): Likewise.
35511 (sqrt_test_data): Likewise.
35512 (significand_test_data): Likewise.
35513
35514 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35515
35516 [BZ #15424]
35517 * benchtests/bench-modf.c (struct args): Mark arg0 as
35518 volatile.
35519 * scripts/bench.pl: Mark members of struct args as volatile.
35520
35521 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35522
35523 [BZ # 15497]
35524 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35525 negative infinity on POWER6 or lower.
35526 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35527
35528 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35529
35530 [BZ #15442]
35531 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35532 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35533 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35534 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35535 (_FP_SETQNAN): New macro.
35536 (_FP_SETQNAN_SEMIRAW): Likewise.
35537 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35538 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35539 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35540 (FP_EXTEND): Use _FP_FRAC_SNANP.
35541 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35542 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35543 into account.
35544 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35545 New macro.
35546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35547 Likewise.
35548
35549 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35550
35551 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35552 with DIVIDE_BY_ZERO_EXCEPTION.
35553 (gamma_test_data): Likewise.
35554 (lgamma_test_data): Likewise.
35555 (log_test_data): Likewise.
35556 (log10_test_data): Likewise.
35557 (log2_test_data): Likewise.
35558 (tgamma_test_data): Likewise.
35559
35560 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35561 (acos_test_tonearest): Likewise.
35562 (acos_test_towardzero): Likewise.
35563 (acos_test_downward): Likewise.
35564 (acos_test_upward): Likewise.
35565 (acosh_test): Likewise.
35566 (asin_test): Likewise.
35567 (asin_test_tonearest): Likewise.
35568 (asin_test_towardzero): Likewise.
35569 (asin_test_downward): Likewise.
35570 (asin_test_upward): Likewise.
35571 (asinh_test): Likewise.
35572 (atan_test): Likewise.
35573 (atanh_test): Likewise.
35574 (atan2_test): Likewise.
35575 (cabs_test): Likewise.
35576 (cacos_test): Likewise.
35577 (cacosh_test): Likewise.
35578 (casin_test): Likewise.
35579 (casinh_test): Likewise.
35580 (catan_test): Likewise.
35581 (catanh_test): Likewise.
35582 (cbrt_test): Likewise.
35583 (ccos_test): Likewise.
35584 (ccosh_test): Likewise.
35585 (cexp_test): Likewise.
35586 (clog_test): Likewise.
35587 (clog10_test): Likewise.
35588 (cos_test): Likewise.
35589 (cos_test_tonearest): Likewise.
35590 (cos_test_towardzero): Likewise.
35591 (cos_test_downward): Likewise.
35592 (cos_test_upward): Likewise.
35593 (cosh_test): Likewise.
35594 (cosh_test_tonearest): Likewise.
35595 (cosh_test_towardzero): Likewise.
35596 (cosh_test_downward): Likewise.
35597 (cosh_test_upward): Likewise.
35598 (cpow_test): Likewise.
35599 (csin_test): Likewise.
35600 (csinh_test): Likewise.
35601 (csqrt_test): Likewise.
35602 (ctan_test): Likewise.
35603 (ctan_test_tonearest): Likewise.
35604 (ctan_test_towardzero): Likewise.
35605 (ctan_test_downward): Likewise.
35606 (ctan_test_upward): Likewise.
35607 (ctanh_test): Likewise.
35608 (ctanh_test_tonearest): Likewise.
35609 (ctanh_test_towardzero): Likewise.
35610 (ctanh_test_downward): Likewise.
35611 (ctanh_test_upward): Likewise.
35612 (erf_test): Likewise.
35613 (erfc_test): Likewise.
35614 (exp_test): Likewise.
35615 (exp_test_tonearest): Likewise.
35616 (exp_test_towardzero): Likewise.
35617 (exp_test_downward): Likewise.
35618 (exp_test_upward): Likewise.
35619 (exp10_test): Likewise.
35620 (exp2_test): Likewise.
35621 (expm1_test): Likewise.
35622 (fmod_test): Likewise.
35623 (gamma_test): Likewise.
35624 (hypot_test): Likewise.
35625 (j0_test): Likewise.
35626 (j1_test): Likewise.
35627 (jn_test): Likewise.
35628 (lgamma_test): Likewise.
35629 (log_test): Likewise.
35630 (log10_test): Likewise.
35631 (log1p_test): Likewise.
35632 (log2_test): Likewise.
35633 (logb_test_downward): Likewise.
35634 (pow_test): Likewise.
35635 (pow_test_tonearest): Likewise.
35636 (pow_test_towardzero): Likewise.
35637 (pow_test_downward): Likewise.
35638 (pow_test_upward): Likewise.
35639 (remainder_test): Likewise.
35640 (remquo_test): Likewise.
35641 (sin_test): Likewise.
35642 (sin_test_tonearest): Likewise.
35643 (sin_test_towardzero): Likewise.
35644 (sin_test_downward): Likewise.
35645 (sin_test_upward): Likewise.
35646 (sincos_test): Likewise.
35647 (sinh_test): Likewise.
35648 (sinh_test_tonearest): Likewise.
35649 (sinh_test_towardzero): Likewise.
35650 (sinh_test_downward): Likewise.
35651 (sinh_test_upward): Likewise.
35652 (sqrt_test): Likewise.
35653 (tan_test): Likewise.
35654 (tan_test_tonearest): Likewise.
35655 (tan_test_towardzero): Likewise.
35656 (tan_test_downward): Likewise.
35657 (tan_test_upward): Likewise.
35658 (tanh_test): Likewise.
35659 (tgamma_test): Likewise.
35660 (y0_test): Likewise.
35661 (y1_test): Likewise.
35662 (yn_test): Likewise.
35663
35664 * math/gen-libm-test.pl (adjust_arg): Remove function.
35665 (special_function): Remove argument $in_func. Only handle
35666 generating output for tables of tests, not inside functions.
35667 (parse_args): Likewise.
35668 (generate_testfile): Remove variable $in_func. Update call to
35669 parse_args.
35670 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35671 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35672 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35673 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35674 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35675 (MAX_VALUE_INIT): Rename macro to max_value.
35676 (MIN_VALUE_INIT): Rename macro to min_value.
35677 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35678 (plus_zero): Remove variable.
35679 (minus_zero): Likewise.
35680 (plus_infty): Likewise.
35681 (minus_infty): Likewise.
35682 (qnan_value): Likewise.
35683 (max_value): Likewise.
35684 (min_value): Likewise.
35685 (min_subnorm_value): Likewise.
35686
35687 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35688
35689 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35690 uint64_t or uint32_t usage.
35691 * crypt/sha256-block.c: Likewise.
35692 * crypt/sha256-crypt.c: Likewise.
35693 * crypt/sha256.c: Likewise.
35694 * crypt/sha512-block.c: Likewise.
35695 * crypt/sha512-crypt.c: Likewise.
35696 * crypt/sha512.c: Likewise.
35697 * debug/backtrace-tst.c: Likewise.
35698 * debug/pcprofiledump.c: Likewise.
35699 * elf/cache.c: Likewise.
35700 * elf/dl-cache.c: Likewise.
35701 * elf/dl-misc.c: Likewise.
35702 * elf/dl-profile.c: Likewise.
35703 * elf/dl-support.c: Likewise.
35704 * elf/ldconfig.c: Likewise.
35705 * elf/sprof.c: Likewise.
35706 * iconv/dummy-repertoire.c: Likewise.
35707 * iconv/iconv_charmap.c: Likewise.
35708 * iconv/skeleton.c: Likewise.
35709 * iconvdata/8bit-generic.c: Likewise.
35710 * iconvdata/cp737.h: Likewise.
35711 * iconvdata/cp775.h: Likewise.
35712 * iconvdata/ibm1008.h: Likewise.
35713 * iconvdata/ibm1025.h: Likewise.
35714 * iconvdata/ibm1046.h: Likewise.
35715 * iconvdata/ibm1097.h: Likewise.
35716 * iconvdata/ibm1112.h: Likewise.
35717 * iconvdata/ibm1122.h: Likewise.
35718 * iconvdata/ibm1123.h: Likewise.
35719 * iconvdata/ibm1124.h: Likewise.
35720 * iconvdata/ibm1129.h: Likewise.
35721 * iconvdata/ibm1130.h: Likewise.
35722 * iconvdata/ibm1132.h: Likewise.
35723 * iconvdata/ibm1133.h: Likewise.
35724 * iconvdata/ibm1137.h: Likewise.
35725 * iconvdata/ibm1140.h: Likewise.
35726 * iconvdata/ibm1141.h: Likewise.
35727 * iconvdata/ibm1142.h: Likewise.
35728 * iconvdata/ibm1143.h: Likewise.
35729 * iconvdata/ibm1144.h: Likewise.
35730 * iconvdata/ibm1145.h: Likewise.
35731 * iconvdata/ibm1146.h: Likewise.
35732 * iconvdata/ibm1147.h: Likewise.
35733 * iconvdata/ibm1148.h: Likewise.
35734 * iconvdata/ibm1149.h: Likewise.
35735 * iconvdata/ibm1153.h: Likewise.
35736 * iconvdata/ibm1154.h: Likewise.
35737 * iconvdata/ibm1155.h: Likewise.
35738 * iconvdata/ibm1156.h: Likewise.
35739 * iconvdata/ibm1157.h: Likewise.
35740 * iconvdata/ibm1158.h: Likewise.
35741 * iconvdata/ibm1160.h: Likewise.
35742 * iconvdata/ibm1161.h: Likewise.
35743 * iconvdata/ibm1162.h: Likewise.
35744 * iconvdata/ibm1163.h: Likewise.
35745 * iconvdata/ibm1164.h: Likewise.
35746 * iconvdata/ibm1166.h: Likewise.
35747 * iconvdata/ibm1167.h: Likewise.
35748 * iconvdata/ibm12712.h: Likewise.
35749 * iconvdata/ibm1390.h: Likewise.
35750 * iconvdata/ibm1399.h: Likewise.
35751 * iconvdata/ibm16804.h: Likewise.
35752 * iconvdata/ibm4517.h: Likewise.
35753 * iconvdata/ibm4899.h: Likewise.
35754 * iconvdata/ibm4909.h: Likewise.
35755 * iconvdata/ibm4971.h: Likewise.
35756 * iconvdata/ibm5347.h: Likewise.
35757 * iconvdata/ibm803.h: Likewise.
35758 * iconvdata/ibm856.h: Likewise.
35759 * iconvdata/ibm901.h: Likewise.
35760 * iconvdata/ibm902.h: Likewise.
35761 * iconvdata/ibm9030.h: Likewise.
35762 * iconvdata/ibm9066.h: Likewise.
35763 * iconvdata/ibm921.h: Likewise.
35764 * iconvdata/ibm922.h: Likewise.
35765 * iconvdata/ibm9448.h: Likewise.
35766 * iconvdata/isiri-3342.h: Likewise.
35767 * iconvdata/jis0201.h: Likewise.
35768 * include/link.h: Likewise.
35769 * include/netdb.h: Likewise.
35770 * inet/check_native.c: Likewise.
35771 * inet/check_pf.c: Likewise.
35772 * inet/getipv4sourcefilter.c: Likewise.
35773 * inet/getnameinfo.c: Likewise.
35774 * inet/getsourcefilter.c: Likewise.
35775 * inet/htonl.c: Likewise.
35776 * inet/setipv4sourcefilter.c: Likewise.
35777 * inet/setsourcefilter.c: Likewise.
35778 * inet/test-inet6_opt.c: Likewise.
35779 * inet/tst-network.c: Likewise.
35780 * locale/C-collate.c: Likewise.
35781 * locale/C-ctype.c: Likewise.
35782 * locale/C-time.c: Likewise.
35783 * locale/C-translit.h: Likewise.
35784 * locale/loadarchive.c: Likewise.
35785 * locale/programs/3level.h: Likewise.
35786 * locale/programs/charmap.c: Likewise.
35787 * locale/programs/charmap.h: Likewise.
35788 * locale/programs/ld-address.c: Likewise.
35789 * locale/programs/ld-collate.c: Likewise.
35790 * locale/programs/ld-ctype.c: Likewise.
35791 * locale/programs/ld-identification.c: Likewise.
35792 * locale/programs/ld-measurement.c: Likewise.
35793 * locale/programs/ld-messages.c: Likewise.
35794 * locale/programs/ld-monetary.c: Likewise.
35795 * locale/programs/ld-name.c: Likewise.
35796 * locale/programs/ld-numeric.c: Likewise.
35797 * locale/programs/ld-paper.c: Likewise.
35798 * locale/programs/ld-telephone.c: Likewise.
35799 * locale/programs/ld-time.c: Likewise.
35800 * locale/programs/linereader.c: Likewise.
35801 * locale/programs/locale.c: Likewise.
35802 * locale/programs/locarchive.c: Likewise.
35803 * locale/programs/locfile.h: Likewise.
35804 * locale/programs/repertoire.c: Likewise.
35805 * locale/programs/simple-hash.c: Likewise.
35806 * locale/programs/simple-hash.h: Likewise.
35807 * malloc/memusage.c: Likewise.
35808 * malloc/memusagestat.c: Likewise.
35809 * nis/nis_defaults.c: Likewise.
35810 * nis/nis_hash.c: Likewise.
35811 * nis/nis_print.c: Likewise.
35812 * nis/nis_xdr.c: Likewise.
35813 * nscd/connections.c: Likewise.
35814 * nscd/hstcache.c: Likewise.
35815 * nscd/nscd_gethst_r.c: Likewise.
35816 * nscd/nscd_getserv_r.c: Likewise.
35817 * nscd/nscd_helper.c: Likewise.
35818 * nscd/servicescache.c: Likewise.
35819 * nss/makedb.c: Likewise.
35820 * nss/nss_db/db-XXX.c: Likewise.
35821 * nss/nss_db/db-initgroups.c: Likewise.
35822 * nss/nss_db/db-netgrp.c: Likewise.
35823 * nss/nss_files/files-network.c: Likewise.
35824 * nss/nss_files/files-parse.c: Likewise.
35825 * posix/bug-regex5.c: Likewise.
35826 * posix/fnmatch_loop.c: Likewise.
35827 * posix/regcomp.c: Likewise.
35828 * posix/regexec.c: Likewise.
35829 * posix/tst-rfc3484-2.c: Likewise.
35830 * posix/tst-rfc3484-3.c: Likewise.
35831 * posix/tst-rfc3484.c: Likewise.
35832 * resolv/nss_dns/dns-canon.c: Likewise.
35833 * resolv/nss_dns/dns-network.c: Likewise.
35834 * resolv/res_init.c: Likewise.
35835 * resolv/res_mkquery.c: Likewise.
35836 * resolv/tst-aton.c: Likewise.
35837 * stdlib/cxa_atexit.c: Likewise.
35838 * stdlib/cxa_finalize.c: Likewise.
35839 * stdlib/gen-fpioconst.c: Likewise.
35840 * stdlib/strtol_l.c: Likewise.
35841 * string/tst-endian.c: Likewise.
35842 * sunrpc/auth_des.c: Likewise.
35843 * sunrpc/clnt_udp.c: Likewise.
35844 * sunrpc/rtime.c: Likewise.
35845 * sunrpc/svcauth_des.c: Likewise.
35846 * sunrpc/xdr.c: Likewise.
35847 * sunrpc/xdr_intXX_t.c: Likewise.
35848 * sunrpc/xdr_rec.c: Likewise.
35849 * sysdeps/generic/ldconfig.h: Likewise.
35850 * sysdeps/generic/ldsodefs.h: Likewise.
35851 * sysdeps/generic/memusage.h: Likewise.
35852 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35854 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35858 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35862 * sysdeps/posix/getaddrinfo.c: Likewise.
35863 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35864 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35865 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35866 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35867 * sysdeps/powerpc/test-gettimebase.c: Likewise.
35868 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35869 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35870 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35871 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35872 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35873 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35874 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35875 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35876 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35877 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35878 * sysdeps/x86_64/dl-tls.h: Likewise.
35879 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35880 * time/alt_digit.c: Likewise.
35881 * time/era.c: Likewise.
35882 * wcsmbs/tst-c16c32-1.c: Likewise.
35883
35884 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35885
35886 * math/libm-test.inc (struct test_sincos_data): New type.
35887 (RUN_TEST_LOOP_sincos): New macro.
35888 (sincos_test_data): New variable.
35889 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35890
35891 2013-05-16 Richard Henderson <rth@redhat.com>
35892
35893 * math/atest-exp2.c (LIMB64): New macro.
35894 (CONSTSZ): New macro.
35895 (mp_exp1, mp_exp_m1, mp_log2): New variables.
35896 (hexdig): Move ...
35897 (print_mpn_fp): ... to function scope.
35898 (read_mpn_hex): Remove.
35899 (get_log2): Remove.
35900 (exp2_mpn): Use mp_log2.
35901 (main): Use mp_exp1.
35902
35903 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35904
35905 * math/libm-test.inc: Remove comment about not testing "inexact"
35906 exceptions.
35907 (INEXACT_EXCEPTION): New macro.
35908 (NO_INEXACT_EXCEPTION): Likewise.
35909 (INVALID_EXCEPTION_OK): Update value.
35910 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35911 (OVERFLOW_EXCEPTION_OK): Likewise.
35912 (UNDERFLOW_EXCEPTION_OK): Likewise.
35913 (IGNORE_ZERO_INF_SIGN): Likewise.
35914 (ERRNO_UNCHANGED): Likewise.
35915 (ERRNO_EDOM): Likewise.
35916 (ERRNO_ERANGE): Likewise.
35917 (test_exceptions): Handle testing "inexact" exceptions.
35918 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35919 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35920 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35921 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35922 INEXACT_EXCEPTION.
35923 (rint_towardzero_test_data): Likewise.
35924 (rint_downward_test_data): Likewise.
35925 (rint_upward_test_data): Likewise.
35926
35927 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35928 with OVERFLOW_EXCEPTION.
35929 (exp10_test_data): Likewise.
35930 (exp2_test_data): Likewise.
35931 (expm1_test_data): Likewise.
35932 (lgamma_test_data): Likewise.
35933 (pow_test_data): Likewise.
35934 (tgamma_test_data): Likewise.
35935 (yn_test_data): Remove duplicate test of overflow.
35936
35937 * math/libm-test.inc (struct test_cc_c_data): New type.
35938 (RUN_TEST_LOOP_cc_c): New macro.
35939 (cpow_test_data): New variable.
35940 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35941
35942 * math/libm-test.inc (struct test_f_L_data): New type.
35943 (RUN_TEST_LOOP_f_L): New macro.
35944 (llrint_test_data): New variable.
35945 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35946 (llrint_tonearest_test_data): New variable.
35947 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35948 (llrint_towardzero_test_data): New variable.
35949 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35950 (llrint_downward_test_data): New variable.
35951 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35952 (llrint_upward_test_data): New variable.
35953 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35954 (llround_test_data): New variable.
35955 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35956
35957 2013-05-13 Peter Collingbourne <pcc@google.com>
35958
35959 * math/atest-exp2.c (get_log2): Remove const attribute.
35960
35961 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35962
35963 * math/libm-test.inc (struct test_f_l_data): New type.
35964 (RUN_TEST_LOOP_f_l): New macro.
35965 (lrint_test_data): New variable.
35966 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35967 (lrint_tonearest_test_data): New variable.
35968 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35969 (lrint_towardzero_test_data): New variable.
35970 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35971 (lrint_downward_test_data): New variable.
35972 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35973 (lrint_upward_test_data): New variable.
35974 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35975 (lround_test_data): New variable.
35976 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35977
35978 2013-05-15 Peter Collingbourne <pcc@google.com>
35979
35980 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35981 (EXTRACT_WORDS64) Use where appropriate.
35982 (INSERT_WORDS64) Likewise.
35983
35984 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35985 constraints with x constraints.
35986 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35987
35988 * malloc/obstack.c (_obstack_compat): Add initializer.
35989
35990 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
35991
35992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35993 si_trapno and add si_addr_lsb to _sifields.sigfault.
35994 (si_trapno): Remove macro.
35995 (si_addr_lsb): Define new macro.
35996 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35997
35998 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35999
36000 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36001 instead of TEST_f_l.
36002 (llrint_test_tonearest): Likewise.
36003 (llrint_test_towardzero): Likewise.
36004 (llrint_test_downward): Likewise.
36005 (llrint_test_upward): Likewise.
36006 (llround_test): Likewise.
36007
36008 * math/libm-test.inc (struct test_f_i_data): Add comment.
36009 (RUN_TEST_LOOP_f_b): New macro.
36010 (RUN_TEST_LOOP_f_b_tg): Likewise.
36011 (finite_test_data): New variable.
36012 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36013 (isfinite_test_data): New variable.
36014 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36015 (isinf_test_data): New variable.
36016 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36017 (isnan_test_data): New variable.
36018 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36019 (isnormal_test_data): New variable.
36020 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36021 (issignaling_test_data): New variable.
36022 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36023 (signbit_test_data): New variable.
36024 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36025
36026 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36027 with INVALID_EXCEPTION.
36028 (acosh_test_data): Likewise.
36029 (asin_test_data): Likewise.
36030 (atanh_test_data): Likewise.
36031 (fmod_test_data): Likewise.
36032 (log_test_data): Likewise.
36033 (log10_test_data): Likewise.
36034 (log2_test_data): Likewise.
36035 (pow_test_data): Likewise.
36036 (sqrt_test_data): Likewise.
36037 (y0_test_data): Likewise.
36038 (y1_test_data): Likewise.
36039 (yn_test_data): Likewise.
36040
36041 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36042 function contents.
36043
36044 * math/libm-test.inc (struct test_ff_i_data): New type.
36045 (RUN_TEST_LOOP_ff_i_tg): New macro.
36046 (isgreater_test_data): New variable.
36047 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36048 (isgreaterequal_test_data): New variable.
36049 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36050 (isless_test_data): New variable.
36051 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36052 (islessequal_test_data): New variable.
36053 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36054 (islessgreater_test_data): New variable.
36055 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36056 (isunordered_test_data): New variable.
36057 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36058
36059 2013-05-14 David S. Miller <davem@davemloft.net>
36060
36061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36062
36063 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36064
36065 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36066
36067 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36068 extra_test to int.
36069 (struct test_f_i_data): Change type of max_ulp to int.
36070
36071 * math/libm-test.inc (test_ffI_f1_data): New type.
36072 (RUN_TEST_LOOP_ffI_f1): New macro.
36073 (remquo_test_data): New variable.
36074 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36075
36076 * setjmp/tst-setjmp-fp.c: New file.
36077 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36078 (link-libm): New variable.
36079 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36080
36081 * math/libm-test.inc (struct test_f_i_data): New type.
36082 (RUN_TEST_LOOP_f_i): New macro.
36083 (RUN_TEST_LOOP_f_i_tg): Likewise.
36084 (fpclassify_test_data): New variable.
36085 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36086 (ilogb_test_data): New variable.
36087 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36088
36089 * math/libm-test.inc (scalbln_test): Correct function name in END
36090 call.
36091
36092 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36093 (RUN_TEST_LOOP_fI_f1): New macro.
36094 (frexp_test_data): New variable.
36095 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36096
36097 * math/libm-test.inc (struct test_fF_f1_data): New type.
36098 (RUN_TEST_LOOP_fF_f1): New macro.
36099 (modf_test_data): New variable.
36100 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36101
36102 * math/libm-test.inc (struct test_f_f1_data): New type.
36103 (RUN_TEST_LOOP_f_f1): New macro.
36104 (gamma_test_data): New variable.
36105 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36106 (lgamma_test_data): New variable.
36107 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36108
36109 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36110
36111 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36112 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36113 (main): Comment "tls" pseudo-hwcap.
36114
36115 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36116
36117 * math/libm-test.inc (struct test_fl_f_data): New type.
36118 (RUN_TEST_LOOP_fl_f): New variable.
36119 (scalbln_test_data): New variable.
36120 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36121
36122 * math/libm-test.inc (struct test_fi_f_data): New type.
36123 (RUN_TEST_LOOP_fi_f): New macro.
36124 (ldexp_test_data): New variable.
36125 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36126 (scalbn_test_data): New variable.
36127 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36128
36129 * math/libm-test.inc (struct test_c_f_data): New type.
36130 (RUN_TEST_LOOP_c_f): New macro.
36131 (cabs_test_data): New variable.
36132 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36133 (carg_test_data): New variable.
36134 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36135 (cimag_test_data): New variable.
36136 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36137 (creal_test_data): New variable.
36138 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36139
36140 * math/libm-test.inc (struct test_if_f_data): New type.
36141 (RUN_TEST_LOOP_if_f): New macro.
36142 (jn_test_data): New variable.
36143 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36144 (yn_test_data): New variable.
36145 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36146
36147 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36148
36149 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36150
36151 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36152 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36153
36154 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36155
36156 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36157 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36158 (bench-deps): Add bench-timing.h.
36159 * benchtests-bench-skeleton.c: Include bench-timing.h.
36160 (main): Use TIMING_* macros instead of clock_gettime.
36161 * benchtests/bench-timing.h: New file.
36162
36163 [BZ #14582]
36164 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36165 Renamed from _LIB_VERSION.
36166 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36167
36168 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36169
36170 * math/libm-test.inc (struct test_fff_f_data): New type.
36171 (RUN_TEST_LOOP_fff_f): New macro.
36172 (fma_test_data): New variable.
36173 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36174 (fma_towardzero_test_data): New variable.
36175 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36176 (fma_downward_test_data): New variable.
36177 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36178 (fma_upward_test_data): New variable.
36179 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36180
36181 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36182 (struct test_c_c_data): New type.
36183 (RUN_TEST_LOOP_c_c): New macro.
36184 (cacos_test_data): New variable.
36185 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36186 (cacosh_test_data): New variable.
36187 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36188 (casin_test_data): New variable.
36189 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36190 (casinh_test_data): New variable.
36191 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36192 (catan_test_data): New variable.
36193 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36194 (catanh_test_data): New variable.
36195 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36196 (ccos_test_data): New variable.
36197 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36198 (ccosh_test_data): New variable.
36199 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36200 (cexp_test_data): New variable.
36201 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36202 (clog_test_data): New variable.
36203 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36204 (clog10_test_data): New variable.
36205 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36206 (conj_test_data): New variable.
36207 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36208 (cproj_test_data): New variable.
36209 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36210 (csin_test_data): New variable.
36211 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36212 (csinh_test_data): New variable.
36213 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36214 (csqrt_test_data): New variable.
36215 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36216 (ctan_test_data): New variable.
36217 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36218 (ctan_tonearest_test_data): New variable.
36219 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36220 (ctan_towardzero_test_data): New variable.
36221 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36222 (ctan_downward_test_data): New variable.
36223 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36224 (ctan_upward_test_data): New variable.
36225 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36226 (ctanh_test_data): New variable.
36227 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36228 (ctanh_tonearest_test_data): New variable.
36229 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36230 (ctanh_towardzero_test_data): New variable.
36231 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36232 (ctanh_downward_test_data): New variable.
36233 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36234 (ctanh_upward_test_data): New variable.
36235 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36236 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36237 of BUILD_COMPLEX.
36238
36239 * math/libm-test.inc (struct test_ff_f_data): New type.
36240 (struct test_ff_f_data_nexttoward): Likewise.
36241 (RUN_TEST_LOOP_2_f): New macro.
36242 (RUN_TEST_LOOP_ff_f): Likewise.
36243 (atan2_test_data): New variable.
36244 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36245 (copysign_test_data): New variable.
36246 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36247 (fdim_test_data): New variable.
36248 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36249 (fmax_test_data): New variable.
36250 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36251 (fmin_test_data): New variable.
36252 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36253 (fmod_test_data): New variable.
36254 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36255 (hypot_test_data): New variable.
36256 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36257 (nextafter_test_data): New variable.
36258 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36259 (nexttoward_test_data): New variable.
36260 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36261 (pow_test_data): New variable.
36262 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36263 (pow_tonearest_test_data): New variable.
36264 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36265 (pow_towardzero_test_data): New variable.
36266 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36267 (pow_downward_test_data): New variable.
36268 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36269 (pow_upward_test_data): New variable.
36270 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36271 (remainder_test_data): New variable.
36272 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36273 (scalb_test_data): New variable.
36274 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36275 * sysdeps/i386/fpu/libm-test-ulps: Update.
36276
36277 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36278
36279 * math/libm-test.inc (fma_test): Use max_value instead of local
36280 variable fltmax.
36281 (nextafter_test): Likewise.
36282
36283 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36284 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36285 (acos_downward_test_data): New variable.
36286 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36287 (acos_upward_test_data): New variable.
36288 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36289 (acosh_test_data): New variable.
36290 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36291 (asin_test_data): New variable.
36292 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36293 (asin_tonearest_test_data): New variable.
36294 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36295 (asin_towardzero_test_data): New variable.
36296 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36297 (asin_downward_test_data): New variable.
36298 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36299 (asin_upward_test_data): New variable.
36300 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36301 (asinh_test_data): New variable.
36302 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36303 (atan_test_data): New variable.
36304 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36305 (atanh_test_data): New variable.
36306 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36307 (cbrt_test_data): New variable.
36308 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36309 (ceil_test_data): New variable.
36310 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36311 (cos_test_data): New variable.
36312 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36313 (cos_tonearest_test_data): New variable.
36314 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36315 (cos_towardzero_test_data): New variable.
36316 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36317 (cos_downward_test_data): New variable.
36318 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36319 (cos_upward_test_data): New variable.
36320 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36321 (cosh_test_data): New variable.
36322 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36323 (cosh_tonearest_test_data): New variable.
36324 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36325 (cosh_towardzero_test_data): New variable.
36326 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36327 (cosh_downward_test_data): New variable.
36328 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36329 (cosh_upward_test_data): New variable.
36330 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36331 (erf_test_data): New variable.
36332 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36333 (erfc_test_data): New variable.
36334 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36335 (exp_test_data): New variable.
36336 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36337 (exp_tonearest_test_data): New variable.
36338 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36339 (exp_towardzero_test_data): New variable.
36340 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36341 (exp_downward_test_data): New variable.
36342 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36343 (exp_upward_test_data): New variable.
36344 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36345 (exp10_test_data): New variable.
36346 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36347 (exp2_test_data): New variable.
36348 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36349 (expm1_test_data): New variable.
36350 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36351 (fabs_test_data): New variable.
36352 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36353 (floor_test_data): New variable.
36354 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36355 (j0_test_data): New variable.
36356 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36357 (j1_test_data): New variable.
36358 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36359 (log_test_data): New variable.
36360 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36361 (log10_test_data): New variable.
36362 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36363 (log1p_test_data): New variable.
36364 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36365 (log2_test_data): New variable.
36366 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36367 (logb_test_data): New variable.
36368 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36369 (logb_downward_test_data): New variable.
36370 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36371 (nearbyint_test_data): New variable.
36372 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36373 (rint_test_data): New variable.
36374 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36375 (rint_tonearest_test_data): New variable.
36376 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36377 (rint_towardzero_test_data): New variable.
36378 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36379 (rint_downward_test_data): New variable.
36380 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36381 (rint_upward_test_data): New variable.
36382 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36383 (round_test_data): New variable.
36384 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36385 (sin_test_data): New variable.
36386 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36387 (sin_tonearest_test_data): New variable.
36388 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36389 (sin_towardzero_test_data): New variable.
36390 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36391 (sin_downward_test_data): New variable.
36392 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36393 (sin_upward_test_data): New variable.
36394 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36395 (sinh_test_data): New variable.
36396 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36397 (sinh_tonearest_test_data): New variable.
36398 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36399 (sinh_towardzero_test_data): New variable.
36400 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36401 (sinh_downward_test_data): New variable.
36402 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36403 (sinh_upward_test_data): New variable.
36404 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36405 (sqrt_test_data): New variable.
36406 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36407 (tan_test_data): New variable.
36408 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36409 (tan_tonearest_test_data): New variable.
36410 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36411 (tan_towardzero_test_data): New variable.
36412 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36413 (tan_downward_test_data): New variable.
36414 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36415 (tan_upward_test_data): New variable.
36416 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36417 (tanh_test_data): New variable.
36418 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36419 (tgamma_test_data): New variable.
36420 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36421 (trunc_test_data): New variable.
36422 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36423 (y0_test_data): New variable.
36424 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36425 (y1_test_data): New variable.
36426 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36427 (significand_test_data): New variable.
36428 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36429
36430 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36431
36432 [BZ #12387]
36433 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36434
36435 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36436
36437 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36438
36439 2013-05-10 Andreas Jaeger <aj@suse.de>
36440
36441 [BZ #15448]
36442 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36443 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36444
36445 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36446
36447 * math/gen-libm-test.pl (adjust_arg): New function.
36448 (special_functions): Handle generating output in both functions
36449 and arrays.
36450 (parse_args): Likewise.
36451 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36452 $in_func argument to parse_args.
36453 * math/libm-test.inc (struct test_f_f_data): New type.
36454 (IF_ROUND_INIT_): New macro.
36455 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36456 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36457 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36458 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36459 (ROUND_RESTORE_): Likewise.
36460 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36461 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36462 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36463 (ROUND_RESTORE_FE_UPWARD): Likewise.
36464 (RUN_TEST_LOOP_f_f): New macro.
36465 (acos_test_data): New variable.
36466 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36467 (acos_tonearest_test_data): New variable.
36468 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36469
36470 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36471
36472 * benchtests/bench-skeleton.c (startup): Fix coding style.
36473
36474 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36475
36476 [BZ #6809]
36477 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36478 negative infinity argument.
36479 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36480 negative infinity argument.
36481 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36482 negative infinity argument.
36483 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36484 domain errors.
36485
36486 2013-05-10 Florian Weimer <fweimer@redhat.com>
36487
36488 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36489 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36490 * iconv/iconv_prog.c (main): Likewise.
36491 * locale/programs/charmap-dir.c (charmap_readdir)
36492 (fopen_uncompressed): Likewise.
36493 * locale/programs/locfile.c (siblings_uncached)
36494 (write_locale_data): Use lstat64 instead of lstat.
36495 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36496 stat.
36497
36498 2013-05-10 Andreas Jaeger <aj@suse.de>
36499
36500 [BZ #15395]
36501 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36502 localization.
36503 Include <locale.h>.
36504
36505 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36506
36507 * elf/dl-close.c (_dl_close_worker): Add comments.
36508
36509 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36510
36511 [BZ #15359]
36512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36513 high part of pi/2.
36514 (__ieee754_rem_pio2l): Update comments.
36515
36516 [BZ #15429]
36517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36518 high part of pi/2.
36519 (__ieee754_rem_pio2l): Update comments.
36520
36521 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36522 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36523
36524 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36525 M_PI_4l.
36526
36527 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36528 (M_PI_34_LOG10El): Likewise.
36529 (M_PI2_LOG10El): Likewise.
36530 (M_PI4_LOG10El): Likewise.
36531 (M_PI_LOG10El): Likewise.
36532
36533 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36534
36535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36536
36537 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36538
36539 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36540 (MINUS_ZERO_INIT): Likewise.
36541 (PLUS_INFTY_INIT): Likewise.
36542 (MINUS_INFTY_INIT): Likewise.
36543 (QNAN_VALUE_INIT): Likewise.
36544 (MAX_VALUE_INIT): Likewise.
36545 (MIN_VALUE_INIT): Likewise.
36546 (MIN_SUBNORM_VALUE_INIT): Likewise.
36547 (plus_zero): Initialize with PLUS_ZERO_INIT.
36548 (minus_zero): Initialize with MINUS_ZERO_INIT.
36549 (plus_infty): Initialize with PLUS_INFTY_INIT.
36550 (minus_infty): Initialize with MINUS_INFTY_INIT.
36551 (qnan_value): Initialize with QNAN_VALUE_INIT.
36552 (max_value): Initialize with MAX_VALUE_INIT.
36553 (min_value): Initialize with MIN_VALUE_INIT.
36554 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36555
36556 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36557 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36558 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36559 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36560
36561 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36562 (RUN_TEST_2_f): Likewise.
36563 (RUN_TEST_ff_f): Likewise.
36564 (RUN_TEST_fi_f): Likewise.
36565 (RUN_TEST_fl_f): Likewise.
36566 (RUN_TEST_fff_f): Likewise.
36567 (RUN_TEST_c_f): Likewise.
36568 (RUN_TEST_f_f1): Likewise.
36569 (RUN_TEST_fF_f1): Likewise.
36570 (RUN_TEST_fI_f1): Likewise.
36571 (RUN_TEST_ffI_f1): Likewise.
36572 (RUN_TEST_c_c): Likewise.
36573 (RUN_TEST_cc_c): Likewise.
36574 (RUN_TEST_f_i): Likewise.
36575 (RUN_TEST_f_i_tg): Likewise.
36576 (RUN_TEST_ff_i_tg): Likewise.
36577 (RUN_TEST_f_b): Likewise.
36578 (RUN_TEST_f_b_tg): Likewise.
36579 (RUN_TEST_f_l): Likewise.
36580 (RUN_TEST_f_L): Likewise.
36581 (RUN_TEST_sincos): Likewise.
36582 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36583 whether to show exceptions. Do not include ");\n" in return
36584 value.
36585 (special_functions): Output call to RUN_TEST_sincos instead of
36586 check_float calls. Update calls to new_test.
36587 (parse_args): Output call to single RUN_TEST_* macro instead of
36588 check_* calls and other assignments. Update calls to new_test.
36589
36590 [BZ #2546]
36591 [BZ #2560]
36592 [BZ #5159]
36593 [BZ #15426]
36594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36595 input to result for tgamma overflow.
36596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36597 (gamma_coeff): New variable.
36598 (NCOEFF): New macro.
36599 (gamma_positive): New function.
36600 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36601 underflow here. Use gamma_positive instead of exp (lgamma) for
36602 other arguments.
36603 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36604 (gamma_coeff): New variable.
36605 (NCOEFF): New macro.
36606 (gammaf_positive): New function.
36607 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36608 underflow here. Use gamma_positive instead of exp (lgamma) for
36609 other arguments.
36610 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36611 (gamma_coeff): New variable.
36612 (NCOEFF): New macro.
36613 (gammal_positive): New function.
36614 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36615 underflow here. Use gamma_positive instead of exp (lgamma) for
36616 other arguments.
36617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36618 (gamma_coeff): New variable.
36619 (NCOEFF): New macro.
36620 (gammal_positive): New function.
36621 (__ieee754_gammal_r): Handle positive infinity, overflow and
36622 underflow here. Handle NaN the same as positive infinity. Remove
36623 check x < 0xffffffff for negative integers. Use gamma_positive
36624 instead of exp (lgamma) for other arguments.
36625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36626 (gamma_coeff): New variable.
36627 (NCOEFF): New macro.
36628 (gammal_positive): New function.
36629 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36630 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36631 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36633 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36634 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36635 * sysdeps/generic/math_private.h (__gamma_productf): New
36636 prototype.
36637 (__gamma_product): Likewise.
36638 (__gamma_productl): Likewise.
36639 * math/Makefile (libm-calls): Add gamma_product.
36640 * math/libm-test.inc (tgamma_test): Add more tests.
36641 * sysdeps/i386/fpu/libm-test-ulps: Update.
36642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36643
36644 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36645
36646 * benchtests/bench-skeleton.c (main): Preheat CPU.
36647
36648 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36649
36650 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36651
36652 2013-05-07 Roland McGrath <roland@hack.frob.com>
36653
36654 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36655 and _dl_skip_args_internal.
36656
36657 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36658
36659 * manual/message.texi (Message Translation): Talk about users.
36660 Message to key mapping impacts design.
36661
36662 2013-05-06 Roland McGrath <roland@hack.frob.com>
36663
36664 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36665
36666 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36667
36668 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36669 * sysdeps/wordsize-64/glob64.c: ... here.
36670
36671 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36672 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36673 New macros.
36674
36675 * debug/getlogin_r_chk.c: Moved to ...
36676 * login/getlogin_r_chk.c: ... here.
36677 * debug/Makefile (routines): Move getlogin_r_chk to ...
36678 * login/Makefile (routines): ... here.
36679 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36680 * login/Versions (libc: GLIBC_2.4): ... here.
36681
36682 * io/poll.c (__poll): Renamed from poll.
36683 Add libc_hidden_def.
36684 (poll): Define as weak alias.
36685
36686 * debug/ptsname_r_chk.c: Moved to ...
36687 * login/ptsname_r_chk.c: ... here.
36688 * debug/Makefile (routines): Move ptsname_r_chk to ...
36689 * login/Makefile (routines): ... here.
36690 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36691 * login/Versions (libc: GLIBC_2.4): ... here.
36692
36693 * posix/getlogin.c: Moved to ...
36694 * login/getlogin.c: ... here.
36695 * posix/getlogin_r.c: Moved to ...
36696 * login/getlogin_r.c: ... here.
36697 * posix/getlogin_r.c: Moved to ...
36698 * login/getlogin_r.c: ... here.
36699 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36700 * login/Makefile (routines): ... here.
36701 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36702 * login/Versions (libc: GLIBC_2.0): ... here.
36703
36704 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36705 (setrlimit): Define as weak alias.
36706
36707 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36708 Call __ names for open, ftruncate, and close.
36709 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36710 (truncate): Define as weak alias.
36711
36712 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36713
36714 * math/gen-libm-test.pl (parse_args): Initialize x before each
36715 test of frexp, modf and remquo.
36716
36717 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36718 test signgam value.
36719
36720 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36721
36722 [BZ #15418]
36723 [BZ #15419]
36724 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36725 internal tests.
36726 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36727
36728 2013-05-06 Roland McGrath <roland@hack.frob.com>
36729
36730 * elf/dl-writev.h: New file.
36731 * elf/dl-misc.c: Include it.
36732 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36733 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36734
36735 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36736
36737 * math/libm-test.inc (noXFails): Remove variable.
36738 (noXPasses): Likewise.
36739 (BUILD_COMPLEX_INT): Remove macro.
36740 (print_screen): Remove xfail argument.
36741 (print_screen_max_error): Likewise.
36742 (update_stats): Likewise.
36743 (print_max_error): Likewise. Update calls to other affected
36744 functions.
36745 (print_complex_max_error): Likewise.
36746 (test_single_exception): Update calls to print_screen.
36747 (test_single_errno): Likewise.
36748 (check_float_internal): Remove xfail argument. Update calls to
36749 other affected functions.
36750 (check_float): Likewise.
36751 (check_complex): Likewise.
36752 (check_int): Likewise.
36753 (check_long): Likewise.
36754 (check_bool): Likewise.
36755 (check_longlong): Likewise.
36756 (main): Don't print noXFails and noXPasses.
36757 * math/gen-libm-test.pl (top level): Don't mention expected
36758 failure handling in comment.
36759 (new_test): Don't handle expected failures.
36760 (parse_args): Don't mention expected failure handling in comment.
36761 (generate_testfile): Don't handle expected failures.
36762 (parse_ulps): Likewise.
36763 (print_ulps_file): Likewise.
36764 (get_failure): Remove function.
36765 (output_test): Don't handle expected failures.
36766 * make/README.libm-test: Don't mention expected failure handling.
36767
36768 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36769 (minus_zero): Likewise.
36770 (plus_infty): Likewise.
36771 (minus_infty): Likewise.
36772 (qnan_value): Likewise.
36773 (max_value): Likewise.
36774 (min_value): Likewise.
36775 (min_subnorm_value): Likewise.
36776 (initialize): Do not initialize those variables dynamically.
36777
36778 2013-05-03 Roland McGrath <roland@hack.frob.com>
36779
36780 * io/open.c (__open_2): Moved to ...
36781 * io/open_2.c: ... this new file.
36782 * io/open64.c (__open64_2): Moved to ...
36783 * io/open64_2.c: ... this new file.
36784 * io/openat.c (__openat_2): Moved to ...
36785 * io/openat_2.c: ... this new file.
36786 * io/openat64.c (__openat64_2): Moved to ...
36787 * io/openat64_2.c: ... this new file.
36788 * io/Makefile (routines): Add them.
36789 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36790 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36791 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36792 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36793 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36794 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36795 (__openat64): Add hidden_ver.
36796 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36797 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36798
36799 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36800 Separately conditionalize setting of GLRO(dl_sysinfo) so
36801 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36802 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36803
36804 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36805
36806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36808 definition.
36809 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36810 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36811 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36812 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36813 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36814
36815 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36816
36817 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36818 test signgam value.
36819
36820 * math/libm-test.inc (hypot_test): Do not use
36821 IGNORE_ZERO_INF_SIGN.
36822
36823 2013-05-03 Andreas Jaeger <aj@suse.de>
36824
36825 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36826 Linux 3.9.
36827 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36828 (PF_MAX): Adjust for VSOCK change.
36829
36830 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36831
36832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36833
36834 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36835
36836 [BZ #15264]
36837 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36838 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36839 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36840
36841 2013-05-02 David S. Miller <davem@davemloft.net>
36842
36843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36844
36845 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36846
36847 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36848
36849 2013-05-01 Roland McGrath <roland@hack.frob.com>
36850
36851 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36852
36853 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36854
36855 [BZ #14952]
36856 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36857 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36858 Use __attribute__ ((__gnu_inline__)).
36859 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36860 Don't use __attribute__ ((__gnu_inline__)).
36861
36862 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36863
36864 [BZ #15423]
36865 * math/s_catan.c (__catan): Handle small real or imaginary part of
36866 input specially to avoid spurious underflow.
36867 * math/s_catanf.c (__catanf): Likewise.
36868 * math/s_catanh.c (__catanh): Likewise.
36869 * math/s_catanhf.c (__catanhf): Likewise.
36870 * math/s_catanhl.c (__catanhl): Likewise.
36871 * math/s_catanl.c (__catanl): Likewise.
36872 * math/libm-test.inc (catan_test): Add more tests.
36873 (catanh_test): Likewise.
36874 * sysdeps/i386/fpu/libm-test-ulps: Update.
36875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36876
36877 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36878
36879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36880
36881 2013-04-30 Joseph Myers <joseph@codesourcery.com>
36882
36883 [BZ #15416]
36884 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36885 accurately for denominator in atan2.
36886 * math/s_catanf.c (__catanf): Likewise.
36887 * math/s_catanh.c (__catanh): Likewise.
36888 * math/s_catanhf.c (__catanhf): Likewise.
36889 * math/s_catanhl.c (__catanhl): Likewise.
36890 * math/s_catanl.c (__catanl): Likewise.
36891 * math/libm-test.inc (catan_test): Add more tests.
36892 (catanh_test): Likewise.
36893 * sysdeps/i386/fpu/libm-test-ulps: Update.
36894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36895
36896 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36897
36898 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36899
36900 * benchtests/Makefile (bench): Remove slow benchmarks.
36901 * benchtests/atan-inputs: Add slow benchmark inputs.
36902 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36903 (BENCH_FUNC): Accept variant offset.
36904 (VARIANT): Define.
36905 * benchtests/bench-skeleton.c (main): Run benchmark for each
36906 variant.
36907 * benchtests/cos-inputs: Add slow benchmark inputs.
36908 * benchtests/exp-inputs: Likewise.
36909 * benchtests/pow-inputs: Likewise.
36910 * benchtests/sin-inputs: Likewise.
36911 * benchtests/slowatan-inputs: Remove.
36912 * benchtests/slowatan.c: Remove.
36913 * benchtests/slowcos-inputs: Remove.
36914 * benchtests/slowcos.c: Remove.
36915 * benchtests/slowexp-inputs: Remove.
36916 * benchtests/slowexp.c: Remove.
36917 * benchtests/slowpow-inputs: Remove.
36918 * benchtests/slowpow.c: Remove.
36919 * benchtests/slowsin-inputs: Remove.
36920 * benchtests/slowsin.c: Remove.
36921 * benchtests/slowtan-inputs: Remove.
36922 * benchtests/slowtan.c: Remove.
36923 * benchtests/tan-inputs: Add slow benchmark inputs.
36924 * scripts/bench.pl: Parse comments and directives.
36925
36926 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
36927 in CPPFLAGS.
36928 ($(objpfx)bench-%.c): Remove *-ITER.
36929 * benchtests/bench-modf.c: Remove definition of ITER.
36930 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36931 (main): Loop for DURATION seconds instead of fixed number of
36932 iterations.
36933 * scripts/bench.pl: Don't expect iterations in parameters.
36934
36935 2013-04-29 Roland McGrath <roland@hack.frob.com>
36936
36937 * io/fchdir.c (__fchdir): Renamed from fchdir.
36938 (fchdir): Define as weak alias.
36939
36940 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36941
36942 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36943 (ERRNO_EDOM): Likewise.
36944 (ERRNO_ERANGE): Likewise.
36945 (noErrnoTests): New variable.
36946 (init_max_error): Set errno to 0.
36947 (test_single_errno): New function.
36948 (test_errno): Likewise.
36949 (check_float_internal): Call test_errno. Set errno to 0.
36950 (check_complex): Refer to errno tests in comment.
36951 (check_int): Call test_errno. Set errno to 0.
36952 (check_long): Likewise.
36953 (check_bool): Likewise.
36954 (check_longlong): Likewise.
36955 (cos_test): Use ERRNO_* flags for errno tests instead of
36956 check_int.
36957 (expm1_test): Likewise.
36958 (fmod_test): Likewise.
36959 (ilogb_test): Likewise.
36960 (lgamma_test): Likewise.
36961 (pow_test): Likewise.
36962 (remainder_test): Likewise.
36963 (sin_test): Likewise.
36964 (tan_test): Likewise.
36965 (yn_test): Likewise.
36966 (initialize): Set errno to 0.
36967 (main): Print number of errno tests.
36968 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36969
36970 2013-04-29 Andreas Jaeger <aj@suse.de>
36971
36972 [BZ #15084]
36973 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36974 and RES_USEVC.
36975
36976 [BZ #15085]
36977 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36978 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36979 unimplemented.
36980
36981 [BZ #15380]
36982 * stdlib/random.c (__initstate): Return NULL if
36983 __initstate fails.
36984
36985 [BZ #15086]
36986 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36987 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36988 RES_SNGLKUPREOP.
36989
36990 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36991
36992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36993
36994 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36995
36996 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36997 of individual tests.
36998 (casin_test): Likewise.
36999 (casinh_test): Likewise.
37000
37001 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37002
37003 [BZ #15409]
37004 * math/s_catan.c (__catan): Handle arguments with large real or
37005 imaginary part separately without squaring.
37006 * math/s_catanf.c (__catanf): Likewise.
37007 * math/s_catanh.c (__catanh): Likewise.
37008 * math/s_catanhf.c (__catanhf): Likewise.
37009 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37010 and redefine.
37011 (__catanhl): Handle arguments with large real or imaginary part
37012 separately without squaring.
37013 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37014 and redefine.
37015 (__catanl): Handle arguments with large real or imaginary part
37016 separately without squaring.
37017 * math/libm-test.inc (catan_test): Add more tests.
37018 (catanh_test): Likewise.
37019 * sysdeps/i386/fpu/libm-test-ulps: Update.
37020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37021
37022 2013-04-27 Andreas Jaeger <aj@suse.de>
37023
37024 [BZ #15007]
37025 * stdlib/stdlib.h: Update guards for qecvt.
37026 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37027 <stdlib.h>.
37028
37029 2013-04-27 Allan McRae <allan@archlinux.org>
37030
37031 * sysdeps/i386/fpu/libm-test-ulps: Update.
37032
37033 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37034
37035 [BZ #15406]
37036 * math/s_catan.c: Include <float.h>.
37037 (__catan): Ensure underflow exception occurs for underflowed
37038 result.
37039 * math/s_catanf.c: Include <float.h>.
37040 (__catanf): Ensure underflow exception occurs for underflowed
37041 result.
37042 * math/s_catanh.c: Include <float.h>.
37043 (__catanh): Ensure underflow exception occurs for underflowed
37044 result.
37045 * math/s_catanhf.c: Include <float.h>.
37046 (__catanhf): Ensure underflow exception occurs for underflowed
37047 result.
37048 * math/s_catanhl.c: Include <float.h>.
37049 (__catanhl): Ensure underflow exception occurs for underflowed
37050 result.
37051 * math/s_catanl.c: Include <float.h>.
37052 (__catanl): Ensure underflow exception occurs for underflowed
37053 result.
37054 * math/libm-test.inc (catan_test): Add more tests.
37055 (catanh_test): Likewise.
37056
37057 [BZ #15405]
37058 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37059 underflowed result.
37060 * math/s_ccoshf.c (__ccoshf): Likewise.
37061 * math/s_ccoshl.c (__ccoshl): Likewise.
37062 * math/s_csin.c (__csin): Likewise.
37063 * math/s_csinf.c (__csinf): Likewise.
37064 * math/s_csinh.c (__csinh): Likewise.
37065 * math/s_csinhf.c (__csinhf): Likewise.
37066 * math/s_csinhl.c (__csinhl): Likewise.
37067 * math/s_csinl.c (__csinl): Likewise.
37068 * math/libm-test.inc (ccos_test): Add more tests.
37069 (ccosh_test): Likewise.
37070 (csin_test): Likewise.
37071 (csinh_test): Likewise.
37072
37073 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37074
37075 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37076 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37077 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37078 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37079 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37080 powerpc/power5+/fpu folders.
37081 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37082
37083
37084 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37085
37086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37087
37088 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37089
37090 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37091 additions to variable.
37092 [$(config-machine) = x86_64] (modules-names): Likewise.
37093 ($(objpfx)tst-audit3): Remove dependency.
37094 ($(objpfx)tst-audit3.out): Likewise.
37095 ($(objpfx)tst-audit4): Likewise.
37096 ($(objpfx)tst-audit4.out): Likewise.
37097 ($(objpfx)tst-audit5): Likewise.
37098 ($(objpfx)tst-audit5.out): Likewise.
37099 ($(objpfx)tst-audit6): Likewise.
37100 ($(objpfx)tst-audit6.out): Likewise.
37101 ($(objpfx)tst-audit7): Likewise.
37102 ($(objpfx)tst-audit7.out): Likewise.
37103 (tst-audit3-ENV): Remove variable.
37104 (tst-audit4-ENV): Likewise.
37105 (tst-audit5-ENV): Likewise.
37106 (tst-audit6-ENV): Likewise.
37107 (tst-audit7-ENV): Likewise.
37108 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37109 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37110 addition to variable.
37111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37114 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37115 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37116 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37117 tst-audit3, tst-audit4 and tst-audit5.
37118 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37119 tst-audit6 and tst-audit7.
37120 [$(subdir) = elf] (modules-names): Add audit modules for those
37121 tests.
37122 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37123 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37124 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37125 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37126 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37127 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37128 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37129 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37130 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37131 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37132 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37133 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37134 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37135 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37136 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37137 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37138 Likewise.
37139 [$(subdir) = elf && $(config-cflags-avx) = yes]
37140 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37141 [$(subdir) = elf && $(config-cflags-avx) = yes]
37142 (CFLAGS-tst-auditmod4a.c): Likewise.
37143 [$(subdir) = elf && $(config-cflags-avx) = yes]
37144 (CFLAGS-tst-auditmod4b.c): Likewise.
37145 [$(subdir) = elf && $(config-cflags-avx) = yes]
37146 (CFLAGS-tst-auditmod6b.c): Likewise.
37147 [$(subdir) = elf && $(config-cflags-avx) = yes]
37148 (CFLAGS-tst-auditmod6c.c): Likewise.
37149 [$(subdir) = elf && $(config-cflags-avx) = yes]
37150 (CFLAGS-tst-auditmod7b.c): Likewise.
37151 * elf/tst-audit3.c: Move to ...
37152 * sysdeps/x86_64/tst-audit3.c: ... here.
37153 * elf/tst-audit4.c: Move to ...
37154 * sysdeps/x86_64/tst-audit4.c: ... here.
37155 * elf/tst-audit5.c: Move to ...
37156 * sysdeps/x86_64/tst-audit5.c: ... here.
37157 * elf/tst-audit6.c: Move to ...
37158 * sysdeps/x86_64/tst-audit6.c: ... here.
37159 * elf/tst-audit7.c: Move to ...
37160 * sysdeps/x86_64/tst-audit7.c: ... here.
37161 * elf/tst-auditmod3a.c: Move to ...
37162 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37163 * elf/tst-auditmod3b.c: Move to ...
37164 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37165 * elf/tst-auditmod4a.c: Move to ...
37166 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37167 * elf/tst-auditmod4b.c: Move to ...
37168 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37169 * elf/tst-auditmod5a.c: Move to ...
37170 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37171 * elf/tst-auditmod5b.c: Move to ...
37172 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37173 * elf/tst-auditmod6a.c: Move to ...
37174 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37175 * elf/tst-auditmod6b.c: Move to ...
37176 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37177 * elf/tst-auditmod6c.c: Move to ...
37178 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37179 * elf/tst-auditmod7a.c: Move to ...
37180 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37181 * elf/tst-auditmod7b.c: Move to ...
37182 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37183
37184 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37185
37186 [BZ #15366]
37187 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37188 define unconditionally.
37189 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37190 define unconditionally.
37191 (INT8_C, INT16_C, etc.): Likewise.
37192
37193 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37194
37195 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37196 __ehdr_start with hidden visibility.
37197
37198 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37199
37200 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37201
37202 * math/libm-test.inc (cos_test): Use accurate hex constants.
37203 (sincost_test): Likewise.
37204
37205 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37206
37207 * math/libm-test.inc (catan_test): Add more tests.
37208 (catanh_test): Likewise.
37209
37210 * math/s_catanf.c (__catanf): Use suffixed floating-point
37211 constants.
37212 * math/s_catanhf.c (__catanhf): Likewise.
37213 * math/s_catanhl.c (__catanhl): Likewise.
37214 * math/s_catanl.c (__catanl): Likewise.
37215
37216 [BZ #15394]
37217 * math/s_catan.c (__catan): Calculate imaginary part of result
37218 with log1p not log unless computing log of number close to 0.
37219 * math/s_catanf.c (__catanf): Likewise.
37220 * math/s_catanl.c (__catanl): Likewise.
37221 * math/s_catanh.c (__catanh): Calculate real part of result with
37222 log1p not log unless computing log of number close to 0.
37223 * math/s_catanhf.c (__catanhf): Likewise.
37224 * math/s_catanhl.c (__catanhl): Likewise.
37225 * math/libm-test.inc (catan_test): Add more tests.
37226 (catanh_test): Likewise.
37227 * sysdeps/i386/fpu/libm-test-ulps: Update.
37228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37229
37230 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37231
37232 * benchtests/Makefile: Mention files in which fast and slow
37233 paths of math functions are implemented.
37234
37235 2013-04-23 Roland McGrath <roland@hack.frob.com>
37236
37237 * sysdeps/posix/timespec_get.c: New file.
37238
37239 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37240
37241 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37242 POWER.
37243 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37244 for POWER.
37245 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37246 powerpc/power5/fpu folders.
37247 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37248 * benchtests/Makefile: Add modf testcase.
37249 * benchtests/bench-modf.c: New file: Benchmark test for mo
37250
37251 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37252
37253 [BZ #14888]
37254 * time/Makefile (tests): Add tst-strptime-whitespace.
37255 * time/strptime_l.c (get_number): Use ISSPACE.
37256 (__strptime_internal): Likewise.
37257 * time/tst-strptime-whitespace.c: New test case.
37258
37259 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37260
37261 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37262 member.
37263 (_nss_files_init): Set it here.
37264
37265 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37266
37267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37268 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37269 unsigned.
37270
37271 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37272
37273 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37274
37275 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37276
37277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37278 size just once.
37279
37280 2013-04-21 David S. Miller <davem@davemloft.net>
37281
37282 * po/ru.po: Update Russion translation from translation project.
37283
37284 2013-04-17 Adam Conrad <adconrad@0c3.net>
37285
37286 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37287 and setfsgid.
37288
37289 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37290
37291 * configure.in: Remove i386 configure warning. Remove i386 case.
37292 * configure: Regenerate.
37293 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37294 Add example to error message.
37295 * sysdeps/i386/configure: Regenerate.
37296
37297 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37298
37299 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37300 slowtan.
37301 * benchtests/cos-inputs: New file.
37302 * benchtests/slowcos-inputs: New file.
37303 * benchtests/slowcos.c: New file.
37304 * benchtests/slowtan-inputs: New file.
37305 * benchtests/slowtan.c: New file.
37306 * benchtests/tan-inputs: New file.
37307
37308 2013-04-16 Roland McGrath <roland@hack.frob.com>
37309
37310 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37311 considered kosher.
37312
37313 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37314
37315 * benchtests/Makefile: Include cppflags-iterator.mk to add
37316 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37317
37318 * Makefile.in (bench-clean): New target.
37319 * benchtests/Makefile (bench-clean): Likewise.
37320
37321 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37322
37323 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37324
37325 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37326
37327 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37328
37329 2013-04-15 Andreas Schwab <schwab@suse.de>
37330
37331 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37333 * nscd/pwdcache.c (cache_addpw): Likewise.
37334 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37335 more than recsize.
37336
37337 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37338
37339 * benchtests/Makefile (bench): Write all output to
37340 bench-out.tmp together.
37341
37342 2013-04-15 Andreas Schwab <schwab@suse.de>
37343
37344 * nscd/nscd.c (main): Don't fork again after closing files.
37345
37346 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37347
37348 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37349
37350 * benchtests/Rules (bench-deps): Collect dependencies into a
37351 single variable. Add Makefile to dependencies.
37352 ($(objpfx)bench-%.c): Depend on bench-deps.
37353
37354 2013-04-12 Roland McGrath <roland@hack.frob.com>
37355 Xavier Roche <roche+kml2@exalead.com>
37356
37357 [BZ #15361]
37358 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37359 just that it's a file descriptor.
37360 * manual/llio.texi (Synchronizing AIO Operations): Update description
37361 for EBADF error from aio_fsync.
37362
37363 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37364
37365 * Rules (bench): Move target definition...
37366 * benchtests/Makefile: ... here.
37367
37368 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37369
37370 * math/libm-test.inc (cos_test): Fix PI/2 test.
37371 (sincos_test): Likewise.
37372 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37373 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37374
37375 2013-04-11 Andreas Schwab <schwab@suse.de>
37376
37377 [BZ #13988]
37378 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37379 accept exponent character only when digits were seen.
37380 * stdio-common/Makefile (tests): Add bug26.
37381 * stdio-common/bug26.c: New file.
37382
37383 [BZ #14293]
37384 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37385 non-freeable.
37386
37387 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37388
37389 * Makeconfig (rtld-prefix): Define built linker prefix.
37390 * Rules (run-bench): Use it.
37391 * math/Makefile (run-regen-ulps): Likewise.
37392
37393 * Rules (bench): Remove eval.
37394
37395 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37396 Roland McGrath <roland@hack.frob.com>
37397 Ondrej Bilka <neleai@seznam.cz>
37398
37399 [BZ #15346]
37400 * time/getdate.c: Include ctype.h and alloca.h.
37401 (__getdate_r): Trim leading and trailing spaces of input.
37402 * time/tst-getdate.c (tests): Add tests with leading and
37403 trailing spaces.
37404
37405 2013-04-08 Roland McGrath <roland@hack.frob.com>
37406
37407 [BZ #14280]
37408 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37409 when computing value.
37410
37411 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37412
37413 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37414 Use testrun.sh to run libm tests.
37415
37416 [BZ #15309]
37417 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37418
37419 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37420
37421 [BZ #15264]
37422 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37423
37424 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37425
37426 * Makefile.in (regen-ulps): New target.
37427 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37428 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37429 [ifneq (no,$(PERL)] (regen-ulps): New target.
37430 [ifeq (no,$(PERL)] (regen-ulps): New target.
37431 * math/libm-test.inc (ulps_file_name): Define.
37432 (output_dir): New variable.
37433 (options): Add "output-dir" option.
37434 (parse_opt): Handle 'o' case.
37435 (main): If output_dir is non-NULL use it as a prefix
37436 otherwise use "".
37437 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37438
37439 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37440
37441 [BZ #10060, #10062]
37442 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37443 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37444 fail configure if __sync_val_compare_and_swap is not inlined.
37445 * sysdeps/i386/configure: Regenerate.
37446 * configure.in: Build for i686 when configured for i386.
37447 * configure: Regenerate.
37448 * README: Remove i386 reference.
37449
37450 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37451
37452 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37453 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37454
37455 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37456
37457 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37458 (lmsnanval): New variables.
37459 (F): Add conversion tests.
37460 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37461 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37462
37463 * stdio-common/tstdiomisc.c (F): Properly collect individual
37464 tests' results.
37465
37466 [BZ #14686, #15336]
37467 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37468 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37469 Instead, use input NaN values or generate a qNaN by arithmetic
37470 operation. Also fix bugs to comply with the standard.
37471 * math/libm-test.inc (remainder_test): Add more tests.
37472
37473 [BZ #15335, #15342]
37474 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37476 input NaN values or generate a qNaN by arithmetic operation.
37477
37478 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37479 unreachable code.
37480
37481 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37482 definitions.
37483
37484 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37485
37486 [BZ #14478]
37487 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37488 underflowed result.
37489 * math/s_cexpf.c (__cexpf): Likewise.
37490 * math/s_cexpl.c (__cexpl): Likewise.
37491 * math/libm-test.inc (cexp_test): Add more tests.
37492
37493 2013-04-03 Andreas Schwab <schwab@suse.de>
37494
37495 [BZ #15330]
37496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37497 order arrays from heap if bigger than alloca cutoff.
37498
37499 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37500
37501 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37502 (SNAN_TESTS_double): Refer to GCC PR56831.
37503 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37504 GCC PR56828.
37505
37506 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37507
37508 * Rules (bench): Move bench.out after the run is complete.
37509
37510 * Rules (bench): Echo currently running benchmark.
37511
37512 * benchtests/Makefile (bench): Add atan and slowatan.
37513 * benchtests/atan-inputs: New file.
37514 * benchtests/slowatan-inputs: New file.
37515 * benchtests/slowatan.c: New file.
37516
37517 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37519 its value.
37520
37521 [BZ #15305]
37522 * sysdeps/unix/sysv/linux/kernel-features.h
37523 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37524 __ASSUME_XFS_RESTRICTED_CHOWN.
37525 * sysdeps/unix/sysv/linux/pathconf.c
37526 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37527 Save and restore errno.
37528
37529 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37530
37531 [BZ #15327]
37532 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37533 arguments using __kernel_casinh.
37534 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37535 arguments using __kernel_casinhf.
37536 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37537 arguments using __kernel_casinhl.
37538 * math/libm-test.inc (cacosh_test): Add more tests.
37539 * sysdeps/i386/fpu/libm-test-ulps: Update.
37540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37541
37542 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37543
37544 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37546
37547 * bench/Makefile (bench): Add sin and slowsin.
37548 * benchtests/sin-inputs: New file.
37549 * benchtests/slowsin-inputs: New file.
37550 * benchtests/slowsin.c: New file.
37551
37552 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37553 (bench): Add slowexp and slowpow.
37554 (exp-ITER): Increase iterations.
37555 (pow-ITER): Likewise.
37556 * benchtests/exp-inputs: Change input.
37557 * benchtests/pow-inputs: Likewise.
37558 * benchtests/slowexp-inputs: New file.
37559 * benchtests/slowexp.c: New file.
37560 * benchtests/slowpow-inputs: New file.
37561 * benchtests/slowpow.c: New file.
37562
37563 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37564
37565 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37566 instructions.
37567 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37568 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37569 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37570 * benchtests/Makefile: Add rint benchtest.
37571 * benchtests/rint-inputs: Input for rint benchtest.
37572
37573 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37574
37575 * Versions.def (libm): Add GLIBC_2.18.
37576 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37577 hidden libm prototypes.
37578 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37579 * math/Makefile (libm-calls): Add s_issignaling.
37580 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37581 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37582 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37583 declaration.
37584 * math/math.h [__USE_GNU] (issignaling): New macro.
37585 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37586 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37588 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37589 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37590 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37591 * manual/arith.texi (issignaling): New section.
37592 * manual/libm-err-tab.pl (@all_functions): Update comment.
37593 * math/gen-libm-test.pl (parse_args): Apply special handling for
37594 issignaling.
37595 * math/libm-test.inc (print_float, issignaling_test): New
37596 functions.
37597 (check_float_internal): Add issignaling checks.
37598 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37599 default definition.
37600 * sysdeps/powerpc/math-tests.h: New file.
37601 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37602 tests.
37603 * math/test-snan.c (TEST_FUNC): Likewise.
37604
37605 2013-03-30 David S. Miller <davem@davemloft.net>
37606
37607 * po/de.po: Update from translation team.
37608
37609 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37610
37611 [BZ #10357]
37612 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37613 imaginary part less than 1.0 and real part less than 0.5
37614 specially.
37615 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37616 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37617 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37618 (cacos_test): Add more tests.
37619 (casin_test): Likewise.
37620 (casinh_test): Likewise.
37621 * sysdeps/i386/fpu/libm-test-ulps: Update.
37622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37623
37624 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37625
37626 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37627 ONE with its value.
37628
37629 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37630 (__pow_mp): Replace ONE and MONE with their values.
37631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37634 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37636 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37637
37638 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37639
37640 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37641 (__pow_mp): Replace ZERO and MZERO with their values.
37642 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37643 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37644 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37646 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37647 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37648 (__sqr): Likewise.
37649
37650 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37651
37652 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37653
37654 2013-03-28 Roland McGrath <roland@hack.frob.com>
37655
37656 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37657 Declare with __attribute__ ((weak)).
37658 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37659 Call __call_tls_dtors only if it's not NULL.
37660
37661 2013-03-28 Roland McGrath <roland@hack.frob.com>
37662
37663 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37664 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37665 magic __ehdr_start linker symbol if it's defined.
37666 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37667 them up here if it was already done.
37668
37669 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37670 (_dl_aux_init): Use const in cast when setting it.
37671 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37672 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37673 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37674
37675 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37676 Declare them here.
37677 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37678 * csu/libc-tls.c: Nor here.
37679 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37680
37681 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37682 (__libc_message): Never call vsyslog.
37683
37684 2013-03-28 Alan Modra <amodra@gmail.com>
37685
37686 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37687 Define as empty.
37688 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37689 Likewise.
37690
37691 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37692
37693 [BZ #15214]
37694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37695 underflow.
37696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37697
37698 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37699
37700 [BZ #15304]
37701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37702 Don't add gid passed as argument.
37703
37704 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37705
37706 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37707
37708 [BZ #15307]
37709 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37710 imaginary part between 1.0 and 1.5 and real part less than 0.5
37711 specially.
37712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37714 * math/libm-test.inc (cacos_test): Add more tests.
37715 (casin_test): Likewise.
37716 (casinh_test): Likewise.
37717 * sysdeps/i386/fpu/libm-test-ulps: Update.
37718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37719
37720 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37721
37722 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37723 constants.
37724 (norm): Likewise.
37725 (denorm): Likewise.
37726 (__dbl_mp): Likewise.
37727 (add_magnitudes): Likewise.
37728 (sub_magnitudes): Likewise.
37729 (__add): Likewise.
37730 (__sub): Likewise.
37731 (__mul): Likewise.
37732 (__sqr): Likewise.
37733 (__inv): Likewise.
37734 (__dvd): Likewise.
37735
37736 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37737 commented code.
37738 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37739 (__dubcos): Likewise.
37740 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37741 (__ieee754_acos): Likewise.
37742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37743 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37744 (__exp1): Likewise.
37745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37747 (log1): Likewise.
37748 (my_log2): Likewise.
37749 (checkint): Likewise.
37750 * sysdeps/ieee754/dbl-64/e_remainder.c
37751 (__ieee754_remainder): Likewise.
37752 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37754 (bsloww): Likewise.
37755 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37756
37757 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37758 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37759 MANTISSA_STORE_T to store computations on mantissa. Use
37760 macros for rounding and division.
37761 (denorm): Likewise.
37762 (__dbl_mp): Likewise.
37763 (add_magnitudes): Likewise.
37764 (sub_magnitudes): Likewise.
37765 (__mul): Likewise.
37766 (__sqr): Likewise.
37767 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37768 powers of two in terms of TWOPOW macro.
37769 (mp_no): Make type of mantissa as MANTISSA_T.
37770 [!RADIXI]: Define RADIXI.
37771 [!TWO52]: Define TWO52.
37772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37773
37774 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37775
37776 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37777 llroundl symbol when building for PPC32.
37778
37779 2013-03-24 Mark H Weaver <mhw@netris.org>
37780
37781 * manual/arith.texi (Normalization Functions): Fix prototypes for
37782 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37783
37784 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37785
37786 [BZ #13889]
37787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37788 high value to check if expl overflow.
37789 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37790 to check for underflow and overflow.
37791 * math/libm-test.inc: Add exp test.
37792
37793 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37794
37795 [BZ #11120]
37796 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37797 with NOT_IN_libc.
37798
37799 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37800
37801 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37802 symbol.
37803
37804 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37805
37806 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37807 wrap blocks consisting of several statements.
37808
37809 * sysdeps/generic/math-tests.h: New file.
37810 * sysdeps/i386/fpu/math-tests.h: Likewise.
37811 * math/test-snan.c: Include it.
37812 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37813
37814 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37815
37816 [BZ #15285]
37817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37818 (__ieee754_j0l): Do not improve calculations using cos of twice
37819 input for inputs above LDBL_MAX / 2.0L.
37820 (__ieee754_y0l): Likewise.
37821 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37822 (__ieee754_j1l): Do not improve calculations using cos of twice
37823 input for inputs above LDBL_MAX / 2.0L.
37824 (__ieee754_y1l): Likewise.
37825 * math/libm-test.inc (j0_test): Add another test.
37826 (j1_test): Likewise.
37827 (y0_test): Likewise.
37828 (y1_test): Likewise.
37829 * sysdeps/i386/fpu/libm-test-ulps: Update.
37830
37831 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37832
37833 * Rules ($(objpfx)bench-%.c): Include code from a C source
37834 file.
37835
37836 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37837
37838 [BZ #15287]
37839 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37840 imaginary part 1.0 and real part less than 0.5 specially.
37841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37843 * math/libm-test.inc (cacos_test): Add more tests.
37844 (casin_test): Likewise.
37845 (casinh_test): Likewise.
37846 * sysdeps/i386/fpu/libm-test-ulps: Update.
37847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37848
37849 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37850
37851 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37852 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37853
37854 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37855
37856 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37857 * config.make.in (config-cflags-sse4): Remove variable.
37858 (config-cflags-avx): Likewise.
37859 (config-cflags-sse2avx): Likewise.
37860 (config-cflags-novzeroupper): Likewise.
37861 (config-asflags-i686): Likewise.
37862 (have-mfma4): Likewise.
37863 (have-as-vis3): Likewise.
37864 (MIG): Likewise.
37865 * configure.in (MIG): Do not AC_SUBST.
37866 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37867 (libc_cv_cc_sse4): Do not AC_SUBST.
37868 (libc_cv_cc_avx): Likewise.
37869 (libc_cv_cc_sse2avx): Likewise.
37870 (libc_cv_cc_novzeroupper): Likewise.
37871 (libc_cv_cc_fma4): Likewise.
37872 (libc_cv_as_i686): Likewise.
37873 (libc_cv_sparc_as_vis3): Likewise.
37874 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37875 LIBC_CONFIG_VAR.
37876 (config-asflags-i686): Likewise.
37877 (config-cflags-avx): Likewise.
37878 (config-cflags-sse2avx): Likewise.
37879 (have-mfma4): Likewise.
37880 (config-cflags-novzeroupper): Likewise.
37881 * sysdeps/mach/configure.in (MIG): Likewise.
37882 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37883 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37884 LIBC_CONFIG_VAR.
37885 (config-cflags-avx): Likewise.
37886 (config-cflags-sse2avx): Likewise.
37887 (have-mfma4): Likewise.
37888 (config-cflags-novzeroupper): Likewise.
37889 * configure: Regenerated.
37890 * sysdeps/i386/configure: Likewise.
37891 * sysdeps/mach/configure: Likewise.
37892 * sysdeps/sparc/configure: Likewise.
37893 * sysdeps/x86_64/configure: Likewise.
37894
37895 2013-03-20 Roland McGrath <roland@hack.frob.com>
37896
37897 [BZ #14812]
37898 * locale/programs/localedef.c (options): Put N_ translation marker
37899 on argument names, not just descriptions.
37900
37901 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37902
37903 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37904
37905 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
37906
37907 [BZ #14176]
37908 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37909
37910 2013-03-19 Roland McGrath <roland@hack.frob.com>
37911
37912 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37913 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37914 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37915 [!BEFORE_ABORT] (before_abort): New function.
37916 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37917 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37918 (writev_for_fatal): New function.
37919 (WRITEV_FOR_FATAL): New macro; call that.
37920 (backtrace_and_maps): New function.
37921 (BEFORE_ABORT): New macro; call that.
37922 (struct str_list): Type removed.
37923 (__libc_message, __libc_fatal): Functions removed.
37924 Include <sysdeps/posix/libc_fatal.c> instead.
37925
37926 2013-03-19 Joseph Myers <joseph@codesourcery.com>
37927
37928 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37929 constants.
37930 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37931 double constants.
37932
37933 2013-03-19 Andreas Schwab <schwab@suse.de>
37934
37935 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37936 * sysdeps/gnu/configure: Regenerate.
37937
37938 * configure.in: Substitute libc_cv_rtlddir.
37939 * configure: Regenerate.
37940 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37941 * Makeconfig (rtlddir, inst_rtlddir): New variables.
37942 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37943 * elf/Makefile (install-others, CFLAGS-interp.c)
37944 (ldso_install, common-ldd-rewrite): Likewise.
37945 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37946 $(inst_slibdir)/$(rtld-installed-name).
37947 * scripts/rellns-sh: Add -p option.
37948 * Makerules (make-shlib-link): Use rellns-sh to get relative name
37949 for source.
37950
37951 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37952
37953 * manual/nptl.texi: Renamed to ...
37954 * manual/threads.texi: ... this.
37955 * manual/Makefile (chapters): Update.
37956
37957 2013-03-18 Roland McGrath <roland@hack.frob.com>
37958
37959 [BZ #14812]
37960 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37961 on argument names, not just descriptions.
37962 * malloc/memusagestat.c (options): Likewise.
37963 * nss/getent.c (options): Likewise.
37964
37965 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
37966
37967 [BZ #14812]
37968 * iconv/iconv_prog.c (options): Put N_ translation marker
37969 on argument names, not just descriptions.
37970 * iconv/iconvconfig.c (options): Likewise.
37971
37972 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
37973
37974 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37975 implementation which is faster on all x86_64 architectures.
37976 Tested on AMD, Intel Nehalem, SNB, IVB.
37977 * sysdeps/x86_64/strnlen.S: Likewise.
37978
37979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37980 Remove all multiarch strlen and strnlen versions.
37981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37982 Remove strlen and strnlen related parts.
37983
37984 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37985 Inline strlen part.
37986 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37987
37988 * sysdeps/x86_64/multiarch/strlen.S: Remove.
37989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37990 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37991 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37992 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37993 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37994
37995 2013-03-17 Carlos O'Donell <carlos@redhat.com>
37996
37997 * manual/memory.texi (Malloc Tunable Parameters):
37998 Sort parameters alphabetically. Add comments for missing entries.
37999
38000 2013-03-17 David S. Miller <davem@davemloft.net>
38001
38002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38003
38004 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38005
38006 [BZ #15283]
38007 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38008 for arguments at most half maximum finite value.
38009 * math/libm-test.inc (j0_test): Add more tests.
38010 (j1_test): Likewise.
38011 (y0_test): Likewise.
38012 (y1_test): Likewise.
38013 * sysdeps/i386/fpu/libm-test-ulps: Update.
38014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38015
38016 [BZ #14155]
38017 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38018 1 / x and functions P and Q for arguments above 0x1p256L.
38019 (__ieee754_y0l): Likewise.
38020 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38021 (__ieee754_y1l): Likewise.
38022 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38023 (j1_test): Likewise.
38024 (y0_test): Likewise.
38025 (y1_test): Likewise.
38026
38027 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38028
38029 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38030 variable.
38031
38032 2013-03-15 Roland McGrath <roland@hack.frob.com>
38033
38034 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38035 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38036 zero since it's initialized to EXEC_PAGESIZE.
38037
38038 * sysdeps/unix/sysv/linux/ldsodefs.h
38039 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38040 * sysdeps/generic/ldsodefs.h: ... here.
38041
38042 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38043
38044 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38045
38046 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38047 math/test-snan.c.
38048 * math/test-snan.c: Renamed from
38049 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38050 * math/Makefile (tests): Add test-snan.
38051 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38052 test-powerpc-snan.
38053
38054 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38055 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38056 functions.
38057 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38058 __builtin_nan family of functions.
38059 * math/libm-test.inc (initialize): Initialize qnan_value with
38060 __builtin_nan family of functions.
38061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38062 Remove variables.
38063 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38064 Remove functions.
38065 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38066 storage class. Initialize qNaN_var and sNaN_var with
38067 __builtin_nan and __builtin_nans families of functions,
38068 respectively.
38069
38070 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38071 (sqrt_test): Remove duplicate test with qNaN input.
38072 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38073 (round_test, signbit_test, significand_test): Note missing +/-Inf
38074 as well as qNaN tests.
38075
38076 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38077 qNaN_var. Fix a few strings, too.
38078 * math/libm-test.inc (nan_value): Rename to qnan_value.
38079 * math/gen-libm-test.pl (%beautify): Adjust to that.
38080 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38081 * math/test-misc.c (main): Likewise.
38082 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38083 to __qnan_bytes, and __qnan_union, respectively.
38084 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38085 Likewise.
38086 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38087 and lqnanval, respectively.
38088 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38089 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38090 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38091 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38092
38093 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38094 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38095 doubles.
38096
38097 * math/test-misc.c (main): Fix copy'n'pastos.
38098 * misc/tst-efgcvt.c (special): Likewise.
38099
38100 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38101 Remove declarations.
38102
38103 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38104
38105 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38106 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38107 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38108 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38109
38110 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38111
38112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38113 macro to return vdso values correctly in IFUNC implementations.
38114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38115 Optimization by using IFUNC.
38116
38117 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38118 Richard Henderson <rth@redhat.com>
38119 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38120
38121 * Makefile.in (bench): New target.
38122 * NEWS: Mention the benchmark framework.
38123 * Rules (bench): Likewise.
38124 (binaries-bench): Generate binaries for functions to
38125 benchmark.
38126 * benchtests/Makefile: New makefile for benchmark tests.
38127 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38128 programs.
38129 * benchtests/exp-inputs: New input file for EXP function.
38130 * benchtests/pow-inputs: New input file for POW function.
38131 * scripts/bench.pl: New script to generate source files for
38132 benchmark programs.
38133
38134 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38135
38136 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38137 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38138 computations on mantissa. Use macros for rounding and
38139 division.
38140 (denorm): Likewise.
38141 (__dbl_mp): Likewise.
38142 (add_magnitudes): Likewise.
38143 (sub_magnitudes): Likewise.
38144 (__mul): Likewise.
38145 (__sqr): Likewise.
38146 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38147 powers of two in terms of TWOPOW macro.
38148 (mp_no): Make type of mantissa as MANTISSA_T.
38149 [!RADIXI]: Define RADIXI.
38150 [!TWO52]: Define TWO52.
38151 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38152
38153 * manual/nptl.texi (cindex): Modify threads to pthreads.
38154
38155 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38156
38157 * sysdeps/x86_64/preconfigure: Regenerated.
38158
38159 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38160
38161 [BZ #14155]
38162 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38163 0x1p28 and above.
38164 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38165 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38166 0x1p28 and above.
38167 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38168 * math/libm-test.inc (j0_test): Do not allow one spurious
38169 underflow exception.
38170 (y1_test): Likewise.
38171
38172 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38173
38174 * manual/Makefile (chapters): Add nptl.
38175 * manual/debug.texi (Debugging Support): Add link to Threads
38176 chapter.
38177 * manual/nptl.texi: New file.
38178
38179 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38180
38181 2013-03-14 Petr Baudis <pasky@ucw.cz>
38182
38183 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38184 for non-NULL pointer before the memory validity test. Pointed
38185 out by Holger Brunck <holger.brunck@keymile.com>.
38186
38187 2013-03-13 Andreas Schwab <schwab@suse.de>
38188
38189 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38190 instead of .os.
38191
38192 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38193
38194 * timezone/zic.c: Update from tzcode 2013b.
38195
38196 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38197
38198 * manual/install.texi (Configuring and compiling):
38199 Mention i686 and i586.
38200 * INSTALL: Regenerate.
38201
38202 2013-03-12 Roland McGrath <roland@hack.frob.com>
38203
38204 * sysdeps/init_array/elf-init.c: New file.
38205 * csu/elf-init.c
38206 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38207 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38208
38209 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38210 __gmon_start__ as global, but as static with a .preinit_array pointer.
38211 * sysdeps/init_array/gmon-start.c: New file. Use that.
38212 * sysdeps/init_array/crti.S: New file, empty except for comments.
38213 * sysdeps/init_array/crtn.S: Likewise.
38214
38215 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38216
38217 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38218 definining bcopy.
38219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38220 Remove Prefer_SSE_for_memop.
38221 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38222 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38223 HAS_PREFER_SSE_FOR_MEMOP.
38224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38225 memset-x86-64.
38226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38227 Remove bzero, memset ifunc support.
38228 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38229 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38230 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38231 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38232
38233 2013-03-11 Andreas Schwab <schwab@suse.de>
38234
38235 [BZ #15234]
38236 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38237 by SHLIB_COMPAT.
38238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38239 (GLIBC_2.16): Remove pthread_atfork.
38240
38241 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38242
38243 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38244 (ptestcases.h): Likewise.
38245
38246 2013-03-08 Roland McGrath <roland@hack.frob.com>
38247
38248 * Makeconfig ($(common-objpfx)config.status): Depend on
38249 sysdeps/*/preconfigure{,.in} too.
38250
38251 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38252
38253 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38254 (__free_hook): Use void * instead of __malloc_ptr_t.
38255 (__malloc_hook): Likewise.
38256 (__realloc_hook): Likewise.
38257 (__memalign_hook): Likewise.
38258 (__after_morecore_hook): Likewise.
38259 * malloc/arena.c (save_malloc_hook): Likewise.
38260 (save_free_hook): Likewise.
38261 * malloc/hooks.c (malloc_hook_ini): Likewise.
38262 (realloc_hook_ini): Likewise.
38263 (memalign_hook_ini): Likewise.
38264 * malloc/malloc.c (malloc_hook_ini): Likewise.
38265 (realloc_hook_ini): Likewise.
38266 (memalign_hook_ini): Likewise.
38267 (__free_hook): Likewise.
38268 (__malloc_hook): Likewise.
38269 (__realloc_hook): Likewise.
38270 (__memalign_hook): Likewise.
38271 (__libc_malloc): Likewise.
38272 (__libc_free): Likewise.
38273 (__libc_realloc): Likewise.
38274 (__libc_memalign): Likewise.
38275 (__libc_valloc): Likewise.
38276 (__libc_pvalloc): Likewise.
38277 (__libc_calloc): Likewise.
38278 (__posix_memalign): Likewise.
38279 * malloc/morecore.c (__sbrk): Likewise.
38280 (__default_morecore): Likewise.
38281
38282 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38283
38284 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38285 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38286 __malloc_ptrdiff_t.
38287
38288 * malloc/malloc.h (__malloc_size_t): Remove macro.
38289 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38290 __malloc_size_t.
38291 (old_memalign_hook): Likewise.
38292 (old_realloc_hook): Likewise.
38293 (struct hdr): Likewise.
38294 (flood): Likewise.
38295 (mallochook): Likewise.
38296 (memalignhook): Likewise.
38297 (reallochook): Likewise.
38298 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38299 (tr_old_realloc_hook): Likewise.
38300 (tr_old_memalign_hook): Likewise.
38301 (tr_mallochook): Likewise.
38302 (tr_reallochook): Likewise.
38303 (tr_memalignhook): Likewise.
38304
38305 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38306
38307 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38308 default_ldbl_pack and using as default implementation.
38309 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38310 implementation.
38311 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38312 redundant definition.
38313 (ldbl_insert_mantissa): Likewise.
38314 (ldbl_canonicalize): Likewise.
38315 (ldbl_nearbyint): Likewise.
38316 (ldbl_pack): Rename to ldbl_pack_ppc.
38317 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38318 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38319 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38320
38321 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38322
38323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38324 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38325 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38326 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38328 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38329 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38330 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38331
38332 2013-03-07 Andreas Jaeger <aj@suse.de>
38333
38334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38335 bits/mman-linux.h.
38336
38337 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38338
38339 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38340 Include mpa.h and declare __MPEXP.
38341 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38342 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38343 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38344 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38345 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38346 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38347 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38348
38349 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38350 (__slowpow): Use long double EXPL and LOGL functions to
38351 compute POW.
38352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38353 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38356 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38358
38359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38360 intermediate variable to calculate exponent.
38361 (__sqr): Likewise.
38362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38363 Likewise.
38364 (__sqr): Likewise.
38365
38366 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38367 [!NO__SQR]: Define __sqr.
38368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38369 and NO__SQR. Remove all code except __mul and __sqr. Include
38370 sysdeps/ieee754/dbl-64/mpa.c.
38371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38372
38373 [BZ #12723]
38374 * posix/Makefile (tests): Add tst-pathconf.
38375 * posix/tst-pathconf.c: New test case.
38376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38377 _PC_PIPE_BUF.
38378 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38379
38380 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38381
38382 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38383
38384 2013-03-06 Andreas Jaeger <aj@suse.de>
38385
38386 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38387 definition via __MAP_ANONYMOUS.
38388
38389 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38390 it's not part of Linux headers.
38391
38392 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38393 (MAP_HUGE_MASK): Define.
38394
38395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38396 Define.
38397 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38399 Define.
38400 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38401 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38402 Define.
38403 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38405 Define.
38406 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38407
38408 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38409 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38410 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38411 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38412 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38413 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38414
38415 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38416 Handle f2fs.
38417
38418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38419 Handle f2fs and efivarfs.
38420
38421 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38422 f2fs.
38423
38424 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38425 (EFIVARFS_MAGIC): Add.
38426 (F2FS_LINK_MAX): Add.
38427
38428 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38429
38430 * stdio-common/vfprintf.c: Replace __builtin_expect with
38431 __glibc_unlikely.
38432
38433 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38434
38435 [BZ #13550]
38436 * sysdeps/generic/bp-sym.h: Remove file.
38437 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38438 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38439 <bp-sym.h> and <bp-asm.h>.
38440 (__longjmp): Don't use BP_SYM.
38441 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38442 and <bp-asm.h>.
38443 (memcpy): Don't use BP_SYM.
38444 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38445 <bp-sym.h> and <bp-asm.h>.
38446 (memcpy): Don't use BP_SYM.
38447 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38448 <bp-asm.h>.
38449 (memcpy): Don't use BP_SYM.
38450 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38451 <bp-asm.h>.
38452 (memset): Don't use BP_SYM.
38453 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38454 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38455 (__bzero): Don't use BP_SYM.
38456 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38457 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38459 <bp-sym.h> and <bp-asm.h>.
38460 (memcmp): Don't use BP_SYM. Remove comment about bounded
38461 pointers.
38462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38463 <bp-sym.h> and <bp-asm.h>.
38464 (memcpy): Don't use BP_SYM.
38465 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38466 <bp-sym.h> and <bp-asm.h>.
38467 (memset): Don't use BP_SYM.
38468 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38469 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38470 (__bzero): Don't use BP_SYM.
38471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38473 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38474 <bp-sym.h> and <bp-asm.h>.
38475 (strncmp): Don't use BP_SYM. Remove comment about bounded
38476 pointers.
38477 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38478 <bp-sym.h> and <bp-asm.h>.
38479 (memcpy): Don't use BP_SYM.
38480 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38481 <bp-sym.h> and <bp-asm.h>.
38482 (memset): Don't use BP_SYM.
38483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38485 (__bzero): Don't use BP_SYM.
38486 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38487 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38489 <bp-sym.h> and <bp-asm.h>.
38490 (__memchr): Don't use BP_SYM.
38491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38492 <bp-sym.h> and <bp-asm.h>.
38493 (memcmp): Don't use BP_SYM. Remove comment about bounded
38494 pointers.
38495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38496 <bp-sym.h> and <bp-asm.h>.
38497 (memcpy): Don't use BP_SYM.
38498 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38499 <bp-sym.h> and <bp-asm.h>.
38500 (__mempcpy): Don't use BP_SYM.
38501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38502 <bp-sym.h> and <bp-asm.h>.
38503 (__memrchr): Don't use BP_SYM.
38504 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38505 <bp-sym.h> and <bp-asm.h>.
38506 (memset): Don't use BP_SYM.
38507 (__bzero): Likewise.
38508 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38509 <bp-sym.h> and <bp-asm.h>.
38510 (__rawmemchr): Don't use BP_SYM.
38511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38512 <bp-sym.h> and <bp-asm.h>.
38513 (__STRCMP): Don't use BP_SYM.
38514 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38515 <bp-sym.h> and <bp-asm.h>.
38516 (strchr): Don't use BP_SYM.
38517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38518 <bp-sym.h> and <bp-asm.h>.
38519 (__strchrnul): Don't use BP_SYM.
38520 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38521 <bp-sym.h> and <bp-asm.h>.
38522 (strlen): Don't use BP_SYM.
38523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38524 <bp-sym.h> and <bp-asm.h>.
38525 (strncmp): Don't use BP_SYM. Remove comment about bounded
38526 pointers.
38527 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38528 <bp-sym.h> and <bp-asm.h>.
38529 (__strnlen): Don't use BP_SYM.
38530 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38531 <bp-sym.h> and <bp-asm.h>.
38532 (__GI__setjmp): Don't use BP_SYM.
38533 (_setjmp): Likewise.
38534 (__sigsetjmp): Likewise.
38535 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38536 (L(start_addresses)): Don't use BP_SYM.
38537 (_start): Likewise.
38538 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38539 <bp-asm.h>.
38540 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38541 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38542 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38543 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38544 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38545 <bp-asm.h>.
38546 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38547 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38548 about bounded pointers.
38549 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38550 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38551 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38552 <bp-asm.h>.
38553 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38554 about bounded pointers. Remove GKM FIXME comments.
38555 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38556 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38557 <bp-asm.h>.
38558 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38559 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38560 Remove GKM FIXME comments.
38561 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38562 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38563 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38564 <bp-asm.h>.
38565 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38566 about bounded pointers. Remove GKM FIXME comment.
38567 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38568 and <bp-asm.h>.
38569 (strncmp): Don't use BP_SYM. Remove comment about bounded
38570 pointers.
38571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38572 <bp-sym.h> and <bp-asm.h>.
38573 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38575 <bp-sym.h> and <bp-asm.h>.
38576 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38577 comment.
38578
38579 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38580
38581 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38582 call free(NULL).
38583
38584 2013-03-05 David S. Miller <davem@davemloft.net>
38585
38586 * po/es.po: Update from translation team.
38587
38588 2013-03-05 Andreas Jaeger <aj@suse.de>
38589
38590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38591 <bits/mman-linux.h>.
38592 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38593 is fine.
38594 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38595 <bits/mman-linux.h> to end of file.
38596 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38597 is fine.
38598 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38599 <bits/mman-linux.h> to end of file.
38600 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38601 is fine.
38602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38603 <bits/mman-linux.h> to end of file.
38604
38605 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38606 (MCL_CURRENT, MCL_FUTURE): Define here.
38607
38608 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38609
38610 [BZ #15232]
38611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38612 attribute_hidden.
38613 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38614
38615 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38616
38617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38618 fourth parameter needed for rt_sigprocmask syscall.
38619 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38620 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38622 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38623 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38624 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38625
38626 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38627
38628 [BZ #13550]
38629 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38630 comment about bounded pointers.
38631 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38632 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38633
38634 2013-03-04 Andreas Jaeger <aj@suse.de>
38635
38636 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38637 common definitions.
38638
38639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38640 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38645
38646 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38647
38648 [BZ #15055]
38649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38650 __ieee754_sqrl instead of __sqrl.
38651
38652 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38653
38654 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38655 * sysdeps/powerpc/fpu_control.h: ... here.
38656 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38657 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38658 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38659 * sysdeps/powerpc/bits/mathinline.h: ... here.
38660
38661 2013-03-01 Roland McGrath <roland@hack.frob.com>
38662
38663 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38664 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38665 to just [NEED_DL_SYSINFO_DSO].
38666 * elf/dl-support.c: Likewise.
38667 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38668 * elf/rtld.c (dl_main): Likewise.
38669 * elf/setup-vdso.h (setup_vdso): Likewise.
38670 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38671 * sysdeps/unix/sysv/linux/dl-sysdep.c
38672 (_dl_discover_osversion): Likewise.
38673
38674 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38675
38676 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38677 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38678
38679 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38680
38681 * NEWS: Mention libm performance improvements and non-x86 PI
38682 futex support.
38683
38684 * csu/libc-start.c (__pthread_initialize_minimal): Change
38685 function arguments.
38686 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38687
38688 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38689
38690 [BZ #13550]
38691 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38692 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38693 <bp-sym.h> and <bp-asm.h>.
38694 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38695 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38696 and <bp-asm.h>.
38697 (memcpy): Don't use BP_SYM.
38698 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38699 <bp-asm.h>.
38700 (__mpn_add_n): Don't use BP_SYM.
38701 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38702 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38703 and <bp-asm.h>.
38704 (__mpn_addmul_1): Don't use BP_SYM.
38705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38706 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38707 <bp-sym.h>.
38708 (_setjmp): Don't use BP_SYM.
38709 (__novmx_setjmp): Likewise.
38710 (__GI__setjmp): Likewise.
38711 (__vmx_setjmp): Likewise.
38712 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38713 <bp-sym.h>.
38714 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38715 (__bzero): Don't use BP_SYM.
38716 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38717 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38719 <bp-sym.h> and <bp-asm.h>.
38720 (memcpy): Don't use BP_SYM.
38721 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38722 <bp-sym.h> and <bp-asm.h>.
38723 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38724 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38725 <bp-sym.h> and <bp-asm.h>.
38726 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38727 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38728 <bp-asm.h>.
38729 (__mpn_lshift): Don't use BP_SYM.
38730 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38731 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38732 <bp-asm.h>.
38733 (memset): Don't use BP_SYM.
38734 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38735 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38736 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38737 <bp-asm.h>.
38738 (__mpn_mul_1): Don't use BP_SYM.
38739 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38741 <bp-sym.h> and <bp-asm.h>.
38742 (memcmp): Don't use BP_SYM.
38743 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38744 <bp-sym.h> and <bp-asm.h>.
38745 (memcpy): Don't use BP_SYM.
38746 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38747 <bp-sym.h> and <bp-asm.h>.
38748 (memset): Don't use BP_SYM.
38749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38750 <bp-sym.h> and <bp-asm.h>.
38751 (strncmp): Don't use BP_SYM.
38752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38753 <bp-sym.h> and <bp-asm.h>.
38754 (memcpy): Don't use BP_SYM.
38755 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38756 <bp-sym.h> and <bp-asm.h>.
38757 (memset): Don't use BP_SYM.
38758 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38759 <bp-sym.h> and <bp-asm.h>.
38760 (__memchr): Don't use BP_SYM.
38761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38762 <bp-sym.h> and <bp-asm.h>.
38763 (memcmp): Don't use BP_SYM.
38764 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38765 <bp-sym.h> and <bp-asm.h>.
38766 (memcpy): Don't use BP_SYM.
38767 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38768 <bp-sym.h> and <bp-asm.h>.
38769 (__mempcpy): Don't use BP_SYM.
38770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38771 <bp-sym.h> and <bp-asm.h>.
38772 (__memrchr): Don't use BP_SYM.
38773 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38774 <bp-sym.h> and <bp-asm.h>.
38775 (memset): Don't use BP_SYM.
38776 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38777 <bp-sym.h> and <bp-asm.h>.
38778 (__rawmemchr): Don't use BP_SYM.
38779 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38780 <bp-sym.h> and <bp-asm.h>.
38781 (__STRCMP): Don't use BP_SYM.
38782 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38783 <bp-sym.h> and <bp-asm.h>.
38784 (strchr): Don't use BP_SYM.
38785 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38786 <bp-sym.h> and <bp-asm.h>.
38787 (__strchrnul): Don't use BP_SYM.
38788 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38789 <bp-sym.h> and <bp-asm.h>.
38790 (strlen): Don't use BP_SYM.
38791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38792 <bp-sym.h> and <bp-asm.h>.
38793 (strncmp): Don't use BP_SYM.
38794 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38795 <bp-sym.h> and <bp-asm.h>.
38796 (__strnlen): Don't use BP_SYM.
38797 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38798 <bp-asm.h>.
38799 (__mpn_rshift): Don't use BP_SYM.
38800 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38801 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38802 <bp-sym.h> and <bp-asm.h>.
38803 (__sigsetjmp): Don't use BP_SYM.
38804 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38805 (L(start_addresses)): Don't use BP_SYM.
38806 (_start): Likewise.
38807 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38808 <bp-asm.h>.
38809 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38810 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38811 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38812 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38813 <bp-asm.h>.
38814 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38815 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38816 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38817 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38818 <bp-asm.h>.
38819 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38820 comments.
38821 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38822 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38823 <bp-asm.h>.
38824 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38825 FIXME comments.
38826 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38827 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38828 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38829 <bp-asm.h>.
38830 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38831 comment.
38832 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38833 and <bp-asm.h>.
38834 (strncmp): Don't use BP_SYM,
38835 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38836 <bp-asm.h>.
38837 (__mpn_sub_n): Don't use BP_SYM.
38838 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38839 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38840 and <bp-asm.h>.
38841 (__mpn_submul_1): Don't use BP_SYM.
38842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38844 <bp-sym.h> and <bp-asm.h>.
38845 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38847 <bp-sym.h> and <bp-asm.h>.
38848 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38849 comment.
38850
38851 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38852
38853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38854 Use ZK to minimize writes to Z.
38855 (sub_magnitudes): Simplify code a bit.
38856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38857 Use ZK to minimize writes to Z.
38858 (sub_magnitudes): Simplify code a bit.
38859
38860 2013-02-27 Roland McGrath <roland@hack.frob.com>
38861
38862 * csu/gmon-start.c: Add special exception to license text.
38863
38864 2013-02-27 Richard Henderson <rth@redhat.com>
38865
38866 * scripts/config.guess: Update from config.git.
38867 * scripts/config.sub: Likewise.
38868
38869 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38870
38871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38872
38873 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38874
38875 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38876
38877 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38878
38879 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38880
38881 2013-02-26 Roland McGrath <roland@hack.frob.com>
38882
38883 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38884 [$(build-shared = yes].
38885
38886 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38887
38888 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38889 (__mul): Reduce iterations for calculating mantissa.
38890
38891 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38892 MPTWO.
38893 (__mpranred): Likewise.
38894
38895 [BZ #15160]
38896 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38897 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38898
38899 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
38900
38901 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38902 Define __attribute__.
38903
38904 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38905
38906 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38907 unused.
38908 * posix/regex_internal.h (__attribute): Remove.
38909 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38910 (re_string_context_at): Likewise.
38911 (bitset_not): Use __attribute__ and mark function as possibly
38912 unused.
38913 (bitset_merge): Likewise.
38914 (bitset_mask): Likewise.
38915 (re_string_char_size_at): Likewise.
38916 (re_string_wchar_at): Likewise.
38917 (re_string_elem_size_at): Likewise.
38918
38919 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38920
38921 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38922 code.
38923 (cc32): Likewise.
38924
38925 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38926 (__acr): Likewise.
38927 (__cpy): Likewise.
38928 (norm): Likewise.
38929 (denorm): Likewise.
38930 (__dbl_mp): Likewise.
38931 (add_magnitudes): Likewise.
38932 (sub_magnitudes): Likewise.
38933 (__mul): Likewise.
38934 (__inv): Likewise.
38935
38936 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38937 style.
38938
38939 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38940 style.
38941
38942 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38943 code.
38944
38945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38946 up changes with default code.
38947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38948 Likewise.
38949
38950 2013-02-24 Allan McRae <allan@archlinux.org>
38951
38952 * manual/socket.texi (The Internet Namespace): Order menu items
38953 to match that in the file.
38954
38955 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38956 node listing of the info page menu.
38957
38958 2013-02-21 Joseph Myers <joseph@codesourcery.com>
38959
38960 [BZ #13550]
38961 * sysdeps/i386/bp-asm.h: Remove file.
38962 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38963 (PARMS): Do not use macros from bp-asm.h.
38964 (S1): Likewise.
38965 (S2): Likewise.
38966 (SIZE): Likewise.
38967 (__mpn_add_n): Do not use BP_SYM
38968 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38969 "bp-asm.h".
38970 (PARMS): Do not use macros from bp-asm.h.
38971 (S1): Likewise.
38972 (SIZE): Likewise.
38973 (__mpn_addmul_1): Do not use BP_SYM
38974 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38975 "bp-asm.h".
38976 (PARMS): Do not use macros from bp-asm.h.
38977 (SIGMSK): Likewise.
38978 (_setjmp): Likewise. Do not use BP_SYM.
38979 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38980 "bp-asm.h".
38981 (PARMS): Do not use macros from bp-asm.h.
38982 (SIGMSK): Likewise.
38983 (setjmp): Likewise. Do not use BP_SYM.
38984 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38985 "bp-asm.h".
38986 (PARMS): Do not use macros from bp-asm.h.
38987 (__frexp): Do not use BP_SYM.
38988 (frexp): Likewise.
38989 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38990 "bp-asm.h".
38991 (PARMS): Do not use macros from bp-asm.h.
38992 (__frexpf): Do not use BP_SYM.
38993 (frexpf): Likewise.
38994 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38995 "bp-asm.h".
38996 (PARMS): Do not use macros from bp-asm.h.
38997 (__frexpl): Do not use BP_SYM.
38998 (frexpl): Likewise.
38999 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39000 "bp-asm.h".
39001 (PARMS): Do not use macros from bp-asm.h.
39002 (__remquo): Do not use BP_SYM.
39003 (remquo): Likewise.
39004 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39005 "bp-asm.h".
39006 (PARMS): Do not use macros from bp-asm.h.
39007 (__remquof): Do not use BP_SYM.
39008 (remquof): Likewise.
39009 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39010 "bp-asm.h".
39011 (PARMS): Do not use macros from bp-asm.h.
39012 (__remquol): Do not use BP_SYM.
39013 (remquol): Likewise.
39014 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39015 "bp-asm.h".
39016 (PARMS): Do not use macros from bp-asm.h.
39017 (DEST): Likewise.
39018 (SRC): Likewise.
39019 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39020 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39021 "bp-asm.h".
39022 (PARMS): Do not use macros from bp-asm.h.
39023 (strlen): Do not use BP_SYM.
39024 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39025 "bp-asm.h".
39026 (PARMS): Do not use macros from bp-asm.h.
39027 (S1): Likewise.
39028 (S2): Likewise.
39029 (SIZE): Likewise.
39030 (__mpn_add_n): Do not use BP_SYM.
39031 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39032 "bp-asm.h".
39033 (PARMS): Do not use macros from bp-asm.h.
39034 (S1): Likewise.
39035 (SIZE): Likewise.
39036 (__mpn_addmul_1): Do not use BP_SYM.
39037 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39038 weak_alias.
39039 (bzero): Likewise.
39040 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39041 "bp-asm.h".
39042 (PARMS): Do not use macros from bp-asm.h.
39043 (S): Likewise.
39044 (SIZE): Likewise.
39045 (__mpn_lshift): Do not use BP_SYM.
39046 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39047 "bp-asm.h".
39048 (PARMS): Do not use macros from bp-asm.h.
39049 (DEST): Likewise.
39050 (SRC): Likewise.
39051 (LEN): Likewise.
39052 (memcpy): Likewise. Do not use BP_SYM.
39053 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39054 libc_hidden_def and weak_alias.
39055 (mempcpy): Do not use BP_SYM in weak_alias.
39056 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39057 "bp-asm.h".
39058 (PARMS): Do not use macros from bp-asm.h.
39059 (DEST): Likewise.
39060 (LEN): Likewise.
39061 [!BZERO_P] (CHR): Likewise.
39062 (memset): Likewise. Do not use BP_SYM.
39063 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39064 "bp-asm.h".
39065 (PARMS): Do not use macros from bp-asm.h.
39066 (S1): Likewise.
39067 (SIZE): Likewise.
39068 (__mpn_mul_1): Do not use BP_SYM.
39069 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39070 "bp-asm.h".
39071 (PARMS): Do not use macros from bp-asm.h.
39072 (S): Likewise.
39073 (SIZE): Likewise.
39074 (__mpn_rshift): Do not use BP_SYM.
39075 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39076 "bp-asm.h".
39077 (PARMS): Do not use macros from bp-asm.h.
39078 (STR): Likewise.
39079 (CHR): Likewise.
39080 (strchr): Likewise. Do not use BP_SYM.
39081 (index): Do not use BP_SYM in weak_alias.
39082 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39083 "bp-asm.h".
39084 (PARMS): Do not use macros from bp-asm.h.
39085 (DEST): Likewise.
39086 (SRC): Likewise.
39087 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39088 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39089 "bp-asm.h".
39090 (PARMS): Do not use macros from bp-asm.h.
39091 (strlen): Do not use BP_SYM.
39092 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39093 "bp-asm.h".
39094 (PARMS): Do not use macros from bp-asm.h.
39095 (S1): Likewise.
39096 (S2): Likewise.
39097 (SIZE): Likewise.
39098 (__mpn_sub_n): Do not use BP_SYM.
39099 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39100 "bp-asm.h".
39101 (PARMS): Do not use macros from bp-asm.h.
39102 (S1): Likewise.
39103 (SIZE): Likewise.
39104 (__mpn_submul_1): Do not use BP_SYM.
39105 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39106 "bp-asm.h".
39107 (PARMS): Do not use macros from bp-asm.h.
39108 (S1): Likewise.
39109 (S2): Likewise.
39110 (SIZE): Likewise.
39111 (__mpn_add_n): Do not use BP_SYM.
39112 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39113 weak_alias.
39114 (bzero): Likewise.
39115 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39116 "bp-asm.h".
39117 (PARMS): Do not use macros from bp-asm.h.
39118 (BLK2): Likewise.
39119 (LEN): Likewise.
39120 (memcmp): Do not use BP_SYM.
39121 (bcmp): Do not use BP_SYM in weak_alias.
39122 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39123 "bp-asm.h".
39124 (PARMS): Do not use macros from bp-asm.h.
39125 (DEST): Likewise.
39126 (SRC): Likewise.
39127 (LEN): Likewise.
39128 (memcpy): Likewise. Do not use BP_SYM.
39129 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39130 "bp-asm.h".
39131 (PARMS): Do not use macros from bp-asm.h.
39132 (DEST): Likewise.
39133 (SRC): Likewise.
39134 (LEN): Likewise.
39135 (memmove): Likewise. Do not use BP_SYM.
39136 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39137 "bp-asm.h".
39138 (PARMS): Do not use macros from bp-asm.h.
39139 (DEST): Likewise.
39140 (SRC): Likewise.
39141 (LEN): Likewise.
39142 (__mempcpy): Likewise. Do not use BP_SYM.
39143 (mempcpy): Do not use BP_SYM in weak_alias.
39144 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39145 "bp-asm.h".
39146 (PARMS): Do not use macros from bp-asm.h.
39147 (DEST): Likewise.
39148 (LEN): Likewise.
39149 [!BZERO_P] (CHR): Likewise.
39150 (memset): Likewise. Do not use BP_SYM.
39151 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39152 "bp-asm.h".
39153 (PARMS): Do not use macros from bp-asm.h.
39154 (STR2): Likewise.
39155 (strcmp): Do not use BP_SYM.
39156 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39157 "bp-asm.h".
39158 (PARMS): Do not use macros from bp-asm.h.
39159 (STR): Likewise.
39160 (DELIM): Likewise.
39161 [USE_AS_STRTOK_R] (SAVE): Likewise.
39162 (FUNCTION): Likewise. Do not use BP_SYM.
39163 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39164 aliases.
39165 (strtok_r): Likewise.
39166 (__GI___strtok_r): Likewise.
39167 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39168 (PARMS): Do not use macros from bp-asm.h.
39169 (S): Likewise.
39170 (SIZE): Likewise.
39171 (__mpn_lshift): Do not use BP_SYM.
39172 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39173 (PARMS): Do not use macros from bp-asm.h.
39174 (STR): Likewise.
39175 (CHR): Likewise.
39176 (__memchr): Do not use BP_SYM.
39177 (memchr): Do not use BP_SYM in weak_alias.
39178 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39179 (PARMS): Do not use macros from bp-asm.h.
39180 (BLK2): Likewise.
39181 (LEN): Likewise.
39182 (memcmp): Do not use BP_SYM.
39183 (bcmp): Do not use BP_SYM in weak_alias.
39184 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39185 (PARMS): Do not use macros from bp-asm.h.
39186 (S1): Likewise.
39187 (SIZE): Likewise.
39188 (__mpn_mul_1): Do not use BP_SYM.
39189 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39190 "bp-asm.h".
39191 (PARMS): Do not use macros from bp-asm.h.
39192 (STR): Likewise.
39193 (CHR): Likewise.
39194 (__rawmemchr): Do not use BP_SYM.
39195 (rawmemchr): Do not use BP_SYM in weak_alias.
39196 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39197 (PARMS): Do not use macros from bp-asm.h.
39198 (S): Likewise.
39199 (SIZE): Likewise.
39200 (__mpn_rshift): Do not use BP_SYM.
39201 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39202 (PARMS): Do not use macros from bp-asm.h.
39203 (SIGMSK): Likewise.
39204 (__sigsetjmp): Likewise. Do not use BP_SYM.
39205 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39206 (_start): Do not use BP_SYM.
39207 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39208 (PARMS): Do not use macros from bp-asm.h.
39209 (DEST): Likewise.
39210 (SRC): Likewise.
39211 (__stpcpy): Likewise. Do not use BP_SYM.
39212 (stpcpy): Do not use BP_SYM in weak_alias.
39213 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39214 "bp-asm.h".
39215 (PARMS): Do not use macros from bp-asm.h.
39216 (DEST): Likewise.
39217 (SRC): Likewise.
39218 (LEN): Likewise.
39219 (__stpncpy): Likewise. Do not use BP_SYM.
39220 (stpncpy): Do not use BP_SYM in weak_alias.
39221 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39222 (PARMS): Do not use macros from bp-asm.h.
39223 (STR): Likewise.
39224 (CHR): Likewise.
39225 (strchr): Likewise. Do not use BP_SYM.
39226 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39227 "bp-asm.h".
39228 (PARMS): Do not use macros from bp-asm.h.
39229 (STR): Likewise.
39230 (CHR): Likewise.
39231 (__strchrnul): Likewise. Do not use BP_SYM.
39232 (strchrnul): Do not use BP_SYM in weak_alias.
39233 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39234 "bp-asm.h".
39235 (PARMS): Do not use macros from bp-asm.h.
39236 (STOP): Likewise.
39237 (strcspn): Do not use BP_SYM.
39238 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39239 "bp-asm.h".
39240 (PARMS): Do not use macros from bp-asm.h.
39241 (STR): Likewise.
39242 (STOP): Likewise.
39243 (strpbrk): Likewise. Do not use BP_SYM.
39244 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39245 "bp-asm.h".
39246 (PARMS): Do not use macros from bp-asm.h.
39247 (STR): Likewise.
39248 (CHR): Likewise.
39249 (strrchr): Likewise. Do not use BP_SYM.
39250 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39251 (PARMS): Do not use macros from bp-asm.h.
39252 (SKIP): Likewise.
39253 (strspn): Do not use BP_SYM.
39254 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39255 (PARMS): Do not use macros from bp-asm.h.
39256 (STR): Likewise.
39257 (DELIM): Likewise.
39258 (SAVE): Likewise.
39259 (FUNCTION): Likewise. Do not use BP_SYM.
39260 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39261 aliases.
39262 (strtok_r): Likewise.
39263 (__GI___strtok_r): Likewise.
39264 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39265 (PARMS): Do not use macros from bp-asm.h.
39266 (S1): Likewise.
39267 (S2): Likewise.
39268 (SIZE): Likewise.
39269 (__mpn_sub_n): Do not use BP_SYM.
39270 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39271 "bp-asm.h".
39272 (PARMS): Do not use macros from bp-asm.h.
39273 (S1): Likewise.
39274 (SIZE): Likewise.
39275 (__mpn_submul_1): Do not use BP_SYM.
39276 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39277 <bp-sym.h>.
39278 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39279 and <bp-asm.h>.
39280 (PARMS): Do not use macros from bp-asm.h.
39281 (FLAGS): Likewise.
39282 (PTID): Likewise.
39283 (TLS): Likewise.
39284 (CTID): Likewise.
39285 (__clone): Do not use BP_SYM.
39286 (clone): Do not use BP_SYM in weak_alias.
39287 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39288 and <bp-asm.h>.
39289 (PARMS): Do not use macros from bp-asm.h.
39290 (LEN): Likewise.
39291 (__mmap64): Do not use BP_SYM.
39292 (mmap64): Do not use BP_SYM in weak_alias.
39293 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39294 <bp-sym.h> and <bp-asm.h>.
39295 (PARMS): Do not use macros from bp-asm.h.
39296 (__posix_fadvise64_l64): Do not use BP_SYM.
39297 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39298 (PARMS): Do not use macros from bp-asm.h.
39299 (NSOPS): Likewise.
39300 (semtimedop): Do not use BP_SYM.
39301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39302 and <bp-asm.h>.
39303
39304 2013-02-21 Allan McRae <allan@archlinux.org>
39305
39306 * manual/message.texi (Charset conversion in gettext):
39307 Move @end statement to beginning of line.
39308
39309 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39310
39311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39312 static.
39313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39314 Likewise.
39315
39316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39317 (denorm): Likewise.
39318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39320
39321 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39322
39323 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39324 tail-call to the resolved function if pltexit isn't needed.
39325
39326 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39327
39328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39329 or Y being zero as being unlikely.
39330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39331 Likewise.
39332
39333 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39334
39335 * manual/nss.texi (System Databases and Name Service Switch):
39336 Remove frobnicate @pxref.
39337
39338 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39339
39340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39341 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39342
39343 2013-02-20 Petr Machata <pmachata@redhat.com>
39344
39345 * elf/elf.h (R_ARM_TARGET1): New macro.
39346 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39347 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39348 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39349 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39350 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39351 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39352 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39353 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39354 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39355 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39356 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39357 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39358 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39359 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39360 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39361 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39362 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39363 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39364 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39365 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39366 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39367 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39368 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39369 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39370 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39371 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39372 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39373 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39374 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39375 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39376 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39377 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39378 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39379 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39380 (R_ARM_THM_GOT_BREL12): Likewise.
39381 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39382 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39383 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39384 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39385 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39386 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39387 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39388 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39389 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39390
39391 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39392
39393 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39394 __attribute_used__ to __attribute__ ((unused)).
39395
39396 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39397
39398 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39399 powerpc mpa.c.
39400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39401 comment formatting.
39402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39403
39404 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39405
39406 [BZ #13550]
39407 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39408 Remove macro.
39409 (ENTER): Remove both macro definitions.
39410 (LEAVE): Likewise.
39411 (CHECK_BOUNDS_LOW): Likewise.
39412 (CHECK_BOUNDS_HIGH): Likewise.
39413 (CHECK_BOUNDS_BOTH): Likewise.
39414 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39415 (RETURN_BOUNDED_POINTER): Likewise.
39416 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39417 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39418 (POP_ERRNO_LOCATION_RETURN): Likewise.
39419 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39420 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39421 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39422 macros.
39423 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39424 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39425 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39426 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39427 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39428 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39429 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39430 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39431 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39432 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39433 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39434 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39435 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39436 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39437 removed macros.
39438 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39439 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39440 macros.
39441 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39442 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39443 * sysdeps/i386/i586/memset.S (memset): Likewise.
39444 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39445 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39446 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39447 macros.
39448 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39449 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39450 Change uses of L(2) to L(out).
39451 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39452 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39453 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39454 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39455 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39456 removed macros.
39457 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39458 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39459 macros.
39460 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39461 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39462 (RETURN): Do not use macro LEAVE.
39463 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39464 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39465 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39466 * sysdeps/i386/i686/memset.S (memset): Likewise.
39467 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39468 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39469 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39470 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39471 Likewise.
39472 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39473 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39474 L(1_2) and L(1_3) into L(1).
39475 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39476 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39477 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39478 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39479 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39480 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39481 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39482 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39483 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39484 macros.
39485 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39486 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39487 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39488 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39489 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39490 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39491 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39492 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39493 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39494 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39495 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39496 * sysdeps/i386/strspn.S (strspn): Likewise.
39497 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39498 conditional code.
39499 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39500 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39501 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39502 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39503 L(1_3) into L(1_1).
39504 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39506 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39507 macros.
39508 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39509
39510 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39511
39512 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39513 macro.
39514
39515 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39516
39517 * math/atest-exp.c (exp_mpn): Remove ROUND.
39518 * math/atest-exp2.c (exp_mpn): Likewise.
39519 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39520
39521 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39522 * stdlib/tst-tls-atexit-lib.c: Likewise.
39523 * stdlib/tst-tls-atexit.c: Likewise.
39524
39525 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39526
39527 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39528 and __attribute_alloc_size__.
39529
39530 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39531
39532 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39533 __attribute_alloc_size__.
39534 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39535 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39536
39537 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39538
39539 * include/programs/xmalloc.h: New file.
39540 * catgets/gencat.c: Include it.
39541 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39542 * elf/pldd.c: Likewise.
39543 * iconv/iconv_charmap.c: Likewise.
39544 * iconv/iconvconfig.c: Likewise.
39545 * iconv/strtab.c: Likewise.
39546 * locale/programs/locale.c: Likewise.
39547 * locale/programs/localedef.h: Likewise.
39548 * locale/programs/simple-hash.c: Likewise.
39549 * nscd/nscd.h: Likewise.
39550 * nss/makedb.c: Likewise.
39551 * sysdeps/generic/ldconfig.h: Likewise.
39552
39553 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39554
39555 * Versions.def: Add GLIBC_2.18.
39556 * include/link.h (struct link_map): New member l_tls_dtor_count.
39557 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39558 (__call_tls_dtors): Likewise.
39559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39560 __cxa_thread_atexit_impl.
39561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39562 Likewise.
39563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39564 Likewise.
39565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39566 Likewise.
39567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39568 Likewise.
39569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39571 Likewise.
39572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39573 Likewise.
39574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39576 Likewise.
39577 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39578 (tests): Add test case tst-tls-atexit.
39579 (modules-names): Add shared library for tst-tls-atexit.
39580 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39581 (GLIBC_PRIVATE): Add __call_tls_dtors.
39582 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39583 for libstdc++.
39584 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39585 * stdlib/tst-tls-atexit.c: New test case.
39586 * stdlib/tst-tls-atexit-lib.c: New test case.
39587
39588 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39589
39590 * elf/Versions (ld): Add _dl_find_dso_for_object.
39591 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39592 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39593 (dl_open_worker): Use _dl_find_dso_for_object.
39594 * elf/dl-sym.c (do_sym): Likewise.
39595 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39596
39597 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39598
39599 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39600 Syntactic changes only.
39601 (_dl_runtime_profile): Do a tail-call to the resolved function.
39602
39603 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39604
39605 [BZ #13550]
39606 * sysdeps/x86_64/bp-asm.h: Remove file.
39607 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39608 <bp-sym.h> and <bp-asm.h>.
39609 (__clone): Do not use BP_SYM.
39610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39611 <bp-sym.h> and <bp-asm.h>.
39612 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39613 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39614 "bp-asm.h".
39615 (_setjmp): Do not use BP_SYM.
39616 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39617 "bp-asm.h".
39618 (setjmp): Do not use BP_SYM.
39619 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39620 libc_hidden_def.
39621 (mempcpy): Do not use BP_SYM in weak_alias.
39622 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39623 "bp-asm.h".
39624 (strchr): Do not use BP_SYM.
39625 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39626 "bp-asm.h".
39627 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39628 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39629 (_start): Do not use BP_SYM.
39630 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39631 "bp-asm.h".
39632 (strcat): Do not use BP_SYM.
39633 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39634 "bp-asm.h".
39635 (STRCMP): Do not use BP_SYM.
39636 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39637 "bp-asm.h".
39638 (STRCPY): Do not use BP_SYM.
39639 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39640 "bp-asm.h".
39641 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39642 "bp-asm.h".
39643 (FUNCTION): Do not use BP_SYM.
39644 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39645 weak_alias.
39646 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39647
39648 2013-02-17 Andreas Jaeger <aj@suse.de>
39649
39650 * time/Versions: Sort entries.
39651 * string/Versions: Likewise.
39652 * resolv/Versions: Likewise.
39653 * posix/Versions: Likewise.
39654 * iconv/Versions: Likewise.
39655 * elf/Versions: Likewise.
39656 * wcsmbs/Versions: Likewise.
39657
39658 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39659
39660 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39661 loop termination condition.
39662
39663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39664 variable to calculate EZ.
39665 (__sqr): Likewise.
39666
39667 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39668 the lower precision input.
39669
39670 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39671
39672 [BZ #13550]
39673 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39674 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39675 (run-via-rtld-prefix): Do not handle %-bp tests.
39676 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39677 (all-object-suffixes): Remove .ob.
39678 (bppfx): Remove variable.
39679 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39680 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39681 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39682 [$(build-bounded) = yes] (libtype.ob): Likewise.
39683 * Makerules (elide-routines.ob): Remove variable.
39684 (do-tests-clean): Do not handle *-bp.out.
39685 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39686 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39687 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39688 (tests): Do not include $(tests-bp.out).
39689 (xtests): Do not include $(xtests-bp.out).
39690 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39691 [$(build-bounded) = yes] ($(addprefix
39692 $(objpfx),$(binaries-bounded))): Remove rule.
39693 ($(objpfx)%-bp.out): Remove rule.
39694 * config.make.in (build-bounded): Remove variable.
39695 * crypt/Makefile [$(build-bounded) = yes]
39696 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39697 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39698 append to variable.
39699 [$(build-bounded) = yes] (install-lib): Likewise.
39700 [$(build-bounded) = yes] (generated): Likewise.
39701 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39702 Remove rule.
39703 * intl/Makefile [$(build-bounded) = yes]
39704 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39705 * math/Makefile [$(build-bounded) = yes]
39706 ($(tests:%=$(objpfx)%-bp): Likewise.
39707 * misc/Makefile [$(build-bounded) = yes]
39708 ($(objpfx)tst-tsearch-bp): Likewise.
39709 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39710 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39711 Remove dependency.
39712 * string/Makefile (o-objects.ob): Remove variable.
39713 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39714 (CFLAGS-.ob): Remove variable.
39715 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39716 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39717 both definitions of variable.
39718 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39719 (ASFLAGS-.ob): Remove variable.
39720
39721 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39722
39723 [BZ #13550]
39724 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39725 Remove __BOUNDED_POINTERS__ from condition.
39726 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39727 * string/bits/string2.h [!__NO_STRING_INLINES &&
39728 !__BOUNDED_POINTERS__]: Likewise.
39729 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39730 Likewise.
39731 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39732 Remove conditional code.
39733 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39734 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39735 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39736 condition.
39737
39738 [BZ #13550]
39739 * csu/libc-start.c: Do not include <bp-sym.h>.
39740 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39741 * elf/dl-open.c: Do not include <bp-sym.h>.
39742 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39743 * math/fegetenv.c: Do not include <bp-sym.h>.
39744 (fegetenv): Do not use BP_SYM in versioned symbols.
39745 * nptl/sysdeps/pthread/bits/libc-lockP.h
39746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39747 <bp-sym.h>.
39748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39749 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39751 (__pthread_mutex_destroy): Likewise.
39752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39753 (__pthread_mutex_lock): Likewise.
39754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39755 (__pthread_mutex_trylock): Likewise.
39756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39757 (__pthread_mutex_unlock): Likewise.
39758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39759 (__pthread_mutexattr_init): Likewise.
39760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39761 (__pthread_mutexattr_destroy): Likewise.
39762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39763 (__pthread_mutexattr_settype): Likewise.
39764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39765 (__pthread_rwlock_init): Likewise.
39766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39767 (__pthread_rwlock_destroy): Likewise.
39768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39769 (__pthread_rwlock_rdlock): Likewise.
39770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39771 (__pthread_rwlock_tryrdlock): Likewise.
39772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39773 (__pthread_rwlock_wrlock): Likewise.
39774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39775 (__pthread_rwlock_trywrlock): Likewise.
39776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39777 (__pthread_rwlock_unlock): Likewise.
39778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39779 (__pthread_key_create): Likewise.
39780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39781 (__pthread_setspecific): Likewise.
39782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39783 (__pthread_getspecific): Likewise.
39784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39785 Likewise.
39786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39787 (_pthread_cleanup_push_defer): Likewise.
39788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39789 (_pthread_cleanup_pop_restore): Likewise.
39790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39791 (pthread_setcancelstate): Likewise.
39792 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39793 <bp-sym.h>.
39794 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39795 (memchr): Do not use BP_SYM in weak_alias.
39796 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39797 (fegetenv): Do not use BP_SYM in versioned symbols.
39798 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39799 (fesetenv): Do not use BP_SYM in versioned symbols.
39800 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39801 (feupdateenv): Do not use BP_SYM in versioned symbols.
39802 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39803 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39804 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39805 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39806 (open64): Do not use BP_SYM in weak_alias.
39807 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39808 (fegetenv): Do not use BP_SYM in versioned symbols.
39809 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39810 (fesetenv): Do not use BP_SYM in versioned symbols.
39811 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39812 (feupdateenv): Do not use BP_SYM in versioned symbols.
39813 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39814 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39815 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39816 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39817 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39818 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39820 <bp-sym.h>.
39821 (__libc_start_main): Do not use BP_SYM.
39822
39823 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39824
39825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39826 redundant return line.
39827 (norm): Likewise.
39828 (denorm): Likewise.
39829 (dbl_mp): Likewise.
39830 (sub_magnitudes): Likewise.
39831 (__add): Likewise.
39832 (__sub): Likewise.
39833 (__mul): Likewise.
39834 (__inv): Likewise.
39835 (__dvd): Likewise.
39836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39837 (norm): Likewise.
39838 (denorm): Likewise.
39839 (dbl_mp): Likewise.
39840 (sub_magnitudes): Likewise.
39841 (__add): Likewise.
39842 (__sub): Likewise.
39843 (__mul): Likewise.
39844 (__inv): Likewise.
39845 (__dvd): Likewise.
39846
39847 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39848 instead of __mul.
39849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39850 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39851 (cc32): Likewise.
39852
39853 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39854 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39856 of __mul for squares.
39857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39858 function
39859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39860 Likewise.
39861 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39862 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39863
39864 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39865
39866 [BZ #13550]
39867 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39868 code.
39869 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39870 prototype or function definition. Rename ubp_* variables and
39871 parameters. Remove argv definitions conditional on
39872 [__BOUNDED_POINTERS__].
39873 * debug/backtrace.c (__backtrace): Do not use __unbounded.
39874 * elf/dl-runtime.c (_dl_fixup): Likewise.
39875 * include/set-hooks.h (RUN_HOOK): Likewise.
39876 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39877 definition.
39878 * string/strcpy.c (strcpy): Do not use __unbounded.
39879 * sysdeps/generic/frame.h (struct layout): Likewise.
39880 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39881 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39882 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39883 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39884 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39885 (__backtrace): Likewise.
39886 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39887 use __ptrvalue.
39888 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39889 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39890 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39891 Likewise.
39892 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39893 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39894 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39895 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39896 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39897 Do not use __unbounded.
39898 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39899 Rename __unboundedrlimits parameter to rlimits in prototype.
39900 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39901 Do not use __unbounded.
39902 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39903 not use __ptrvalue.
39904 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39905 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39906 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39907 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39908 __ptrvalue or __unbounded.
39909 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39910 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39911 use __unbounded.
39912 (__new_msgctl): Do not use __ptrvalue.
39913 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39914 __unbounded.
39915 (__libc_msgrcv): Do not use __ptrvalue.
39916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39917 startup_info): Do not use __unbounded.
39918 (__libc_start_main): Likewise. Rename ubp_* variables and
39919 parameters. Remove argv definitions conditional on
39920 [__BOUNDED_POINTERS__].
39921 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39922 __ptrvalue.
39923 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39924 use __unbounded.
39925 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39926 or __ptrvalue.
39927 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39928 use __unbounded.
39929 (__new_shmctl): Do not use __ptrvalue.
39930 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39931 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39932 Likewise.
39933 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39934 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39935 (__libc_sigaction): Likewise.
39936 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39938 Likewise.
39939 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39940
39941 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
39942
39943 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39944
39945 * string/mempcpy.c: Implement by calling memcpy.
39946
39947 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39948
39949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39950
39951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39952 evaluation.
39953
39954 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39955 values in the mantissa.
39956
39957 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39958 minimize writes to Z.
39959 (sub_magnitudes): Simplify code a bit.
39960
39961 2013-02-12 Roland McGrath <roland@hack.frob.com>
39962
39963 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39964 from the message. The linker prefixes all warnings with that already.
39965
39966 2013-02-12 Andreas Schwab <schwab@suse.de>
39967
39968 [BZ #15078]
39969 * posix/regexec.c (extend_buffers): Add parameter min_len.
39970 (check_matching): Pass minimum needed length.
39971 (clean_state_log_if_needed): Likewise.
39972 (get_subexp): Likewise.
39973 * posix/Makefile (tests): Add bug-regex34.
39974 (bug-regex34-ENV): Define.
39975 * posix/bug-regex34.c: New file.
39976
39977 [BZ #11561]
39978 * posix/regcomp.c (parse_bracket_exp): When looking up collating
39979 elements compare against the byte sequence of it, not its name.
39980 * posix/Makefile (tests): Add bug-regex35.
39981 (bug-regex35-ENV): Define.
39982 * posix/bug-regex35.c: New file.
39983
39984 2013-02-11 Tom de Vries <tom@codesourcery.com>
39985
39986 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
39987 comment.
39988 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39989 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39990 (CHECK_EOL): Add undef.
39991
39992 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
39993
39994 * bits/stdlib-bsearch.h: New file.
39995 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39996 * stdlib/stdlib.h: Likewise.
39997
39998 2013-02-11 Roland McGrath <roland@hack.frob.com>
39999
40000 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40001 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40002 declaration.
40003 * manual/search.texi (Array Search Function): Add missing const in
40004 lfind prototype.
40005 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40006 declaration to use rlim_t.
40007 (Basic Scheduling Functions): Remove erroneous const from
40008 sched_getparam prototype. Remove erroneous * from
40009 sched_get_priority_max and sched_get_priority_min prototypes.
40010 (Resource Usage): Fix summary @comment on vtimes to refer to
40011 sys/vtimes.h rather than vtimes.h.
40012 Add missing *s in vtimes prototype.
40013 (Limits on Resources): Fix ulimit prototype to return long int.
40014 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40015 prototypes to use long int rather than double.
40016 (BSD Random): Fix initstate and setstate to use char *, not void *.
40017 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40018 prototype to make second argument 'struct aiocb64 *const[]'.
40019 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40020 (Status of AIO Operations): Remove erroneous const in aio_return and
40021 aio_return64 prototypes.
40022 (Synchronizing I/O): Fix sync prototype to return void.
40023 * manual/startup.texi (Suboptions): Remove an erroneous const in
40024 getsubopt prototype.
40025 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40026 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40027 use size_t rather than int.
40028 (Scanning All Users): Likewise for getpwent_r.
40029 (Setting Groups): Add missing const to setgroups prototype.
40030 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40031 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40032 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40033 'const void *' rather than 'const char *'.
40034 (Host Address Functions): Likewise for inet_ntop.
40035 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40036 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40037 ssize_t for return value.
40038 (Sending Data): Likewise for send, sendto, sendmsg.
40039 (Socket Option Functions): Add a missing const in setsockopt prototype.
40040 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40041 use wchar_t for the argument.
40042 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40043 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40044 take no arguments.
40045 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40046 double/float/long double for second argument.
40047 Fix return types of significand, significandf, significandl.
40048 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40049 argument in fchmod prototype.
40050 (File Owner): Use uid_t and gid_t in fchown prototype.
40051 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40052 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40053 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40054 use 'const struct dirent **' as argument types to CMP function pointer
40055 argument.
40056 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40057 (File Times): Fix summary magic @comment for struct utimbuf and utime
40058 to refer to utime.h, not time.h.
40059 * manual/string.texi (Argz Functions): Add missing const in
40060 argz_extract and argz_next prototypes.
40061 (Finding Tokens in a String): Likewise for basename.
40062 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40063 (Copying and Concatenation): Fix typo in wmemmove prototype.
40064 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40065 (Signal Stack): Remove erroneous const in sigstack prototype.
40066 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40067 prototype.
40068 (Simple Calendar Time): Likewise for stime.
40069 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40070 prototype.
40071 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40072 say sys/sysctl.h instead.
40073 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40074 and vsyslog prototypes.
40075
40076 2013-02-11 Tom de Vries <tom@codesourcery.com>
40077
40078 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40079 Remove.
40080
40081 2013-02-11 Roland McGrath <roland@hack.frob.com>
40082
40083 * misc/sys/mman.h: Fix typo in mremap comment.
40084
40085 2013-02-08 Roland McGrath <roland@hack.frob.com>
40086
40087 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40088 the '\0' terminator.
40089
40090 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40091
40092 [BZ #13550]
40093 * debug/segfault.c: Don't include <bp-checks.h>.
40094 * sysdeps/generic/bp-checks.h: Remove file.
40095 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40096 (__GETDENTS): Don't use CHECK_N.
40097 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40098 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40099 (__getgroups): Don't use CHECK_N.
40100 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40101 (setgroups): Don't use CHECK_N.
40102 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40103 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40104 (__libc_msgrcv): Don't use CHECK_N.
40105 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40106 (__libc_msgsnd): Don't use CHECK_N.
40107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40108 <bp-checks.h>.
40109 (__libc_pread): Don't use CHECK_N.
40110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40111 include <bp-checks.h>.
40112 (__libc_pread64): Don't use CHECK_N.
40113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40114 include <bp-checks.h>.
40115 (__libc_pwrite): Don't use CHECK_N.
40116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40117 include <bp-checks.h>.
40118 (__libc_pwrite64): Don't use CHECK_N.
40119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40120 <bp-checks.h>.
40121 (__libc_pread): Don't use CHECK_N.
40122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40123 include <bp-checks.h>.
40124 (__libc_pread64): Don't use CHECK_N.
40125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40126 include <bp-checks.h>.
40127 (__libc_pwrite): Don't use CHECK_N.
40128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40129 include <bp-checks.h>.
40130 (__libc_pwrite64): Don't use CHECK_N.
40131 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40132 (do_pread): Don't use CHECK_N.
40133 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40134 (do_pread64): Don't use CHECK_N.
40135 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40136 (do_pwrite): Don't use CHECK_N.
40137 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40138 (do_pwrite64): Don't use CHECK_N.
40139 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40140 (__libc_readv): Don't use CHECK_N.
40141 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40142 (semop): Don't use CHECK_N.
40143 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40144 <bp-checks.h>.
40145 (semtimedop): Don't use CHECK_N.
40146 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40147 (__libc_pread): Don't use CHECK_N.
40148 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40149 <bp-checks.h>.
40150 (__libc_pread64): Don't use CHECK_N.
40151 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40152 <bp-checks.h>.
40153 (__libc_pwrite): Don't use CHECK_N.
40154 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40155 <bp-checks.h>.
40156 (__libc_pwrite64): Don't use CHECK_N.
40157 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40158 <bp-checks.h>.
40159 (__libc_msgrcv): Don't use CHECK_N.
40160 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40161 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40162 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40163 (__libc_writev): Don't use CHECK_N.
40164
40165 2013-02-08 Roland McGrath <roland@hack.frob.com>
40166
40167 * string/strcpy.c: Removed unused variable.
40168
40169 * Makeconfig (+sysdep-includes): Define with := rather than =.
40170 Use an existing include/ subdir of each sysdeps dir before it.
40171
40172 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40173
40174 * nscd/connection.c (register_traced_file): Comment function.
40175 [HAVE_INOTIFY] (union __inev): Define.
40176 [HAVE_INOTIFY] (inotify_check_files): New function.
40177 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40178 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40179 clear_db_cache.
40180 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40181
40182 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40183
40184 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40185 loaded if not already and that a failure is permanent.
40186
40187 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40188
40189 [BZ #15006]
40190 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40191 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40192
40193 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40194
40195 [BZ #13550]
40196 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40197 (CHECK_1_NULL_OK): Likewise.
40198 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40199 (__fxstat): Do not use CHECK_1.
40200 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40201 <bp-checks.h>.
40202 (___fxstat64): Do not use CHECK_1.
40203 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40204 <bp-checks.h>.
40205 (__fxstatat): Do not use CHECK_1.
40206 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40207 <bp-checks.h>.
40208 (__fxstatat64): Do not use CHECK_1.
40209 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40210 <bp-checks.h>.
40211 (__fxstat): Do not use CHECK_1.
40212 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40213 <bp-checks.h>.
40214 (__fxstatat): Do not use CHECK_1.
40215 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40216 <bp-checks.h>.
40217 (__getresgid): Do not use CHECK_1.
40218 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40219 <bp-checks.h>.
40220 (__getresuid): Do not use CHECK_1.
40221 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40222 <bp-checks.h>.
40223 (__lxstat): Do not use CHECK_1.
40224 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40225 <bp-checks.h>.
40226 (__old_msgctl): Do not use CHECK_1.
40227 (__new_msgctl): Likewise.
40228 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40229 <bp-checks.h>.
40230 (__new_setrlimit): Do not use CHECK_1.
40231 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40232 <bp-checks.h>.
40233 (__old_shmctl): Do not use CHECK_1.
40234 (__new_shmctl): Likewise.
40235 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40236 <bp-checks.h>.
40237 (__xstat): Do not use CHECK_1.
40238 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40239 (__lxstat): Do not use CHECK_1.
40240 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40241 <bp-checks.h>.
40242 (___lxstat64): Do not use CHECK_1.
40243 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40244 (__old_msgctl): Do not use CHECK_1.
40245 (__new_msgctl): Likewise.
40246 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40247 <bp-checks.h>.
40248 (__gettimeofday): Do not use CHECK_1.
40249 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40250 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40251 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40252 <bp-checks.h>.
40253 (__gettimeofday): Do not use CHECK_1.
40254 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40255 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40256 (__new_shmctl): Do not use CHECK_1.
40257 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40258 <bp-checks.h>.
40259 (do_sigtimedwait): Do not use CHECK_1.
40260 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40261 <bp-checks.h>.
40262 (do_sigwaitinfo): Do not use CHECK_1.
40263 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40264 <bp-checks.h>.
40265 (msgctl): Do not use CHECK_1.
40266 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40267 <bp-checks.h>.
40268 (shmctl): Do not use CHECK_1.
40269 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40270 (ustat): Do not use CHECK_1.
40271 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40272 <bp-checks.h>.
40273 (__fxstat): Do not use CHECK_1.
40274 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40275 <bp-checks.h>.
40276 (__fxstatat): Do not use CHECK_1.
40277 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40278 <bp-checks.h>.
40279 (__lxstat): Do not use CHECK_1.
40280 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40281 <bp-checks.h>.
40282 (__xstat): Do not use CHECK_1.
40283 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40284 (__xstat): Do not use CHECK_1.
40285 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40286 (___xstat64): Do not use CHECK_1.
40287
40288 [BZ #13550]
40289 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40290 definitions.
40291 (CHECK_BOUNDS_HIGH): Likewise.
40292 * string/strcpy.c: Do not include <bp-checks.h>.
40293 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40294
40295 2013-02-07 Roland McGrath <roland@hack.frob.com>
40296
40297 * nscd/nscd-client.h (__nscd_drop_map_ref):
40298 Add __attribute__ ((unused)).
40299 * nis/nss-nisplus.h (niserr2nss): Likewise.
40300
40301 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40302 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40303
40304 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40305 Remove inline keyword.
40306 * include/rounding-mode.h (round_away): Likewise.
40307 * libio/wfileops.c (adjust_wide_data): Likewise.
40308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40309 (__m128i_strloadu_tolower): Likewise.
40310 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40311 (__m128i_strloadu_tolower): Likewise.
40312 * time/mktime.c (ydhms_diff): Likewise.
40313 * locale/elem-hash.h (elem_hash): Likewise.
40314 * locale/setlocale.c (setdata): Likewise.
40315 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40316 (re_string_wchar_at): Likewise.
40317 (bitset_not, bitset_merge, bitset_mask): Likewise.
40318 [!(__GNUC__ > 3)] (inline): Remove macro.
40319 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40320 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40321 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40322 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40323 * string/memcmp.c (memcmp_bytes): Likewise.
40324 * locale/programs/locarchive.c (compute_hashval): Likewise.
40325 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40326 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40327 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40328 * nss/getent.c (print_rpc, print_protocols): Likewise.
40329 (print_passwd, print_group, print_aliases): Likewise.
40330 * nis/nss-nisplus.h (niserr2nss): Likewise.
40331 * nscd/connections.c (restart_p): Likewise.
40332 Change return type to bool.
40333
40334 2013-02-05 Roland McGrath <roland@hack.frob.com>
40335
40336 * Makeconfig (all-Depend-files): Add existing
40337 $(sorted-subdirs:=/Depend) files.
40338 (all-subdirs): Remove nss.
40339 * sysdeps/unix/inet/Subdirs: Add it here instead.
40340 * hesiod/Depend: New file.
40341
40342 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40343 instead of calling alloca.
40344
40345 * io/lseek.c (__lseek): Rename to __libc_lseek.
40346 Define __lseek as an alias.
40347
40348 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40349
40350 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40351
40352 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40353 else clause and remove check for non-standard endianness.
40354
40355 2013-02-04 David S. Miller <davem@davemloft.net>
40356
40357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40358
40359 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40360
40361 [BZ #13550]
40362 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40363 (__ubp_memchr): Remove prototype.
40364 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40365 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40366 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40367 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40368 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40369 Remove alias.
40370 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40371 (__ubp_memchr): Likewise.
40372 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40373 (__ubp_memchr): Likewise.
40374 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40375 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40376 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40378 CHECK_STRING.
40379 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40380 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40381 (__getcwd): Do not use CHECK_STRING.
40382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40383 <bp-checks.h>.
40384 (__real_chown): Do not use CHECK_STRING.
40385 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40386 <bp-checks.h>.
40387 (fchownat): Do not use CHECK_STRING.
40388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40389 CHECK_STRING.
40390 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40391 <bp-checks.h>.
40392 (__lchown): Do not use CHECK_STRING.
40393 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40394 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40395 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40396 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40398 include <bp-checks.h>.
40399 (truncate64): Do not use CHECK_STRING.
40400 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40401 <bp-checks.h>.
40402 (__real_chown): Do not use CHECK_STRING.
40403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40404 <bp-checks.h>.
40405 (__lchown): Do not use CHECK_STRING.
40406 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40407 <bp-checks.h>.
40408 (__chown): Do not use CHECK_STRING.
40409 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40410 <bp-checks.h>.
40411 (truncate64): Do not use CHECK_STRING.
40412 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40413 Likewise.
40414 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40415 (__xmknod): Do not use CHECK_STRING.
40416 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40417 <bp-checks.h>.
40418 (__xmknodat): Do not use CHECK_STRING.
40419 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40420 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40421
40422 2013-02-04 Andreas Schwab <schwab@suse.de>
40423
40424 [BZ #14142]
40425 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40426 * include/netdb.h: Likewise for h_errno.
40427 * elf/tst-stackguard1.c: Include <tls.h>.
40428
40429 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40430
40431 * elf/link.h (struct link_map): Extend the l_addr comment.
40432 * include/link.h (struct link_map): Likewise.
40433
40434 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40435
40436 [BZ #13550]
40437 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40438 (BOUNDED_1): Remove macro.
40439 * debug/backtrace.c: Don't include <bp-checks.h>.
40440 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40441 (__backtrace): Likewise.
40442 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40443 <bp-checks.h>.
40444 (__backtrace): Don't use BOUNDED_1.
40445 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40446 <bp-checks.h>.
40447 (__backtrace): Don't use BOUNDED_1.
40448 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40449 (__backtrace): Don't use BOUNDED_1.
40450 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40451 (shmat): Don't use BOUNDED_N.
40452
40453 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40454
40455 [BZ #13550]
40456 * sysdeps/generic/bp-start.h: Remove file.
40457 * csu/libc-start.c: Don't include <bp-start.h>.
40458 (LIBC_START_MAIN): Set up __environ directly instead of using
40459 INIT_ARGV_and_ENVIRON.
40460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40461 <bp-start.h>.
40462
40463 [BZ #13550]
40464 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40465 definitions.
40466 (CHECK_FCNTL): Likewise.
40467 (CHECK_N_PAGES): Likewise.
40468
40469 [BZ #13550]
40470 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40471 definitions.
40472 (CHECK_SIGSET_NULL_OK): Likewise.
40473 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40474 <bp-checks.h>.
40475 (sigpending): Don't use CHECK_SIGSET.
40476 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40477 <bp-checks.h>.
40478 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40479 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40480 <bp-checks.h>.
40481 (do_sigsuspend): Don't use CHECK_SIGSET.
40482 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40483 use CHECK_SIGSET.
40484 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40485 (do_sigwait): Don't use CHECK_SIGSET.
40486 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40487 use CHECK_SIGSET.
40488 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40489 include <bp-checks.h>.
40490 (sigpending): Don't use CHECK_SIGSET.
40491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40492 include <bp-checks.h>.
40493 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40494 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40495 <bp-checks.h>.
40496 (sigpending): Don't use CHECK_SIGSET.
40497 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40498 <bp-checks.h>.
40499 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40500
40501 [BZ #13550]
40502 * sysdeps/generic/bp-semctl.h: Remove file.
40503 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40504 <bp-checks.h> and <bp-semctl.h>.
40505 (__old_semctl): Don't use CHECK_SEMCTL.
40506 (__new_semctl): Likewise.
40507 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40508 and <bp-semctl.h>.
40509 (__old_semctl): Don't use CHECK_SEMCTL.
40510 (__new_semctl): Likewise.
40511 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40512 <bp-checks.h> and <bp-semctl.h>.
40513 (__old_semctl): Don't use CHECK_SEMCTL.
40514 (__new_semctl): Likewise.
40515 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40516 <bp-checks.h> and <bp-semctl.h>.
40517 (semctl): Don't use CHECK_SEMCTL.
40518
40519 [BZ #13550]
40520 * Makerules (elide-bp-thunks): Remove variable.
40521 (elide-routines.oS): Don't use $(elide-bp-thunks).
40522 (elide-routines.os): Likewise.
40523 (elide-routines.o): Likewise.
40524 (elide-routines.op): Likewise.
40525 (elide-routines.og): Likewise.
40526 (objects): Don't use $(bp-thunks).
40527 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40528 include.
40529 (common-generated): Do not add s-proto-bp.d.
40530 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40531 (int): Likewise.
40532 (typ): Likewise.
40533 Do not generate makefile rules for bounded-pointer thunks.
40534 * sysdeps/generic/bp-thunks.h: Remove file.
40535 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40536 * sysdeps/unix/s-proto-bp.S: Likewise.
40537
40538 [BZ #15062]
40539 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40540 parts of result separately when argument is not close to line from
40541 -i to i and one part of argument is small.
40542 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40543 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40544 * math/libm-test.inc (cacos_test): Add more tests.
40545 (casin_test): Likewise.
40546 (casinh_test): Likewise.
40547 * sysdeps/i386/fpu/libm-test-ulps: Update.
40548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40549
40550 2013-01-31 David S. Miller <davem@davemloft.net>
40551
40552 * po/de.po: Update from translation team.
40553
40554 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40555
40556 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40557
40558 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40559
40560 * configure.in (_AC_PROG_CC_C89): New definition.
40561 * configure: Regenerate.
40562
40563 * configure.in (AC_PROG_CPP): New definition.
40564 * configure: Regenerate.
40565
40566 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40567
40568 * debug/tst-backtrace.h: New file.
40569 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40570 (ret): Remove variable.
40571 (x): Likewise.
40572 (FAIL): Remove macro.
40573 (NO_INLINE): Likewise.
40574 (fn1): Use match function instead of strstr.
40575 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40576 (ret): Remove variable.
40577 (x): Likewise.
40578 (FAIL): Remove macro.
40579 (NO_INLINE): Likewise.
40580 (fn): Use match function instead of strstr.
40581 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40582 (ret): Remove variable.
40583 (x): Likewise.
40584 (FAIL): Remove macro.
40585 (NO_INLINE): Likewise.
40586 (handle_signal): Use match function instead of strstr.
40587 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40588 (ret): Remove variable.
40589 (x): Likewise.
40590 (FAIL): Remove macro.
40591 (NO_INLINE): Likewise.
40592 (handle_signal): Use match function instead of strstr.
40593
40594 2013-01-23 Roland McGrath <roland@hack.frob.com>
40595
40596 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40597
40598 2013-01-23 David S. Miller <davem@davemloft.net>
40599
40600 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40601 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40602 argument of CAS if possible.
40603 * sysdeps/sparc/sparc64/bits/atomic.h
40604 (__arch_compare_and_exchange_val_32_acq): Likewise.
40605 (__arch_compare_and_exchange_val_64_acq): Likewise.
40606
40607 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40608
40609 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40610 * sysdeps/posix/ulimit.c: ... this.
40611 Include <limits.h>.
40612 * sysdeps/unix/bsd/ulimit.c: Remove file.
40613
40614 2013-01-23 Adam Conrad <adconrad@0c3.net>
40615
40616 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40617 (LDFLAGS-tst-array5): Likewise.
40618
40619 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40620
40621 [BZ #15036]
40622 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40623 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40624 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40625 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40626
40627 2013-01-21 David S. Miller <davem@davemloft.net>
40628
40629 * sysdeps/sparc/backtrace.c: New file.
40630 * sysdeps/sparc/sparc32/backtrace.h: New file.
40631 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40632 * sysdeps/sparc/sparc64/backtrace.h: New file.
40633 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40634 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40635 -funwind-tables.
40636
40637 2013-01-21 Andreas Schwab <schwab@suse.de>
40638
40639 [BZ #15020]
40640 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40641 closed its stdout.
40642
40643 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40644
40645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40646 "mpa2.h".
40647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40648
40649 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40650 Mark Mitchell <mark@codesourcery.com>
40651 Tom de Vries <tom@codesourcery.com>
40652 Paul Pluzhnikov <ppluzhnikov@google.com>
40653
40654 * debug/tst-backtrace2.c: New file.
40655 * debug/tst-backtrace3.c: Likewise.
40656 * debug/tst-backtrace4.c: Likewise.
40657 * debug/tst-backtrace5.c: Likewise.
40658 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40659 (CFLAGS-tst-backtrace3.c): Likewise.
40660 (CFLAGS-tst-backtrace4.c): Likewise.
40661 (CFLAGS-tst-backtrace5.c): Likewise.
40662 (LDFLAGS-tst-backtrace2): Likewise.
40663 (LDFLAGS-tst-backtrace3): Likewise.
40664 (LDFLAGS-tst-backtrace4): Likewise.
40665 (LDFLAGS-tst-backtrace5): Likewise.
40666 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40667 tst-backtrace4 and tst-backtrace5.
40668
40669 2013-01-18 Anton Blanchard <anton@samba.org>
40670 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40671
40672 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40673 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40674 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40675 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40677 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40678 "+r" and remove output regs list as redundant. Add explicit inline
40679 asm to specify register of return val to work around compiler codegen
40680 bug. Remove (int) cast on return value. Add return type parameter to
40681 use in macro so that this macro does not truncate return value for
40682 64-bit values.
40683 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40684 pass to INTERNAL_VSYSCALL_NCS.
40685 (INLINE_VSYSCALL): Add 'long int' as return type to
40686 INTERNAL_VSYSCALL_NCS macro invocation.
40687 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40688 INTERNAL_VSYSCALL_NCS macro invocation.
40689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40690
40691 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40692
40693 [BZ #14496]
40694 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40695 Fix application of SIMD FP exception mask.
40696
40697 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40698 mp_no from a power of two.
40699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40700 __mpexp_twomm1. Use __pow_mp.
40701
40702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40703 multiplication.
40704
40705 2013-01-17 David S. Miller <davem@davemloft.net>
40706
40707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40708
40709 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40710
40711 [BZ #15023]
40712 * include/complex.h: Condition contents on [!_COMPLEX_H].
40713 (__kernel_casinhf): New prototype.
40714 (__kernel_casinh): Likewise.
40715 (__kernel_casinhl): Likewise.
40716 * math/Makefile (libm_calls): Add k_casinh.
40717 * math/k_casinh.c: New file.
40718 * math/k_casinhf.c: Likewise.
40719 * math/k_casinhl.c: Likewise.
40720 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40721 finite nonzero arguments.
40722 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40723 finite nonzero arguments.
40724 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40725 finite nonzero arguments.
40726 * math/s_casinh.c: Do not include <float.h>.
40727 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40728 * math/s_casinhf.c: Do not include <float.h>.
40729 (__casinhf): Move code for finite nonzero arguments to
40730 k_casinhf.c.
40731 * math/s_casinhl.c: Do not include <float.h>.
40732 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40733 redefine.
40734 (__casinhl): Move code for finite nonzero arguments to
40735 k_casinhl.c.
40736 * math/libm-test.inc (cacos_test): Add more tests.
40737 * sysdeps/i386/fpu/libm-test-ulps: Update.
40738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40739
40740 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40741
40742 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40743 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40744 [!HAVE_MREMAP]: Remove [defined linux] case.
40745 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40746
40747 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40748
40749 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40750
40751 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40752
40753 * elf/elf.h (R_386_SIZE32): New relocation.
40754 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40755 R_386_SIZE32.
40756 (elf_machine_rela): Likewise.
40757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40758 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40759
40760 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40761
40762 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40763 (FP_FAST_FMA): Do not define.
40764 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40765 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40766 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40767 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40768 !_SOFT_FLOAT]: Likewise.
40769 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40771 value.
40772 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40773 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40774 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40775 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40776 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40777 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40778 file.
40779
40780 2013-01-16 Andreas Schwab <schwab@suse.de>
40781
40782 [BZ #14327]
40783 * include/stdlib.h (__mktemp): Add declaration.
40784 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40785 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40786
40787 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40788
40789 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40790 definitions.
40791 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40792 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40793 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40794 definitions here.
40795 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40796 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40797 definitions.
40798 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40799 and ONE.
40800 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40801 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40803 definitions.
40804 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40805 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40806 definitions.
40807 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40808
40809 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40810
40811 2013-01-15 David S. Miller <davem@davemloft.net>
40812
40813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40814 trunc{,f} to libm-sysdep_routes.
40815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40817 file.
40818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40820 file.
40821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40822 file.
40823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40825 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40826 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40827 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40828 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40829 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40830 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40831
40832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40833 nearbyint{,f} to libm-sysdep_routes.
40834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40836 New file.
40837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40838 file.
40839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40840 New file.
40841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40842 file.
40843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40846 file.
40847 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40849 file.
40850 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40851 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40852 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40853
40854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40855 libc_feholdexcept and libc_fesetenv.
40856
40857 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40858
40859 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40860
40861 2013-01-14 David S. Miller <davem@davemloft.net>
40862
40863 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40864 (SPARC_ASM_VIS2_IFUNC): Likewise.
40865 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40867 use of 'siam' instruction.
40868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40869 Likewise.
40870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40871 Likewise.
40872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40873 Likewise.
40874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40879 file.
40880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40881 file.
40882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40883 file.
40884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40885 file.
40886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40891 new VIS2 routines.
40892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40895 Likewise.
40896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40901 routines to libm-sysdep_routines.
40902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40903
40904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40905 fdim/fdimf to libm-sysdep_routines.
40906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40907 file.
40908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40910 file.
40911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40914 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40915 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40916 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40917 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40918
40919 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40920
40921 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40922 to optimize copies.
40923
40924 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40927
40928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40929 local variable MPTWO.
40930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40931 Likewise.
40932
40933 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40934
40935 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40936 GLOB_NOESCAPE.
40937
40938 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40939
40940 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40941
40942 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40943
40944 * manual/pattern.texi (glob_t): Document gl_flags.
40945 (glob64_t): Likewise.
40946
40947 2013-01-11 David S. Miller <davem@davemloft.net>
40948
40949 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40950 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40951 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
40952 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40953 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40954 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40955 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40956 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40957 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40958 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40959 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40960 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40961 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40962
40963 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40964 sparc V9 rather than using V8 code.
40965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40967
40968 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40969 Move to...
40970 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40971 Here.
40972
40973 2013-01-11 Roland McGrath <roland@hack.frob.com>
40974
40975 [BZ #14941]
40976 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40977 not in the main loop.
40978 * configure: Regenerated.
40979
40980 2013-01-11 Joseph Myers <joseph@codesourcery.com>
40981
40982 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40983 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40984 to just #else.
40985 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
40986 [!__GLIBC_HAVE_LONG_LONG] case.
40987 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40988 condition to just #else.
40989 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40990 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40991 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40992 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40993 unconditional.
40994 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40995 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40996 #elif condition to just #else.
40997 * sysdeps/unix/sysv/linux/sys/sysmacros.h
40998 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40999 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41000 #elif condition to just #else.
41001
41002 2013-01-11 Steve Ellcey <sellcey@mips.com>
41003
41004 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41005 (EF_MIPS_ARCH_64): Fix value.
41006 (EF_MIPS_ARCH_32R2): New.
41007 (EF_MIPS_ARCH_64R2): New.
41008
41009 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41010
41011 * Makeconfig (+link-pie-before-libc): New.
41012 (+link-pie-after-libc): Likewise.
41013 (+link-pie-tests): Likewise.
41014 (+link-pie): Rewritten.
41015 (link-before-libc): Remove $(config-LDFLAGS).
41016 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41017 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41018 (config-LDFLAGS): Renamed to ...
41019 (rtld-LDFLAGS): This.
41020 (rtld-tests-LDFLAGS): New macro.
41021 (link-libc-rpath-link): Likewise.
41022 (link-libc-tests-rpath-link): Likewise.
41023 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41024 (link-libc): Prepand $(link-libc-rpath-link).
41025 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41026 (test-program-prefix): New macro.
41027 (test-via-rtld-prefix): Likewise.
41028 (test-program-cmd): Likewise.
41029 (host-test-program-cmd): Likewise.
41030 * Makefile ($(common-objpfx)testrun.sh): Replace
41031 $(run-program-prefix) with $(test-program-prefix).
41032 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41033 $(rtld-LDFLAGS).
41034 ($(common-objpfx)shlib.lds): Likewise.
41035 (build-module-helper): Likewise.
41036 ($(common-objpfx)format.lds): Likewise.
41037 * Rules (binaries-pie-tests): New.
41038 (binaries-pie-notests): Likewise.
41039 (binaries-pie): Rewritten.
41040 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41041 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41042 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41043 (make-test-out): Replace $(host-built-program-cmd) with
41044 $(host-test-program-cmd).
41045 * config.make.in (build-hardcoded-path-in-tests): New variable.
41046 * configure.in (--enable-hardcoded-path-in-tests): New configure
41047 option.
41048 (hardcoded_path_in_tests): New AC_SUBST.
41049 * configure: Regenerated.
41050 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41051 $(built-program-cmd) with $(test-program-cmd).
41052 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41053 (test_program_cmd): This.
41054 * elf/Makefile ($(objpfx)order.out): Run test with
41055 $(test-program-prefix).
41056 ($(objpfx)order2.out): Likewise.
41057 ($(objpfx)tst-initorder.out): Likewise.
41058 ($(objpfx)tst-initorder2.out): Likewise.
41059 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41060 $(test-program-cmd).
41061 ($(objpfx)tst-array1-static.out): Likewise.
41062 ($(objpfx)tst-array2.out): Likewise.
41063 ($(objpfx)tst-array3.out): Likewise.
41064 ($(objpfx)tst-array4.out): Likewise.
41065 ($(objpfx)tst-array5.out): Likewise.
41066 ($(objpfx)tst-array5-static.out): Likewise.
41067 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41068 $(test-program-cmd).
41069 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41070 $(run-program-prefix) with $(test-program-prefix).
41071 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41072 (test_program_prefix): This.
41073 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41074 $(run-program-prefix) with $(test-program-prefix).
41075 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41076 (test_program_prefix): This.
41077 * iconvdata/tst-tables.sh: Likewise.
41078 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41079 $(run-program-prefix) with $(test-program-prefix).
41080 ($(objpfx)tst-translit.out): Likewise.
41081 ($(objpfx)tst-gettext2.out): Likewise.
41082 ($(objpfx)tst-gettext4.out): Likewise.
41083 ($(objpfx)tst-gettext6.out): Likewise.
41084 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41085 (test_program_prefix): This.
41086 * intl/tst-gettext2.sh: Likewise.
41087 * intl/tst-gettext4.sh Likewise.
41088 * intl/tst-gettext6.sh: Likewise.
41089 * intl/tst-translit.sh: Likewise.
41090 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41091 with $(test-program-cmd).
41092 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41093 $(run-program-prefix) with $(test-program-prefix).
41094 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41095 (test_program_prefix): This.
41096 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41097 $(run-program-prefix) with $(test-program-prefix).
41098 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41099 (test_program_prefix): This.
41100 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41101 * posix/Makefile ($(objpfx)globtest.out): Replace
41102 $(run-via-rtld-prefix) and $(test-wrapper) with
41103 $(test-program-prefix) and $(test-via-rtld-prefix).
41104 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41105 $(test-program-prefix).
41106 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41107 $(host-test-program-cmd).
41108 (tst-spawn-ARGS): Likewise.
41109 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41110 $(test-program-prefix).
41111 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41112 (test_via_rtld_prefix): This.
41113 (test_wrapper): Renamed to ...
41114 (test_program_prefix): This.
41115 (run_program_prefix): Replaced by test_program_prefix.
41116 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41117 (test_program_prefix): This.
41118 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41119 with $(host-test-program-cmd).
41120 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41121 $(run-program-prefix) with $(test-program-prefix).
41122 ($(objpfx)tst-printf.out): Likewise.
41123 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41124 $(test-program-cmd).
41125 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41126 (test_program_prefix): This.
41127 * stdio-common/tst-unbputc.sh: Likewise.
41128 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41129 $(run-program-prefix) with $(test-program-prefix).
41130 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41131 (test_program_prefix): This.
41132 * string/Makefile ($(objpfx)tst-svc.out): Replace
41133 $(built-program-cmd) with $(test-program-cmd).
41134
41135 2013-01-11 Andreas Jaeger <aj@suse.de>
41136
41137 [BZ #15003]
41138 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41139 value. Sync with Linux 3.7.
41140
41141 2013-01-10 David S. Miller <davem@davemloft.net>
41142
41143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41146
41147 2013-01-10 Roland McGrath <roland@hack.frob.com>
41148
41149 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41150 never set.
41151 * configure: Regenerated.
41152
41153 2013-01-10 David S. Miller <davem@davemloft.net>
41154
41155 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41156 sparc V9 rather than using V8 code.
41157 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41158 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41159
41160 2013-01-10 Roland McGrath <roland@hack.frob.com>
41161
41162 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41163 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41164 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41165 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41166 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41167 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41168 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41169 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41170 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41171 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41172 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41173 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41174 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41175 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41176 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41177 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41178 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41179 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41180 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41181 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41182 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41183 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41184 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41185 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41186 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41187 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41188 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41189
41190 2013-01-10 David S. Miller <davem@davemloft.net>
41191
41192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41193
41194 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41195
41196 * posix/Makefile (tests-static): New variable.
41197 (tests): Add $(tests-static).
41198 (tst-exec-static-ARGS): New variable.
41199 (tst-spawn-static-ARGS): Likewise.
41200 * posix/tst-exec-static.c: New file.
41201 * posix/tst-spawn-static.c: Likewise.
41202 * posix/tst-exec.c: Support run directly.
41203 * posix/tst-spawn.c: Likewise.
41204
41205 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41206
41207 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41208 long.
41209 * math/bits/mathcalls.h (llrint): Likewise.
41210 (llround): Likewise.
41211 * stdlib/stdlib.h (struct drand48_data): Likewise.
41212 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41213 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41214 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41215 Likewise.
41216 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41217 Likewise.
41218 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41219 (elf_greg_t): Likewise.
41220 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41221 (__jmp_buf): Likewise.
41222 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41223 definitions.
41224 (llrint): Likewise, for all definitions.
41225 (llrintl): Likewise.
41226
41227 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41228 Remove [__GNUC__] condition.
41229 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41230 condition to just [__USE_ISOC99].
41231 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41232
41233 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41234
41235 [BZ #14200]
41236 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41237 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41238 defined.
41239 (_POSIX_V6_ILP32_OFF32): Likewise.
41240 (_XBS5_ILP32_OFF32): Likewise.
41241 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41242 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41243
41244 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41245
41246 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41247
41248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41249 doubles __mpexp_twomm1. Adjust usage.
41250 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41251 Remove.
41252
41253 2013-01-10 Andreas Schwab <schwab@suse.de>
41254
41255 [BZ #14964]
41256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41257 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41258
41259 2013-01-09 David S. Miller <davem@davemloft.net>
41260
41261 [BZ #15003]
41262 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41263 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41264 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41265 (TCP_FASTOPEN): Define.
41266 (tcp_repair_opt): New structure.
41267 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41268 enum values.
41269 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41270 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41271 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41272 (tcp_cookie_transactions): New structure.
41273
41274 2013-01-09 Anton Blanchard <anton@samba.org>
41275
41276 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41277 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41279 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41280
41281 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41282
41283 * include/features.h (__USE_ANSI): Remove.
41284
41285 2013-01-09 Roland McGrath <roland@hack.frob.com>
41286
41287 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41288
41289 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41290
41291 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41292
41293 * sysdeps/s390/fpu/libm-test-ulps: Update.
41294
41295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41296
41297 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41298 (__acr): Likewise.
41299 (__cpy): Likewise.
41300 (norm): Likewise.
41301 (denorm): Likewise.
41302 (__mp_dbl): Likewise.
41303 (__dbl_mp): Likewise.
41304 (add_magnitudes): Likewise.
41305 (sub_magnitudes): Likewise.
41306 (__add): Likewise.
41307 (__sub): Likewise.
41308 (__mul): Likewise.
41309 (__inv): Likewise.
41310 (__dvd): Likewise.
41311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41312 (__acr): Likewise.
41313 (__cpy): Likewise.
41314 (norm): Likewise.
41315 (denorm): Likewise.
41316 (__mp_dbl): Likewise.
41317 (__dbl_mp): Likewise.
41318 (add_magnitudes): Likewise.
41319 (sub_magnitudes): Likewise.
41320 (__add): Likewise.
41321 (__sub): Likewise.
41322 (__mul): Likewise.
41323 (__inv): Likewise.
41324 (__dvd): Likewise.
41325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41326 (__acr): Likewise.
41327 (__cpy): Likewise.
41328 (norm): Likewise.
41329 (denorm): Likewise.
41330 (__mp_dbl): Likewise.
41331 (__dbl_mp): Likewise.
41332 (add_magnitudes): Likewise.
41333 (sub_magnitudes): Likewise.
41334 (__add): Likewise.
41335 (__sub): Likewise.
41336 (__mul): Likewise.
41337 (__inv): Likewise.
41338 (__dvd): Likewise.
41339
41340 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41341
41342 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41343 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41344 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41345 2 && __USE_EXTERN_INLINES]: Likewise.
41346
41347 2013-01-08 Andreas Jaeger <aj@suse.de>
41348
41349 [BZ# 14985]
41350 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41351 Remove.
41352 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41353 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41354
41355 2013-01-07 Anton Blanchard <anton@samba.org>
41356
41357 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41358 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41359 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41360 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41361 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41363 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41364 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41368 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41369 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41371 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41372 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41373 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41375 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41376 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41377 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41378 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41380 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41381 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41382 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41383 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41384 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41386 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41387 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41389 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41393 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41395 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41396 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41397 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41399 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41400
41401 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41402
41403 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41404 (__MALLOC_PMT): Likewise.
41405 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41406 [__GNUC__], only on [_LIBC].
41407 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41408 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41409 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41410 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41411 forward declaration.
41412 (realloc_hook_ini): Likewise.
41413 (memalign_hook_ini): Likewise.
41414 (__libc_memalign): Do not use __MALLOC_PMT in variable
41415 declaration.
41416 (__libc_valloc): Likewise.
41417 (__libc_pvalloc): Likewise.
41418 (__libc_calloc): Likewise.
41419 (__posix_memalign): Likewise.
41420
41421 [BZ #14996]
41422 * math/s_casinh.c: Include <float.h>.
41423 (__casinh): Do not do computation with squaring and square root
41424 for large arguments.
41425 * math/s_casinhf.c: Include <float.h>.
41426 (__casinhf): Do not do computation with squaring and square root
41427 for large arguments.
41428 * math/s_casinhl.c: Include <float.h>.
41429 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41430 (__casinhl): Do not do computation with squaring and square root
41431 for large arguments.
41432 * math/libm-test.inc (casin_test): Add more tests.
41433 (casinh_test): Likewise.
41434 * sysdeps/i386/fpu/libm-test-ulps: Update.
41435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41436
41437 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41438
41439 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41440 (__x86_64_raw_data_cache_size): Likewise.
41441 (__x86_64_data_cache_size_half): Likewise.
41442 (__x86_64_raw_data_cache_size_half): Likewise.
41443 (__x86_64_shared_cache_size): Likewise.
41444 (__x86_64_raw_shared_cache_size): Likewise.
41445 (__x86_64_shared_cache_size_half): Likewise.
41446 (__x86_64_raw_shared_cache_size_half): Likewise.
41447 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41448 to ...
41449 (__x86_data_cache_size): This.
41450 (__x86_64_raw_data_cache_size): Renamed to ...
41451 (__x86_raw_data_cache_size): This.
41452 (__x86_64_data_cache_size_half): Renamed to ...
41453 (__x86_data_cache_size_half): This.
41454 (__x86_64_raw_data_cache_size_half): Renamed to ...
41455 (__x86_raw_data_cache_size_half): This.
41456 (__x86_64_shared_cache_size): Renamed to ...
41457 (__x86_shared_cache_size): This.
41458 (__x86_64_raw_shared_cache_size): Renamed to ...
41459 (__x86_raw_shared_cache_size): This.
41460 (__x86_64_shared_cache_size_half): Renamed to ...
41461 (__x86_shared_cache_size_half): This.
41462 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41463 (__x86_raw_shared_cache_size_half): This.
41464 * sysdeps/x86_64/memcpy.S: Updated.
41465 * sysdeps/x86_64/memset.S: Likewise.
41466 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41469
41470 2013-01-04 David S. Miller <davem@davemloft.net>
41471
41472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41473
41474 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41475
41476 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41477 1 to avoid redefinition warning.
41478 (__USE_GNU): Don't define.
41479 (init_signaling_nan): Protoize.
41480
41481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41482
41483 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41484
41485 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41487 (__cpymn): Likewise.
41488 (norm): Remove commented code.
41489 (denorm): Likewise.
41490 (__mp_dbl): Likewise.
41491 (__inv): Likewise.
41492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41493 (__cpymn): Likewise.
41494 (norm): Remove commented code.
41495 (denorm): Likewise.
41496 (__mp_dbl): Likewise.
41497 (__inv): Likewise.
41498
41499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41500 mp_no value for 1.0 and 2.0.
41501 (norm): Use RADIXI instead of radixi.d.
41502 (denorm): Likewise.
41503 (__mul): Use 0.0 instead of zero.d.
41504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41505 mp_no value for 1.0 and 2.0.
41506 (norm): Use RADIXI instead of radixi.d.
41507 (denorm): Likewise.
41508 (__mul): Use 0.0 instead of zero.d.
41509
41510 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41511
41512 [BZ #14994]
41513 * math/s_casinh.c (__casinh): Reduce finite argument to first
41514 quadrant then set signs of results at the end.
41515 * math/s_casinhf.c (__casinhf): Likewise.
41516 * math/s_casinhl.c (__casinhl): Likewise.
41517 * math/libm-test.inc (casin_test): Add more tests.
41518 (casinh_test): Likewise.
41519 * sysdeps/i386/fpu/libm-test-ulps: Update.
41520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41521
41522 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41523
41524 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41525
41526 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41527
41528 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41529 declarations.
41530 (denorm): Likewise.
41531 (__mp_dbl): Likewise.
41532 (__inv): Likewise.
41533
41534 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41535 and adjust the header comment.
41536
41537 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41538 variable name from declaration.
41539
41540 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41541
41542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41543 Initialize COMMON_CPUID_INDEX_7 element.
41544 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41545 (CPUID_RTM): Likewise.
41546 (HAS_RTM): Likewise.
41547 (COMMON_CPUID_INDEX_7): New enum.
41548
41549 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41550
41551 [BZ #14981]
41552 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41553 size is zero, record memory as freed.
41554
41555 2013-01-03 Andreas Jaeger <aj@suse.de>
41556
41557 * po/ia.po: Add new Interlingua translation.
41558
41559 2012-01-03 Allan McRae <allan@archlinux.org>
41560
41561 * locale/programs/localedef.c: Fix description of '--posix' flag.
41562
41563 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41564
41565 * NEWS: Update dates in second copyright notice.
41566 * README: Update copyright dates in example.
41567 * manual/libc.texinfo: Update copyright dates.
41568 * scripts/test-installation.pl: Update copyright date in --version
41569 output.
41570
41571 * hurd/ctty-input.c: Fix copyright notice formatting.
41572 * hurd/ctty-output.c: Likewise.
41573 * hurd/dtable.c: Likewise.
41574 * hurd/hurd-raise.c: Likewise.
41575 * hurd/hurdprio.c: Likewise.
41576 * hurd/msgportdemux.c: Likewise.
41577 * misc/sys/file.h: Likewise.
41578 * misc/sys/ioctl.h: Likewise.
41579 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41580 * sysdeps/mach/hurd/chdir.c: Likewise.
41581 * sysdeps/mach/hurd/fchdir.c: Likewise.
41582 * sysdeps/mach/hurd/rename.c: Likewise.
41583 * sysdeps/mach/hurd/rmdir.c: Likewise.
41584 * sysdeps/mach/hurd/seekdir.c: Likewise.
41585 * sysdeps/mach/hurd/setsid.c: Likewise.
41586 * sysdeps/posix/wait3.c: Likewise.
41587
41588 * All files with FSF copyright notices: Update copyright dates
41589 using scripts/update-copyrights.
41590 * intl/plural.c: Regenerated.
41591 * locale/programs/charmap-kw.h: Likewise.
41592 * locale/programs/locfile-kw.h: Likewise.
41593
41594 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41595
41596 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41597 four values.
41598
41599 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41600 calculation loop and add branch prediction.
41601
41602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41603 check access beyond bounds of m1np.
41604
41605 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41606 MPTWO.
41607 (__inv): Remove local variable MPTWO to use the global
41608 constant.
41609 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41610 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41611 variable MPTWO.
41612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41613 MP3HALFS static const.
41614
41615 2013-01-01 David S. Miller <davem@davemloft.net>
41616
41617 * po/ca.po: Update from translation team.
41618
41619 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41620
41621 * scripts/update-copyrights: New file.
41622 * Makeconfig: Reformat copyright notice.
41623 * ctype/ctype.h: Likewise.
41624 * debug/swprintf_chk.c: Likewise.
41625 * elf/dl-cache.c: Likewise.
41626 * elf/dl-debug.c: Likewise.
41627 * elf/dl-object.c: Likewise.
41628 * grp/initgroups.c: Likewise.
41629 * hurd/Makefile: Likewise.
41630 * hurd/hurd/signal.h: Likewise.
41631 * hurd/hurdfault.c: Likewise.
41632 * hurd/hurdioctl.c: Likewise.
41633 * hurd/hurdlookup.c: Likewise.
41634 * hurd/intr-msg.c: Likewise.
41635 * iconv/gconv_open.c: Likewise.
41636 * libio/swprintf.c: Likewise.
41637 * locale/lc-ctype.c: Likewise.
41638 * locale/nl_langinfo.c: Likewise.
41639 * mach/Machrules: Likewise.
41640 * mach/Makefile: Likewise.
41641 * malloc/obstack.h: Likewise.
41642 * manual/Makefile: Likewise.
41643 * manual/tsort.awk: Likewise.
41644 * misc/bits/stab.def: Likewise.
41645 * nis/nis_print_group_entry.c: Likewise.
41646 * nis/nis_table.c: Likewise.
41647 * nis/nss_compat/compat-pwd.c: Likewise.
41648 * nis/nss_compat/compat-spwd.c: Likewise.
41649 * po/Makefile: Likewise.
41650 * posix/fnmatch.c: Likewise.
41651 * posix/regex.h: Likewise.
41652 * resolv/Makefile: Likewise.
41653 * resolv/nss_dns/dns-network.c: Likewise.
41654 * resolv/res_hconf.c: Likewise.
41655 * scripts/gen-sorted.awk: Likewise.
41656 * soft-fp/soft-fp.h: Likewise.
41657 * stdio-common/printf.h: Likewise.
41658 * stdlib/monetary.h: Likewise.
41659 * stdlib/random.c: Likewise.
41660 * stdlib/random_r.c: Likewise.
41661 * sysdeps/generic/Makefile: Likewise.
41662 * sysdeps/gnu/Makefile: Likewise.
41663 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41667 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41673 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41674 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41691 * sysdeps/mach/hurd/errnos.awk: Likewise.
41692 * sysdeps/mach/hurd/fork.c: Likewise.
41693 * sysdeps/mach/hurd/getcwd.c: Likewise.
41694 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41695 * sysdeps/mach/hurd/mmap.c: Likewise.
41696 * sysdeps/mach/hurd/utimes.c: Likewise.
41697 * sysdeps/mach/hurd/xmknod.c: Likewise.
41698 * sysdeps/posix/profil.c: Likewise.
41699 * sysdeps/posix/readdir_r.c: Likewise.
41700 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41701 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41702 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41703 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41705 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41706 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41707 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41709 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41711 * sysdeps/pthread/lio_listio.c: Likewise.
41712 * sysdeps/sparc/dl-procinfo.h: Likewise.
41713 * sysdeps/unix/i386/sysdep.S: Likewise.
41714 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41715 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41716 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41717 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41719 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41720 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41721 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41722 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41723 * sysdeps/wordsize-32/divdi3.c: Likewise.
41724 * time/sys/time.h: Likewise.
41725 * wcsmbs/Makefile: Likewise.
41726
41727 2013-01-01 David S. Miller <davem@davemloft.net>
41728
41729 * po/fr.po: Update from translation team.
41730
41731 * catgets/gencat.c: Update copyright year.
41732 * csu/version.c: Likewise.
41733 * debug/catchsegv.sh: Likewise.
41734 * debug/pcprofiledump.c: Likewise.
41735 * debug/xtrace.sh: Likewise.
41736 * elf/ldconfig.c: Likewise.
41737 * elf/ldd.bash.in: Likewise.
41738 * elf/pldd.c: Likewise.
41739 * elf/sotruss.ksh: Likewise.
41740 * elf/sprof.c: Likewise.
41741 * iconv/iconv_prog.c: Likewise.
41742 * iconv/iconvconfig.c: Likewise.
41743 * locale/programs/locale.c: Likewise.
41744 * locale/programs/localedef.c: Likewise.
41745 * login/programs/pt_chown.c: Likewise.
41746 * malloc/memusage.sh: Likewise.
41747 * malloc/memusagestat.c: Likewise.
41748 * malloc/mtrace.pl: Likewise.
41749 * nscd/nscd.c: Likewise.
41750 * nss/getent.c: Likewise.
41751 * nss/makedb.c: Likewise.
41752 * posix/getconf.c: Likewise.
41753
41754 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41755
41756 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41757 numbers.
41758
41759 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41760
41761 * math/bits/mathcalls.h (modf): Use __nonnull.
41762
41763 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41764
41765 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41766 (split): Use macro CN instead of the bare value.
41767 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41768 could be used.
41769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41770 instead of the bare value.
41771 (power1): Likewise.
41772
41773 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41774
41775 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41776 __ATAN_TWOM.
41777 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41778
41779 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41780 their values.
41781 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41783 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41784 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41785
41786 2012-12-28 Andreas Jaeger <aj@suse.de>
41787
41788 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41789 values are from Linux 3.7.
41790
41791 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41792 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41793
41794 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41795
41796 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41797 TRUE case.
41798
41799 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41800 (norm): Likewise.
41801 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41802 variables with preprocessor constants.
41803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41804 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41805 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41806
41807 2012-12-27 Bruno Haible <bruno@clisp.org>
41808
41809 [BZ #14317]
41810 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41811 only if needed.
41812
41813 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41814
41815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41816 and use variable directly.
41817 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41818
41819 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41820 MPONE.
41821 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41822 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41823 variable MPONE.
41824 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41826 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41827 include directive. Remove local variable MPONE.
41828 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41829 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41830 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41831
41832 2012-12-25 David S. Miller <davem@davemloft.net>
41833
41834 * version.h (RELEASE): Set to "development".
41835 (VERSION): Set to "2.17.90".
41836 * NEWS: Add 2.18 section.
41837
41838 2012-12-21 David S. Miller <davem@davemloft.net>
41839
41840 * po/hr.po: Update from translation team.
41841
41842 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41843
41844 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41845
41846 2012-12-19 Steve Ellcey <sellcey@mips.com>
41847
41848 * NEWS: Mention new memcpy for MIPS.
41849
41850 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41851
41852 * manual/contrib.texi (Contributors): Spelling correction.
41853
41854 2012-12-15 David S. Miller <davem@davemloft.net>
41855
41856 * po/ru.po: Update from translation team.
41857
41858 2012-12-13 David S. Miller <davem@davemloft.net>
41859
41860 * NEWS: Mention IFUNC testsuite enhancements.
41861
41862 * po/pl.po: Update from translation team.
41863 * po/bg.po: Likewise.
41864
41865 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41866 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
41867
41868 2012-12-11 David S. Miller <davem@davemloft.net>
41869
41870 * po/sv.po: Update from translation team.
41871
41872 * po/vi.po: Update from translation team.
41873
41874 * po/cs.po: Update from translation team.
41875
41876 * po/de.po: Update from translation team.
41877 * po/eo.po: Likewise.
41878 * po/nl.po: Likewise.
41879
41880 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41881
41882 [BZ #14246]
41883 * manual/argp.texi (Argp Helper Functions): Move node to follow
41884 Argp Parsing State.
41885
41886 [BZ #14872]
41887 * manual/conf.texi (Limits on File System Capacity): Mention if
41888 terminating null is included in the max size.
41889
41890 2012-12-10 Andreas Jaeger <aj@suse.de>
41891
41892 * po/cs.po: Update from translation team.
41893
41894 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41895
41896 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41897 void pointer and cast to uintptr_t.
41898 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41899 path.
41900 * sysdeps/s390/s390-64/memcpy.S: Likewise.
41901 * sysdeps/s390/s390-64/memset.S: Likewise.
41902
41903 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
41904
41905 [BZ #14833]
41906 * menual/message.texi (Message Translation): Fix typos.
41907 (Helper programs for gettext): Likewise.
41908
41909 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
41910
41911 [BZ #14898]
41912 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41913 Change to -1.
41914
41915 2012-12-07 David S. Miller <davem@davemloft.net>
41916
41917 * po/libc.pot: Update.
41918
41919 2012-12-07 Richard Henderson <rth@redhat.com>
41920
41921 [BZ #10114]
41922 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41923 normal/normal case to before the switch.
41924 (_FP_DIV): Likewise.
41925
41926 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
41927 Mike Frysinger <vapier@gentoo.org>
41928
41929 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41930 check for __NR_fadvise64_64.
41931
41932 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
41933
41934 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41935 0, not just to plain "0" as a statement.
41936 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41937 with cw.
41938
41939 2012-12-06 Joseph Myers <joseph@codesourcery.com>
41940
41941 * NEWS: Use sourceware.org in Bugzilla URL.
41942
41943 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41944
41945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41946 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41947
41948 * stdio-common/tst-put-error.c (do_test): Add newline to the
41949 padded test to ensure flush.
41950
41951 2012-12-05 Jeff Law <law@redhat.com>
41952
41953 * sunrpc/etc.rpc (fedfs_admin): Add entry.
41954
41955 2012-12-05 Joseph Myers <joseph@codesourcery.com>
41956
41957 * README: Don't refer to ports add-on as distributed separately.
41958 Mention AArch64 in list of systems supported in the ports add-on.
41959
41960 * LICENSES: Add more non-FSF copyright and license notices.
41961
41962 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41963 ((unused)).
41964
41965 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41966
41967 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41968 10000 as width of padded output.
41969
41970 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41971
41972 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41973
41974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41975 variable LX with __attribute__ ((unused)).
41976 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41977 Likewise.
41978 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41980 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41981 with __attribute__ ((unused)).
41982
41983 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
41984
41985 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41986
41987 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41988
41989 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41990 (CFLAGS-nldbl-acos.c): New variable.
41991 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41992 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41993 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41994 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41995 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41996 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41997 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41998 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41999 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42000 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42001 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42002 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42003 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42004 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42005 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42006 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42007 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42008 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42009 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42010 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42011 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42012 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42013 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42014 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42015 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42016 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42017 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42018 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42019 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42020 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42021 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42022 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42023 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42024 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42025 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42026 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42027 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42028 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42029 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42030 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42031 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42032 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42033 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42034 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42035 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42036 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42037 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42038 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42039 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42040 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42041 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42042 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42043 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42044 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42045 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42046 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42047 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42048 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42049 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42050 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42051 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42052 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42053 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42054 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42055 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42056 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42057 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42058 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42059 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42060 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42061 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42062 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42063 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42064 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42065 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42066 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42067 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42068 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42069 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42070 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42071 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42072 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42073 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42074 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42075 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42076 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42077 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42078 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42079 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42080 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42081 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42082 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42083 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42084 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42085 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42086 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42087 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42088
42089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42090 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42091
42092 [BZ #14914]
42093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42094 whole low double instead of just low 47 bits when splitting values
42095 into two parts.
42096
42097 2012-12-03 Allan McRae <allan@archlinux.org>
42098
42099 * manual/stdio.texi (Predefined Printf Handlers): Remove
42100 @hsep and @vsep usage.
42101
42102 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42103
42104 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42105 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42106
42107 2012-12-03 Jeff Law <law@redhat.com>
42108
42109 * time/sys/time.h (settimeofday): Do not mark TV argument
42110 as __nonnull.
42111
42112 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42113
42114 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42115 when currently writing and seek to current position when not.
42116 * libio/Makefile (tests): Remove bug-fclose1.
42117 * libio/bug-fclose1.c: Delete.
42118
42119 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42120
42121 * manual/arith.texi (feenableexcept): Fix typo.
42122 (fedisableexcept): Likewise.
42123
42124 2012-11-30 Roland McGrath <roland@hack.frob.com>
42125
42126 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42127 second, differently-typed declaration, rather than a cast.
42128
42129 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42130
42131 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42132 * include/rpc/svc.h: ... here.
42133
42134 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42135
42136 [BZ #13013]
42137 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42138 depending n and resplen2 to catch cases where answer
42139 equals answerp2.
42140
42141 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42142
42143 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42144 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42145
42146 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42147
42148 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42149
42150 2012-11-29 Roland McGrath <roland@hack.frob.com>
42151
42152 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42153
42154 2012-11-28 Jeff Law <law@redhat.com>
42155
42156 [BZ #13761]
42157 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42158 dataset_temporary. Track alloca usage into alloca_used.
42159 If dataset is large allocate and release it via malloc/free.
42160
42161 2012-06-04 Florian Weimer <fweimer@redhat.com>
42162
42163 [BZ #14197]
42164 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42165
42166 2012-11-28 David S. Miller <davem@davemloft.net>
42167
42168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42169
42170 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42171
42172 [BZ #14803]
42173 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42174 of pi/2 rounded to nearest to 64 bits.
42175 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42176 nearest to 64 bits.
42177 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42178 bits.
42179
42180 2012-11-28 Jeff Law <law@redhat.com>
42181 Martin Osvald <mosvald@redhat.com>
42182
42183 [BZ #14889]
42184 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42185 * sunrpc/svc.c: Include time.h.
42186 (__svc_accept_failed): New function.
42187 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42188 any reason other than EINTR, call __svc_accept_failed.
42189 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42190 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42191
42192 2012-11-28 Andreas Schwab <schwab@suse.de>
42193
42194 * scripts/abilist.awk: Also handle indirect functions in .opd
42195 section.
42196
42197 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42198
42199 [BZ #13881]
42200 * sysdeps/x86/fpu/powl_helper.c: New file.
42201 * sysdeps/x86/fpu/Makefile: Likewise.
42202 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42203 (p3): New object.
42204 (__ieee754_powl): Use __powl_helper for finite arguments except
42205 integer exponents below 8.
42206 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42207 (p3): New object.
42208 (__ieee754_powl): Use __powl_helper for finite arguments except
42209 integer exponents below 8.
42210 * math/libm-test.inc (pow_test): Add more tests and enable some
42211 previously disabled tests.
42212 * sysdeps/i386/fpu/libm-test-ulps: Update.
42213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42214
42215 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42216 Carlos O'Donell <carlos_odonell@mentor.com>
42217
42218 * nss/makedb.c (is_prime): Assert that input is odd and greater
42219 than 4. Note that fact in a comment too.
42220 (next_prime): Add 4 to input.
42221
42222 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42223
42224 [BZ #11741]
42225 * libio/Makefile (tests): Add test case tst-fwrite-error.
42226 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42227 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42228 * libio/tst-fwrite-error.c: New test case.
42229
42230 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42231
42232 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42233 before casting to void *.
42234 * include/libc-internal.h (__pointer_type): New macro.
42235 (__integer_if_pointer_type_sub): Likewise.
42236 (__integer_if_pointer_type): Likewise.
42237 (cast_to_integer): Likewise.
42238 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42239 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42240 before casting to atomic64_t.
42241 (atomic_exchange_acq): Likewise.
42242 (__arch_exchange_and_add_body): Likewise.
42243 (__arch_add_body): Likewise.
42244 (atomic_add_negative): Likewise.
42245 (atomic_add_zero): Likewise.
42246
42247 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42248
42249 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42250 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42251 (add_fdes): Likewise.
42252 (linear_search_fdes): Likewise.
42253 (binary_search_unencoded_fdes): Likewise.
42254
42255 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42256
42257 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42258
42259 2012-11-24 Adam Conrad <adconrad@0c3.net>
42260
42261 * configure.in: Autodetect C++ header directories.
42262 * configure: Regenerated.
42263
42264 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42265
42266 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42267
42268 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42269
42270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42271
42272 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42273
42274 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42275 LDBL_MANT_DIG == 106]: Disable some tests.
42276 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42277 Likewise.
42278 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42279 Likewise.
42280
42281 [BZ #14871]
42282 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42283 input for small inputs. Return +/- pi/2 for large inputs.
42284 * math/libm-test.inc (atan_test): Add more tests.
42285
42286 * sysdeps/generic/unwind-dw2-fde-glibc.c
42287 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42288 __attribute__ ((unused)).
42289
42290 [BZ #14645]
42291 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42292 x * y if x and y are nonzero and z is zero.
42293
42294 [BZ #14811]
42295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42296 nonzero exponents with absolute value below 0x1p-117 to +/-
42297 0x1p-117.
42298
42299 [BZ #14869]
42300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42301 up arguments below 2**-450, not just those below 2**-500.
42302 * math/libm-test.inc (hypot_test): Add another test.
42303
42304 [BZ #14868]
42305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42306 Return a+b for ratio over 2**120, not 2**60.
42307 * math/libm-test.inc (hypot_test): Add another test.
42308
42309 * math/libm-test.inc (clog_test): Use
42310 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42311 (clog10_test): Likewise.
42312
42313 [BZ #6778]
42314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42315
42316 2012-11-22 Andreas Schwab <schwab@suse.de>
42317
42318 * sysdeps/i386/fpu/libm-test-ulps: Update.
42319
42320 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42321
42322 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42323 printf output with newline.
42324
42325 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42326
42327 [BZ #14865]
42328 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42329 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42330 -z nodlopen, -z initfirst and -z execstack support.
42331 * configure: Regenerated.
42332
42333 * elf/elf.h (DF_1_NODIRECT): New macro.
42334 (DF_1_IGNMULDEF): Likewise.
42335 (DF_1_NOKSYMS): Likewise.
42336 (DF_1_NOHDR): Likewise.
42337 (DF_1_EDITED): Likewise.
42338 (DF_1_NORELOC): Likewise.
42339 (DF_1_SYMINTPOSE): Likewise.
42340 (DF_1_GLOBAUDIT): Likewise.
42341 (DF_1_SINGLETON): Likewise.
42342 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42343 DT_1_SUPPORTED_MASK bits.
42344 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42345
42346 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42347
42348 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42349
42350 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42351
42352 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42353 macro.
42354
42355 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42356 (sendmmsg): Move declarations...
42357 * socket/sys/socket.h: ... here.
42358 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42359 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42360 include it from...
42361 * socket/recvmmsg.c: ... this new file.
42362 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42363 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42364 definition of __sendmmsg hidden.
42365 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42366 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42367 Move ENOSYS stub into and include it from...
42368 * socket/sendmmsg.c: ... this new file.
42369 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42370 (sysdep_routines): Move recvmmsg and sendmmsg...
42371 * socket/Makefile (routines): ... here.
42372 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42373 (GLIBC_PRIVATE): Add __sendmmsg.
42374 * include/sys/socket.h (__sendmmsg): Add declarations.
42375 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42376 sendmmsg.
42377
42378 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42379
42380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42381 variable I1 with __attribute__ ((unused)).
42382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42383
42384 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42385
42386 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42387 DUMMY variables with __attribute__ ((unused)).
42388
42389 * bits/byteswap.h: Include <bits/types.h>.
42390 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42391
42392 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42393
42394 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42395 string_t. Do not manually set errno.
42396 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42397 length with __strnlen. Make sure to both set errno and return it on
42398 failure.
42399
42400 2012-11-19 David S. Miller <davem@davemloft.net>
42401
42402 With help from Joseph Myers.
42403 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42404 very large arguments properly.
42405 * math/libm-test.inc (atan_test): New tests.
42406 (atan2_test): New tests.
42407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42409
42410 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42411
42412 [BZ #14856]
42413 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42414 Define to 3.
42415
42416 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42417 [POSIX] (EADDRNOTAVAIL): Likewise.
42418 [POSIX] (EAFNOSUPPORT): Likewise.
42419 [POSIX] (EALREADY): Likewise.
42420 [POSIX] (ECONNABORTED): Likewise.
42421 [POSIX] (ECONNREFUSED): Likewise.
42422 [POSIX] (ECONNRESET): Likewise.
42423 [POSIX] (EDESTADDRREQ): Likewise.
42424 [POSIX] (EDQUOT): Likewise.
42425 [POSIX] (EHOSTUNREACH): Likewise.
42426 [POSIX] (EIDRM): Likewise.
42427 [POSIX] (EISCONN): Likewise.
42428 [POSIX] (ELOOP): Likewise.
42429 [POSIX] (EMULTIHOP): Likewise.
42430 [POSIX] (ENETDOWN): Likewise.
42431 [POSIX] (ENETUNREACH): Likewise.
42432 [POSIX] (ENOBUFS): Likewise.
42433 [POSIX] (ENODATA): Likewise.
42434 [POSIX] (ENOLINK): Likewise.
42435 [POSIX] (ENOMSG): Likewise.
42436 [POSIX] (ENOPROTOOPT): Likewise.
42437 [POSIX] (ENOSR): Likewise.
42438 [POSIX] (ENOSTR): Likewise.
42439 [POSIX] (ENOTCONN): Likewise.
42440 [POSIX] (ENOTSOCK): Likewise.
42441 [POSIX] (EOPNOTSUPP): Likewise.
42442 [POSIX] (EOVERFLOW): Likewise.
42443 [POSIX] (EPROTO): Likewise.
42444 [POSIX] (EPROTONOSUPPORT): Likewise.
42445 [POSIX] (EPROTOTYPE): Likewise.
42446 [POSIX] (ESTALE): Likewise.
42447 [POSIX] (ETIME): Likewise.
42448 [POSIX] (ETXTBSY): Likewise.
42449 [POSIX] (EWOULDBLOCK): Likewise.
42450 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42451 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42452 [POSIX] (SEEK_CUR): Likewise.
42453 [POSIX] (SEEK_END): Likewise.
42454 [POSIX || UNIX98] (mode_t): Do not require.
42455 [POSIX] (off_t): Likewise.
42456 [POSIX] (pid_t): Likewise.
42457 [POSIX] (sys/stat.h): Do not allow header.
42458 [POSIX] (unistd.h): Likewise.
42459 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42460 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42461 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42462 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42463 require.
42464 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42465 sigevent): Specify elements.
42466 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42467 entry.
42468 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42469 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42470
42471 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42472 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42473 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42474 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42475 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42476 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42477 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42478 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42479 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42480 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42481 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42482 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42483 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42484 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42485 Likewise.
42486 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42487 Likewise.
42488 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42489 Likewise.
42490 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42491 Likewise.
42492 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42493 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42494 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42495 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42496 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42497 Specify lower bound on value.
42498 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42499 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42500 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42501 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42502 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42503 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42504 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42505 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42506 value.
42507 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42508 as optional.
42509 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42510 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42511 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42512 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42513 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42514 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42515 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42516 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42517 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42518 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42519 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42520 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42521 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42522 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42523 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42524 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42525 entry.
42526 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42527 optional.
42528 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42529 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42530 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42531 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42532 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42533 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42534 Likewise.
42535 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42536 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42537 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42538 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42539 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42540 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42541 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42542 as optional.
42543 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42544 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42545 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42546 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42547 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42548 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42549 specify as optional.
42550 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42551 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42552 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42553 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42554 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42555 [XPG3] (NL_LANGMAX): Likewise.
42556 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42557 [POSIX || XPG3] (NL_NMAX): Likewise.
42558 [POSIX || XPG3] (NL_SETMAX): Likewise.
42559 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42560 [XPG3] (NZERO): Likewise.
42561 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42562 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42563 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42564 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42565 (REG_ERANGE): Expect.
42566 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42567 optional-constant.
42568 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42569 Use (void) in prototype.
42570 [POSIX] (*_t): Allow.
42571 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42572 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42573 (WRDE_BADVAL): Expect.
42574
42575 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42576 expect.
42577 [XPG3 || XPG4] (O_RSYNC): Likewise.
42578 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42579 Likewise.
42580 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42581 [XPG3 || XPG4] (sigqueue): Likewise.
42582 [XPG3 || XPG4] (sigtimedwait): Likewise.
42583 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42584 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42585 [XPG3 || XPG4] (vsnprintf): Likewise.
42586 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42587 Likewise.
42588 [XPG3 || XPG4] (blksize_t): Likewise.
42589 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42590 Likewise.
42591 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42592 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42593 [XPG3 || XPG4] (struct itimerspec): Likewise.
42594 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42595 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42596 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42597 [XPG3 || XPG4] (clockid_t): Likewise.
42598 [XPG3 || XPG4] (timer_t): Likewise.
42599 [XPG3 || XPG4] (clock_getres): Likewise.
42600 [XPG3 || XPG4] (clock_gettime): Likewise.
42601 [XPG3 || XPG4] (clock_settime): Likewise.
42602 [XPG3 || XPG4] (nanosleep): Likewise.
42603 [XPG3 || XPG4] (timer_create): Likewise.
42604 [XPG3 || XPG4] (timer_delete): Likewise.
42605 [XPG3 || XPG4] (timer_gettime): Likewise.
42606 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42607 [XPG3 || XPG4] (timer_settime): Likewise.
42608 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42609 [XPG3 || XPG4] (getlogin_r): Likewise.
42610 [XPG3 || XPG4] (pread): Likewise.
42611 [XPG3 || XPG4] (pthread_atfork): Likewise.
42612 [XPG3 || XPG4] (pwrite): Likewise.
42613
42614 [BZ #14835]
42615 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42616 <bits/siginfo.h>.
42617
42618 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42619
42620 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42621 finalizing MALLSTREAM.
42622
42623 * sysdeps/mach/hurd/syncfs.c: New file.
42624
42625 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42626
42627 [BZ #14719]
42628 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42629 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42630 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42631 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42632 (_nss_dns_gethostbyname4_r): Likewise.
42633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42634 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42635
42636 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42637
42638 [BZ #13763]
42639 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42640
42641 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42642
42643 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42644 * elf/cache.c (print_entry): Print ",AArch64" for
42645 FLAG_AARCH64_LIB64
42646
42647 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42648 * elf/cache.c (print_entry): Print ",hard-float" for
42649 FLAG_ARM_LIBHF.
42650
42651 2012-11-18 David S. Miller <davem@davemloft.net>
42652
42653 With help from Joseph Myers.
42654 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42655 cutoff to 2**-13.
42656 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42657 cutoff to 2**-25.
42658 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42659 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42660 small.
42661 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42662 * math/libm-test.inc (y0_test): New tests.
42663 (y1_test): New tests.
42664 * sysdeps/i386/fpu/libm-test-ulps: Update.
42665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42667
42668 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42669
42670 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42671 64-bit targets.
42672 * configure: Regenerated.
42673
42674 2012-11-17 David S. Miller <davem@davemloft.net>
42675
42676 [BZ #14811]
42677 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42678 nonzero exponents with absolute value below 0x1p-128 to +/-
42679 0x1p-128.
42680
42681 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42682
42683 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42684
42685 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42686
42687 * posix/getconf-speclist.c: New file.
42688 * posix/posix-envs.def: Likewise.
42689 * posix/confstr.c (START_ENV_GROUP): New macro.
42690 (END_ENV_GROUP): Likewise.
42691 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42692 (KNOWN_PRESENT_ENV_STRING): Likewise.
42693 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42694 (UNKNOWN_ENVIRONMENT): Likewise.
42695 (confstr): Include posix-envs.def instead of handling
42696 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42697 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42698 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42699 (END_ENV_GROUP): Likewise.
42700 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42701 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42702 (UNKNOWN_ENVIRONMENT): Likewise.
42703 (__sysconf): Include posix-envs.def instead of handling associated
42704 cases directly here.
42705 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42706 preprocessing getconf-speclist.c rather than running getconf or
42707 generating empty file.
42708
42709 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42710
42711 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42712
42713 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42714
42715 [BZ #14672]
42716 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42717
42718 2012-11-16 David S. Miller <davem@davemloft.net>
42719
42720 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42721 smaller than LDBL_EPSILON/2.0L, just return xm1.
42722
42723 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42724
42725 * elf/tst-array1.c (init): Set constructor priority to 1000.
42726 (fini): Set destructor priority to 1000.
42727 * elf/tst-array2dep.c: Likewise.
42728
42729 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42730
42731 [BZ #11741]
42732 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42733 (_IO_new_file_xsputn): Also return EOF if none of the input
42734 data was written when overflow failed.
42735 * libio/iopadn.c (_IO_padn): Likewise.
42736 * libio/iowpadn.c (_IO_wpadn): Likewise.
42737 * stdio-common/tst-put-error.c: Add copyright notice.
42738 (do_test): Add case for printing padded string.
42739 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42740 _IO_padn returned error.
42741 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42742 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42743 return EOF.
42744
42745 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42746
42747 * libio/libioP.h: Add comment note that the references to C++
42748 bits are now obsolete.
42749
42750 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42751
42752 * math/libm-test.inc (check_complex): Use asprintf.
42753
42754 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42755
42756 * debug/pcprofiledump.c (print_version): Update copyright year.
42757 * malloc/memusagestat.c (print_version): Likewise.
42758
42759 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42760
42761 [BZ #14831]
42762 * elf/Makefile (tests): Add tst-audit8.
42763 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42764 ($(objpfx)tst-audit8.out): New target.
42765 (tst-audit8-ENV): New variable.
42766 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42767 audit if l_reloc_result is NULL.
42768 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42769 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42770 * elf/tst-audit8.c: New file.
42771
42772 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42773
42774 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42775 * misc/Makefile (CFLAGS-select.c): Define.
42776 * posix/Makefile (CFLAGS-pause.c): Define.
42777
42778 2012-11-13 David S. Miller <davem@davemloft.net>
42779
42780 * crypt/Makefile: Move test targets after toplevel Rules
42781 inclusion. Grab any necessary sysdep routines when linking.
42782 * crypt/md5.c (md5_process_block): Remove define, we will always
42783 name it __md5_process_block.
42784 (md5_finish_ctx): Update md5_process_block call.
42785 (md5_stream): Likewise.
42786 (md5_process_bytes): Likewise.
42787 (md5_process_block): Rename to __md5_process_block and move to ...
42788 * crypt/md5-block.c: ... here.
42789 * crypt/sha256.c (sha256_process_block): Move to ...
42790 * crypt/sha256-block.c: ... here.
42791 * crypt/sha512.c (sha512_process_block): Move to ...
42792 * crypt/sha512-block.c: ... here.
42793 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42794 path.
42795 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42796 * sysdeps/sparc/sparc64/multiarch/Makefile
42797 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42798 crypt subdir.
42799 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42800 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42801 multiarch changes.
42802 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42803 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42804 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42805 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42806 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42807 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42808 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42809 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42810 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42811 file.
42812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42813 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42814 file.
42815 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42816
42817 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42818
42819 * timezone/tzselect.ksh: Update from tzcode git revision
42820 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42821 * timezone/zdump.c: Likewise.
42822 * timezone/zic.c: Likewise.
42823 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42824 in TZVERSION setting, not $(PKGVERSION).
42825 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42826 REPORT_BUGS_TO settings.
42827
42828 [BZ #14838]
42829 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42830 macro.
42831
42832 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42833
42834 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42835 detection to immediately after _FP_ROUND().
42836 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42837 bits are 0.
42838
42839 2012-11-11 David S. Miller <davem@davemloft.net>
42840
42841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42842 inttypes.h
42843 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42844 __close rather than their public counterparts.
42845
42846 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42847
42848 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42849 file.
42850 [UNIX98] (sem_timedwait): Do not expect.
42851 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42852 [XPG4 || UNIX98] (sockatmark): Do not expect.
42853 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42854 (clock_getcpuclockid): Do not expect.
42855 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42856 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42857 Do not expect.
42858 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42859 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42860 [UNIX98] (vwscanf): Likewise.
42861 [UNIX98] (vswscanf): Likewise.
42862
42863 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42864
42865 * timezone/version.h: Remove file.
42866 * timezone/README: Do not refer to version.h.
42867 * timezone/Makefile ($(objpfx)zic.o): New dependency on
42868 $(objpfx)version.h.
42869 ($(objpfx)zdump.o): Likewise.
42870 ($(objpfx)version.h): New target.
42871
42872 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42873 2012i.
42874 * timezone/README: Don't mention modification to tzselect.ksh.
42875 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42876 work on unmodified tzselect.ksh. Substitute version numbers in
42877 tzselect.ksh.
42878
42879 * Makefile (format-me): Remove.
42880 (INSTALL): Adjust indentation. Use commands directly instead of
42881 using $(format-me).
42882
42883 * aclocal.m4 (ACX_PKGVERSION): New macro.
42884 (ACX_BUGURL): Likewise.
42885 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42886 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42887 (REPORT_BUGS_TO): Likewise.
42888 * configure: Regenerated.
42889 * config.h.in (PKGVERSION): New macro.
42890 (REPORT_BUGS_TO): Likewise.
42891 * config.make.in (PKGVERSION): New variable.
42892 (PKGVERSION_TEXI): Likewise.
42893 (REPORT_BUGS_TO): Likewise.
42894 (REPORT_BUGS_TEXI): Likewise.
42895 * Makefile (format-me): Use -I$(common-objpfx)manual.
42896 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42897 ($(common-objpfx)manual/%): New target.
42898 (manual/%): Remove target.
42899 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42900 (print_version): Use PKGVERSION.
42901 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42902 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42903 and REPORT_BUGS_TO.
42904 ($(objpfx)xtrace): Likewise.
42905 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42906 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42907 (print_version): Use PKGVERSION.
42908 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42909 (do_version): Use PKGVERSION.
42910 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42911 REPORT_BUGS_TO.
42912 (common-ldd-rewrite): Likewise.
42913 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42914 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42915 (print_version): Use PKGVERSION.
42916 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42917 * elf/pldd.c (argp_program_bug_address): Remove variable.
42918 (more_help): New function.
42919 (argp): Use more_help.
42920 (print_version): Use PKGVERSION.
42921 * elf/sln.c (main): Use PKGVERSION.
42922 (usage): Use REPORT_BUGS_TO.
42923 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42924 (top level): Use PKGVERSION.
42925 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42926 (print_version): Use PKGVERSION.
42927 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42928 (print_version): Use PKGVERSION.
42929 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42930 (print_version): Use PKGVERSION.
42931 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42932 (print_version): Use PKGVERSION.
42933 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42934 (print_version): Use PKGVERSION.
42935 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42936 (print_version): Use PKGVERSION.
42937 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42938 and BUGURL.
42939 ($(objpfx)memusage): Likewise.
42940 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42941 (do_version): Use PKGVERSION.
42942 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42943 (print_version): Use PKGVERSION.
42944 * malloc/mtrace.pl ($PACKAGE): Remove variable.
42945 ($PKGVERSION): New variable.
42946 ($REPORT_BUGS_TO): Likewise.
42947 (usage): Use $REPORT_BUGS_TO.
42948 (top level): Use $PKGVERSION.
42949 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42950 ($(objpfx)pkgvers.texi): New rule.
42951 ($(objpfx)stamp-pkgvers): Likewise.
42952 * manual/install.texi: Include pkgvers.texi.
42953 (--with-pkgversion): Document new configure option.
42954 (--with-bugurl): Likewise.
42955 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42956 than necessarily for this particular distribution. Use
42957 REPORT_BUGS_TO for where to report bugs.
42958 * INSTALL: Regenerated.
42959 * manual/libc.texinfo: Include pkgvers.texi.
42960 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42961 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42962 (print_version): Use PKGVERSION.
42963 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42964 (print_version): Use PKGVERSION.
42965 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42966 (print_version): Use PKGVERSION.
42967 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42968 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42969 macro.
42970 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42971 (print_version): Use PKGVERSION.
42972 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42973 (print_version): Use PKGVERSION.
42974 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42975 and PKGVERSION.
42976
42977 * timezone/checktab.awk: Update from tzcode 2012i.
42978 * timezone/ialloc.c: Likewise.
42979 * timezone/private.h: Likewise.
42980 * timezone/scheck.c: Likewise.
42981 * timezone/tzfile.h: Likewise.
42982 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42983 (TZVERSION): Hardcode tzcode version number.
42984 * timezone/zdump.c: Update from tzcode 2012i.
42985 * timezone/zic.c: Likewise.
42986 * timezone/version.h: New file.
42987 * timezone/README: Describe version.h. Update upstream location.
42988
42989 [BZ #14824]
42990 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42991 (mktemp): Enable declaration.
42992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42995 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42996 Likewise.
42997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42998 Likewise.
42999 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43000 Likewise.
43001 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43002 Likewise.
43003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43004 Likewise.
43005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43006 Likewise.
43007
43008 [BZ #14821]
43009 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43010 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43011 for copies of such integer values.
43012 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43013 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43014
43015 2012-11-09 Andreas Jaeger <aj@suse.de>
43016
43017 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43018 definitions and declarations that are provided by
43019 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43020
43021 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43022
43023 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43024 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43025 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43026 definition.
43027
43028 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43029
43030 * elf/elf.h: Update comment before AArch64 relocations.
43031
43032 2012-11-07 David S. Miller <davem@davemloft.net>
43033
43034 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43035 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43036 (__start_context): Declare.
43037 (__makecontext_ret): Delete.
43038 (__makecontext): Hook up __start_context instead of
43039 __makecontext_ret.
43040 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43041 (sysdep_routines): Add __start_context when in stdlib.
43042
43043 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43044
43045 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43046 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43047 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43048 hardcoded "nm".
43049 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43050 (READELF): New variable. Use it instead of hardcoded "readelf".
43051
43052 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43053
43054 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43055 * sysdeps/x86/Makefile: Here.
43056 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43057 * sysdeps/x86/tst-xmmymm.sh: This.
43058
43059 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43060
43061 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43062 expectations.
43063 [UNIX98] (pthread_barrier_t): Do not expect.
43064 [UNIX98] (pthread_barrierattr_t): Likewise.
43065 [UNIX98] (pthread_spinlock_t): Likewise.
43066 [UNIX98] (pthread_barrier_destroy): Likewise.
43067 [UNIX98] (pthread_barrier_init): Likewise.
43068 [UNIX98] (pthread_barrier_wait): Likewise.
43069 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43070 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43071 [UNIX98] (pthread_barrierattr_init): Likewise.
43072 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43073 [UNIX98] (pthread_getcpuclockid): Likewise.
43074 [UNIX98] (pthread_mutex_timedlock): Likewise.
43075 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43076 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43077 [UNIX98] (pthread_sigmask): Likewise.
43078 [UNIX98] (pthread_spin_destroy): Likewise.
43079 [UNIX98] (pthread_spin_init): Likewise.
43080 [UNIX98] (pthread_spin_lock): Likewise.
43081 [UNIX98] (pthread_spin_trylock): Likewise.
43082 [UNIX98] (pthread_spin_unlock): Likewise.
43083 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43084 Do not expect.
43085 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43087 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43088 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43089 [XPG3 || XPG4] (pthread_key_t): Likewise.
43090 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43091 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43092 [XPG3 || XPG4] (pthread_once_t): Likewise.
43093 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43094 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43095 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43096 [XPG3 || XPG4] (pthread_t): Likewise.
43097
43098 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43099 not expect.
43100 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43101
43102 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43103 Change function return type to int.
43104
43105 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43106 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43107 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43108 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43109 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43110 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43111 [!POSIX] (posix_madvise): Likewise.
43112 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43113 && !UNIX98].
43114 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43115 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43116 (mode_t): Likewise.
43117 (posix_mem_offset): Likewise.
43118 (posix_typed_mem_get_info): Likewise.
43119 (posix_typed_mem_open): Likewise.
43120
43121 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43122 Change condition to [XOPEN2K8].
43123
43124 * conform/conformtest.pl: Preprocess allow-header data with -x c
43125 instead of from stdin.
43126 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43127 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43128 [C99-based standards] (cerfc): Likewise.
43129 [C99-based standards] (cexp2): Likewise.
43130 [C99-based standards] (cexpm1): Likewise.
43131 [C99-based standards] (clog10): Likewise.
43132 [C99-based standards] (clog1p): Likewise.
43133 [C99-based standards] (clog2): Likewise.
43134 [C99-based standards] (clgamma): Likewise.
43135 [C99-based standards] (ctgamma): Likewise.
43136 [C99-based standards] (cerff): Likewise.
43137 [C99-based standards] (cerfcf): Likewise.
43138 [C99-based standards] (cexp2f): Likewise.
43139 [C99-based standards] (cexpm1f): Likewise.
43140 [C99-based standards] (clog10f): Likewise.
43141 [C99-based standards] (clog1pf): Likewise.
43142 [C99-based standards] (clog2f): Likewise.
43143 [C99-based standards] (clgammaf): Likewise.
43144 [C99-based standards] (ctgammaf): Likewise.
43145 [C99-based standards] (cerfl): Likewise.
43146 [C99-based standards] (cerfcl): Likewise.
43147 [C99-based standards] (cexp2l): Likewise.
43148 [C99-based standards] (cexpm1l): Likewise.
43149 [C99-based standards] (clog10l): Likewise.
43150 [C99-based standards] (clog1pl): Likewise.
43151 [C99-based standards] (clog2l): Likewise.
43152 [C99-based standards] (clgammal): Likewise.
43153 [C99-based standards] (ctgammal): Likewise.
43154 * conform/data/inttypes.h-data [C99-based standards]: Include
43155 stdint.h-data. Remove all expectations for stdint.h contents.
43156 [C99-based standards] (PRI*): Do not allow.
43157 [C99-based standards] (SCN*): Likewise.
43158 [C99-based standards] (*_t): Likewise.
43159 [C99-based-standards] (PRId8): Expect macro.
43160 [C99-based-standards] (PRIi8): Likewise.
43161 [C99-based-standards] (PRIo8): Likewise.
43162 [C99-based-standards] (PRIu8): Likewise.
43163 [C99-based-standards] (PRIx8): Likewise.
43164 [C99-based-standards] (PRIX8): Likewise.
43165 [C99-based-standards] (SCNd8): Likewise.
43166 [C99-based-standards] (SCNi8): Likewise.
43167 [C99-based-standards] (SCNo8): Likewise.
43168 [C99-based-standards] (SCNu8): Likewise.
43169 [C99-based-standards] (SCNx8): Likewise.
43170 [C99-based-standards] (PRIdLEAST8): Likewise.
43171 [C99-based-standards] (PRIiLEAST8): Likewise.
43172 [C99-based-standards] (PRIoLEAST8): Likewise.
43173 [C99-based-standards] (PRIuLEAST8): Likewise.
43174 [C99-based-standards] (PRIxLEAST8): Likewise.
43175 [C99-based-standards] (PRIXLEAST8): Likewise.
43176 [C99-based-standards] (SCNdLEAST8): Likewise.
43177 [C99-based-standards] (SCNiLEAST8): Likewise.
43178 [C99-based-standards] (SCNoLEAST8): Likewise.
43179 [C99-based-standards] (SCNuLEAST8): Likewise.
43180 [C99-based-standards] (SCNxLEAST8): Likewise.
43181 [C99-based-standards] (PRIdFAST8): Likewise.
43182 [C99-based-standards] (PRIiFAST8): Likewise.
43183 [C99-based-standards] (PRIoFAST8): Likewise.
43184 [C99-based-standards] (PRIuFAST8): Likewise.
43185 [C99-based-standards] (PRIxFAST8): Likewise.
43186 [C99-based-standards] (PRIXFAST8): Likewise.
43187 [C99-based-standards] (SCNdFAST8): Likewise.
43188 [C99-based-standards] (SCNiFAST8): Likewise.
43189 [C99-based-standards] (SCNoFAST8): Likewise.
43190 [C99-based-standards] (SCNuFAST8): Likewise.
43191 [C99-based-standards] (SCNxFAST8): Likewise.
43192 [C99-based-standards] (PRId16): Likewise.
43193 [C99-based-standards] (PRIi16): Likewise.
43194 [C99-based-standards] (PRIo16): Likewise.
43195 [C99-based-standards] (PRIu16): Likewise.
43196 [C99-based-standards] (PRIx16): Likewise.
43197 [C99-based-standards] (PRIX16): Likewise.
43198 [C99-based-standards] (SCNd16): Likewise.
43199 [C99-based-standards] (SCNi16): Likewise.
43200 [C99-based-standards] (SCNo16): Likewise.
43201 [C99-based-standards] (SCNu16): Likewise.
43202 [C99-based-standards] (SCNx16): Likewise.
43203 [C99-based-standards] (PRIdLEAST16): Likewise.
43204 [C99-based-standards] (PRIiLEAST16): Likewise.
43205 [C99-based-standards] (PRIoLEAST16): Likewise.
43206 [C99-based-standards] (PRIuLEAST16): Likewise.
43207 [C99-based-standards] (PRIxLEAST16): Likewise.
43208 [C99-based-standards] (PRIXLEAST16): Likewise.
43209 [C99-based-standards] (SCNdLEAST16): Likewise.
43210 [C99-based-standards] (SCNiLEAST16): Likewise.
43211 [C99-based-standards] (SCNoLEAST16): Likewise.
43212 [C99-based-standards] (SCNuLEAST16): Likewise.
43213 [C99-based-standards] (SCNxLEAST16): Likewise.
43214 [C99-based-standards] (PRIdFAST16): Likewise.
43215 [C99-based-standards] (PRIiFAST16): Likewise.
43216 [C99-based-standards] (PRIoFAST16): Likewise.
43217 [C99-based-standards] (PRIuFAST16): Likewise.
43218 [C99-based-standards] (PRIxFAST16): Likewise.
43219 [C99-based-standards] (PRIXFAST16): Likewise.
43220 [C99-based-standards] (SCNdFAST16): Likewise.
43221 [C99-based-standards] (SCNiFAST16): Likewise.
43222 [C99-based-standards] (SCNoFAST16): Likewise.
43223 [C99-based-standards] (SCNuFAST16): Likewise.
43224 [C99-based-standards] (SCNxFAST16): Likewise.
43225 [C99-based-standards] (PRId32): Likewise.
43226 [C99-based-standards] (PRIi32): Likewise.
43227 [C99-based-standards] (PRIo32): Likewise.
43228 [C99-based-standards] (PRIu32): Likewise.
43229 [C99-based-standards] (PRIx32): Likewise.
43230 [C99-based-standards] (PRIX32): Likewise.
43231 [C99-based-standards] (SCNd32): Likewise.
43232 [C99-based-standards] (SCNi32): Likewise.
43233 [C99-based-standards] (SCNo32): Likewise.
43234 [C99-based-standards] (SCNu32): Likewise.
43235 [C99-based-standards] (SCNx32): Likewise.
43236 [C99-based-standards] (PRIdLEAST32): Likewise.
43237 [C99-based-standards] (PRIiLEAST32): Likewise.
43238 [C99-based-standards] (PRIoLEAST32): Likewise.
43239 [C99-based-standards] (PRIuLEAST32): Likewise.
43240 [C99-based-standards] (PRIxLEAST32): Likewise.
43241 [C99-based-standards] (PRIXLEAST32): Likewise.
43242 [C99-based-standards] (SCNdLEAST32): Likewise.
43243 [C99-based-standards] (SCNiLEAST32): Likewise.
43244 [C99-based-standards] (SCNoLEAST32): Likewise.
43245 [C99-based-standards] (SCNuLEAST32): Likewise.
43246 [C99-based-standards] (SCNxLEAST32): Likewise.
43247 [C99-based-standards] (PRIdFAST32): Likewise.
43248 [C99-based-standards] (PRIiFAST32): Likewise.
43249 [C99-based-standards] (PRIoFAST32): Likewise.
43250 [C99-based-standards] (PRIuFAST32): Likewise.
43251 [C99-based-standards] (PRIxFAST32): Likewise.
43252 [C99-based-standards] (PRIXFAST32): Likewise.
43253 [C99-based-standards] (SCNdFAST32): Likewise.
43254 [C99-based-standards] (SCNiFAST32): Likewise.
43255 [C99-based-standards] (SCNoFAST32): Likewise.
43256 [C99-based-standards] (SCNuFAST32): Likewise.
43257 [C99-based-standards] (SCNxFAST32): Likewise.
43258 [C99-based-standards] (PRId64): Likewise.
43259 [C99-based-standards] (PRIi64): Likewise.
43260 [C99-based-standards] (PRIo64): Likewise.
43261 [C99-based-standards] (PRIu64): Likewise.
43262 [C99-based-standards] (PRIx64): Likewise.
43263 [C99-based-standards] (PRIX64): Likewise.
43264 [C99-based-standards] (SCNd64): Likewise.
43265 [C99-based-standards] (SCNi64): Likewise.
43266 [C99-based-standards] (SCNo64): Likewise.
43267 [C99-based-standards] (SCNu64): Likewise.
43268 [C99-based-standards] (SCNx64): Likewise.
43269 [C99-based-standards] (PRIdLEAST64): Likewise.
43270 [C99-based-standards] (PRIiLEAST64): Likewise.
43271 [C99-based-standards] (PRIoLEAST64): Likewise.
43272 [C99-based-standards] (PRIuLEAST64): Likewise.
43273 [C99-based-standards] (PRIxLEAST64): Likewise.
43274 [C99-based-standards] (PRIXLEAST64): Likewise.
43275 [C99-based-standards] (SCNdLEAST64): Likewise.
43276 [C99-based-standards] (SCNiLEAST64): Likewise.
43277 [C99-based-standards] (SCNoLEAST64): Likewise.
43278 [C99-based-standards] (SCNuLEAST64): Likewise.
43279 [C99-based-standards] (SCNxLEAST64): Likewise.
43280 [C99-based-standards] (PRIdFAST64): Likewise.
43281 [C99-based-standards] (PRIiFAST64): Likewise.
43282 [C99-based-standards] (PRIoFAST64): Likewise.
43283 [C99-based-standards] (PRIuFAST64): Likewise.
43284 [C99-based-standards] (PRIxFAST64): Likewise.
43285 [C99-based-standards] (PRIXFAST64): Likewise.
43286 [C99-based-standards] (SCNdFAST64): Likewise.
43287 [C99-based-standards] (SCNiFAST64): Likewise.
43288 [C99-based-standards] (SCNoFAST64): Likewise.
43289 [C99-based-standards] (SCNuFAST64): Likewise.
43290 [C99-based-standards] (SCNxFAST64): Likewise.
43291 [C99-based-standards] (PRIdMAX): Likewise.
43292 [C99-based-standards] (PRIiMAX): Likewise.
43293 [C99-based-standards] (PRIoMAX): Likewise.
43294 [C99-based-standards] (PRIuMAX): Likewise.
43295 [C99-based-standards] (PRIxMAX): Likewise.
43296 [C99-based-standards] (PRIXMAX): Likewise.
43297 [C99-based-standards] (SCNdMAX): Likewise.
43298 [C99-based-standards] (SCNiMAX): Likewise.
43299 [C99-based-standards] (SCNoMAX): Likewise.
43300 [C99-based-standards] (SCNuMAX): Likewise.
43301 [C99-based-standards] (SCNxMAX): Likewise.
43302 [C99-based-standards] (PRIdPTR): Likewise.
43303 [C99-based-standards] (PRIiPTR): Likewise.
43304 [C99-based-standards] (PRIoPTR): Likewise.
43305 [C99-based-standards] (PRIuPTR): Likewise.
43306 [C99-based-standards] (PRIxPTR): Likewise.
43307 [C99-based-standards] (PRIXPTR): Likewise.
43308 [C99-based-standards] (SCNdPTR): Likewise.
43309 [C99-based-standards] (SCNiPTR): Likewise.
43310 [C99-based-standards] (SCNoPTR): Likewise.
43311 [C99-based-standards] (SCNuPTR): Likewise.
43312 [C99-based-standards] (SCNxPTR): Likewise.
43313 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43314 allow.
43315 * conform/data/stdint.h-data: Update comments to clarify
43316 requirements.
43317 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43318 type.
43319 [C99-based standards] (INT8_MAX): Likewise.
43320 [C99-based standards] (INT16_MIN): Likewise.
43321 [C99-based standards] (INT16_MAX): Likewise.
43322 [C99-based standards] (INT32_MIN): Likewise.
43323 [C99-based standards] (INT32_MAX): Likewise.
43324 [C99-based standards] (INT64_MIN): Likewise.
43325 [C99-based standards] (INT64_MAX): Likewise.
43326 [C99-based standards] (UINT8_MAX): Likewise.
43327 [C99-based standards] (UINT16_MAX): Likewise.
43328 [C99-based standards] (UINT32_MAX): Likewise.
43329 [C99-based standards] (UINT64_MAX): Likewise.
43330 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43331 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43332 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43333 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43334 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43335 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43336 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43337 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43338 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43339 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43340 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43341 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43342 [C99-based standards] (INT_FAST8_MIN): Likewise.
43343 [C99-based standards] (INT_FAST8_MAX): Likewise.
43344 [C99-based standards] (INT_FAST16_MIN): Likewise.
43345 [C99-based standards] (INT_FAST16_MAX): Likewise.
43346 [C99-based standards] (INT_FAST32_MIN): Likewise.
43347 [C99-based standards] (INT_FAST32_MAX): Likewise.
43348 [C99-based standards] (INT_FAST64_MIN): Likewise.
43349 [C99-based standards] (INT_FAST64_MAX): Likewise.
43350 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43351 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43352 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43353 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43354 [C99-based standards] (INTPTR_MIN): Likewise.
43355 [C99-based standards] (INTPTR_MAX): Likewise.
43356 [C99-based standards] (UINTPTR_MAX): Likewise.
43357 [C99-based standards] (INTMAX_MIN): Likewise.
43358 [C99-based standards] (INTMAX_MAX): Likewise.
43359 [C99-based standards] (UINTMAX_MAX): Likewise.
43360 [C99-based standards] (PTRDIFF_MIN): Likewise.
43361 [C99-based standards] (PTRDIFF_MAX): Likewise.
43362 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43363 [C99-based standards] (SIZE_MAX): Likewise.
43364 [C99-based standards] (WCHAR_MAX): Likewise.
43365 [C99-based standards] (WINT_MAX): Likewise.
43366 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43367 constraint on value.
43368 [C99-based standards] (WCHAR_MIN): Likewise.
43369 [C99-based standards] (WINT_MIN): Likewise.
43370 [C99-based standards] (*_t): Allow.
43371 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43372 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43373 Include math.h-data and complex.h-data. Remove all expectations
43374 of math.h and complex.h contents.
43375 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43376 at end of line.
43377 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43378 (struct tm): Expect tag.
43379 [C99-based-standards] (wcstof): Expect function.
43380 [C99-based-standards] (wcstold): Likewise.
43381 [C99-based-standards] (wcstoll): Likewise.
43382 [C99-based-standards] (wcstoull): Likewise.
43383 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43384 macro-int-constant. Specify type.
43385 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43386 constraint on value.
43387 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43388 Specify type.
43389 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43390 Specify value.
43391 [ISO C standards]: Do not allow headers.
43392 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43393 wcs[abcdefghijklmnopqrstuvwxyz]*.
43394 [ISO C standards] (*_t): Do not allow.
43395 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43396 Expect function.
43397 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43398 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43399 Specify type.
43400 [ISO C standards]: Do not allow headers.
43401 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43402 is[abcdefghijklmnopqrstuvwxyz]*.
43403 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43404 to[abcdefghijklmnopqrstuvwxyz]*.
43405 [ISO C standards] (*_t): Do not allow.
43406 * conform/data/stdalign.h-data: New file.
43407 * conform/data/stdbool.h-data: Likewise.
43408 * conform/data/stdnoreturn.h-data: Likewise.
43409
43410 2012-11-07 Roland McGrath <roland@hack.frob.com>
43411
43412 [BZ #14815]
43413 * manual/filesys.texi (Directory Entries): Typo fix.
43414 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43415
43416 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43417
43418 * elf/elf.h (EM_AARCH64): New macro.
43419 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43420 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43421 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43422 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43423 (R_AARCH64_TLSDESC): Likewise.
43424 (NT_ARM_TLS): Likewise.
43425 (NT_ARM_HW_BREAK): Likewise.
43426 (NT_ARM_HW_WATCH): Likewise.
43427
43428 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43429
43430 [BZ #14811]
43431 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43432 (__ieee754_powl): Saturate nonzero exponents with absolute value
43433 below 0x1p-79 to +/- 0x1p-79.
43434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43435 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43436 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43437 nonzero exponents with absolute value below 0x1p-32 to +/-
43438 0x1p-32.
43439 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43440 (__ieee754_powl): Saturate nonzero exponents with absolute value
43441 below 0x1p-79 to +/- 0x1p-79.
43442 * math/libm-test.inc (pow_test): Add more tests.
43443
43444 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43445
43446 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43447 _dl_s390_cap_flags with kernel. Increase string length.
43448 (_dl_s390_platforms): Add z196 and zEC12.
43449
43450 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43451
43452 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43453 Change XOPEN21K to XOPEN2K.
43454
43455 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43456
43457 * string/memmove.c: Use memcpy when possible.
43458
43459 2012-11-06 Andreas Jaeger <aj@suse.de>
43460
43461 * po/eo.po: Update from translation team.
43462
43463 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43464
43465 [BZ #14793]
43466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43467 exponent and small x and y exponents, scale x or y up. Increase
43468 by 2 the exponent used in scaling up.
43469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43471 * math/libm-test.inc (fma_test): Add more tests.
43472 (fma_test_towardzero): Likewise.
43473 (fma_test_downward): Likewise.
43474 (fma_test_upward): Likewise.
43475
43476 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43477
43478 [BZ #14805]
43479 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43480 fenv_t *.
43481
43482 [BZ #14801]
43483 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43484 namespace for names of struct fields.
43485 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43486 fenv_t fields.
43487 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43488 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43489
43490 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43491
43492 [BZ #3665]
43493 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43494
43495 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43496
43497 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43498 PTR_DEMANGLE.
43499
43500 [BZ #5246]
43501 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43502 PTR_DEMANGLE.
43503
43504 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43505
43506 [BZ #14797]
43507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43508 definitely overflow as x * y not x * y + z.
43509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43511 * math/libm-test.inc (fma_test): Add more tests.
43512 (fma_test_towardzero): Likewise.
43513 (fma_test_downward): Likewise.
43514 (fma_test_upward): Likewise.
43515
43516 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43517
43518 [BZ #157]
43519
43520 * include/stub-tag.h: Remove file.
43521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43522 '#include' of it.
43523 * manual/maint.texi (Porting): Don't reference it.
43524 * Makerules ($(objpfx)stubs): Likewise.
43525 * dirent/closedir.c: Don't include <stub-tag.h>.
43526 * dirent/dirfd.c: Likewise.
43527 * dirent/fdopendir.c: Likewise.
43528 * dirent/getdents.c: Likewise.
43529 * dirent/getdents64.c: Likewise.
43530 * dirent/opendir.c: Likewise.
43531 * dirent/readdir.c: Likewise.
43532 * dirent/readdir64.c: Likewise.
43533 * dirent/readdir64_r.c: Likewise.
43534 * dirent/readdir_r.c: Likewise.
43535 * dirent/rewinddir.c: Likewise.
43536 * dirent/seekdir.c: Likewise.
43537 * dirent/telldir.c: Likewise.
43538 * gmon/profil.c: Likewise.
43539 * grp/setgroups.c: Likewise.
43540 * inet/if_index.c: Likewise.
43541 * io/access.c: Likewise.
43542 * io/chdir.c: Likewise.
43543 * io/chmod.c: Likewise.
43544 * io/chown.c: Likewise.
43545 * io/close.c: Likewise.
43546 * io/dup.c: Likewise.
43547 * io/dup2.c: Likewise.
43548 * io/dup3.c: Likewise.
43549 * io/euidaccess.c: Likewise.
43550 * io/faccessat.c: Likewise.
43551 * io/fchdir.c: Likewise.
43552 * io/fchmod.c: Likewise.
43553 * io/fchmodat.c: Likewise.
43554 * io/fchown.c: Likewise.
43555 * io/fchownat.c: Likewise.
43556 * io/fcntl.c: Likewise.
43557 * io/flock.c: Likewise.
43558 * io/fstatfs.c: Likewise.
43559 * io/fstatfs64.c: Likewise.
43560 * io/fstatvfs.c: Likewise.
43561 * io/fstatvfs64.c: Likewise.
43562 * io/futimens.c: Likewise.
43563 * io/fxstat.c: Likewise.
43564 * io/fxstat64.c: Likewise.
43565 * io/fxstatat.c: Likewise.
43566 * io/fxstatat64.c: Likewise.
43567 * io/getcwd.c: Likewise.
43568 * io/isatty.c: Likewise.
43569 * io/lchmod.c: Likewise.
43570 * io/lchown.c: Likewise.
43571 * io/link.c: Likewise.
43572 * io/linkat.c: Likewise.
43573 * io/lseek.c: Likewise.
43574 * io/lseek64.c: Likewise.
43575 * io/lxstat64.c: Likewise.
43576 * io/mkdir.c: Likewise.
43577 * io/mkdirat.c: Likewise.
43578 * io/mkfifo.c: Likewise.
43579 * io/mkfifoat.c: Likewise.
43580 * io/open.c: Likewise.
43581 * io/open64.c: Likewise.
43582 * io/openat.c: Likewise.
43583 * io/openat64.c: Likewise.
43584 * io/pipe.c: Likewise.
43585 * io/pipe2.c: Likewise.
43586 * io/poll.c: Likewise.
43587 * io/posix_fadvise.c: Likewise.
43588 * io/posix_fadvise64.c: Likewise.
43589 * io/posix_fallocate.c: Likewise.
43590 * io/posix_fallocate64.c: Likewise.
43591 * io/read.c: Likewise.
43592 * io/readlink.c: Likewise.
43593 * io/readlinkat.c: Likewise.
43594 * io/rmdir.c: Likewise.
43595 * io/sendfile.c: Likewise.
43596 * io/sendfile64.c: Likewise.
43597 * io/statfs.c: Likewise.
43598 * io/statfs64.c: Likewise.
43599 * io/statvfs.c: Likewise.
43600 * io/statvfs64.c: Likewise.
43601 * io/symlink.c: Likewise.
43602 * io/symlinkat.c: Likewise.
43603 * io/ttyname.c: Likewise.
43604 * io/ttyname_r.c: Likewise.
43605 * io/umask.c: Likewise.
43606 * io/unlink.c: Likewise.
43607 * io/unlinkat.c: Likewise.
43608 * io/utime.c: Likewise.
43609 * io/utimensat.c: Likewise.
43610 * io/write.c: Likewise.
43611 * io/xmknod.c: Likewise.
43612 * io/xmknodat.c: Likewise.
43613 * io/xstat.c: Likewise.
43614 * io/xstat64.c: Likewise.
43615 * login/getpt.c: Likewise.
43616 * login/grantpt.c: Likewise.
43617 * login/unlockpt.c: Likewise.
43618 * math/e_acoshl.c: Likewise.
43619 * math/e_acosl.c: Likewise.
43620 * math/e_asinl.c: Likewise.
43621 * math/e_atan2l.c: Likewise.
43622 * math/e_atanhl.c: Likewise.
43623 * math/e_coshl.c: Likewise.
43624 * math/e_expl.c: Likewise.
43625 * math/e_fmodl.c: Likewise.
43626 * math/e_gammal_r.c: Likewise.
43627 * math/e_hypotl.c: Likewise.
43628 * math/e_j0l.c: Likewise.
43629 * math/e_j1l.c: Likewise.
43630 * math/e_jnl.c: Likewise.
43631 * math/e_lgammal_r.c: Likewise.
43632 * math/e_log10l.c: Likewise.
43633 * math/e_log2l.c: Likewise.
43634 * math/e_logl.c: Likewise.
43635 * math/e_powl.c: Likewise.
43636 * math/e_rem_pio2l.c: Likewise.
43637 * math/e_sinhl.c: Likewise.
43638 * math/e_sqrtl.c: Likewise.
43639 * math/fclrexcpt.c: Likewise.
43640 * math/fedisblxcpt.c: Likewise.
43641 * math/feenablxcpt.c: Likewise.
43642 * math/fegetenv.c: Likewise.
43643 * math/fegetexcept.c: Likewise.
43644 * math/fegetround.c: Likewise.
43645 * math/feholdexcpt.c: Likewise.
43646 * math/fesetenv.c: Likewise.
43647 * math/fesetround.c: Likewise.
43648 * math/feupdateenv.c: Likewise.
43649 * math/fgetexcptflg.c: Likewise.
43650 * math/fraiseexcpt.c: Likewise.
43651 * math/fsetexcptflg.c: Likewise.
43652 * math/ftestexcept.c: Likewise.
43653 * math/k_cosl.c: Likewise.
43654 * math/k_rem_pio2l.c: Likewise.
43655 * math/k_sinl.c: Likewise.
43656 * math/k_tanl.c: Likewise.
43657 * math/s_asinhl.c: Likewise.
43658 * math/s_atanl.c: Likewise.
43659 * math/s_cbrtl.c: Likewise.
43660 * math/s_erfl.c: Likewise.
43661 * math/s_expm1l.c: Likewise.
43662 * math/s_log1pl.c: Likewise.
43663 * math/s_tanhl.c: Likewise.
43664 * misc/acct.c: Likewise.
43665 * misc/brk.c: Likewise.
43666 * misc/chflags.c: Likewise.
43667 * misc/chroot.c: Likewise.
43668 * misc/fchflags.c: Likewise.
43669 * misc/fgetxattr.c: Likewise.
43670 * misc/flistxattr.c: Likewise.
43671 * misc/fremovexattr.c: Likewise.
43672 * misc/fsetxattr.c: Likewise.
43673 * misc/fsync.c: Likewise.
43674 * misc/ftruncate.c: Likewise.
43675 * misc/futimes.c: Likewise.
43676 * misc/futimesat.c: Likewise.
43677 * misc/getdomain.c: Likewise.
43678 * misc/getdtsz.c: Likewise.
43679 * misc/gethostid.c: Likewise.
43680 * misc/gethostname.c: Likewise.
43681 * misc/getloadavg.c: Likewise.
43682 * misc/getpagesize.c: Likewise.
43683 * misc/getsysstats.c: Likewise.
43684 * misc/getxattr.c: Likewise.
43685 * misc/gtty.c: Likewise.
43686 * misc/ioctl.c: Likewise.
43687 * misc/lgetxattr.c: Likewise.
43688 * misc/listxattr.c: Likewise.
43689 * misc/llistxattr.c: Likewise.
43690 * misc/lremovexattr.c: Likewise.
43691 * misc/lsetxattr.c: Likewise.
43692 * misc/lutimes.c: Likewise.
43693 * misc/madvise.c: Likewise.
43694 * misc/mincore.c: Likewise.
43695 * misc/mlock.c: Likewise.
43696 * misc/mlockall.c: Likewise.
43697 * misc/mmap.c: Likewise.
43698 * misc/mprotect.c: Likewise.
43699 * misc/msync.c: Likewise.
43700 * misc/munlock.c: Likewise.
43701 * misc/munlockall.c: Likewise.
43702 * misc/munmap.c: Likewise.
43703 * misc/preadv.c: Likewise.
43704 * misc/preadv64.c: Likewise.
43705 * misc/ptrace.c: Likewise.
43706 * misc/pwritev.c: Likewise.
43707 * misc/pwritev64.c: Likewise.
43708 * misc/readv.c: Likewise.
43709 * misc/reboot.c: Likewise.
43710 * misc/remap_file_pages.c: Likewise.
43711 * misc/removexattr.c: Likewise.
43712 * misc/revoke.c: Likewise.
43713 * misc/select.c: Likewise.
43714 * misc/setdomain.c: Likewise.
43715 * misc/setegid.c: Likewise.
43716 * misc/seteuid.c: Likewise.
43717 * misc/sethostid.c: Likewise.
43718 * misc/sethostname.c: Likewise.
43719 * misc/setregid.c: Likewise.
43720 * misc/setreuid.c: Likewise.
43721 * misc/setxattr.c: Likewise.
43722 * misc/sstk.c: Likewise.
43723 * misc/stty.c: Likewise.
43724 * misc/swapoff.c: Likewise.
43725 * misc/swapon.c: Likewise.
43726 * misc/sync.c: Likewise.
43727 * misc/syncfs.c: Likewise.
43728 * misc/syscall.c: Likewise.
43729 * misc/truncate.c: Likewise.
43730 * misc/ualarm.c: Likewise.
43731 * misc/usleep.c: Likewise.
43732 * misc/ustat.c: Likewise.
43733 * misc/utimes.c: Likewise.
43734 * misc/vhangup.c: Likewise.
43735 * misc/writev.c: Likewise.
43736 * posix/_exit.c: Likewise.
43737 * posix/alarm.c: Likewise.
43738 * posix/execve.c: Likewise.
43739 * posix/fexecve.c: Likewise.
43740 * posix/fork.c: Likewise.
43741 * posix/fpathconf.c: Likewise.
43742 * posix/getaddrinfo.c: Likewise.
43743 * posix/getegid.c: Likewise.
43744 * posix/geteuid.c: Likewise.
43745 * posix/getgid.c: Likewise.
43746 * posix/getgroups.c: Likewise.
43747 * posix/getlogin.c: Likewise.
43748 * posix/getlogin_r.c: Likewise.
43749 * posix/getpgid.c: Likewise.
43750 * posix/getpid.c: Likewise.
43751 * posix/getppid.c: Likewise.
43752 * posix/getresgid.c: Likewise.
43753 * posix/getresuid.c: Likewise.
43754 * posix/getsid.c: Likewise.
43755 * posix/getuid.c: Likewise.
43756 * posix/glob64.c: Likewise.
43757 * posix/nanosleep.c: Likewise.
43758 * posix/pathconf.c: Likewise.
43759 * posix/pause.c: Likewise.
43760 * posix/posix_madvise.c: Likewise.
43761 * posix/pread.c: Likewise.
43762 * posix/pread64.c: Likewise.
43763 * posix/pwrite.c: Likewise.
43764 * posix/pwrite64.c: Likewise.
43765 * posix/sched_getaffinity.c: Likewise.
43766 * posix/sched_getp.c: Likewise.
43767 * posix/sched_gets.c: Likewise.
43768 * posix/sched_primax.c: Likewise.
43769 * posix/sched_primin.c: Likewise.
43770 * posix/sched_rr_gi.c: Likewise.
43771 * posix/sched_setaffinity.c: Likewise.
43772 * posix/sched_setp.c: Likewise.
43773 * posix/sched_sets.c: Likewise.
43774 * posix/sched_yield.c: Likewise.
43775 * posix/setgid.c: Likewise.
43776 * posix/setlogin.c: Likewise.
43777 * posix/setpgid.c: Likewise.
43778 * posix/setresgid.c: Likewise.
43779 * posix/setresuid.c: Likewise.
43780 * posix/setsid.c: Likewise.
43781 * posix/setuid.c: Likewise.
43782 * posix/sleep.c: Likewise.
43783 * posix/spawni.c: Likewise.
43784 * posix/sysconf.c: Likewise.
43785 * posix/times.c: Likewise.
43786 * posix/wait.c: Likewise.
43787 * posix/wait3.c: Likewise.
43788 * posix/wait4.c: Likewise.
43789 * posix/waitpid.c: Likewise.
43790 * resolv/gai_sigqueue.c: Likewise.
43791 * resource/getpriority.c: Likewise.
43792 * resource/getrlimit.c: Likewise.
43793 * resource/getrusage.c: Likewise.
43794 * resource/nice.c: Likewise.
43795 * resource/setpriority.c: Likewise.
43796 * resource/setrlimit.c: Likewise.
43797 * resource/ulimit.c: Likewise.
43798 * rt/aio_cancel.c: Likewise.
43799 * rt/aio_fsync.c: Likewise.
43800 * rt/aio_read.c: Likewise.
43801 * rt/aio_sigqueue.c: Likewise.
43802 * rt/aio_suspend.c: Likewise.
43803 * rt/aio_write.c: Likewise.
43804 * rt/clock_getres.c: Likewise.
43805 * rt/clock_gettime.c: Likewise.
43806 * rt/clock_nanosleep.c: Likewise.
43807 * rt/clock_settime.c: Likewise.
43808 * rt/lio_listio.c: Likewise.
43809 * rt/mq_close.c: Likewise.
43810 * rt/mq_getattr.c: Likewise.
43811 * rt/mq_notify.c: Likewise.
43812 * rt/mq_open.c: Likewise.
43813 * rt/mq_receive.c: Likewise.
43814 * rt/mq_send.c: Likewise.
43815 * rt/mq_setattr.c: Likewise.
43816 * rt/mq_timedreceive.c: Likewise.
43817 * rt/mq_timedsend.c: Likewise.
43818 * rt/mq_unlink.c: Likewise.
43819 * rt/shm_open.c: Likewise.
43820 * rt/shm_unlink.c: Likewise.
43821 * rt/timer_create.c: Likewise.
43822 * rt/timer_delete.c: Likewise.
43823 * rt/timer_getoverr.c: Likewise.
43824 * rt/timer_gettime.c: Likewise.
43825 * rt/timer_settime.c: Likewise.
43826 * setjmp/__longjmp.c: Likewise.
43827 * setjmp/setjmp.c: Likewise.
43828 * signal/kill.c: Likewise.
43829 * signal/killpg.c: Likewise.
43830 * signal/raise.c: Likewise.
43831 * signal/sigaction.c: Likewise.
43832 * signal/sigaltstack.c: Likewise.
43833 * signal/sigblock.c: Likewise.
43834 * signal/sigignore.c: Likewise.
43835 * signal/sigintr.c: Likewise.
43836 * signal/signal.c: Likewise.
43837 * signal/sigpause.c: Likewise.
43838 * signal/sigpending.c: Likewise.
43839 * signal/sigqueue.c: Likewise.
43840 * signal/sigreturn.c: Likewise.
43841 * signal/sigset.c: Likewise.
43842 * signal/sigsetmask.c: Likewise.
43843 * signal/sigstack.c: Likewise.
43844 * signal/sigsuspend.c: Likewise.
43845 * signal/sigtimedwait.c: Likewise.
43846 * signal/sigvec.c: Likewise.
43847 * signal/sigwait.c: Likewise.
43848 * signal/sigwaitinfo.c: Likewise.
43849 * signal/sysv_signal.c: Likewise.
43850 * socket/accept.c: Likewise.
43851 * socket/accept4.c: Likewise.
43852 * socket/bind.c: Likewise.
43853 * socket/connect.c: Likewise.
43854 * socket/getpeername.c: Likewise.
43855 * socket/getsockname.c: Likewise.
43856 * socket/getsockopt.c: Likewise.
43857 * socket/isfdtype.c: Likewise.
43858 * socket/listen.c: Likewise.
43859 * socket/recv.c: Likewise.
43860 * socket/recvfrom.c: Likewise.
43861 * socket/recvmsg.c: Likewise.
43862 * socket/send.c: Likewise.
43863 * socket/sendmsg.c: Likewise.
43864 * socket/sendto.c: Likewise.
43865 * socket/setsockopt.c: Likewise.
43866 * socket/shutdown.c: Likewise.
43867 * socket/sockatmark.c: Likewise.
43868 * socket/socket.c: Likewise.
43869 * socket/socketpair.c: Likewise.
43870 * stdio-common/ctermid.c: Likewise.
43871 * stdio-common/cuserid.c: Likewise.
43872 * stdio-common/remove.c: Likewise.
43873 * stdio-common/rename.c: Likewise.
43874 * stdio-common/renameat.c: Likewise.
43875 * stdio-common/tempname.c: Likewise.
43876 * stdlib/getcontext.c: Likewise.
43877 * stdlib/makecontext.c: Likewise.
43878 * stdlib/setcontext.c: Likewise.
43879 * stdlib/swapcontext.c: Likewise.
43880 * stdlib/system.c: Likewise.
43881 * streams/fattach.c: Likewise.
43882 * streams/fdetach.c: Likewise.
43883 * streams/getmsg.c: Likewise.
43884 * streams/getpmsg.c: Likewise.
43885 * streams/putmsg.c: Likewise.
43886 * streams/putpmsg.c: Likewise.
43887 * sysdeps/unix/bsd/getpt.c: Likewise.
43888 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43889 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43890 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43892 Likewise.
43893 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43894 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43895 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43896 * sysvipc/msgctl.c: Likewise.
43897 * sysvipc/msgget.c: Likewise.
43898 * sysvipc/msgrcv.c: Likewise.
43899 * sysvipc/msgsnd.c: Likewise.
43900 * sysvipc/semctl.c: Likewise.
43901 * sysvipc/semget.c: Likewise.
43902 * sysvipc/semop.c: Likewise.
43903 * sysvipc/semtimedop.c: Likewise.
43904 * sysvipc/shmat.c: Likewise.
43905 * sysvipc/shmctl.c: Likewise.
43906 * sysvipc/shmdt.c: Likewise.
43907 * sysvipc/shmget.c: Likewise.
43908 * termios/tcdrain.c: Likewise.
43909 * termios/tcflow.c: Likewise.
43910 * termios/tcflush.c: Likewise.
43911 * termios/tcgetattr.c: Likewise.
43912 * termios/tcgetpgrp.c: Likewise.
43913 * termios/tcsendbrk.c: Likewise.
43914 * termios/tcsetattr.c: Likewise.
43915 * termios/tcsetpgrp.c: Likewise.
43916 * time/adjtime.c: Likewise.
43917 * time/clock.c: Likewise.
43918 * time/getitimer.c: Likewise.
43919 * time/gettimeofday.c: Likewise.
43920 * time/setitimer.c: Likewise.
43921 * time/settimeofday.c: Likewise.
43922 * time/stime.c: Likewise.
43923 * time/time.c: Likewise.
43924
43925 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
43926
43927 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43928 /usr/old/bin.
43929
43930 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43931 instead of spaces.
43932 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43933
43934 2012-11-03 Joseph Myers <joseph@codesourcery.com>
43935
43936 [BZ #14796]
43937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43938 FE_TONEAREST before applying Dekker multiplication and Knuth
43939 addition. Clear inexact exceptions and check for exact zero
43940 results afterwards.
43941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43944 * math/libm-test.inc (fma_test): Add more tests.
43945 (fma_test_towardzero): Likewise.
43946 (fma_test_downward): Likewise.
43947 (fma_test_upward): Likewise.
43948 * sysdeps/generic/math_private.h (default_libc_fesetround): New
43949 function.
43950 (libc_fesetround): New macro.
43951 (libc_fesetroundf): Likewise.
43952 (libc_fesetroundl): Likewise.
43953 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43954 function.
43955 (libc_fesetround_387): Likewise.
43956 (libc_fesetroundf): New macro.
43957 (libc_fesetround): Likewise.
43958 (libc_fesetroundl): Likewise.
43959 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43960 function.
43961 (libc_fesetroundf): New macro.
43962 (libc_fesetround): Likewise.
43963 (libc_fesetroundl): Likewise.
43964 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43965 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43966 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43967 libm_hidden_ver.
43968 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43969 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43970 libm_hidden_def.
43971 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43972 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43973 libm_hidden_ver.
43974 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43975 libm_hidden_def.
43976
43977 [BZ #3439]
43978 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43979 integer constant usable in #if and use that to give value to enum
43980 constant.
43981 (FE_DIVBYZERO): Likewise.
43982 (FE_UNDERFLOW): Likewise.
43983 (FE_OVERFLOW): Likewise.
43984 (FE_INVALID): Likewise.
43985 (FE_INVALID_SNAN): Likewise.
43986 (FE_INVALID_ISI): Likewise.
43987 (FE_INVALID_IDI): Likewise.
43988 (FE_INVALID_ZDZ): Likewise.
43989 (FE_INVALID_IMZ): Likewise.
43990 (FE_INVALID_COMPARE): Likewise.
43991 (FE_INVALID_SOFTWARE): Likewise.
43992 (FE_INVALID_SQRT): Likewise.
43993 (FE_INVALID_INTEGER_CONVERSION): Likewise.
43994 (FE_TONEAREST): Likewise.
43995 (FE_TOWARDZERO): Likewise.
43996 (FE_UPWARD): Likewise.
43997 (FE_DOWNWARD): Likewise.
43998 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43999 (FE_DIVBYZERO): Likewise.
44000 (FE_OVERFLOW): Likewise.
44001 (FE_UNDERFLOW): Likewise.
44002 (FE_INEXACT): Likewise.
44003 (FE_TONEAREST): Likewise.
44004 (FE_DOWNWARD): Likewise.
44005 (FE_UPWARD): Likewise.
44006 (FE_TOWARDZERO): Likewise.
44007 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44008 (FE_UNDERFLOW): Likewise.
44009 (FE_OVERFLOW): Likewise.
44010 (FE_DIVBYZERO): Likewise.
44011 (FE_INVALID): Likewise.
44012 (FE_TONEAREST): Likewise.
44013 (FE_TOWARDZERO): Likewise.
44014 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44015 (FE_OVERFLOW): Likewise.
44016 (FE_UNDERFLOW): Likewise.
44017 (FE_DIVBYZERO): Likewise.
44018 (FE_INEXACT): Likewise.
44019 (FE_TONEAREST): Likewise.
44020 (FE_TOWARDZERO): Likewise.
44021 (FE_UPWARD): Likewise.
44022 (FE_DOWNWARD): Likewise.
44023 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44024 (FE_DIVBYZERO): Likewise.
44025 (FE_OVERFLOW): Likewise.
44026 (FE_UNDERFLOW): Likewise.
44027 (FE_INEXACT): Likewise.
44028 (FE_TONEAREST): Likewise.
44029 (FE_DOWNWARD): Likewise.
44030 (FE_UPWARD): Likewise.
44031 (FE_TOWARDZERO): Likewise.
44032
44033 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44034
44035 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44036
44037 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44038
44039 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44040 commands. Quote $PWD.
44041 (blacklist_exports): Don't use remove_newlines. Replace "declare
44042 -x" by "export".
44043 (remove_newlines): Remove.
44044
44045 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44046
44047 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44048 * stdlib/stdlib.h (atof): Moved to ...
44049 * include/bits/stdlib-float.h: Here. New file.
44050 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44051 * stdlib/bits/stdlib-float.h: New file.
44052 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44053 -mno-sse -mno-mmx.
44054 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44055 <xmmintrin.h>.
44056
44057 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44058
44059 * conform/conformtest.pl (@headers): Add fenv.h.
44060 * conform/data/fenv.h-data: New file.
44061 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44062 include of <math/fenv.h>.
44063
44064 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44065 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44066 && !UNIX98]. Enables tests for XOPEN2K8.
44067 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44068 POSIX2008]: Likewise.
44069
44070 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44071 (struct rusage): Do not expect type or its members.
44072
44073 [BZ #3439]
44074 * math/math.h (FP_NAN): Define macro to integer constant usable in
44075 #if and use that to give value to enum constant.
44076 (FP_INFINITE): Likewise.
44077 (FP_ZERO): Likewise.
44078 (FP_SUBNORMAL): Likewise.
44079 (FP_NORMAL): Likewise.
44080
44081 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44082
44083 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44084 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44085 arguments.
44086
44087 2012-11-02 Roland McGrath <roland@hack.frob.com>
44088
44089 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44090 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44091 autoconf-time if not.
44092 * configure.in: Remove AC_PREREQ.
44093
44094 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44095
44096 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44097 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44098 of the internal implementation.
44099
44100 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44101
44102 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44103 except include of <misc/sys/syslog.h>.
44104
44105 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44106
44107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44108 function returns with a NULL context exit with zero.
44109
44110 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44111
44112 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44113
44114 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44115
44116 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44117 (run_program_cmd): This.
44118 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44119 (tst_langinfo): New variable. Use it.
44120
44121 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44122
44123 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44124 floating point opcodes.
44125
44126 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44127
44128 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44129 variable.
44130
44131 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44132
44133 * sysdeps/mach/hurd/powerpc: Remove directory.
44134 * sysdeps/mach/powerpc: Likewise.
44135
44136 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44137
44138 * scripts/check-local-headers.sh: Ignore c++ headers.
44139
44140 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44141
44142 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44143 __libc_cleanup_region_start argument.
44144
44145 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44146
44147 [BZ #14784]
44148 [BZ #14785]
44149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44150 x * y using scaling, not as x * y + z.
44151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44153 * math/libm-test.inc (fma_test): Add more tests.
44154 (fma_test_towardzero): Likewise.
44155 (fma_test_downward): Likewise.
44156 (fma_test_upward): Likewise.
44157
44158 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44159
44160 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44161
44162 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44163
44164 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44165 New variable.
44166
44167 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44168
44169 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44170
44171 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44172
44173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44174 Fix sort order.
44175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44176 Likewise.
44177
44178 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44179
44180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44181 Fix the order of the list for glibc 2.17.
44182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44183 Likewise.
44184
44185 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44186
44187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44188
44189 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44190
44191 [BZ #14610]
44192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44193 for low part of x being zero before using __atanl (y).
44194 * math/libm-test.inc (atan2_test): Add another test.
44195
44196 * manual/install.texi (Configuring and compiling): Document
44197 general use of test-wrapper and test-wrapper-env.
44198 * INSTALL: Regenerated.
44199
44200 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44201 (__fma): Do not extract and scale down low bits on after-rounding
44202 systems when result rounded to normal precision would have normal
44203 exponent.
44204 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44205 (__fmal): Do not extract and scale down low bits on after-rounding
44206 systems when result rounded to normal precision would have normal
44207 exponent.
44208 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44209 (__fmal): Do not extract and scale down low bits on after-rounding
44210 systems when result rounded to normal precision would have normal
44211 exponent.
44212 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44213 macro.
44214 (fma_test): Add more tests.
44215 (fma_test_towardzero): Likewise.
44216 (fma_test_downward): Likewise.
44217 (fma_test_upward): Likewise.
44218
44219 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44220
44221 * sysdeps/i386/tininess.h: Renamed to ...
44222 * sysdeps/x86/tininess.h: This.
44223 * sysdeps/x86_64/tininess.h: Removed.
44224
44225 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44226
44227 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44228 input. Use $(build-program-cmd).
44229 ($(objpfx)tst-array1-static.out): Likewise.
44230 ($(objpfx)tst-array2.out): Likewise.
44231 ($(objpfx)tst-array3.out): Likewise.
44232 ($(objpfx)tst-array4.out): Likewise.
44233 ($(objpfx)tst-array5.out): Likewise.
44234 ($(objpfx)tst-array5-static.out): Likewise.
44235
44236 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44237
44238 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44239 if defined.
44240
44241 * nss/nsswitch.h (nss_interface_function): Provide new
44242 macro for use with NSS functions.
44243 * grp/initgroups.c: Use new macro.
44244 * nss/getXXbyYY.c: Likewise.
44245 * nss/getXXbyYY_r.c: Likewise.
44246 * nss/getXXent.c: Likewise.
44247 * nss/getXXent_r.c: Likewise.
44248 * sysdeps/posix/getaddrinfo.c: Likewise.
44249
44250 2012-10-30 Andreas Jaeger <aj@suse.de>
44251
44252 * po/ru.po: Update Russion translation from translation project.
44253
44254 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44255
44256 [BZ #14152]
44257 [BZ #14783]
44258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44259 result and shift together with sticky bit instead of replicating
44260 round-to-nearest rounding.
44261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44263 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44264 missing underflow exceptions.
44265 (fma_test_towardzero): Add more tests.
44266 (fma_test_downward): Likewise.
44267 (fma_test_upward): Likewise.
44268
44269 [BZ #14047]
44270 * sysdeps/generic/tininess.h: New file.
44271 * sysdeps/i386/tininess.h: Likewise.
44272 * sysdeps/sh/tininess.h: Likewise.
44273 * sysdeps/x86_64/tininess.h: Likewise.
44274 * stdlib/tst-strtod-underflow.c: Likewise.
44275 * stdlib/tst-tininess.c: Likewise.
44276 * stdlib/strtod_l.c: Include <tininess.h>.
44277 (round_and_return): Do not set errno for exact underflow cases.
44278 Force an underflow exception when setting errno for underflow.
44279 Determine underflow based on rounding to normal precision if
44280 TININESS_AFTER_ROUNDING.
44281 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44282 ERANGE for exact underflow cases.
44283 * stdlib/Makefile (tests): Add tst-tininess and
44284 tst-strtod-underflow.
44285 ($(objpfx)tst-tininess): Use $(link-libm).
44286 ($(objpfx)tst-strtod-underflow): Likewise.
44287
44288 2012-10-30 Andreas Jaeger <aj@suse.de>
44289
44290 [BZ#14767]
44291 * elf/Makefile (tests): Remove conditional for have-initfini-array
44292 since this is now always required and the variable does not exist
44293 anymore.
44294 (tests-static): Likewise.
44295 (modules-names): Likewise.
44296
44297 * po/eo.po: Add Esperanto translation from translation project.
44298
44299 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44300 merged with constructor/destructor.
44301 (init_array): Likewise.
44302 * elf/tst-array2dep.c (fini_array): Likewise.
44303 (init_array): Likewise.
44304
44305 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44306
44307 * manual/message.texi: Delete @cartouche tags.
44308
44309 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44310
44311 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44312 EOPNOTSUPP.
44313 * sysdeps/mach/hurd/fsync.c: Likewise.
44314
44315 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44316 [_POSIX_REALTIME_SIGNALS]: Change condition to
44317 [_POSIX_REALTIME_SIGNALS > 0].
44318
44319 2012-10-27 Andreas Jaeger <aj@suse.de>
44320
44321 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44322 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44324 [__WORDSIZE != 64]: Likewise.
44325
44326 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44327
44328 * iconvdata/tst-table.sh: Remove ${SHELL}.
44329 * iconvdata/tst-tables.sh: Likewise.
44330
44331 2012-10-25 David S. Miller <davem@davemloft.net>
44332
44333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44334 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44335 of strtoull.
44336
44337 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44338 ifunc-impl-list.c
44339 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44340 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44341 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44342 file.
44343
44344 2012-10-25 Roland McGrath <roland@hack.frob.com>
44345
44346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44347 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44348 __getdirentries.
44349
44350 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44351 Jim Blandy <jimb@codesourcery.com>
44352
44353 * scripts/cross-test-ssh.sh: New file.
44354 * manual/install.texi (Configuring and compiling): Document use of
44355 cross-test-ssh.sh.
44356 * INSTALL: Regenerated.
44357
44358 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44359
44360 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44361 EOPNOTSUPP.
44362
44363 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44364
44365 * Makeconfig (run-program-prefix): Fix comment.
44366
44367 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44368 Jim Blandy <jimb@codesourcery.com>
44369
44370 * Makeconfig (test-wrapper): New variable,
44371 (test-wrapper-env): Likewise.
44372 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44373 (run-built-tests): Define to yes.
44374 (run-program-prefix): Use $(test-wrapper).
44375 (built-program-cmd): Likewise.
44376 * Rules (make-test-out): Use $(test-wrapper-env) and
44377 $(host-built-program-cmd).
44378 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44379 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44380 tst-pathopt.sh.
44381 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44382 $(test-wrapper-env) to tst-rtld-load-self.sh.
44383 ($(objpfx)order2.out): Use $(test-wrapper).
44384 ($(objpfx)tst-initorder.out): Likewise.
44385 ($(objpfx)tst-initorder2.out): Likewise.
44386 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44387 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44388 (test_wrapper_env): New variable. Use it to run ld.so.
44389 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44390 Use it to run ld.so.
44391 (test_wrapper_env): Likewise.
44392 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44393 $(test-wrapper) to run-iconv-test.sh.
44394 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44395 (ICONV): Use $test_wrapper.
44396 * posix/Makefile ($(objpfx)globtest.out): Pass
44397 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44398 globtest.sh, not $(run-program-prefix).
44399 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44400 (test_wrapper): Likewise.
44401 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44402 set together with run_via_rtld_prefix.
44403 (run_program_prefix): Define in terms of test_wrapper and
44404 run_via_rtld_prefix.
44405
44406 2012-10-24 Roland McGrath <roland@hack.frob.com>
44407
44408 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44409 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44410 Targets removed.
44411
44412 [BZ #14743]
44413 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44414 Declare __clock_getres, __clock_gettime, __clock_settime,
44415 __clock_nanosleep, and __clock_getcpuclockid.
44416 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44417 Remove librt_hidden_def (clock_gettime).
44418 * sysdeps/unix/clock_gettime.c: Likewise.
44419 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44420 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44421 * rt/clock_getres.c: Define __clock_getres as an alias.
44422 * sysdeps/posix/clock_getres.c: Likewise.
44423 * rt/clock_settime.c: Define __clock_settime as an alias.
44424 * sysdeps/unix/clock_settime.c: Likewise.
44425 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44426 * sysdeps/unix/clock_nanosleep.c: Likewise.
44427 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44428 * rt/clock-compat.c: New file.
44429 * rt/Makefile (librt-routines): Add clock-compat and move
44430 $(clock-routines) to ...
44431 (routines): ... here, new variable.
44432 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44433 Don't add get_clockfreq here.
44434 * rt/Versions (libc: GLIBC_2.17): New version set.
44435 Add clock_* symbols here.
44436 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44437 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44438 (GLIBC_2.17): Add clock_* symbols.
44439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44443 Likewise.
44444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44445 Likewise.
44446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44450 * NEWS: Mention the move.
44451
44452 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44453 Use __open, __read, __close rather than their public counterparts.
44454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44455 (__get_clockfreq_via_cpuinfo): Likewise.
44456 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44457 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44458
44459 * config.h.in (HAVE_IFUNC): New #undef.
44460 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44461 was successful.
44462 * configure: Regenerated.
44463
44464 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44465
44466 * configure.in: Move READELF check to start of file.
44467 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44468 libc_cv_asm_gnu_indirect_function in the process.
44469 * configure: Regenerated.
44470
44471 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44472
44473 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44474 send the output to /dev/null.
44475 (libc_cv_cc_with_libunwind): Likewise.
44476 (libc_cv_as_noexecstack): Likewise.
44477 * configure: Regenerate.
44478
44479 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44480
44481 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44482
44483 * posix/globtest.sh (TMPDIR): Do not set.
44484 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44485 (testout): Likewise.
44486
44487 2012-10-24 Andreas Jaeger <aj@suse.de>
44488
44489 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44490 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44491 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44492 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44493 posix_fadvise64, posix_fallocate64.
44494
44495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44496 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44497 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44498 Likewise.
44499 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44500 Likewise.
44501 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44502
44503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44504 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44505 <bits/fcntl-linux.h>.
44506 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44507
44508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44509 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44510 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44511 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44512 [__WORDSIZE != 64]: Likewise.
44513
44514 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44515
44516 * Makeconfig (run-built-tests): New variable.
44517 * Rules [$(cross-compiling) = yes]: Change condition to
44518 [$(run-built-tests) = no].
44519 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44520 to [$(run-built-tests) = yes].
44521 * elf/Makefile [$(cross-compiling) = no]: Likewise
44522 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44523 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44524 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44525 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44526 * io/Makefile [$(cross-compiling) = no]: Likewise.
44527 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44528 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44529 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44530 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44531 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44532 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44533 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44534 * string/Makefile [$(cross-compiling) = no]: Likewise.
44535
44536 * posix/Makefile ($(objpfx)globtest.out): Pass
44537 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44538 $(rtld-installed-name).
44539 * posix/globtest.sh (elf_objpfx): Remove variable.
44540 (rtld_installed_name): Likewise.
44541 (library_path): Likewise.
44542 (run_program_prefix): New variable. Use for running globtest
44543 binary.
44544
44545 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44546 Joseph Myers <joseph@codesourcery.com>
44547
44548 * Makeconfig (host-built-program-cmd): New variable.
44549 * elf/Makefile (tst-stackguard1-ARGS): Use
44550 $(host-built-program-cmd).
44551 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44552 (tst-spawn-ARGS): Likewise.
44553 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44554
44555 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44556 Jim Blandy <jimb@codesourcery.com>
44557
44558 * Makeconfig (run-via-rtld-prefix): New variable.
44559 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44560 (built-program-cmd): Likewise.
44561
44562 2012-10-22 Andreas Jaeger <aj@suse.de>
44563
44564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44565 __O_RSYNC if it exists, otherwise to O_SYNC.
44566
44567 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44568 Joseph Myers <joseph@codesourcery.com>
44569
44570 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44571 /dev/null.
44572 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44573 from /dev/null
44574 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44575 /dev/null.
44576
44577 2012-10-22 Andreas Jaeger <aj@suse.de>
44578
44579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44580 Define always.
44581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44582
44583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44584 bits/fcntl-linux.h.
44585
44586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44587 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44588
44589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44590 to __O_LARGEFILE.
44591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44592 to __O_LARGEFILE.
44593
44594 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44595 Joseph Myers <joseph@codesourcery.com>
44596
44597 * config.make.in (NM): New variable.
44598
44599 2012-10-21 Andreas Jaeger <aj@suse.de>
44600
44601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44602 definitions and declarations that are provided by
44603 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44604
44605 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44606
44607 [BZ #14683]
44608 * elf/Makefile (tests-static): Add tst-leaks1-static.
44609 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44610 ($(objpfx)tst-leaks1-static): New rule.
44611 ($(objpfx)tst-leaks1-static-mem): Likewise.
44612 (tst-leaks1-static-ENV): New macro.
44613 * elf/dl-open.c (dl_open_worker): Check the main application
44614 only if SHARED is defined.
44615 * elf/tst-leaks1-static.c: New file.
44616
44617 2012-10-20 Andreas Jaeger <aj@suse.de>
44618
44619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44620 generic values for Linux.
44621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44622 and declarations that are provided by <bits/fcntl-linux.h> and
44623 include <bits/fcntl-linux.h>.
44624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44626
44627 2012-10-20 Roland McGrath <roland@hack.frob.com>
44628
44629 * io/fcntl.h: Move include of <bits/types.h> to the top and
44630 include it unconditionally.
44631
44632 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44633
44634 * wcsmbs/Makefile (tests-ifunc): New variable.
44635 (tests): Add $(tests-ifunc).
44636 * wcsmbs/test-wcschr-ifunc.c: New file.
44637 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44638 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44639 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44640 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44641 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44642
44643 * string/Makefile (tests-ifunc): New variable.
44644 (tests): Add $(tests-ifunc).
44645 * string/test-memccpy.c (TEST_NAME): New macro.
44646 * string/test-memchr.c (TEST_NAME): Likewise.
44647 * string/test-memcmp.c (TEST_NAME): Likewise.
44648 * string/test-memcpy.c (TEST_NAME): Likewise.
44649 * string/test-memmem.c (TEST_NAME): Likewise.
44650 * string/test-memmove.c (TEST_NAME): Likewise.
44651 * string/test-memset.c (TEST_NAME): Likewise.
44652 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44653 * string/test-stpcpy.c (TEST_NAME): Likewise.
44654 * string/test-stpncpy.c (TEST_NAME): Likewise.
44655 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44656 * string/test-strcasestr.c (TEST_NAME): Likewise.
44657 * string/test-strcat.c (TEST_NAME): Likewise.
44658 * string/test-strchr.c (TEST_NAME): Likewise.
44659 * string/test-strcmp.c(TEST_NAME): Likewise.
44660 * string/test-strcpy.c (TEST_NAME): Likewise.
44661 * string/test-strcspn.c (TEST_NAME): Likewise.
44662 * string/test-strlen.c (TEST_NAME): Likewise.
44663 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44664 * string/test-strncmp.c (TEST_NAME): Likewise.
44665 * string/test-strncpy.c (TEST_NAME): Likewise.
44666 * string/test-strnlen.c (TEST_NAME): Likewise.
44667 * string/test-strpbrk.c (TEST_NAME): Likewise.
44668 * string/test-strrchr.c (TEST_NAME): Likewise.
44669 * string/test-strspn.c (TEST_NAME): Likewise.
44670 * string/test-strstr.c (TEST_NAME): Likewise.
44671 * string/test-bcopy-ifunc.c: New file.
44672 * string/test-bzero-ifunc.c: Likewise.
44673 * string/test-memccpy-ifunc.c: Likewise.
44674 * string/test-memchr-ifunc.c: Likewise.
44675 * string/test-memcmp-ifunc.c: Likewise.
44676 * string/test-memcpy-ifunc.c: Likewise.
44677 * string/test-memmem-ifunc.c: Likewise.
44678 * string/test-memmove-ifunc.c: Likewise.
44679 * string/test-mempcpy-ifunc.c: Likewise.
44680 * string/test-memset-ifunc.c: Likewise.
44681 * string/test-rawmemchr-ifunc.c: Likewise.
44682 * string/test-stpcpy-ifunc.c: Likewise.
44683 * string/test-stpncpy-ifunc.c: Likewise.
44684 * string/test-strcasecmp-ifunc.c: Likewise.
44685 * string/test-strcasestr-ifunc.c: Likewise.
44686 * string/test-strcat-ifunc.c: Likewise.
44687 * string/test-strchr-ifunc.c: Likewise.
44688 * string/test-strchrnul-ifunc.c: Likewise.
44689 * string/test-strcmp-ifunc.c: Likewise.
44690 * string/test-strcpy-ifunc.c: Likewise.
44691 * string/test-strcspn-ifunc.c: Likewise.
44692 * string/test-strlen-ifunc.c: Likewise.
44693 * string/test-strncasecmp-ifunc.c: Likewise.
44694 * string/test-strncat-ifunc.c: Likewise.
44695 * string/test-strncmp-ifunc.c: Likewise.
44696 * string/test-strncpy-ifunc.c: Likewise.
44697 * string/test-strnlen-ifunc.c: Likewise.
44698 * string/test-strpbrk-ifunc.c: Likewise.
44699 * string/test-strrchr-ifunc.c: Likewise.
44700 * string/test-strspn-ifunc.c: Likewise.
44701 * string/test-strstr-ifunc.c: Likewise.
44702
44703 * debug/Makefile (tests-ifunc): New variable.
44704 (tests): Add $(tests-ifunc).
44705 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44706 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44707 * debug/test-stpcpy_chk-ifunc.c: New file.
44708 * debug/test-strcpy_chk-ifunc.c: Likewise.
44709
44710 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44711
44712 [BZ #13601]
44713 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44714 header is not read in.
44715
44716 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44717
44718 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44719 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44720 directly. Pass built executable to script as
44721 $(built-program-cmd).
44722 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44723 $testprogram without using LD_LIBRARY_PATH and $ldso.
44724
44725 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44726 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44727 $(rtld-installed-name).
44728 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44729 (rtld_installed_name): Likewise.
44730 (library_path): Likewise.
44731 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44732 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44733 $(run-program-prefix) to tst-tables.sh.
44734 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44735 it to run tst-table-from and tst-table-to.
44736 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44737 Pass it to tst-table.sh.
44738 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44739 $(run-program-prefix) to tst-gettext.sh.
44740 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44741 tst-translit.sh.
44742 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44743 tst-gettext2.sh.
44744 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44745 to run tst-gettext.
44746 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44747 to run tst-gettext2.
44748 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44749 to run tst-translit.
44750 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44751 $(run-program-prefix) to tst-mtrace.sh.
44752 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44753 to run tst-mtrace.
44754 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44755 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44756 $(rtld-installed-name).
44757 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44758 (rtld_installed_name): Likewise.
44759 (run_program_prefix): New variable. Use it to run wordexp-test.
44760
44761 * Makeconfig (ARCH): Remove all definitions.
44762 (machine): Likewise.
44763 [ARCH]: Remove conditional code.
44764 [!objdir]: Give error.
44765 [!objdir] (objpfx): Remove.
44766 [!objdir] (common-objpfx): Likewise.
44767 [!objdir] (common-objdir): Likewise.
44768 * configure.in (config_makefile): Remove. Hardcode Makefile in
44769 AC_CONFIG_FILES call.
44770 * configure: Regenerated.
44771
44772 [BZ #13888]
44773 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44774 or TMPDIR.
44775 (testout): Likewise.
44776
44777 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44778 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44779 $(rtld-installed-name).
44780 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44781 (rtld_installed_name): Likwise.
44782 (runit): Remove function.
44783 (run_getconf): New variable, Use it for running getconf binary.
44784
44785 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44786
44787 [BZ #14716]
44788 * string/test-memmem.c (check_result): New function.
44789 (do_one_test): Use it.
44790 (check1): New function.
44791 (test_main): Use it.
44792
44793 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44794
44795 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44796
44797 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44798
44799 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44800 (_G_LSEEK64): Likewise.
44801 (_G_MMAP64): Likewise.
44802 (_G_FSTAT64): Likewise.
44803 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44804 (_G_LSEEK64): Likewise.
44805 (_G_MMAP64): Likewise.
44806 (_G_FSTAT64): Likewise.
44807 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44808 unconditional. Call __mmap64 directly.
44809 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44810 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44811 __lseek64 directly.
44812 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44813 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44814 __mmap64 directly.
44815 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44816 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44817 __lseek64 directly.
44818 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44819 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44820 __lseek64 directly.
44821 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44822 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44823 __lseek64 directly.
44824 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44825 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44826 __fxstat64 directly.
44827 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44828 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44829 unconditional.
44830 (freopen64) [!_G_OPEN64]: Remove conditional code.
44831 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44832 unconditional.
44833 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44834 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44835 unconditional.
44836 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44837 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44838 unconditional.
44839 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44840 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44841 unconditional.
44842 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44843 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44844 unconditional.
44845 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44846 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44847 unconditional.
44848 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44849 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44850 unconditional.
44851 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44852
44853 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44854
44855 [BZ #12140]
44856 * manual/memory.texi (Malloc Tunable Parameters): Add note
44857 about free list pointers overwriting some perturb bytes.
44858 Wording suggested by Roland McGrath.
44859
44860 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44861
44862 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44863 (lgamma_test): Likewise.
44864 (tgamma_test): Likewise.
44865
44866 2012-10-16 Florian Weimer <fweimer@redhat.com>
44867
44868 [BZ #14700]
44869 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44870 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44871
44872 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
44873
44874 * NEWS: Mention BZ #14716.
44875 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44876 when removing AVAILABLE1_USES_J macro.
44877
44878 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
44879
44880 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44881 (__bswap_64): __uint64_t for unsigned 64-bit int.
44882
44883 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
44884
44885 * include/string.h (memmem): Declare libc hidden alias.
44886 * string/memmem.c (memmem): Define libc hidden alias.
44887 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44888 __read, __close instead of open, read, close.
44889
44890 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
44891
44892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44893 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44894 global and hidden.
44895 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44896 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44897 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44898 Likewise.
44899 (__rawmemchr_sse2): Likewise.
44900 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44901 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44902 (__strchr_sse2): Likewise.
44903 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44904 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44905 (__strcasecmp_sse2): Likewise.
44906 (__strncasecmp_sse2): Likewise.
44907 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44908 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44909 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44910 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44911 (__strrchr_sse2): Likewise.
44912 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44913 ifunc-impl-list.c.
44914 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44915 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44916 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44917 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44918 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44919 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44920 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44921 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44922 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44923 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44924 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44925 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44926 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44927 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44928 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44929 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44930 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44931 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44932 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44933 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44934 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44935 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44936 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44937 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44938 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44939 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44940 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44941 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44942 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44943 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44944
44945 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44946 global and hidden.
44947 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44948 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44949 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44950 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44951 Likewise.
44952 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44953 Likewise.
44954 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44955 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44956 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44957 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44958 ifunc-impl-list.c.
44959 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44960 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44961 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44962 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44963 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44964 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44965 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44966 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44967 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44968 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44969 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44970 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44971 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44972 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44973 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44974 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44975 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44976 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44977 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44978 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44979 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44980 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44981 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44982 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44984 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44985 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44986 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44987 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44988 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44989 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44990 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44991 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44992 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44993 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44994 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44995 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44996 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44997 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44998 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44999 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45000
45001 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45002 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45003 * include/ifunc-impl-list.h: New file.
45004 * misc/ifunc-impl-list.c: Likewise.
45005 * misc/Makefile (routines): Add ifunc-impl-list.
45006 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45007 * string/test-string.h: Include <ifunc-impl-list.h>.
45008 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45009 TEST_NAME]: New variables.
45010 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45011 are defined.
45012 (test_init): Call __libc_ifunc_impl_list to initialize
45013 func_list if TEST_IFUNC and TEST_NAME are defined.
45014
45015 * string/Makefile (strop-tests): Add bcopy and bzero.
45016 * string/test-bcopy.c: New file.
45017 * string/test-bzero.c: Likewise.
45018 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45019 defined.
45020 * string/test-memset.c: Support bzero test if TEST_BZERO is
45021 defined.
45022 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45023 __libc_memmove.
45024 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45025 __libc_memset.
45026 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45027 of memset.
45028
45029 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45030
45031 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45032 * configure: Regenerated.
45033
45034 * Makeconfig (+link-static-before-libc): Don't include
45035 $(link-static-libc).
45036
45037 * libio/libio.h (_IO_pos_t): Remove.
45038
45039 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45040
45041 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45042 McGrath.
45043
45044 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45045
45046 * crypt/crypt-entry.c: Include fips-private.h.
45047 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45048 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45049 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45050 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45051
45052 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45053
45054 * crypt/crypt-private.h: Include stdbool.h.
45055 (_ufc_setup_salt_r): Return bool.
45056 * crypt/crypt-entry.c: Include errno.h.
45057 (__crypt_r): Return NULL with EINVAL for bad salt.
45058 * crypt/crypt_util.c (bad_for_salt): New.
45059 (_ufc_setup_salt_r): Check that salt is long enough and within
45060 the specified alphabet.
45061 * crypt/badsalttest.c: New file.
45062 * crypt/Makefile (tests): Add it.
45063 ($(objpfx)badsalttest): New.
45064
45065 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45066
45067 * NEWS: Add entry for BZ #14602.
45068
45069 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45070
45071 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45072 type-generic.
45073 * math/libm-test.inc: Update comment listing what functions and
45074 macros are tested.
45075 (isgreater_test): New function.
45076 (isgreaterequal_test): Likewise.
45077 (isless_test): Likewise.
45078 (islessequal_test): Likewise.
45079 (islessgreater_test): Likewise.
45080 (isunordered_test): Likewise.
45081 (main): Call the new functions.
45082
45083 2012-10-09 Roland McGrath <roland@hack.frob.com>
45084
45085 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45086 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45087 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45088 * sysdeps/i386/configure: Regenerated.
45089 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45090 * sysdeps/mach/configure: Regenerated.
45091 * sysdeps/mach/hurd/configure: Regenerated.
45092 * sysdeps/powerpc/configure: Regenerated.
45093 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45094 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45095 * sysdeps/s390/s390-32/configure: Regenerated.
45096 * sysdeps/s390/s390-64/configure: Regenerated.
45097 * sysdeps/sh/configure: Regenerated.
45098 * sysdeps/sparc/configure: Regenerated.
45099 * sysdeps/unix/sysv/linux/configure: Regenerated.
45100 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45101 * sysdeps/x86_64/configure: Regenerated.
45102
45103 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45104 defined. Don't check if MAP is NULL.
45105
45106 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45107
45108 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45109 (_G_stat64): Likewise.
45110 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45111 (_G_stat64): Likewise.
45112 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45113 instead of struct _G_stat64.
45114 * libio/fileops.c (mmap_remap_check): Likewise.
45115 (decide_maybe_mmap): Likewise.
45116 (_IO_new_file_seekoff): Likewise.
45117 (_IO_file_stat): Likewise.
45118 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45119 _G_off64_t.
45120 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45121 instead of struct _G_stat64.
45122 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45123
45124 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45125
45126 [BZ #14602]
45127 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45128 Replace with ...
45129 (CHECK_EOL): New macro.
45130 (two_way_short_needle): Check beginning of haystack for EOL. Use
45131 CHECK_EOL.
45132 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45133 Replace with CHECK_EOL.
45134 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45135 Replace with CHECK_EOL.
45136
45137 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45138
45139 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45140 type-generic.
45141 * math/libm-test.inc: Update comment listing what functions and
45142 macros are tested.
45143 (finite_test): New function.
45144 (isinf_test): Likewise.
45145 (isnan_test): Likewise.
45146 (fpclassify_test): Test subnormal input.
45147 (isfinite_test): Likewise.
45148 (isnormal_test): Likewise.
45149 (main): Call the new functions.
45150
45151 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45152
45153 [BZ #14660]
45154 * Makerules (%.dynsym): Force C locale when running
45155 $(OBJDUMP) --dynamic-syms.
45156
45157 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45158
45159 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45160 <stdint.h>.
45161
45162 2012-10-06 David S. Miller <davem@davemloft.net>
45163
45164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45165 upper 32-bits of the length value in %o2 since we use branch-on-register
45166 tests which consider the entire 64-bit register.
45167
45168 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45169
45170 * string/test-strstr.c (check2): Add a test for page boundary.
45171
45172 2012-10-05 David S. Miller <davem@davemloft.net>
45173
45174 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45175 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45176 file.
45177 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45178 sysdep_routines.
45179 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45180 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45181 and bzero when HWCAP_SPARC_CRYPTO is present.
45182
45183 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45184
45185 [BZ #14602]
45186 * string/test-strstr.c (check2): New function.
45187 (test_main): Call check2.
45188
45189 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45190 and bug-strchr1.
45191 * string/bug-strcasestr1.c (do_test): Moved to ...
45192 * string/test-strcasestr.c (check1): Here. New function.
45193 (do_one_test): Break out result checking code into ...
45194 (check_result): This. New function.
45195 (do_one_test): Call check_result.
45196 (test_main): Call check1.
45197 * string/bug-strchr1.c (do_test): Moved to ...
45198 * string/test-strchr.c (check1): Here. New function.
45199 (do_one_test): Break out result checking code into ...
45200 (check_result): This. New function.
45201 (do_one_test): Call check_result.
45202 (test_main): Call check1.
45203 * string/bug-strstr1.c (main): Moved to ...
45204 * string/test-strstr.c (check1): Here. New function.
45205 (do_one_test): Break out result checking code into ...
45206 (check_result): This. New function.
45207 (do_one_test): Call check_result.
45208 (test_main): Call check1.
45209 * string/bug-strcasestr1.c: Removed.
45210 * string/bug-strchr1.c: Likewise.
45211 * string/bug-strstr1.c: Likewise.
45212
45213 * elf/Makefile (dl-routines): Add hwcaps.
45214 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45215 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45216 (_dl_important_hwcaps): Moved to ...
45217 * elf/dl-hwcaps.c: Here. New file.
45218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45219
45220 [BZ #14557]
45221 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45222 if IS_IN_rtld isn't defined.
45223
45224 * elf/dl-support.c (_dl_sysinfo_map): New.
45225 Include "get-dynamic-info.h" and "setup-vdso.h".
45226 (_dl_non_dynamic_init): Call setup_vdso.
45227 * elf/dynamic-link.h: Don't include <assert.h>.
45228 (elf_get_dynamic_info): Moved to ...
45229 * elf/get-dynamic-info.h: Here. New file.
45230 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45231 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45232 * elf/setup-vdso.h: Here. New file.
45233 * elf/rtld.c: Include "setup-vdso.h".
45234 (dl_main): Call setup_vdso.
45235
45236 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45237
45238 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45239 creal in comment listing functions tested. List finite, isinf,
45240 isnan, isless, islessequal, isgreater, isgreaterequal,
45241 islessgreater, isunordered, lgamma_r and pow10 as functions and
45242 macros not tested. Mention which functions not tested are aliases
45243 for other functions. Fix typo. Note that signs of NaNs are not
45244 tested.
45245
45246 * scripts/config.guess: Update from config.git.
45247 * scripts/config.sub: Likewise.
45248
45249 2012-10-04 Roland McGrath <roland@hack.frob.com>
45250
45251 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45252 * misc/madvise.c (madvise): Renamed to __madvise.
45253 Make madvise a weak alias.
45254 * include/sys/mman.h: Declare __madvise.
45255 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45256 * sysdeps/unix/syscalls.list
45257 (madvise): Make __madvise the strong name, and madvise a weak alias.
45258 * sysdeps/unix/sysv/linux/syscalls.list
45259 (madvise, mmap): Remove redundant entries.
45260 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45261 * malloc/malloc.c (mtrim): Likewise.
45262 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45263
45264 2012-10-03 Roland McGrath <roland@hack.frob.com>
45265
45266 * sysdeps/mach/hurd/dl-cache.c: File removed.
45267 * config.h.in (USE_LDCONFIG): New #undef.
45268 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45269 * configure: Regenerated.
45270 * elf/Makefile (dl-routines): Add dl-cache only under
45271 [$(use-ldconfig) = yes].
45272 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45273 cache on [USE_LDCONFIG].
45274 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45275 [USE_LDCONFIG].
45276 * elf/rtld.c (dl_main): Likewise.
45277
45278 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45279
45280 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45281 _SC_LEVEL4_CACHE_LINESIZE.
45282
45283 2012-10-03 Roland McGrath <roland@hack.frob.com>
45284
45285 * sysdeps/unix/bsd/confstr.h: File removed.
45286
45287 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45288
45289 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45290 sys/sdt-config.h.
45291
45292 2012-10-02 Roland McGrath <roland@hack.frob.com>
45293
45294 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45295 Make 'mapoff' field ElfW(Off) rather than off_t.
45296
45297 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45298
45299 * nscd/Makefile: Remove nscd-cflags and all its users.
45300 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45301 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45302
45303 [BZ #10631]
45304 * malloc.c (malloc_printerr): Clarify error message.
45305
45306 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45307
45308 [BZ #14648]
45309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45310 Set bit_FMA_Usable if FMA is supported.
45311 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45312 macro.
45313 (bit_FMA4_Usable): Updated.
45314 (index_FMA_Usable): New macro.
45315 (CPUID_FMA): Likewise
45316 (HAS_FMA): Defined with bit_FMA_Usable.
45317
45318 2012-10-01 Roland McGrath <roland@hack.frob.com>
45319
45320 * bits/types.h (__swblk_t): Type removed.
45321 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45322 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45324 (__SWBLK_T_TYPE): Likewise.
45325 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45326 (__SWBLK_T_TYPE): Likewise.
45327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45328 (__SWBLK_T_TYPE): Likewise.
45329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45330 (__SWBLK_T_TYPE): Likewise.
45331
45332 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45333 Honza Horak <hhorak@redhat.com>
45334
45335 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45336 (xdr_mapname): Use YPMAXMAP as maxsize.
45337 (xdr_peername): Use YPMAXPEER as maxsize.
45338 (xdr_keydat): Use YPAXRECORD as maxsize.
45339 (xdr_valdat): Use YPMAXRECORD as maxsize.
45340
45341 2012-10-01 Roland McGrath <roland@hack.frob.com>
45342
45343 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45344
45345 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45346 * csu/init-first.c: ... here.
45347 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45348 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45349 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45350 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45351 * sysdeps/i386/init-first.c: File removed.
45352 * sysdeps/sh/init-first.c: File removed.
45353
45354 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45355
45356 [BZ #14645]
45357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45358 if x * y might underflow to zero and z is zero.
45359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45361 * math/libm-test.inc (min_subnorm_value): New variable.
45362 (fma_test): Add more tests.
45363 (fma_test_towardzero): Likewise.
45364 (fma_test_downward): Likewise
45365 (fma_test_upward): Likewise.
45366 (initialize): Set min_subnorm_value.
45367
45368 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45369
45370 [BZ #14638]
45371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45372 0 + 0.
45373 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45374 mode for addition resulting in exact zero.
45375 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45377 exact 0 + 0.
45378 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45379 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45380 * math/libm-test.inc (fma_test): Add more tests.
45381 (fma_test_towardzero): New function.
45382 (fma_test_downward): Likewise.
45383 (fma_test_upward): Likewise.
45384 (main): Call the new functions.
45385
45386 2012-09-28 David S. Miller <davem@davemloft.net>
45387
45388 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45389
45390 2012-09-28 Roland McGrath <roland@hack.frob.com>
45391
45392 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45393 instead of SIGALRM.
45394
45395 * sysdeps/gnu/_G_config.h: Moved to ...
45396 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45397 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45398 * sysdeps/generic/_G_config.h: ... here.
45399
45400 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45401
45402 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45403
45404 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45405 Conditionalize target on [libnss_test1.so-version].
45406
45407 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45408
45409 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45410 (elfobjdir): Move out of conditionals.
45411
45412 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45413 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45414 (__nss_lookup_function): Conditionalize label remove_from_tree on
45415 [!DO_STATIC_NSS || SHARED], matching its only use.
45416
45417 2012-09-28 David S. Miller <davem@davemloft.net>
45418
45419 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45420 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45421 file.
45422 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45423 sysdep_routines.
45424 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45426 when HWCAP_SPARC_CRYPTO is present.
45427
45428 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45429
45430 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45431
45432 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45433
45434 [BZ #6530]
45435 * stdio-common/vfprintf.c (process_string_arg): Revert
45436 2000-07-22 change.
45437
45438 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45439
45440 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45441 for testcase.
45442 * stdio-common/tst-sprintf.c: Include <locale.h>
45443 (main): Test sprintf's handling of incomplete multibyte
45444 characters.
45445
45446 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45447
45448 * elf/dl-runtime.c (VERSYMIDX): Removed.
45449 * elf/dl-version.c (VERSYMIDX): Likewise.
45450 * elf/do-rel.h (VERSYMIDX): Likewise.
45451 (VALIDX): Likewise.
45452 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45453 * elf/rtld.c (VALIDX): Likewise.
45454 (ADDRIDX): Likewise.
45455 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45456 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45457 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45458 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45459 (VALIDX): Likewise.
45460 (ADDRIDX): Likewise.
45461
45462 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45463
45464 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45465
45466 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45467
45468 [BZ #11438]
45469 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45470 to global scope.
45471 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45472 addresses are in the same scope as 192.0.2/24.
45473 * posix/gai.conf: Document new scope table defaults.
45474
45475 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45476
45477 [BZ #5298]
45478 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45479 for ftell. Compute offsets from write pointers instead.
45480 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45481
45482 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45483
45484 [BZ #14543]
45485 * libio/Makefile (tests): New test case tst-fseek.
45486 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45487 combination works in wide mode.
45488 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45489 state when the external buffer state changes.
45490
45491 2012-09-27 David S. Miller <davem@davemloft.net>
45492
45493 [BZ #14376]
45494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45495 pass reloc->r_addend in as the 'high' argument to
45496 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45497
45498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45499
45500 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45501
45502 * rt/tst-aio2.c: Include <pthread.h>.
45503 * rt/tst-aio3.c: Likewise.
45504
45505 2012-09-27 Steve Ellcey <sellcey@mips.com>
45506
45507 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45508
45509 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45510
45511 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45512 contents on [SHARED].
45513
45514 2012-09-26 Marek Polacek <polacek@redhat.com>
45515
45516 [BZ #14530]
45517 [BZ #13741]
45518 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45519 for C++ and GCC <4.3 as well as for non GCC compilers.
45520
45521 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45522
45523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45524
45525 2012-09-25 Roland McGrath <roland@hack.frob.com>
45526
45527 * Makefile.in (all, install): Declare with .PHONY.
45528 Reported by Michael Hope <michael.hope@linaro.org>.
45529
45530 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45531
45532 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45533 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45534 system header.
45535 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45536 Likewise.
45537 (sydep_routines): Add the new and the internal functions.
45538 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45539 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45541 (GLIBC_2.17): Add the new function.
45542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45543 (GLIBC_2.17): Likewise.
45544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45545 (GLIBC_2.17): Likewise.
45546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45547 (GLIBC_2.17): Likewise.
45548 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45549
45550 2012-09-25 Alan Modra <amodra@gmail.com>
45551
45552 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45553 Add release barrier before setting once_control to say
45554 initialisation is done. Add hints on lwarx. Use macro in
45555 place of isync.
45556 (clear_once_control): Add release barrier.
45557
45558 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45559
45560 [BZ #13629]
45561 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45562 specially.
45563 * math/s_clog10.c (__clog10): Likewise.
45564 * math/s_clog10f.c (__clog10f): Likewise.
45565 * math/s_clog10l.c (__clog10l): Likewise.
45566 * math/s_clogf.c (__clogf): Likewise.
45567 * math/s_clogl.c (__clogl): Likewise.
45568 * math/Makefile (libm-calls): Add x2y2m1.
45569 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45570 (__x2y2m1): Likewise.
45571 (__x2y2m1l): Likewise.
45572 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45573 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45574 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45575 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45576 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45577 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45578 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45579 * sysdeps/i386/fpu/libm-test-ulps: Update.
45580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45581
45582 [BZ #14621]
45583 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45584 int as type of variable DEPTH.
45585 (glob): Use size_t instead of int as type of variables NEWCOUNT
45586 and OLD_PATHC.
45587
45588 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45589
45590 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45591 Add s_sincosf-sse2.
45592 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45593 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45594 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45595 macros for using routine as __sincosf_ia32.
45596 Use macro for function declaration and weak_alias.
45597 * sysdeps/i386/fpu/libm-test-ulps: Update.
45598
45599 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45601
45602 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45603 subnormal argument.
45604 * math/s_cexpf.c (__cexpf): Likewise.
45605 * math/s_csinf.c (__csinf): Likewise.
45606 * math/s_csinhf.c (__csinhf): Likewise.
45607 * math/s_ctanf.c (__ctanf): Likewise.
45608 * math/s_ctanhf.c (__ctanhf): Likewise.
45609 * math/s_ccosh.c (__ccoshf): Likewise.
45610 * math/s_cexp.c (__cexpl): Likewise.
45611 * math/s_csin.c (__csin): Likewise.
45612 * math/s_csinh.c (__csinh): Likewise.
45613 * math/s_ctan.c (__ctan): Likewise.
45614 * math/s_ctanh.c (ctanh): Likewise.
45615 * math/s_ccoshl.c (__ccoshl): Likewise.
45616 * math/s_cexpl.c (__cexpl): Likewise.
45617 * math/s_csinl.c (__csinl): Likewise.
45618 * math/s_csinhl.c (__csinhl): Likewise.
45619 * math/s_ctanl.c (__ctanl): Likewise.
45620 * math/s_ctanhl.c (__ctanhl): Likewise.
45621
45622 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45623
45624 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45625 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45626 (_IO_off_t): Define to __off_t, not _G_off_t.
45627 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45628 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45629 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45630 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45631 type of __dummy and __dummy2 fields.
45632 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45633 (_G_ssize_t): Likewise.
45634 (_G_off_t): Likewise.
45635 (_G_pid_t): Likewise.
45636 (_G_uid_t): Likewise.
45637 (_G_wchar_t): Likewise.
45638 (_G_wint_t): Likewise.
45639 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45640 (_G_ssize_t): Likewise.
45641 (_G_off_t): Likewise.
45642 (_G_pid_t): Likewise.
45643 (_G_uid_t): Likewise.
45644 (_G_wchar_t): Likewise.
45645 (_G_wint_t): Likewise.
45646 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45647 (_G_ssize_t): Likewise.
45648 (_G_off_t): Likewise.
45649 (_G_pid_t): Likewise.
45650 (_G_uid_t): Likewise.
45651 (_G_wchar_t): Likewise.
45652 (_G_wint_t): Likewise.
45653
45654 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45655
45656 * malloc/arena.c: Include malloc-sysdep.h.
45657 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45658 is sufficient to shrink the heap or an unmap is needed.
45659 * sysdeps/generic/malloc-sysdep.h: New file. Define
45660 new function check_may_shrink_heap.
45661 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45662 new function check_may_shrink_heap.
45663
45664 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45665
45666 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45667 comments.
45668
45669 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45670
45671 * catgets/test-gencat.sh: Add "set -e".
45672 * elf/tst-pathopt.sh: Likewise.
45673 * grp/tst_fgetgrent.sh: Likewise.
45674 * iconvdata/run-iconv-test.sh: Likewise.
45675 * intl/tst-gettext.sh: Likewise.
45676 * intl/tst-gettext2.sh: Likewise.
45677 * intl/tst-gettext4.sh: Likewise.
45678 * intl/tst-gettext6.sh: Likewise.
45679 * intl/tst-translit.sh: Likewise.
45680 * io/ftwtest-sh: Likewise.
45681 * libio/test-freopen.sh: Likewise.
45682 * malloc/tst-mtrace.sh: Likewise.
45683 * posix/globtest.sh: Likewise.
45684 * posix/tst-getconf.sh: Likewise.
45685 * posix/wordexp-tst.sh: Likewise.
45686 * stdio-common/tst-printf.sh: Likewise.
45687 * stdio-common/tst-unbputc.sh: Likewise.
45688 * stdlib/tst-fmtmsg.sh: Likewise.
45689 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45690 * catgets/Makefile: Do not specify -e option when running
45691 testsuite shell scripts.
45692 * elf/Makefile: Likewise.
45693 * grp/Makefile: Likewise.
45694 * iconvdata/Makefile: Likewise.
45695 * intl/Makefile: Likewise.
45696 * io/Makefile: Likewise.
45697 * libio/Makefile: Likewise.
45698 * malloc/Makefile: Likewise.
45699 * posix/Makefile: Likewise.
45700 * stdio-common/Makefile: Likewise.
45701 * stdlib/Makefile: Likewise.
45702 * sysdeps/x86_64/Makefile: Likewise.
45703
45704 * io/ftwtest-sh: Add copyright header.
45705 * posix/globtest.sh: Likewise.
45706 * posix/tst-getconf.sh: Likewise.
45707 * posix/wordexp-tst.sh: Likewise.
45708 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45709
45710 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45711
45712 [BZ #13679]
45713 * Makeconfig (+link): Defined as $(+link-static) if
45714 $(build-shared) isn't yes.
45715 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45716 isn't yes.
45717 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45718
45719 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45720
45721 [BZ #14562]
45722 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45723 new chunk size with MALLOC_ALIGN_MASK.
45724
45725 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45726
45727 [BZ #5044]
45728 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45729 <rounding-mode.h>.
45730 (__printf_fphex): Determine rounding using get_rounding_mode and
45731 round_away.
45732 * stdio-common/tst-printf-round.c (struct hex_test): New
45733 structure.
45734 (hex_tests): New variable.
45735 (test_hex_in_one_mode): New function.
45736 (do_test): Also run tests for hex float output.
45737
45738 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45739
45740 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45741 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45742 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45743 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45744 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45745 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45746 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45747 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45748
45749 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45750
45751 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45752 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45753 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45754 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45755
45756 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45757
45758 [BZ #14579]
45759 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45760 mode only.
45761 * elf/tst-rtld-load-self.sh: New test.
45762 * elf/Makefile: Run it.
45763
45764 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45765
45766 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45767 (tst-writev-ENV): Remove.
45768 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45769
45770 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45771
45772 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45773
45774 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45775
45776 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45777 unconditional.
45778 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45779 Likewise.
45780 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45781 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45782 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45783 Likewise.
45784
45785 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45786
45787 [BZ #14587]
45788 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45789 * config.make.in (have-cpp-asm-debuginfo): Removed.
45790 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45791 * configure: Regenerated.
45792
45793 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45794
45795 [BZ #5044]
45796 * stdio-common/printf_fp.c: Include <stdbool.h> and
45797 <rounding-mode.h>.
45798 (___printf_fp): Determine rounding using get_rounding_mode and
45799 round_away.
45800 * stdio-common/tst-printf-round.c: New file.
45801 * stdio-common/Makefile (tests): Add tst-printf-round.
45802 (link-libm): New variable.
45803 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45804
45805 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45806
45807 [BZ #14576]
45808 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45809 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45810 Likewise.
45811 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45812 Likewise.
45813
45814 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45815
45816 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45817 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45818 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45819 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45820
45821 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45822
45823 [BZ #14518]
45824 * include/rounding-mode.h: New file.
45825 * sysdeps/generic/get-rounding-mode.h: Likewise.
45826 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45827 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45828 (MAX_VALUE): New macro.
45829 (MIN_VALUE): Likewise.
45830 (overflow_value): New function.
45831 (underflow_value): Likewise.
45832 (round_and_return): Use overflow_value and underflow_value to
45833 determine return values in overflow and underflow cases. Use
45834 round_away to determine rounding depending on rounding mode.
45835 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45836 determine return values in overflow and underflow cases.
45837 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45838 (struct test_results): New structure.
45839 (struct test): Use struct test_results to store expected results
45840 for all rounding modes.
45841 (TEST): Include expected results for all rounding modes.
45842 (test_in_one_mode): New function.
45843 (do_test): Use test_in_one_mode to compute and check results.
45844 Check results for all rounding modes.
45845 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45846 $(link-libm).
45847
45848 2012-12-09 Allan McRae <allan@archlinux.org>
45849
45850 * sysdeps/i386/fpu/libm-test-ulps: Update
45851
45852 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45853
45854 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45855 (_G_int32_t): Likewise.
45856 (_G_uint16_t): Likewise.
45857 (_G_uint32_t): Likewise.
45858 (_G_HAVE_BOOL): Likewise.
45859 (_G_HAVE_ATEXIT): Likewise.
45860 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45861 (_G_HAVE_IO_FILE_OPEN): Likewise.
45862 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45863 (_G_int32_t): Likewise.
45864 (_G_uint16_t): Likewise.
45865 (_G_uint32_t): Likewise.
45866 (_G_HAVE_BOOL): Likewise.
45867 (_G_HAVE_ATEXIT): Likewise.
45868 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45869 (_G_HAVE_IO_FILE_OPEN): Likewise.
45870 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45871 (_G_int32_t): Likewise.
45872 (_G_uint16_t): Likewise.
45873 (_G_uint32_t): Likewise.
45874 (_G_HAVE_BOOL): Likewise.
45875 (_G_HAVE_ATEXIT): Likewise.
45876 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45877 (_G_HAVE_IO_FILE_OPEN): Likewise.
45878
45879 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
45880
45881 * csu/libc-tls.c: Update copyright years.
45882
45883 2012-09-10 Joseph Myers <joseph@codesourcery.com>
45884
45885 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45886 [!_G_USING_THUNKS]: Remove conditional code.
45887 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45888 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45889
45890 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45891 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45892 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45893 (_G_VTABLE_LABEL_PREFIX): Likewise.
45894 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45895 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45896 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45897 (_G_VTABLE_LABEL_PREFIX): Likewise.
45898 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45899 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45900 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45901 (_G_VTABLE_LABEL_PREFIX): Likewise.
45902 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45903
45904 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
45905
45906 * libio/Makefile: Include ../Makeconfig before tests.
45907 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45908 only if $(build-shared) is yes.
45909
45910 * iconv/gconv_db.c: Update copyright years.
45911
45912 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45913
45914 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45915 unwind info if defined PIC. Fix special cases description.
45916 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45917
45918 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45919 DP_HI_MASK entry.
45920 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45921
45922 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
45923
45924 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45925
45926 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45927 is NULL.
45928
45929 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45930 (LDLIBS-tst-chk4): This.
45931 (LDFLAGS-tst-chk5): Renamed to ...
45932 (LDLIBS-tst-chk5): This.
45933 (LDFLAGS-tst-chk6): Renamed to ...
45934 (LDLIBS-tst-chk6): This.
45935 (LDFLAGS-tst-lfschk4): Renamed to ...
45936 (LDLIBS-tst-lfschk4): This.
45937 (LDFLAGS-tst-lfschk5): Renamed to ...
45938 (LDLIBS-tst-lfschk5): This.
45939 (LDFLAGS-tst-lfschk6): Renamed to ...
45940 (LDLIBS-tst-lfschk6): This.
45941
45942 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45943 on $(common-objpfx)soversions.mk.
45944
45945 2012-09-07 Joseph Myers <joseph@codesourcery.com>
45946
45947 [BZ #10014]
45948 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45949 example host name.
45950
45951 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45952
45953 * malloc/arena.c (arena_get_retry): New function that gets
45954 another arena for the caller to try its request on.
45955 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45956 current arena cannot fulfill the request.
45957 (__libc_memalign): Likewise.
45958 (__libc_memalign): Likewise.
45959 (__libc_pvalloc): Likewise.
45960 (__libc_calloc): Likewise.
45961
45962 2012-09-05 John Tobey <john.tobey@gmail.com>
45963
45964 [BZ #13542]
45965 * manual/arith.texi (Operations on Complex): Fix description
45966 of carg branch cut.
45967
45968 2012-09-06 Joseph Myers <joseph@codesourcery.com>
45969
45970 [BZ #10014]
45971 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45972 host name.
45973
45974 [BZ #10038]
45975 * manual/memory.texi (Memory): Make order of menu items match
45976 order of sections.
45977
45978 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45979
45980 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45981 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
45982 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45983
45984 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45985
45986 * csu/libc-tls.c (static_dtv): Renamed to ...
45987 (_dl_static_dtv): This. Make it global.
45988 (_dl_initial_dtv): Removed.
45989 (__libc_setup_tls): Updated.
45990 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45991 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45992 DL_INITIAL_DTV.
45993
45994 2012-09-06 Petr Machata <pmachata@redhat.com>
45995
45996 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45997 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45998 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45999 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46000
46001 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46002
46003 [BZ #14545]
46004 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46005 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46006 freeing dtv[-1].
46007
46008 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46009
46010 [BZ #14544]
46011 * Makeconfig (link-static-before-libc): Replace $(+prector)
46012 with $(+prectorT).
46013 (link-static-after-libc): Replace $(+postctor) with
46014 $(+postctorT).
46015 (link-bounded): Replace $(+prector)/$(+postctor) with
46016 $(+prectorT)/$(+postctorT).
46017 (+prectorT): New macro.
46018 (+postctorT): Likewise.
46019
46020 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46021
46022 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46023 (round_str): Handle values above the maximum for IBM long double
46024 as inexact.
46025 * stdlib/tst-strtod-round.c (tests): Regenerated.
46026
46027 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46028
46029 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46030 assembler flag.
46031 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46032 zarch_nohighgprs around the zarch optimized routines.
46033 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46034 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46035 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46036 for zarch.
46037
46038 2012-09-05 David S. Miller <davem@davemloft.net>
46039
46040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46041
46042 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46043 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46044 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46045 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46046 entries.
46047
46048 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46049
46050 * malloc/arena.c: Fold copyright years.
46051 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46052
46053 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46054
46055 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46056
46057 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46058
46059 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46060
46061 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46062
46063 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46064 change internal state upon failure.
46065
46066 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46067
46068 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46069 * malloc/memusage.c (mmap): Likewise.
46070 (mmap64, mremap): Likewise. Adjust name in comment.
46071
46072 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46073
46074 * libio/fileops.c: Fix typos in comments.
46075 * libio/oldfileops.c: Likewise.
46076 * libio/wfileops.c: Likewise.
46077
46078 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46079
46080 [BZ #1349]
46081 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46082 (tst-malloc-usable-ENV): Set environment for test case.
46083 * malloc/hooks.c (malloc_check_get_size): New function to get
46084 requested size.
46085 * malloc/malloc.c (musable): Use malloc_check_get_size.
46086 * malloc/tst-malloc-usable.c: New test case.
46087
46088 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46089
46090 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46091
46092 2012-09-05 Allan McRae <allan@archlinux.org>
46093
46094 [BZ #13966]
46095 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46096 determine header location.
46097 * configure: Regenerated.
46098
46099 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46100
46101 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46102 float format.
46103 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46104 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46105 format.
46106 (test): Regenerate.
46107
46108 2012-09-04 David S. Miller <davem@davemloft.net>
46109
46110 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46111 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46112 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46113
46114 2012-09-04 Florian Weimer <fweimer@redhat.com>
46115
46116 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46117 failures.
46118
46119 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46120
46121 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46122
46123 [BZ #9914]
46124 * libio/iogetdelim.c: Include <limits.h>.
46125 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46126 + len + 1 would overflow.
46127
46128 2012-09-03 Andreas Jaeger <aj@suse.de>
46129
46130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46131 * sysdeps/i386/fpu/libm-test-ulps: Update.
46132
46133 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46134
46135 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46136 Add s_sinf-sse2, s_conf-sse2.
46137
46138 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46139 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46140 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46141 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46142
46143 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46144 for using routine as __sinf_ia32.
46145 Use macro for function declaration and weak_alias.
46146 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46147 for using routine as __cosf_ia32.
46148 Use macro for function declaration and weak_alias.
46149
46150 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46151 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46152
46153 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46154 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46156
46157 * math/libm-test.inc (cos_test): Add more test cases.
46158 (sin_test): Likewise.
46159 (sincos_test): Likewise.
46160
46161 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46162
46163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46164 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46165 hidden.
46166 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46167
46168 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46169
46170 [BZ #14538]
46171 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46172 first element of the GOT.
46173 (elf_machine_load_address): Return the difference between
46174 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46175
46176 2012-09-01 Allan McRae <allan@archlinux.org>
46177
46178 [BZ #13412]
46179 * configure.in (AWK): Require gawk version 3.0 or later.
46180 * configure: Regenerated.
46181
46182 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46183
46184 * sysdeps/unix/sysv/linux/kernel-features.h
46185 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46187 [__NR_clock_getres]: Make code unconditional.
46188 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46189 (clock_getcpuclockid): Remove code left unreachable by removal of
46190 conditionals.
46191 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46192 code unconditional.
46193 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46194 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46195 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46196 Make code unconditional.
46197 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46198 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46199 * sysdeps/unix/sysv/linux/clock_settime.c
46200 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46201 conditional code.
46202 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46203 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46204
46205 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46206
46207 [BZ #14476]
46208 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46209 scripts/test-installation.pl.
46210
46211 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46212 and $ld_so_version if it is set.
46213
46214 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46215
46216 [BZ #14516]
46217 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46218 failure if reading from procfs failed.
46219 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46220
46221 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46222
46223 * sysdeps/unix/sysv/linux/kernel-features.h
46224 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46225 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46226 Remove conditional code.
46227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46228 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46229 Remove conditional code.
46230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46231 * sysdeps/unix/sysv/linux/i386/fxstat.c
46232 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46234 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46235 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46237 * sysdeps/unix/sysv/linux/i386/lxstat.c
46238 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46240 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46241 Remove conditional code.
46242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46243 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46244 Remove conditional code.
46245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46246 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46247 <kernel-features.h>.
46248 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46249 Remove.
46250 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46251 Remove conditional code.
46252 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46253 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46254 Remove conditional.
46255
46256 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46257
46258 [BZ #5400]
46259 * NEWS: Add fixed bug number.
46260
46261 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46262
46263 [BZ #14519]
46264 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46265 underflowing exponent in case of negative sign.
46266 * stdlib/tst-strtod-round-data: Add more tests.
46267 * stdlib/tst-strtod-round.c (tests): Regenerated.
46268
46269 [BZ #3479]
46270 * stdlib/strtod_l.c (NDIG): Remove.
46271 (HEXNDIG): Likewise.
46272 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46273 smallest representable value.
46274 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46275 lie within an exact representation of 1/2 ulp of the result.
46276 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46277 unconditionally.
46278 (TENS_P9_IDX): Define unconditionally.
46279 (TENS_P9_SIZE): Likewise.
46280 (TENS_P10_IDX): Likewise.
46281 (TENS_P10_SIZE): Likewise.
46282 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46283 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46284 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46285 entries for 10^2^13 and 10^2^14.
46286 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46287 (TENS_P13_IDX): Define.
46288 (TENS_P13_SIZE): Likewise.
46289 (TENS_P14_IDX): Likewise.
46290 (TENS_P14_SIZE): Likewise.
46291 (_fpioconst_pow10): Change array size to
46292 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46293 unconditional.
46294 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46295 1024]: Add entries for 10^2^13 and 10^2^14.
46296 [LAST_POW10 > _LAST_POW10]: Remove #error.
46297 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46298 (_fpioconst_pow10): Change array size to
46299 FPIOCONST_POW10_ARRAY_SIZE.
46300 * stdlib/gen-fpioconst.c: New file.
46301 * stdlib/gen-tst-strtod-round.c: Likewise.
46302 * stdlib/tst-strtod-round-data: Likewise.
46303 * stdlib/tst-strtod-round.c: Likewise.
46304 * stdlib/Makefile (tests): Add tst-strtod-round.
46305
46306 [BZ #14459]
46307 * stdlib/strtod_l.c: Include <stdint.h>.
46308 (NDEBUG): Do not define.
46309 (round_and_return): Change EXPONENT parameter to type intmax_t.
46310 Rearrange calculations to avoid internal overflow possibilities.
46311 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46312 Rearrange calculations to avoid internal overflow possibilities.
46313 Assert that number fits inside MPNSIZE limbs.
46314 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46315 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46316 calculations and add assertions to avoid internal overflow
46317 possibilities. Add casts to avoid signed/unsigned operations.
46318 * stdlib/tst-strtod-overflow.c: New file.
46319 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46320
46321 2012-08-25 Marek Polacek <polacek@redhat.com>
46322
46323 * time/time.h: Fix some typos in comments.
46324
46325 2012-08-23 Roland McGrath <roland@hack.frob.com>
46326
46327 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46328 * posix/tst-rfc3484-2.c: Likewise.
46329 * posix/tst-rfc3484-3.c: Likewise.
46330
46331 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46332
46333 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46334 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46335
46336 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46337
46338 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46339 #include of fxstatat64.c.
46340
46341 2012-08-22 Roland McGrath <roland@hack.frob.com>
46342
46343 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46344 * shadow/getspent_r.c: Likewise.
46345 * shadow/getspnam.c: Likewise.
46346 * shadow/getspnam_r.c: Likewise.
46347 * gshadow/getsgent.c: Likewise.
46348 * gshadow/getsgent_r.c: Likewise.
46349 * gshadow/getsgnam.c: Likewise.
46350 * gshadow/getsgnam_r.c: Likewise.
46351 * inet/getnetbyad.c: Likewise.
46352 * inet/getnetbyad_r.c: Likewise.
46353 * inet/getnetbynm.c: Likewise.
46354 * inet/getnetbynm_r.c: Likewise.
46355 * inet/getnetent.c: Likewise.
46356 * inet/getnetent_r.c: Likewise.
46357 * inet/getproto.c: Likewise.
46358 * inet/getproto_r.c: Likewise.
46359 * inet/getprtent.c: Likewise.
46360 * inet/getprtent_r.c: Likewise.
46361 * inet/getprtname.c: Likewise.
46362 * inet/getprtname_r.c: Likewise.
46363 * inet/getrpcbyname.c: Likewise.
46364 * inet/getrpcbyname_r.c: Likewise.
46365 * inet/getrpcbynumber.c: Likewise.
46366 * inet/getrpcbynumber_r.c: Likewise.
46367 * inet/getrpcent.c: Likewise.
46368 * inet/getrpcent_r.c: Likewise.
46369 * inet/getaliasent.c: Likewise.
46370 * inet/getaliasent_r.c: Likewise.
46371 * inet/getaliasname.c: Likewise.
46372 * inet/getaliasname_r.c: Likewise.
46373 * nscd/getgrgid_r.c: Likewise.
46374 * nscd/getgrnam_r.c: Likewise.
46375 * nscd/gethstbyad_r.c: Likewise.
46376 * nscd/gethstbynm3_r.c: Likewise.
46377 * nscd/getpwnam_r.c: Likewise.
46378 * nscd/getpwuid_r.c: Likewise.
46379 * nscd/getsrvbynm_r.c: Likewise.
46380 * nscd/getsrvbypt_r.c: Likewise.
46381 * nscd/gai.c: Likewise.
46382
46383 * configure.in (build_nscd): New substituted variable, set
46384 by --disable-build-nscd and defaults to $use_nscd.
46385 * configure: Regenerated.
46386 * config.make.in (build-nscd): New substituted variable.
46387 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46388 Change conditional to require [$(build-nscd) = yes] as well.
46389 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46390
46391 [BZ# 13696]
46392 * configure.in (use_nscd): New substituted variable, set by
46393 --disable-nscd. If enabled, define USE_NSCD.
46394 * configure: Regenerated.
46395 * config.h.in: Add USE_NSCD.
46396 * config.make.in (use-nscd): New substituted variable.
46397 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46398 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46399 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46400 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46401 (CFLAGS-getgrnam_r.c): Likewise.
46402 (CFLAGS-initgroups.c): Likewise.
46403 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46404 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46405 Variables removed.
46406 * inet/getnetgrent_r.c
46407 (nscd_setnetgrent): New function, broken out of ...
46408 (setnetgrent): ... here. Call it.
46409 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46410 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46411 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46412 * nscd/Makefile (routines, aux): Move definitions after include of
46413 Makeconfig. Conditionalize on [$(use-nscd) != no].
46414 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46415 Conditionalize on [USE_NSCD].
46416 (is_nscd, nscd_init_cb): Likewise.
46417 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46418 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46419 * nss/nss_db/db-init.c: Likewise.
46420 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46421 [USE_NSCD].
46422 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46423 (make_request): Use it.
46424 (cache_valid_p): New function.
46425 (__check_pf): Use it.
46426 * NEWS: Add item for --disable-nscd.
46427
46428 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46429
46430 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46431 to support sed >= 4.2.1-20-ga9bf076.
46432 * configure: Regenerated.
46433
46434 2012-08-22 Roland McGrath <roland@hack.frob.com>
46435
46436 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46437 Conditionalize whole body on [IREL].
46438
46439 2012-08-22 Jeff Law <law@redhat.com>
46440
46441 [BZ #14505]
46442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46443 if the family is PF_UNSPEC.
46444
46445 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46446
46447 * Makerules (lib-version): Rename from V.
46448 (install-lib-nosubdir): Change V to lib-version.
46449
46450 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46451
46452 [BZ #14252]
46453 * powerpc32/power6/wcschr.c: New file.
46454 * powerpc32/power6/wcscpy.c: New file.
46455 * powerpc32/power6/wcsrchr.c: New file.
46456 * powerpc64/power6/wcschr.c: New file.
46457 * powerpc64/power6/wcscpy.c: New file.
46458 * powerpc64/power6/wcsrchr.c: New file.
46459
46460 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46461
46462 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46463 (two_way_short_needle): Use it.
46464 * string/strstr.c (AVAILABLE1_USES_J): Define.
46465 * string/strcasestr.c: Likewise.
46466
46467 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46468 array references.
46469 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46470
46471 [BZ #11607]
46472 * NEWS: Add an entry.
46473 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46474 define their defaults.
46475 (two_way_short_needle): Detect end-of-string on-the-fly.
46476 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46477 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46478 * string/bug-strcasestr1.c: New test.
46479 * string/Makefile: Run it.
46480
46481 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46482
46483 [BZ #11607]
46484 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46485 the first character.
46486
46487 2012-08-21 Roland McGrath <roland@hack.frob.com>
46488
46489 * csu/elf-init.c (__libc_csu_irel): Function removed.
46490 * csu/libc-start.c (apply_irel): New function.
46491 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46492
46493 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46494
46495 * sysdeps/unix/sysv/linux/kernel-features.h
46496 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46497 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46498 <kernel-features.h>.
46499 [__NR_fadvise64_64]: Make code unconditional.
46500 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46501 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46502 !__NR_fadvise64_64)]: Likewise.
46503 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46504 !__NR_fadvise64_64))]: Likewise.
46505 [__NR_fadvise64]: Make code unconditional.
46506 [!__NR_fadvise64]: Remove conditional code.
46507 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46508 <kernel-features.h>.
46509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46510 unconditional.
46511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46512 conditional code.
46513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46514 not include <kernel-features.h>.
46515 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46516 unconditional.
46517 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46518 conditional code.
46519 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46520 include <kernel-features.h>.
46521 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46522 unconditional.
46523 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46524 conditional code.
46525
46526 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46527
46528 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46529 slight instruction rearrangements per scrollpipe analysis.
46530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46531
46532 2012-08-20 Roland McGrath <roland@hack.frob.com>
46533
46534 * manual/syslog.texi (syslog; vsyslog, closelog):
46535 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46536 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46537
46538 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46539 DSOCAPS to match condition on defining it.
46540
46541 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46542
46543 * sysdeps/unix/sysv/linux/kernel-features.h
46544 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46546 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46547 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46549 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46550 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46552 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46553 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46554
46555 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46556 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46557
46558 * sysdeps/unix/sysv/linux/kernel-features.h
46559 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46560 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46561 unconditional.
46562 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46563 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46564 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46565 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46566 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46567 Make code unconditional.
46568 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46569 (__mmap64) [!__NR_mmap2]: Likewise.
46570 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46571 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46572 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46573 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46574 [__NR_mmap2]: Make code unconditional.
46575 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46576 (__mmap64) [!__NR_mmap2]: Likewise.
46577
46578 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46579
46580 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46581
46582 2012-08-18 Andreas Jaeger <aj@suse.de>
46583
46584 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46585
46586 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46587
46588 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46589 * include/unistd.h (__have_sock_cloexec): Likewise.
46590 (__have_pipe2): Likewise.
46591 (__have_dup3): Likewise.
46592
46593 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46594
46595 [BZ #9685]
46596 * include/unistd.h (__have_pipe2): Change define into an extern int.
46597 (__have_dup3): Likewise.
46598 * socket/have_sock_cloexec.c: Include fcntl.h.
46599 (__have_pipe2): New variable.
46600 (__have_dup3): Likewise.
46601
46602 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46603
46604 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46605
46606 2012-08-17 Marek Polacek <polacek@redhat.com>
46607
46608 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46609 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46610
46611 2012-08-17 Roland McGrath <roland@hack.frob.com>
46612
46613 * configure.in: Add AC_SUBST for sysheaders.
46614 * configure: Regenerated.
46615 * config.make.in (sysheaders): New substituted variable.
46616
46617 * sysdeps/unix/mkfifo.c: Moved ...
46618 * sysdeps/posix/mkfifo.c: ... here.
46619 * sysdeps/unix/mkfifoat.c: Moved ...
46620 * sysdeps/posix/mkfifoat.c: ... here.
46621
46622 * sysdeps/unix/utime.c: Moved ...
46623 * sysdeps/posix/utime.c: ... here.
46624
46625 * sysdeps/unix/time.c: Moved ...
46626 * sysdeps/posix/time.c: ... here.
46627 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46628 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46629
46630 * sysdeps/unix/nice.c: Moved ...
46631 * sysdeps/posix/nice.c: ... here.
46632
46633 * sysdeps/unix/alarm.c: Moved ...
46634 * sysdeps/posix/alarm.c: ... here.
46635
46636 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46637
46638 2012-08-17 Jeff Law <law@redhat.com>
46639
46640 * intl/Makefile (codeset_mo): New variable.
46641 ($(codeset_mo)): New target.
46642 (tst-codeset.out): Depend on that. Remove explicit rule.
46643 (tst-gettext3.out, tst-gettext5.out): Likewise.
46644 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46645 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46646 * intl/tst-codeset.sh: Remove.
46647 * intl/tst-gettext3.sh: Likewise.
46648 * intl/tst-gettext5.sh: Likewise.
46649
46650 2012-08-17 Roland McGrath <roland@hack.frob.com>
46651
46652 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46653 * sysdeps/unix/syscalls.list: ... here.
46654
46655 * sysdeps/posix/getaddrinfo.c
46656 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46657 (gaiconf_init, gaiconf_reload): Use them.
46658 [!_STATBUF_ST_NSEC]
46659 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46660 Define using time_t rather than struct timespec.
46661
46662 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46663 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46664 Macros removed.
46665 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46666 [!NO_THREADS].
46667 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46668 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46669 Likewise.
46670
46671 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46672 __libc_cleanup_push argument.
46673
46674 * bits/param.h: New file.
46675 * misc/sys/param.h: New file.
46676 * include/sys/param.h: New file.
46677 * misc/Makefile (headers): Add bits/param.h.
46678 * sysdeps/generic/sys/param.h: File removed.
46679 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46680 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46681 * sysdeps/mach/hurd/bits/param.h: New file.
46682 * sysdeps/mach/hurd/sys/param.h: File removed.
46683
46684 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46685 last change.
46686
46687 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46688 [_IO_MTSAFE_IO].
46689 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46690 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46691 New macros.
46692
46693 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46694 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46695 rather than -D_IO_MTSAFE_IO conditionally.
46696 * stdio-common/Makefile (CPPFLAGS): Likewise.
46697 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46698 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46699 Use $(libio-mtsafe).
46700 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46701 of -D_IO_MTSAFE_IO.
46702 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46703 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46704 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46705 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46706 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46707 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46708 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46709 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46710 (CFLAGS-fread_u_chk.c): Likewise.
46711 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46712 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46713 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46714 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46715 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46716 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46717 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46718 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46719 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46720
46721 * libio/Makefile: Test [$(libc-reentrant) = yes]
46722 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46723
46724 * Makeconfig
46725 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46726 * sysdeps/pthread/configure: File removed.
46727 * sysdeps/pthread/Makeconfig: New file.
46728 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46729 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46730
46731 2012-08-16 Gary Benson <gbenson@redhat.com>
46732
46733 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46734 unmapping the first object in a namespace.
46735
46736 2012-08-16 Roland McGrath <roland@hack.frob.com>
46737
46738 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46739 (__internal_setnetgrent): ... this. Add internal_function to
46740 definition. Add libc_hidden_def.
46741 (setnetgrent): Update caller.
46742 (internal_endnetgrent): Renamed to ...
46743 (__internal_endnetgrent): ... this. Add internal_function to
46744 definition. Add libc_hidden_def.
46745 (endnetgrent): Update caller.
46746 (internal_getnetgrent_r): Renamed to ...
46747 (__internal_getnetgrent_r): ... this. Add internal_function to
46748 definition. Add libc_hidden_def.
46749 (__getnetgrent_r): Update caller.
46750 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46751
46752 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46753
46754 * stdlib/longlong.h: Update from GCC.
46755
46756 2012-08-16 Roland McGrath <roland@hack.frob.com>
46757
46758 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46759 on _QL, which is set by umul_ppmm but never used.
46760 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46761 variables, which are set by GMP macros but never used.
46762 * stdio-common/_itowa.c (_itowa): Likewise.
46763 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46764 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46765
46766 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46767
46768 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46769 struct La_sh_regs is not constant.
46770 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46771 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46772 and struct La_sparc64_regs are not constant.
46773
46774 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46775
46776 * sysdeps/unix/sysv/linux/kernel-features.h
46777 (__ASSUME_POSIX_TIMERS): Remove.
46778 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46780 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46781 Make code unconditional.
46782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46783 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46784 Make code unconditional.
46785 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46786 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46787 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46788 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46789 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46790 Make code unconditional.
46791 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46792 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46793 (__libc_missing_posix_timers): Remove.
46794
46795 2012-08-15 Roland McGrath <roland@hack.frob.com>
46796
46797 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46798 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46799
46800 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46801
46802 * elf/dl-sym.c: Include <stdlib.h>.
46803
46804 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46805 constants, which avoids warnings in 32-bit builds.
46806
46807 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46808 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46809
46810 * misc/lseek.c: File moved to ...
46811 * io/lseek.c: ... here.
46812
46813 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46814
46815 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46816 shifting LEN more than 31 bits at once.
46817
46818 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46819
46820 [BZ #14195]
46821 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46822 segmentation fault for a case of two empty input strings.
46823 * string/test-strncasecmp.c (check1): Renamed to...
46824 (bz12205): ...this.
46825 (bz14195): Add new testcase for two empty input strings and N > 0.
46826 (test_main): Call new testcase, adapt for renamed function.
46827
46828 2012-08-15 Andreas Jaeger <aj@suse.de>
46829
46830 [BZ #14090]
46831 * crypt/md5test2.c: New test, based on test supplied by Serge
46832 Belyshev <belyshev@depni.sinp.msu.ru>.
46833 * crypt/Makefile (xtests): Add md5test-giant..
46834 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46835
46836 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46837
46838 [BZ #14090]
46839 * crypt/md5.c (md5_process_block): Don't assume the buffer
46840 length is less than 2**32.
46841 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46842 length is less than 2**64.
46843
46844 2012-08-15 Roland McGrath <roland@hack.frob.com>
46845
46846 * string/str-two-way.h: Include <sys/param.h>.
46847 (MAX): Macro removed.
46848
46849 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46850 Move #define and #undef of memmove to just before and after
46851 including <string.h>.
46852
46853 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46854 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46855 and after including <string.h>. Move declarations of
46856 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46857 to before #include "string/memmove.c".
46858
46859 * include/dirent.h: Declare __getdirentries.
46860
46861 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46862 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46863
46864 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46865
46866 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46867 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46868 * sysdeps/i386/configure: Regenerated.
46869 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46870 STABS_CURRENT_FILE, and STABS_FUN.
46871 (END): Remove call to STABS_FUN_END.
46872 (STABS_CURRENT_FILE1): Delete.
46873 (STABS_CURRENT_FILE): Likewise.
46874 (STABS_FUN): Likewise.
46875 (STABS_FUN_END): Likewise.
46876 (STABS_FUN2): Likewise.
46877 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46878 * sysdeps/x86_64/configure: Regenerated.
46879
46880 2012-08-14 Roland McGrath <roland@hack.frob.com>
46881
46882 * elf/dl-open.c: Include <atomic.h>.
46883 * elf/dl-lookup.c: Likewise.
46884
46885 2012-08-14 Joseph Myers <joseph@codesourcery.com>
46886
46887 * sysdeps/unix/sysv/linux/kernel-features.h
46888 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46889 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46890 unconditionally.
46891 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46892 unconditionally.
46893 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46894 condition on __ASSUME_CLONE_THREAD_FLAGS.
46895
46896 2012-08-14 Andreas Jaeger <aj@suse.de>
46897
46898 * sysdeps/i386/fpu/libm-test-ulps: Update.
46899
46900 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
46901
46902 * include/atomic.h (atomic_exchange_and_add): Split into ...
46903 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46904 New atomic macros.
46905
46906 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
46907
46908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46909
46910 2012-08-13 Jeff Law <law@redhat.com>
46911
46912 * manual/stdio.texi (snprintf): Clarify handling of the trailing
46913 null byte in the output string.
46914
46915 2012-08-10 Joseph Myers <joseph@codesourcery.com>
46916
46917 * sysdeps/unix/sysv/linux/kernel-features.h
46918 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46919 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46920 (__ASSUME_ARG_MAX_STACK_BASED): Define.
46921 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46922 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46923 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
46924 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46925
46926 2012-08-09 Jeff Law <law@redhat.com>
46927
46928 [BZ #13939]
46929 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46930 When avoid_arena is set, don't retry in the that arena. Pick the
46931 next one, whatever it might be.
46932 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46933 (arena_lock): Pass in new parameter to arena_get2.
46934 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46935 arena_get2.
46936 (__libc_malloc): Unify retrying after main arena failure with
46937 __libc_memalign version.
46938 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46939
46940 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
46941
46942 [BZ #14166]
46943 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46944 to __redirect_strstr.
46945 (__strstr_sse42): Use typeof __redirect_strstr.
46946 (__strstr_ia32): Likewise.
46947 (__libc_strstr): New prototype.
46948 (strstr): Renamed to ...
46949 (__libc_strstr): This.
46950 (strstr): New strong alias of __libc_strstr.
46951 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46952 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46953 __redirect_time.
46954 Include <time.h>.
46955 (__libc_time): New prototype.
46956 (time_ifunc): Replace time with __libc_time.
46957 (time): New strong alias and hidden definition of __libc_time.
46958 (__GI_time): Remove strong alias.
46959 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46960 Include <stddef.h>.
46961 (memmove): Redefined to __redirect_memmove.
46962 (__memmove_sse2): Use typeof __redirect_memmove.
46963 (__memmove_ssse3): Likewise.
46964 (__memmove_ssse3_back): Likewise.
46965 (__libc_memmove): New prototype.
46966 (memmove): Renamed to ...
46967 (__libc_memmove): This.
46968 (memmove): New strong alias of __libc_memmove.
46969
46970 2012-08-08 Mark Salter <msalter@redhat.com>
46971
46972 * elf/elf.h
46973 (R_MN10300_TLS_GD): Define.
46974 (R_MN10300_TLS_LD): Likewise.
46975 (R_MN10300_TLS_LDO): Likewise.
46976 (R_MN10300_TLS_GOTIE): Likewise.
46977 (R_MN10300_TLS_IE): Likewise.
46978 (R_MN10300_TLS_LE): Likewise.
46979 (R_MN10300_TLS_DTPMOD): Likewise.
46980 (R_MN10300_TLS_DTPOFF): Likewise.
46981 (R_MN10300_TLS_TPOFF): Likewise.
46982 (R_MN10300_SYM_DIFF): Likewise.
46983 (R_MN10300_ALIGN): Likewise.
46984 (R_MN10300_NUM): Update.
46985
46986 2012-08-08 Joseph Myers <joseph@codesourcery.com>
46987
46988 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46989 Remove.
46990
46991 2012-08-08 Roland McGrath <roland@hack.frob.com>
46992
46993 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46994
46995 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46996 sysdeps/unix -> sysdeps/posix move.
46997 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46998
46999 2012-08-07 Allan McRae <allan@archlinux.org>
47000
47001 [BZ #14303]
47002 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47003 (SUNOS_CPP): Likewise.
47004 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47005 not found.
47006 (open_input): Call CPP using execvp.
47007
47008 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47009
47010 * sysdeps/unix/sysv/linux/kernel-features.h
47011 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47012 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47013 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47014 (__ASSUME_WAITID_SYSCALL): Likewise.
47015 * sysdeps/unix/sysv/linux/dl-execstack.c
47016 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47017 code unconditional.
47018 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47019 conditional code.
47020 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47021 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47022 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47023 code.
47024 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47025 unconditional.
47026 [__ASSUME_WAITID_SYSCALL]: Likewise.
47027 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47028
47029 2012-08-07 Roland McGrath <roland@hack.frob.com>
47030
47031 * sysdeps/unix/closedir.c: Renamed to ...
47032 * sysdeps/posix/closedir.c: ... here.
47033 * sysdeps/unix/dirfd.c: Renamed to ...
47034 * sysdeps/posix/dirfd.c: ... here.
47035 * sysdeps/unix/dirstream.h: Renamed to ...
47036 * sysdeps/posix/dirstream.h: ... here.
47037 * sysdeps/unix/fdopendir.c: Renamed to ...
47038 * sysdeps/posix/fdopendir.c: ... here.
47039 * sysdeps/unix/opendir.c: Renamed to ...
47040 * sysdeps/posix/opendir.c: ... here.
47041 * sysdeps/unix/readdir.c: Renamed to ...
47042 * sysdeps/posix/readdir.c: ... here.
47043 * sysdeps/unix/readdir_r.c: Renamed to ...
47044 * sysdeps/posix/readdir_r.c: ... here.
47045 * sysdeps/unix/rewinddir.c: Renamed to ...
47046 * sysdeps/posix/rewinddir.c: ... here.
47047 * sysdeps/unix/seekdir.c: Renamed to ...
47048 * sysdeps/posix/seekdir.c: ... here.
47049 * sysdeps/unix/telldir.c: Renamed to ...
47050 * sysdeps/posix/telldir.c: ... here.
47051 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47052 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47053 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47054 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47055
47056 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47057 * bits/fcntl.h: ... here.
47058
47059 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47060 not 0.
47061 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47062 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47063 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47064 (struct flock): Move l_start, l_len to the beginning.
47065 Use __pid_t for l_pid.
47066 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47067 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47068 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47069 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47070 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47071 [__USE_LARGEFILE64] (struct flock64): New type.
47072 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47073
47074 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47075 * bits/dirent.h: ... here.
47076
47077 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47078 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47079
47080 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47081
47082 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47083 Change from 2.6.0 to 2.6.16.
47084 * sysdeps/unix/sysv/linux/configure: Regenerated.
47085 * sysdeps/unix/sysv/linux/kernel-features.h
47086 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47087 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47088 version.
47089 (__ASSUME_UTIMES): Likewise.
47090 (__ASSUME_CLONE_STOPPED): Remove.
47091 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47092 architectures, not kernel version.
47093 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47094 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47095 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47096 (__ASSUME_WAITID_SYSCALL): Likewise.
47097 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47098 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47099 * README: State 2.6.16 as minimum Linux kernel version. Do not
47100 refer to older versions.
47101
47102 2012-08-06 Roland McGrath <roland@hack.frob.com>
47103
47104 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47105 Define alphasort64 as an alias.
47106 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47107 Define versionsort64 as an alias.
47108 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47109 Define scandir64 as an alias.
47110 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47111 Define scandirat64 as an alias.
47112 * dirent/alphasort64.c (alphasort64):
47113 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47114 * dirent/versionsort64.c: Likewise.
47115 * dirent/scandir64.c: Likewise.
47116 * dirent/scandirat64.c: Likewise.
47117 * sysdeps/wordsize-64/alphasort.c: File removed.
47118 * sysdeps/wordsize-64/alphasort64.c: File removed.
47119 * sysdeps/wordsize-64/scandir.c: File removed.
47120 * sysdeps/wordsize-64/scandir64.c: File removed.
47121 * sysdeps/wordsize-64/scandirat.c: File removed.
47122 * sysdeps/wordsize-64/scandirat64.c: File removed.
47123 * sysdeps/wordsize-64/versionsort.c: File removed.
47124 * sysdeps/wordsize-64/versionsort64.c: File removed.
47125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47132 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47133
47134 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47136 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47138 [defined __arch64__ || defined __sparcv9]
47139 (__INO_T_MATCHES_INO64_T): New macro.
47140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47141 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47142 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47143 * sysdeps/unix/sysv/linux/bits/dirent.h
47144 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47145 (_DIRENT_MATCHES_DIRENT64): New macro.
47146
47147 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47148 Define lockf64 as an alias.
47149 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47150 Define fseeko64 as an alias.
47151 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47152 Define ftello64 as an alias.
47153 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47154 Define _IO_fgetpos64 and fgetpos64 as aliases.
47155 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47156 Define _IO_fsetpos64 and fsetpos64 as aliases.
47157 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47158 Conditionalize body on this.
47159 * libio/fseeko64.c: Likewise.
47160 * libio/ftello64.c: Likewise.
47161 * libio/iofgetpos64.c: Likewise.
47162 * libio/iofsetpos64.c: Likewise.
47163 * sysdeps/wordsize-64/lockf.c: File removed.
47164 * sysdeps/wordsize-64/lockf64.c: File removed.
47165 * sysdeps/wordsize-64/fseeko.c: File removed.
47166 * sysdeps/wordsize-64/fseeko64.c: File removed.
47167 * sysdeps/wordsize-64/ftello.c: File removed.
47168 * sysdeps/wordsize-64/ftello64.c: File removed.
47169 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47170 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47171 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47172 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47173 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47174 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47176 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47178 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47179 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47180 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47182 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47183
47184 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47186 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47188 [defined __arch64__ || defined __sparcv9]
47189 (__OFF_T_MATCHES_OFF64_T): New macro.
47190 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47191 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47193 (__OFF_T_MATCHES_OFF64_T): New macro.
47194
47195 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47196
47197 * stdlib/secure-getenv.c (__secure_getenv): Replace
47198 GLIBC_2_16 with GLIBC_2_17.
47199
47200 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47201
47202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47203 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47204
47205 2012-08-03 David S. Miller <davem@davemloft.net>
47206
47207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47208
47209 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47210
47211 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47212 Remove.
47213 (__ASSUME_CORRECT_SI_PID): Likewise.
47214 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47215 (__ASSUME_TMPFS_NAME): Likewise.
47216 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47217 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47218 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47219 (HAVE_AUX_SECURE): Make definition unconditional.
47220 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47221 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47222
47223 2012-08-03 Roland McGrath <roland@hack.frob.com>
47224
47225 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47226 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47227 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47228 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47229 __eloop_threshold instead of SYMLOOP_MAX.
47230
47231 * sysdeps/generic/eloop-threshold.h: New file.
47232 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47233 of MAXSYMLINKS.
47234 * elf/chroot_canon.c (chroot_canon): Likewise.
47235
47236 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47237
47238 [BZ #13717]
47239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47240 Change to 2.6.0 everywhere.
47241 * sysdeps/unix/sysv/linux/configure: Regenerated.
47242 * sysdeps/unix/sysv/linux/kernel-features.h
47243 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47244 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47245 kernel versions.
47246 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47247 (__ASSUME_FUTEX_REQUEUE): Remove.
47248 (__ASSUME_STATFS64): Define unconditionally.
47249 (__ASSUME_AT_SECURE): Likewise.
47250 (__ASSUME_CORRECT_SI_PID): Likewise.
47251 (__ASSUME_TGKILL): Define without depending on kernel version for
47252 i386.
47253 (__ASSUME_UTIMES): Likewise.
47254 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47255 kernel version.
47256 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47257 (__ASSUME_TMPFS_NAME): Likewise.
47258 * README: Update reference to Linux kernel versions.
47259
47260 2012-08-02 Marek Polacek <polacek@redhat.com>
47261
47262 [BZ# 14150]
47263 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47264 libc_cv_asm_type_prefix with %.
47265 * configure: Regenerated.
47266 * include/libc-symbols.h: Remove comment about
47267 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47268 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47269 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47270 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47271 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47272 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47273 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47274 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47275 * elf/tst-unique2mod1.c: Likewise.
47276 * elf/tst-unique1mod2.c: Likewise.
47277 * elf/tst-unique1mod1.c: Likewise.
47278 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47279 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47280 Replace ASM_TYPE_DIRECTIVE with .type.
47281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47282 * sysdeps/i386/sysdep.h: Likewise.
47283 * sysdeps/x86_64/sysdep.h: Likewise.
47284 * sysdeps/sh/sysdep.h: Likewise.
47285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47286 Do not define ASM_TYPE_DIRECTIVE.
47287 * sysdeps/powerpc/sysdep.h: Likewise.
47288 * sysdeps/powerpc/powerpc32/sysdep.h:
47289 Replace ASM_TYPE_DIRECTIVE with .type.
47290 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47291 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47292 * sysdeps/i386/fpu/e_powf.S: Likewise.
47293 * sysdeps/i386/fpu/e_expl.S: Likewise.
47294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47295 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47296 * sysdeps/i386/fpu/e_pow.S: Likewise.
47297 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47298 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47299 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47300 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47301 * sysdeps/i386/fpu/e_log2.S: Likewise.
47302 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47303 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47304 * sysdeps/i386/fpu/e_powl.S: Likewise.
47305 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47306 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47307 * sysdeps/i386/fpu/e_logl.S: Likewise.
47308 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47309 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47310 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47312 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47313 * sysdeps/i386/fpu/e_log.S: Likewise.
47314 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47315 * sysdeps/i386/fpu/e_logf.S: Likewise.
47316 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47317 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47318 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47319 * sysdeps/i386/fpu/e_log10.S: Likewise.
47320 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47321 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47322 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47323 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47324 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47325 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47326 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47327 * sysdeps/i386/i686/strtok.S: Likewise.
47328 * sysdeps/i386/i386-mcount.S: Likewise.
47329 * sysdeps/i386/strtok.S: Likewise.
47330 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47331 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47333 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47334 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47335 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47336 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47337 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47338 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47339 * sysdeps/x86_64/_mcount.S: Likewise.
47340 * sysdeps/x86_64/strtok.S: Likewise.
47341 * sysdeps/sh/_mcount.S: Likewise.
47342
47343 2012-08-01 Roland McGrath <roland@hack.frob.com>
47344
47345 * libio/iofopen.c: Include <fcntl.h>.
47346 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47347 (_IO_fopen64, fopen64): Define as aliases.
47348 * libio/iofopen64.c: Include <fcntl.h>.
47349 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47350 Conditionalize body on this.
47351 * sysdeps/wordsize-64/iofopen.c: File removed.
47352 * sysdeps/wordsize-64/iofopen64.c: File removed.
47353
47354 2012-08-01 Marek Polacek <polacek@redhat.com>
47355
47356 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47357 Use dlfcn directly instead of a variable.
47358 (binfmt-subdir): Do not define.
47359 (dlfcn): Likewise.
47360
47361 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47362
47363 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47364 Remove all definitions.
47365 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47366 <kernel-features.h>.
47367 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47368 (miss_F_GETOWN_EX): Remove all definitions.
47369 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47370 macro definition.
47371 [!__ASSUME_FCNTL64]: Remove conditional code.
47372 [__ASSUME_FCNTL64]: Make code unconditional.
47373 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47374 <kernel-features.h>.
47375 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47376 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47377 (lockf64) [__NR_fcntl64]: Make code unconditional.
47378 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47379
47380 * sysdeps/unix/sysv/linux/kernel-features.h
47381 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47382 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47383 Make code unconditional.
47384 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47385 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47387 [__NR_vfork]: Make code unconditional.
47388 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47389 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47391 [__NR_vfork]: Make code unconditional.
47392 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47393 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47394
47395 2012-08-01 Roland McGrath <roland@hack.frob.com>
47396
47397 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47398 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47399
47400 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47401 Define mkstemp64 as an alias.
47402 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47403 Define mkstemps64 as an alias.
47404 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47405 Define mkostemp64 as an alias.
47406 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47407 Define mkostemps64 as an alias.
47408 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47409 Conditionalize body on this.
47410 * misc/mkostemp64.c: Likewise.
47411 * misc/mkostemps64.c: Likewise.
47412 * misc/mkstemps64.c: Likewise.
47413 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47414 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47415 * sysdeps/wordsize-64/mkostemp.c: File removed.
47416 * sysdeps/wordsize-64/mkstemp.c: File removed.
47417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47418 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47419 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47420 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47421
47422 [BZ #14138]
47423 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47424 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47425 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47426 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47427
47428 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47429 compat_symbol macros from <shlib-compat.h> rather than the underlying
47430 default_symbol_version and symbol_version macros, so that DEFAULT
47431 lines in shlib-versions are respected.
47432 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47433
47434 2012-08-01 Florian Weimer <fweimer@redhat.com>
47435
47436 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47437 Declare with warn_unused_result.
47438 (setgid, setregid, setegid, setresgid): Likewise.
47439 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47440 Likewise.
47441 * WUR-REPORT: Remove set*id functions.
47442
47443 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47444
47445 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47446
47447 2012-07-31 Roland McGrath <roland@hack.frob.com>
47448
47449 [BZ #10191]
47450 * include/sys/socket.h (__libc_accept, __libc_accept4):
47451 Add attribute_hidden.
47452 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47453
47454 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47455 use of PTR_MANGLE.
47456 * inet/getnetgrent_r.c (setup): Likewise.
47457
47458 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47459
47460 2012-07-31 David S. Miller <davem@davemloft.net>
47461
47462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47463
47464 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47465
47466 [BZ #13629]
47467 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47468 value between 1.0 and 2.0 and smaller part has absolute value less
47469 than 1.0.
47470 * math/s_clog10.c (__clog10): Likewise.
47471 * math/s_clog10f.c (__clog10f): Likewise.
47472 * math/s_clog10l.c (__clog10l): Likewise.
47473 * math/s_clogf.c (__clogf): Likewise.
47474 * math/s_clogl.c (__clogl): Likewise.
47475 * math/libm-test.inc (clog_test): Add more tests.
47476 (clog10_test): Likewise.
47477 * sysdeps/i386/fpu/libm-test-ulps: Update.
47478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47479
47480 2012-07-31 Florian Weimer <fweimer@redhat.com>
47481
47482 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47483 Exit with zero in case no suitable GID is found, and write a
47484 message to standard error.
47485
47486 2012-07-30 Roland McGrath <roland@hack.frob.com>
47487
47488 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47489 rather than to 1.
47490 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47491 (MAXPATHLEN): Removed.
47492 (NOGROUP, NODEV): New macros.
47493 (setbit, clrbit, isset, isclr): New macros.
47494 (howmany, roundup, powerof2): New macros.
47495 (DEV_BSIZE): New macro.
47496
47497 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47498 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47499
47500 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47501 definition on [!__NO_LONG_DOUBLE_MATH].
47502
47503 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47504 PTR_MANGLE and PTR_DEMANGLE.
47505
47506 * socket/accept4.c (accept4): Rename to __libc_accept4.
47507 Define accept4 as a weak alias.
47508
47509 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47510 on [_DIRENT_HAVE_D_TYPE].
47511 * io/ftw.c (ftw_dir): Likewise.
47512
47513 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47514
47515 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47516
47517 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47518 Use the BSD numbers rather than the arbitrary ones we had.
47519 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47520 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47521 (SIGXCPU, SIGXFSZ): New macros.
47522 (_NSIG): Now 32.
47523
47524 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47525 initializer on [_LIBC_REENTRANT].
47526
47527 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47528 definitions inside [_POSIX_MAPPED_FILES].
47529
47530 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47531
47532 * dirent/opendir.c: Include <fcntl.h>.
47533
47534 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47535 (__libc_getspecific): Likewise.
47536 (__libc_key_create): Likewise.
47537
47538 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47539 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47540 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47541 (tmpfile64): Define as alias.
47542 * sysdeps/wordsize-64/tmpfile.c: File removed.
47543 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47544 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47545 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47546
47547 * stdio-common/vfscanf.c: Include <stdbool.h>.
47548 * nss/makedb.c: Likewise.
47549 * stdio-common/_i18n_number.h: Likewise.
47550 * argp/argp-help.c: Likewise.
47551 * posix/wordexp.c: Likewise.
47552 * sysdeps/posix/spawni.c: Likewise.
47553 * nss/nss_files/files-initgroups.c: Likewise.
47554 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47555 * nss/nss_files/files-initgroups.c: Likewise.
47556 * nss/nss_db/db-netgrp.c: Likewise.
47557 * nss/nss_db/db-initgroups.c: Likewise.
47558 * io/fchmodat.c: Include <sys/stat.h>.
47559
47560 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47561 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47562
47563 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47564 [HAVE_MMAP].
47565
47566 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47567 Add multiple inclusion protection.
47568
47569 2012-07-27 David S. Miller <davem@davemloft.net>
47570
47571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47572
47573 2012-07-27 Gary Benson <gbenson@redhat.com>
47574
47575 [BZ #14298]
47576 * elf/rtld.c: Include <stap-probe.h>.
47577 (dl_main): Added static probes "init_start" and "init_complete".
47578 * elf/dl-load.c: Include <stap-probe.h>.
47579 (lose): Take new parameter "nsid".
47580 Added static probe "map_failed".
47581 (_dl_map_object_from_fd): Pass namespace id to lose.
47582 Added static probe "map_start".
47583 (open_verify): Pass namespace id to lose.
47584 * elf/dl-open.c: Include <stap-probe.h>.
47585 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47586 and "reloc_complete".
47587 * elf/dl-close.c: Include <stap-probe.h>.
47588 (_dl_close_worker): Added static probes "unmap_start" and
47589 "unmap_complete".
47590 * elf/rtld-debugger-interface.txt: New file documenting the above.
47591
47592 2012-07-26 Roland McGrath <roland@hack.frob.com>
47593
47594 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47595 rather than a string variable.
47596 * sunrpc/rpc_main.c (h_output): Likewise.
47597 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47598
47599 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47600
47601 * inet/check_native.c: New file.
47602
47603 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47604
47605 [BZ #13629]
47606 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47607 if larger part has absolute value 1.0.
47608 * math/s_clog10.c (__clog10): Likewise.
47609 * math/s_clog10f.c (__clog10f): Likewise.
47610 * math/s_clog10l.c (__clog10l): Likewise.
47611 * math/s_clogf.c (__clogf): Likewise.
47612 * math/s_clogl.c (__clogl): Likewise.
47613 * math/libm-test.inc (clog_test): Add more tests.
47614 (clog10_test): Likewise.
47615 * sysdeps/i386/fpu/libm-test-ulps: Update.
47616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47617
47618 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47619 (pltexit): Likewise.
47620 (La_regs): Likewise.
47621 (La_retval): Likewise.
47622 (int_retval): Likewise.
47623 Update #error for removed macros to refer only to definitions in
47624 tst-audit.h.
47625 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47626 macro.
47627 (pltexit): Likewise.
47628 (La_regs): Likewise.
47629 (La_retval): Likewise.
47630 (int_retval): Likewise.
47631 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47632 macro.
47633 (pltexit): Likewise.
47634 (La_regs): Likewise.
47635 (La_retval): Likewise.
47636 (int_retval): Likewise.
47637 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47638 macro.
47639 (pltexit): Likewise.
47640 (La_regs): Likewise.
47641 (La_retval): Likewise.
47642 (int_retval): Likewise.
47643 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47644 macro.
47645 (pltexit): Likewise.
47646 (La_regs): Likewise.
47647 (La_retval): Likewise.
47648 (int_retval): Likewise.
47649 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47650 macro.
47651 (pltexit): Likewise.
47652 (La_regs): Likewise.
47653 (La_retval): Likewise.
47654 (int_retval): Likewise.
47655 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47656 macro.
47657 (pltexit): Likewise.
47658 (La_regs): Likewise.
47659 (La_retval): Likewise.
47660 (int_retval): Likewise.
47661 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47662 macro definitions in tst-audit.h.
47663 * sysdeps/i386/tst-audit.h: New file.
47664 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47665 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47666 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47667 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47668 * sysdeps/sh/tst-audit.h: Likewise.
47669 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47670 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47671 * sysdeps/x86_64/tst-audit.h: Likewise.
47672
47673 2012-07-26 Andreas Jaeger <aj@suse.de>
47674
47675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47676 ptrace.
47677
47678 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47679 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47680 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47681 PTRACE_O_MASK.
47682 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47683 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47684 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47685
47686 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47687 value.
47688
47689 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47690 _sigsys.
47691 (si_call_addr, si_syscall, si_arch): Define new macro.
47692 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47693 _sigsys.
47694 (si_call_addr, si_syscall, si_arch): Define new marcro.
47695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47696 _sigsys.
47697 (si_call_addr, si_syscall, si_arch): Define new macro.
47698 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47699 _sigsys.
47700 (si_call_addr, si_syscall, si_arch): Define new macro.
47701
47702 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47703
47704 [BZ #13717]
47705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47706 Change to 2.4.21 where previously 2.4.1.
47707 * sysdeps/unix/sysv/linux/configure: Regenerated.
47708 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47709 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47710 Linux kernel version.
47711 (__ASSUME_STD_AUXV): Remove.
47712 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47713 kernel version.
47714 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47715 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47716 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47717 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47718 (__ASSUME_NETLINK_SUPPORT): Likewise.
47719 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47720 (__no_netlink_support): Remove conditional definition.
47721 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47722 Remove.
47723 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47724 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47725 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47726 (if_nameindex_ioctl): Remove.
47727 (if_nameindex_netlink): Do not handle __no_netlink_support.
47728 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47729 code.
47730 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47731 Remove conditional code.
47732 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47733 code.
47734 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47735 unconditional.
47736 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47737 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47738 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47739 Remove.
47740 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47741 [!__ASSUME_STD_AUXV]: Remove conditional code.
47742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47743 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47744 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47746 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47747 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47748 code.
47749 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47751 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47752 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47753 conditional code.
47754 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47756 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47757 code.
47758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47759 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47760 conditional code.
47761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47762 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47763 code unconditional.
47764 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47765 conditional code.
47766 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47767 unconditional.
47768 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47769 conditional code.
47770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47771 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47772 unconditional.
47773 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47774 conditional code.
47775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47776 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47777 code unconditional.
47778 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47779 conditional code.
47780 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47781 unconditional.
47782 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47783 conditional code.
47784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47785 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47786 code unconditional.
47787 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47788 conditional code.
47789 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47790 unconditional.
47791 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47792 conditional code.
47793
47794 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47795
47796 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47797 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47798 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47799 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47800 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47801 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47802 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47803 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47804 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47805 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47806 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47807 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47808 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47809 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47810 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47811 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47812 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47814 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47816 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47817 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47818 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47819
47820 2012-07-25 Florian Weimer <fweimer@redhat.com>
47821
47822 * Versions.def: Add GLIBC_2.17.
47823 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47824 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47825 Introduce __libc_secure_getenv.
47826 * stdlib/Versions (2.17): Add secure_getenv
47827 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47828 * stdlib/secure-getenv.c: Rename __secure_getenv to
47829 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47830 symbol __secure_getenv for GLIBC_2.0.
47831 * stdlib/tst-secure-getenv.c: New.
47832 * stdlib/Makefile (tests): Add testcase.
47833 * manual/startup.texi (Environment Access): Document
47834 secure_getenv.
47835 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47836 __libc_secure_getenv.
47837 * inet/ruserpass.c (ruserpass): Likewise.
47838 * malloc/mtrace.c (mtrace): Likewise.
47839 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47840 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47841 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47842 * sysdeps/posix/tempname.c: Likewise. Evaluate
47843 HAVE_SECURE_GETENV.
47844 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47845 __secure_getenv to __libc_secure_getenv.
47846 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47848 Likewise.
47849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47850 Likewise.
47851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47858
47859 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47860
47861 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47862 (struct La_i86_retval): Likewise.
47863 (struct La_x86_64_regs): Likewise.
47864 (struct La_x86_64_retval): Likewise.
47865 (struct La_x32_regs): Likewise.
47866 (struct La_x32_retval): Likewise.
47867 (struct La_ppc32_regs): Likewise.
47868 (struct La_ppc32_retval): Likewise.
47869 (struct La_ppc64_regs): Likewise.
47870 (struct La_ppc64_retval): Likewise.
47871 (struct La_sh_regs): Likewise.
47872 (struct La_sh_retval): Likewise.
47873 (struct La_s390_32_regs): Likewise.
47874 (struct La_s390_32_retval): Likewise.
47875 (struct La_s390_64_regs): Likewise.
47876 (struct La_s390_64_retval): Likewise.
47877 (struct La_sparc32_regs): Likewise.
47878 (struct La_sparc32_retval): Likewise.
47879 (struct La_sparc64_regs): Likewise.
47880 (struct La_sparc64_retval): Likewise.
47881 (struct audit_ifaces): Remove architecture-specific pltenter and
47882 pltexit members.
47883 * sysdeps/i386/ldsodefs.h: New file.
47884 * sysdeps/powerpc/ldsodefs.h: Likewise.
47885 * sysdeps/s390/ldsodefs.h: Likewise.
47886 * sysdeps/sh/ldsodefs.h: Likewise.
47887 * sysdeps/sparc/ldsodefs.h: Likewise.
47888 * sysdeps/x86_64/ldsodefs.h: Likewise.
47889
47890 2012-07-25 Marek Polacek <polacek@redhat.com>
47891
47892 [BZ #6808]
47893 * math/libm-test.inc (yn_test): Add another test.
47894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47895 to ERANGE when the result is +-Inf.
47896 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47897 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47898 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47899 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47900
47901 2012-07-24 Joseph Myers <joseph@codesourcery.com>
47902
47903 * conform/data/time.h-data (NULL): Use macro-constant. Require
47904 equal to 0.
47905 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
47906 clock_t.
47907 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
47908
47909 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
47910
47911 * configure.in <sysdeps resolving>: Correct printing
47912 Implies_before.
47913 * configure: Regenerate.
47914
47915 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
47916
47917 * math/w_ilogb.c: Include <limits.h>.
47918 * math/w_ilogbl.c: Likewise.
47919
47920 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47921
47922 * manual/lang.texi (__va_copy): Document primarily as ISO C99
47923 va_copy. Document allowing for unavailable va_copy only as
47924 pre-C99 compatibility.
47925 * manual/string.texi (Copying and Concatenation): Use va_copy
47926 instead of __va_copy in concat example.
47927
47928 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
47929
47930 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47931 (__sendto): Use create_address_port. Initialize APORT and deallocate
47932 it if not null.
47933
47934 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47935 with O_NOLINK passed to __file_name_lookup.
47936
47937 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47938 with O_NOLINK passed to __file_name_lookup.
47939
47940 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47941 negative N or less than NGIDS.
47942
47943 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47944 type to string_t. Set ERANGE as errno and return it if NAME is not big
47945 enough. Use memcpy instead of strncpy.
47946
47947 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47948
47949 * elf/Makefile (check-data): Remove.
47950 (localplt.data): New vpath directive.
47951 ($(objpfx)check-localplt.out): Use localplt.data from vpath
47952 instead of $(check-data).
47953 * scripts/data/localplt-generic.data: Move to ...
47954 * sysdeps/generic/localplt.data: ... here.
47955 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47956 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47957 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47959 ... here.
47960 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47962 ... here.
47963 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47965 ... here.
47966 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47968 ... here.
47969 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47971 ... here.
47972 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47974 ... here.
47975
47976 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47977
47978 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47979 PPC32 and PPC64 files.
47980 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47981 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47982
47983 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47984
47985 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47986 __makecontext_ret to ...
47987 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47988 ... here and call exit if uc_link is NULL. New file.
47989 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47990 __makecontext_ret.S.
47991 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47992 __makecontext_ret to ...
47993 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47994 ... here and call exit if uc_link is NULL. New file.
47995 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47996 __makecontext_ret.S.
47997
47998 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47999
48000 * elf/elf.h (R_390_IRELATIVE): New definition.
48001 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48002 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48003 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48004 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48005 (elf_machine_lazy_rel): Likewise.
48006 * sysdeps/s390/dl-irel.h: New file.
48007 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48008 * sysdeps/s390/s390-64/memset.S: New asm code.
48009 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48010 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48011 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48012 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48013 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48014 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48015 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48016 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48017 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48018 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48019 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48020 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48021 * sysdeps/s390/s390-32/memset.S: New asm code.
48022 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48023
48024 2012-07-17 Marek Polacek <polacek@redhat.com>
48025
48026 [BZ #14349]
48027 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48028 * sysdeps/s390/s390-64/configure.in: Likewise.
48029 * sysdeps/sparc/configure.in: Likewise.
48030 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48031 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48032 * sysdeps/i386/configure.in: Likewise.
48033 * sysdeps/x86_64/configure.in: Likewise.
48034 * sysdeps/sh/configure.in: Likewise.
48035 * sysdeps/s390/s390-32/configure: Regenerated.
48036 * sysdeps/s390/s390-64/configure: Likewise.
48037 * sysdeps/x86_64/configure: Likewise.
48038 * sysdeps/sh/configure: Likewise.
48039 * sysdeps/powerpc/powerpc64/configure: Likewise.
48040 * sysdeps/powerpc/powerpc32/configure: Likewise.
48041 * sysdeps/sparc/configure: Likwise.
48042 * sysdeps/i386/configure: Likewise.
48043
48044 * elf/dl-open.c: Comment fixes.
48045
48046 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48047
48048 * Makefile [CXX] (check-data): Remove.
48049 [CXX] (c++-types.data): New vpath directive.
48050 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48051 vpath. Do not allow for C++ type data being missing.
48052 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48053 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48054 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48055 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48056 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48057 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48058 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48060 ... here.
48061 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48063 ... here.
48064 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48066 ... here.
48067 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48069 ... here.
48070 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48072 ... here.
48073 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48075 ... here.
48076 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48078 ... here.
48079 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48081
48082 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48083 definitions to architecture-specific files.
48084 (TLS_IE): Likewise.
48085 (TLS_LD): Likewise.
48086 (TLS_GD): Likewise.
48087 * sysdeps/i386/tls-macros.h: New file.
48088 * sysdeps/powerpc/tls-macros.h: Likewise.
48089 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48090 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48091 * sysdeps/sh/tls-macros.h: Likewise.
48092 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48093 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48094 * sysdeps/x86_64/tls-macros.h: Likewise.
48095
48096 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48097
48098 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48099 zero value for regular exit case.
48100
48101 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48102 (__start_context): Preserve zero value for regular exit case.
48103
48104 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48105 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48106
48107 * manual/setjmp.texi (setcontext): Clarify normal process
48108 termination when uc_link is the null pointer.
48109 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48110 exit call.
48111
48112 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48113
48114 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48115 preprocessor. Test for each exception mask separately.
48116
48117 2012-07-16 Andreas Jaeger <aj@suse.de>
48118
48119 * po/ru.po: Update from translation team.
48120
48121 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48122
48123 * conform/data/string.h-data (NULL): Use macro-constant. Require
48124 equal to 0.
48125 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48126 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48127 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48128 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48130
48131 2012-07-13 Andreas Jaeger <aj@suse.de>
48132
48133 * po/fr.po: Update from translation team.
48134
48135 2012-07-12 Marek Polacek <polacek@redhat.com>
48136
48137 [BZ #14173]
48138 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48139 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48140 loop condition.
48141
48142 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48143
48144 [BZ #13717]
48145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48146 Change to 2.4.1 where previously 2.4.0.
48147 * sysdeps/unix/sysv/linux/configure: Regenerated.
48148 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48149 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48150 version.
48151 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48152 (__ASSUME_AT_CLKTCK): Remove.
48153 (__ASSUME_AT_PAGESIZE): Likewise.
48154 (__ASSUME_AT_XID): Likewise.
48155 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48156 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48157 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48158 unconditionally.
48159 (HAVE_AUX_PAGESIZE): Likewise.
48160 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48161 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48162 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48163
48164 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48165
48166 [BZ #14307]
48167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48168 the temporary buffer used to invoke __gethostbyname2_r,
48169 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48170 host_data / struct gaih_addrtuple.
48171 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48172 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48173 header file nss/nsswitch.h.
48174 * nss/nsswitch.h (global scope): Add definition of implementation
48175 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48176 resolv/nss_dns/dns-host.c).
48177
48178 2012-07-11 Andreas Jaeger <aj@suse.de>
48179
48180 * po/fr.po: Update from translation team.
48181
48182 * po/sv.po: Update from translation team
48183 * po/fr.po: Another update from translation team.
48184
48185 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48186
48187 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48188 for subnormals or multiply small sinh result by itself.
48189 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48191
48192 2012-07-11 David S. Miller <davem@davemloft.net>
48193
48194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48195
48196 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48197
48198 [BZ #14347]
48199 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48200 (INTERNAL_MARK): Shift it here.
48201
48202 2012-07-10 Marek Polacek <polacek@redhat.com>
48203
48204 [BZ #14151]
48205 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48206 libc_cv_asm_global_directive with .globl.
48207 * configure: Regenerated.
48208 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48209 with .globl.
48210 * sysdeps/i386/configure: Regenerated.
48211 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48212 with .globl.
48213 * sysdeps/x86_64/configure: Regenerated.
48214 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48215 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48216 * elf/tst-unique2mod2.c: Likewise.
48217 * elf/tst-unique2mod1.c: Likewise.
48218 * elf/tst-unique1mod2.c: Likewise.
48219 * elf/tst-unique1mod1.c: Likewise.
48220 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48221 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48223 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48224 * sysdeps/mach/sysdep.h: Likewise.
48225 * sysdeps/i386/sysdep.h: Likewise.
48226 * sysdeps/i386/i386-mcount.S: Likewise.
48227 * sysdeps/x86_64/_mcount.S: Likewise.
48228 * sysdeps/x86_64/sysdep.h: Likewise.
48229 * sysdeps/sh/_mcount.S: Likewise.
48230 * sysdeps/sh/sysdep.h: Likewise.
48231 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48232 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48233 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48234 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48235 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48236 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48237 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48238 * locale/localeinfo.h: Likewise.
48239 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48240 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48241
48242 2012-07-09 Roland McGrath <roland@hack.frob.com>
48243
48244 [BZ #14336]
48245 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48246 system".
48247 * manual/message.texi (The Uniforum approach): Likewise.
48248 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48249 (glibc iconv Implementation): Likewise.
48250
48251 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48252
48253 [BZ #14337]
48254 * math/s_clog.c (__clog): Avoid scaling a value down where that
48255 could result in underflow.
48256 * math/s_clog10.c (__clog10): Likewise.
48257 * math/s_clog10f.c (__clog10f): Likewise.
48258 * math/s_clog10l.c (__clog10l): Likewise.
48259 * math/s_clogf.c (__clogf): Likewise.
48260 * math/s_clogl.c (__clogl): Likewise.
48261 * math/libm-test.inc (clog_test): Add more tests.
48262 (clog10_test): Likewise.
48263 * sysdeps/i386/fpu/libm-test-ulps: Update.
48264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48265
48266 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48267
48268 [BZ #14283]
48269 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48270 by 7 not 8 to examine high bit of fractional part.
48271
48272 [BZ #14042]
48273 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48274 for call to __mcount_internal.
48275 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48276 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48277 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48278
48279 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48280
48281 [BZ #14154]
48282 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48283 approximation for values within 0x1p-13f of an odd multiple of
48284 pi/4.
48285 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48286 exception. Add more tests.
48287 * sysdeps/i386/fpu/libm-test-ulps: Update.
48288
48289 [BZ #6778]
48290 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48291 inputs and return -1 for them. Do not check for +Inf in case not
48292 reachable for +Inf.
48293 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48294 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48295 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48296 and return -1 for them. Do not check for +Inf in case not
48297 reachable for +Inf.
48298 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48299 define.
48300 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48301 and return -1 for them. Do not check for +Inf in case not
48302 reachable for +Inf.
48303 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48304 spurious underflow.
48305 * sysdeps/i386/fpu/libm-test-ulps: Update.
48306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48307
48308 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48309
48310 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48311
48312 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48313
48314 [BZ #14157]
48315 [BZ #14331]
48316 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48317 could result in spurious underflow. Scale down values above
48318 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48319 * math/s_csqrtf.c (__csqrtf): Likewise.
48320 * math/s_csqrtl.c (__csqrtl): Likewise.
48321 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48322 spurious underflow.
48323 * sysdeps/i386/fpu/libm-test-ulps: Update.
48324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48325
48326 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48327
48328 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48329 xopen-msg.sed.
48330 * catgets/xopen-msg.awk: New file.
48331 * catgets/xopen-msg.sed: Removed.
48332
48333 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48334 po2text.sed.
48335 * intl/po2test.awk: New file.
48336 * intl/po2test.sed: Removed.
48337
48338 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48339
48340 [BZ #14328]
48341 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48342 or multiply small sinh result by itself.
48343 * math/s_ctanf.c (__ctanf): Likewise.
48344 * math/s_ctanh.c (__ctanh): Likewise.
48345 * math/s_ctanhf.c (__ctanhf): Likewise.
48346 * math/s_ctanhl.c (__ctanhl): Likewise.
48347 * math/s_ctanl.c (__ctanl): Likewise.
48348 * math/libm-test.inc (ctan_test_tonearest): New function.
48349 (ctan_test_towardzero): Likewise.
48350 (ctan_test_downward): Likewise.
48351 (ctan_test_upward): Likewise.
48352 (ctanh_test_tonearest): Likewise.
48353 (ctanh_test_towardzero): Likewise.
48354 (ctanh_test_downward): Likewise.
48355 (ctanh_test_upward): Likewise.
48356 (main): Call these new functions.
48357 * sysdeps/i386/fpu/libm-test-ulps: Update.
48358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48359
48360 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48361
48362 * .gitignore: Delete /ports entry.
48363
48364 2012-07-03 Andreas Jaeger <aj@suse.de>
48365
48366 * po/bg.po: Update from translation team.
48367 * po/cs.po: Likewise.
48368 * po/de.po: Likewise.
48369 * po/hr.po: Likewise.
48370 * po/nl.pl: Likewise.
48371 * po/pl.po: Likewise.
48372 * po/vi.po: Likewise.
48373
48374 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48375
48376 * Makeconfig [!+link] (+link-before-libc): New variable.
48377 [!+link] (+link-after-libc): Likewise.
48378 [!+link] (+link-tests): Likewise.
48379 [!+link] (+link): Define in terms of $(+link-before-libc) and
48380 $(+link-after-libc).
48381 [!+link-static] (+link-static-before-libc): New variable.
48382 [!+link-static] (+link-static-after-libc): Likewise.
48383 [!+link-static] (+link-static-tests): Likewise.
48384 [!+link-static] (+link-static): Define in terms of
48385 $(+link-static-before-libc) and $(+link-static-after-libc).
48386 [build-shared] (link-libc-before-gnulib): New variable.
48387 [build-shared] (link-libc-tests): Likewise.
48388 [build-shared] (link-libc): Define in terms of
48389 $(link-libc-before-gnulib).
48390 [!build-shared] (link-libc-tests): New variable.
48391 (link-libc-static-tests): New variable.
48392 [!gnulib] (gnulib-arch): New variable.
48393 [!gnulib] (gnulib-tests): Likewise.
48394 [!gnulib] (static-gnulib-arch): Likewise.
48395 [!gnulib] (static-gnulib-tests): Likewise.
48396 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48397 Define with "=" instead of ":=".
48398 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48399 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48400 * Rules (binaries-all-notests): New variable.
48401 (binaries-all-tests): Likewise.
48402 (binaries-static-notests): Likewise.
48403 (binaries-static-tests): Likewise.
48404 (binaries-all): Define using $(binaries-all-notests) and
48405 $(binaries-all-tests).
48406 (binaries-static): Define using $(binaries-static-notests) and
48407 $(binaries-static-tests).
48408 (binaries-shared-tests): New variable.
48409 (binaries-shared-notests): Likewise.
48410 (binaries-shared): Remove variable.
48411 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48412 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48413 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48414 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48415 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48416 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48417 * elf/Makefile (sln-modules): New variable.
48418 (extra-objs): Add $(sln-modules:=.o).
48419 (ldconfig-modules): Add static-stubs.
48420 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48421 * elf/static-stubs.c: New file.
48422
48423 [BZ #14283]
48424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48425 by 7 not 8 to examine high bit of fractional part. Use volatile
48426 variables when splitting into final array of floats if
48427 __FLT_EVAL_METHOD__ != 0.
48428 * math/libm-test.inc (cos_test): Add another test.
48429 (sin_test): Likewise.
48430 * sysdeps/i386/fpu/libm-test-ulps: Update.
48431
48432 [BZ #14273]
48433 * math/libm-test.inc (cosh_test): Add more tests.
48434
48435 * version.h (RELEASE): Set to "development".
48436 (VERSION): Set to "2.16.90".
48437
48438 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48439
48440 * NEWS: Update copyright. Remove last-updated date.
48441 Mention math library bug fixes and timezone data changes.
48442 * README: Mention GNU/Hurd, x32, and HPPA support status.
48443
48444 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48445
48446 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48447
48448 2012-06-27 Andreas Jaeger <aj@suse.de>
48449
48450 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48451
48452 2012-06-25 Andreas Jaeger <aj@suse.de>
48453
48454 * sysdeps/s390/fpu/libm-test-ulps: Update.
48455
48456 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48457 Thomas Schwinge <thomas@codesourcery.com>
48458
48459 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48460 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48462 fanotify_mark.
48463
48464 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48465
48466 * sysdeps/mach/start.c: Remove file.
48467 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48468 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48469 * sysdeps/sh/init-first.c: Likewise.
48470
48471 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48472 registers for frame unwinding purposes, add CFI directives.
48473 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48474 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48475 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48476 Likewise.
48477
48478 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48479 __fortify_fail returning.
48480 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48481
48482 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48483 sysdeps/sh/____longjmp_chk.S.
48484 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48485 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48486 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48487 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48488
48489 * sysdeps/sh/abort-instr.h: New file.
48490 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48491 process in case exit returns.
48492
48493 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48494 initialize the GOT register before use.
48495
48496 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48497 calculation of ARGC > 4.
48498
48499 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48500 meaningful names to some local labels.
48501
48502 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48503 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48504
48505 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48506 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48507 (__arch_compare_and_exchange_val_16_acq): Likewise.
48508 (__arch_compare_and_exchange_val_32_acq): Likewise.
48509 (atomic_exchange_and_add): Fix gUSA sequence.
48510 (atomic_add): Likewise.
48511 (atomic_add_negative): Likewise.
48512 (atomic_add_zero): Likewise.
48513 (atomic_bit_test_set): Likewise.
48514
48515 2012-06-22 Andreas Schwab <schwab@redhat.com>
48516
48517 [BZ #13579]
48518 * include/link.h (struct link_map): Add l_free_initfini.
48519 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48520 l_initfini.
48521 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48522 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48523 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48524 set.
48525
48526 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48527
48528 * configure.in: Use AC_LANG_SOURCE.
48529 * configure: Regenerate.
48530
48531 2012-06-22 Roland McGrath <roland@hack.frob.com>
48532
48533 * configure.in (libc_cv_localstatedir): New substituted variable.
48534 * configure: Regenerated.
48535 * config.make.in (localstatedir): New variable, substituted from
48536 libc_cv_localstatedir.
48537 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48538 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48539 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48540 * sysdeps/gnu/configure: Regenerated.
48541
48542 2012-06-21 Jeff Law <law@redhat.com>
48543
48544 [BZ #14277]
48545 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48546 free. Simplify list management for _LIBC case.
48547
48548 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48549
48550 [BZ #14273]
48551 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48552 Clear sign bit of 64-bit integer value before comparing against
48553 overflow value.
48554
48555 * sysdeps/mach/configure: Regenerated.
48556
48557 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48558
48559 [BZ #14278]
48560 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48561
48562 2012-06-21 Jeff Law <law@redhat.com>
48563
48564 [BZ #13882]
48565 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48566 uint16_t for elements in the "seen" array to avoid char overflows.
48567 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48568 * elf/dl-open.c (dl_open_worker): Likewise.
48569
48570 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48571
48572 * scripts/list-sources.sh: Scan PORTS for translations.
48573 * po/libc.pot: Regenerated.
48574
48575 2012-06-21 Andreas Jaeger <aj@suse.de>
48576
48577 [BZ #12194]
48578 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48579 warning.
48580 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48581 * bits/byteswap-16.h (__bswap_16): Likewise.
48582 * bits/byteswap.h (__bswap_constant_16): Likewise.
48583
48584 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48585
48586 [BZ #14117]
48587 * sysdeps/i386/fpu_control.h: Removed.
48588 * sysdeps/x86_64/fpu_control.h: Moved to ...
48589 * sysdeps/x86/fpu_control.h: Here.
48590
48591 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48592 (_FPU_SETCW): Likewise.
48593
48594 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48595
48596 [BZ #14117]
48597 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48598 * sysdeps/x86/fpu/bits/mathinline.h: This.
48599 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48600
48601 [BZ #14050]
48602 [BZ #14117]
48603 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48604 functions if __x86_64__ is defined.
48605
48606 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48607
48608 * string/endian.h: Add !__ASSEMBLER__ condition for including
48609 conversion interfaces.
48610
48611 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48612
48613 [BZ #14241]
48614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48615 of ABS(x) in calculating zero to negative powers other than odd
48616 integers.
48617 * math/libm-test.inc (pow_test): Add more tests.
48618
48619 2012-06-15 Andreas Jaeger <aj@suse.de>
48620
48621 * manual/contrib.texi (Contributors): Update entry of Liubov
48622 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48623 Machado Filho.
48624
48625 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48626
48627 * string/string.h: Add __wur to GNU version of strerror_r.
48628
48629 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48630
48631 [BZ #14229]
48632 * string/Makefile (tests): Add tst-strtok_r.
48633 * string/tst-strtok_r.c: New file.
48634 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48635 RAX_LP/RDX_LP on SAVE_PTR.
48636
48637 2012-06-14 Roland McGrath <roland@hack.frob.com>
48638
48639 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48640
48641 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48642
48643 * libm_test.inc (csqrt_test): Allow more spurious underflow
48644 exceptions.
48645 (j0_test): Likewise.
48646 (j1_test): Likewise.
48647 (y0_test): Likewise.
48648 (y1_test): Likewise.
48649
48650 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48651
48652 * po/Makefile (libc.pot): Use UTF-8 charset.
48653
48654 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48655
48656 [BZ #14210]
48657 Suppress sign-conversion warning from FD_SET.
48658 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48659 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48660 not unsigned long int.
48661 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48662
48663 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48664
48665 [BZ #14050]
48666 [BZ #14117]
48667 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48668 __extern_always_inline instead of __extern_inline.
48669 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48670 (__signbit): Likewise.
48671 (__signbitl): Support C++ namespace.
48672 (lrintf): New inline function.
48673 (lrint): Likewise.
48674 (llrintf): Likewise.
48675 (llrint): Likewise.
48676 (fmaxf): Likewise.
48677 (fmax): Likewise.
48678 (fminf): Likewise.
48679 (fmin): Likewise.
48680 (rint): Likewise.
48681 (rintf): Likewise.
48682 (ceil): Likewise.
48683 (ceilf): Likewise.
48684 (floor): Likewise.
48685 (floorf): Likewise.
48686 (nearbyint): Likewise.
48687 (nearbyintf): Likewise.
48688
48689 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48690
48691 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48692 non-default versions.
48693
48694 2012-06-11 Roland McGrath <roland@hack.frob.com>
48695
48696 [BZ #14218]
48697 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48698
48699 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48700
48701 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48702 (FE_UPWARD, FE_DOWNWARD): Don't define.
48703 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48704 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48705
48706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48707 reading it.
48708 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48709 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48710
48711 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48712
48713 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48715 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48716 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48717
48718 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48719
48720 [BZ #14117]
48721 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48722 * sysdeps/i386/fpu/Implies: New file.
48723 * sysdeps/x86_64/fpu/Implies: Likewise.
48724 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48725 * sysdeps/x86/fpu/bits/fenv.h: This.
48726
48727 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48728 __SSE_MATH__.
48729
48730 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48731
48732 [BZ #14134]
48733 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48734 character 0xffff that matches the last element of the
48735 conversion table.
48736
48737 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48738
48739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48740 fmodl commit.
48741
48742 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48743
48744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48745 values higher than 25.6283.
48746
48747 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48748
48749 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48750 subnormal exponent extraction and add some __builtin_expect.
48751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48752 Fix for subnormal mantissa calculation.
48753
48754 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48755
48756 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48757 cpu2 is -1 and errno is not ENOSYS.
48758
48759 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48760
48761 [BZ #14117]
48762 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48763 * sysdeps/x86/bits/string.h: This.
48764 * sysdeps/x86_64/bits/string.h: Removed.
48765
48766 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48767 if not compiling for x86-64, but compiling for >= i486.
48768
48769 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48770 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48771
48772 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48773 New macro from Linux kernel 3.4.0.
48774 (FP_XSTATE_MAGIC2): Likewise.
48775 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48776 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48777 (struct _fpx_sw_bytes): New struct.
48778 (struct _xsave_hdr): Likewise.
48779 (struct _ymmh_state): Likewise.
48780 (struct _xstate): Likewise.
48781
48782 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48783 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48784 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48785 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48786 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48787 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48788
48789 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48790 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48791 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48792 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48793 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48794 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48795
48796 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48797
48798 [BZ #13743]
48799 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48800 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48801 (sysdep_headers): Include sys/platform/ppc.h.
48802 * sysdeps/powerpc/test-gettimebase.c: Test for
48803 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48804 * manual/Makefile (appendices): Include platform.texi.
48805 * manual/contrib.texi (Contributors): Update @node pointers.
48806 * manual/maint.texi (Maintenance): Likewise.
48807 (Platform): New node.
48808 * manual/platform.texi: New file. Document the new features.
48809
48810 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48811 Jakub Jelinek <jakub@redhat.com>
48812
48813 [BZ #14188]
48814 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48815 where __builtin_expect is unavailable.
48816
48817 2012-06-03 David S. Miller <davem@davemloft.net>
48818
48819 * stdlib/longlong.h: Updated from GCC.
48820
48821 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48822
48823 [BZ #14042]
48824 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48825 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48826 __mcount_internal.
48827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48828 (GLIBC_2.16): Likewise.
48829
48830 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48831
48832 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48833
48834 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48835
48836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48837 (default-abi): New variable.
48838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48839 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48840 variable.
48841 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48842 Likewise.
48843 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48844 Likewise.
48845 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48846 Likewise.
48847
48848 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48849 definition. Document in comment.
48850
48851 2012-06-01 David S. Miller <davem@davemloft.net>
48852
48853 * stdlib/longlong.h: Updated from GCC.
48854
48855 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48856
48857 [BZ #14117]
48858 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48859 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48860 sys/debugreg.h sys/io.h here.
48861 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48862 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48863 sys/io.h.
48864 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48865 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48866 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48867 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48868 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48869 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48870
48871 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48872 Define only if __x86_64__ is defined.
48873
48874 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48875
48876 [BZ #14048]
48877 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48878 Use int64_t for variable i.
48879 * math/libm-test.inc (fmod_test): Add more tests.
48880
48881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48882 z computation is not scheduled after fetestexcept.
48883 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48884 Use math_force_eval instead of asm to ensure calculation scheduled
48885 before exception test.
48886 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48887 Ensure a1 + u.d computation is not scheduled after fetestexcept.
48888
48889 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
48890
48891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48892 computation is not scheduled after fetestexcept.
48893
48894 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48895
48896 [BZ #14117]
48897 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48898 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48899
48900 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48901
48902 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48903 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48904
48905 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48906
48907 [BZ #14117]
48908 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48909 <bits/wordsize.h>.
48910 (__WCHAR_MIN): Support __WORDSIZE == 64.
48911 (__WCHAR_MAX): Likewise.
48912
48913 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48914 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48915
48916 [BZ #14183]
48917 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48918 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48919
48920 [BZ #14117]
48921 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48922 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48923
48924 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48925 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48926
48927 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48928 Defined to 1 if __x86_64__ isn't defined.
48929 (_STAT_VER_LINUX_OLD): New.
48930 (st_atime): Remove duplicate.
48931 (st_mtime): Likewise.
48932 (st_ctime): Likewise.
48933
48934 2012-05-31 David S. Miller <davem@davemloft.net>
48935
48936 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48937 entries.
48938
48939 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
48940
48941 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48942 gen-libm-test.pl.
48943
48944 [BZ #14132]
48945 * elf/dl-reloc.c: Include <_itoa.h>.
48946 (_dl_reloc_bad_type): Remove use of INTUSE.
48947 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48948 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48949 * stdio-common/psiginfo.c (psiginfo): Likewise.
48950 * stdio-common/psignal.c (psignal): Likewise.
48951 * string/strsignal.c (strsignal): Likewise.
48952 * include/signal.h (_sys_siglist): Declare hidden proto.
48953 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
48954 INTVARDEF with libc_hidden_data_def.
48955 * stdio-common/itoa-udigits.c: Likewise.
48956 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48957 (_itoa_lower_digits_internal): Remove declaration.
48958 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48959 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48960 (_sys_sigabbrev_internal): Remove aliases.
48961 (_sys_siglist): Define hidden alias.
48962
48963 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
48964
48965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48966 bits/sysctl.h.
48967
48968 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48969
48970 [BZ #14117]
48971 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48972 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48973
48974 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48975 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48976 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48977 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48979 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48980
48981 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48982 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48983 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48984
48985 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48986 with __addr.
48987 (insw): Likewise.
48988 (insl): Likewise.
48989 (outsb): Likewise.
48990 (outsw): Likewise.
48991 (outsl): Likewise.
48992
48993 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48994 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48995 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48996
48997 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48998 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49000 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49001 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49002 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49003
49004 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49005 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49006
49007 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49008 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49009
49010 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49013
49014 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49015 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49016 to ...
49017 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49018
49019 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49020 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49021 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49022
49023 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49024 for x86-64.
49025 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49026
49027 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49028
49029 * math/math.h (M_El): Use two more decimal places.
49030 (M_LOG2El): Likewise.
49031 (M_LOG10El): Likewise.
49032 (M_LN2l): Likewise.
49033 (M_LN10l): Likewise.
49034 (M_PIl): Likewise.
49035 (M_PI_2l): Likewise.
49036 (M_PI_4l): Likewise.
49037 (M_1_PIl): Likewise.
49038 (M_2_PIl): Likewise.
49039 (M_2_SQRTPIl): Likewise.
49040 (M_SQRT2l): Likewise.
49041 (M_SQRT1_2l): Likewise.
49042
49043 2012-05-31 David S. Miller <davem@davemloft.net>
49044
49045 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49046 values between float registers.
49047 * sysdeps/sparc/sparc64/memset.S: Likewise.
49048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49049
49050 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49051
49052 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49053 -D_FORTIFY_SOURCE=1.
49054 (CPPFLAGS-tst-longjmp_chk.c): Define.
49055 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49056 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49057 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49058 CFLAGS-tst-wchar-h.c.
49059
49060 2012-05-31 Marek Polacek <polacek@redhat.com>
49061
49062 [BZ #14132]
49063 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49064 __endmntent_internal): Remove declaration.
49065 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49066 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49067 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49068
49069 2012-05-30 David S. Miller <davem@davemloft.net>
49070
49071 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49072 (___Q_simulate_exceptions): Use real FP ops rather than writing
49073 into the %fsr.
49074 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49075 Likewise.
49076
49077 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49078
49079 [BZ #14117]
49080 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49081 * sysdeps/x86/bits/xtitypes.h: This.
49082
49083 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49084 * sysdeps/x86/bits/wordsize.h: This.
49085
49086 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49087 * sysdeps/x86/bits/huge_vall.h: This.
49088
49089 * sysdeps/i386/bits/select.h: Removed.
49090 * sysdeps/x86_64/bits/select.h: Renamed to ...
49091 * sysdeps/x86/bits/select.h: This.
49092
49093 * sysdeps/i386/bits/setjmp.h: Removed.
49094 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49095 * sysdeps/x86/bits/setjmp.h: This.
49096
49097 * sysdeps/i386/bits/mathdef.h: Removed.
49098 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49099 * sysdeps/x86/bits/mathdef.h: This.
49100
49101 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49102
49103 [BZ #14132]
49104 * include/sys/socket.h (__connect_internal)
49105 (__libc_sa_len_internal): Remove declaration.
49106 (__connect, __libc_sa_len): Declare hidden_proto.
49107 (SA_LEN): Remove use of INTUSE.
49108 * socket/connect.c: Add libc_hidden_def.
49109 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49110 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49111 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49112 alias.
49113 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49114 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49115 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49116 of adding _internal alias.
49117
49118 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49119
49120 [BZ #14117]
49121 * sysdeps/i386/bits/link.h: Removed.
49122 * sysdeps/i386/bits/linkmap.h: Likewise.
49123 * sysdeps/x86_64/bits/link.h: Renamed to ...
49124 * sysdeps/x86/bits/link.h: This.
49125 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49126 * sysdeps/x86/bits/linkmap.h: This.
49127
49128 * sysdeps/i386/bits/endian.h: Removed.
49129 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49130 * sysdeps/x86/bits/endian.h: This.
49131
49132 * sysdeps/i386/bits/byteswap.h: Removed.
49133 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49134 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49135 * sysdeps/x86/bits/byteswap.h: This.
49136 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49137 * sysdeps/x86/bits/byteswap-16.h: This.
49138 * sysdeps/i386/Implies: Add x86.
49139 * sysdeps/x86_64/Implies: Likewise.
49140
49141 2012-05-30 David S. Miller <davem@davemloft.net>
49142
49143 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49144 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49145 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49146 (FP_TRAPPING_EXCEPTIONS): Define.
49147 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49148 (FP_TRAPPING_EXCEPTIONS): Define.
49149 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49150 subnormals only when inexact has been signalled or underflow
49151 exceptions are enabled.
49152 (_FP_PACK_CANONICAL): Likewise.
49153
49154 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49155
49156 [BZ #14183]
49157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49158 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49159
49160 2012-05-30 Richard Henderson <rth@twiddle.net>
49161
49162 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49163 with #ifndef NOT_IN_libc.
49164
49165 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49166 marked to avoid plt entry.
49167
49168 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49169
49170 [BZ #14112]
49171 * Makeconfig (default-abi): New macro.
49172 (abi-includes): Likewise.
49173 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49174 $(abi-$(default-abi)-lib-soname) for soname if defined.
49175 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49176 abi-variants.
49177 * Makefile (installed-stubs): Likewise.
49178 * include/stubs-biarch.h: Removed.
49179 * scripts/lib-names.awk: Only handle one library at a time.
49180 * scripts/soversions.awk: Remove WORDSIZE support.
49181 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49182 entries.
49183 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49184 Removed.
49185 (syscall-list-default-condition): Likewise.
49186 (syscall-list-default-condition): Likewise.
49187 (syscall-list-includes): Likewise.
49188 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49189 syscall-list-* with abi-*. Handle undefined abi-variants.
49190 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49191 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49192 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49193 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49194 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49195 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49196 Removed.
49197 (syscall-list-32-options): Likewise.
49198 (syscall-list-32-condition): Likewise.
49199 (syscall-list-64-options): Likewise.
49200 (syscall-list-64-condition): Likewise.
49201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49202 macro.
49203 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49204 Renamed to ...
49205 (abi-*): This.
49206 (abi-64-ld-soname): New macro.
49207 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49208 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49209 Renamed to ...
49210 (abi-*): This.
49211 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49212 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49213
49214 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49215
49216 * sysdeps/unix/sysv/linux/kernel-features.h
49217 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49218 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49219 include <kernel-features.h>.
49220 [!__NR_ftruncate64]: Remove conditional code.
49221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49222 [__NR_ftruncate64]: Make code unconditional.
49223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49224 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49225 include <kernel-features.h>.
49226 [!__NR_ftruncate64]: Remove conditional code.
49227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49228 [__NR_ftruncate64]: Make code unconditional.
49229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49231 include <kernel-features.h>.
49232 [!__NR_ftruncate64]: Remove conditional code.
49233 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49234 [__NR_ftruncate64]: Make code unconditional.
49235 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49237 include <kernel-features.h>.
49238 [!__NR_ftruncate64]: Remove conditional code.
49239 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49240 [__NR_ftruncate64]: Make code unconditional.
49241 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49242
49243 * configure.in (libc_cv_fpie): Weaken to a compile test using
49244 LIBC_TRY_CC_OPTION.
49245 * configure: Regenerated.
49246
49247 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49248
49249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49253 Refreshed.
49254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49260 Refreshed.
49261
49262 2012-05-27 David S. Miller <davem@davemloft.net>
49263
49264 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49265 (___Q_zero): New.
49266 (__Q_simulate_exceptions): Return void. Change to simulate
49267 exceptions by writing into the %fsr.
49268 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49269 (__Qp_handle_exceptions): Likewise.
49270 (numbers): Delete.
49271 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49272 __Qp_handle_exceptions.
49273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49274 __Qp_handle_exceptions.
49275 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49276 as unused and give dummy FP_RND_NEAREST initializer.
49277 (FP_INHIBIT_RESULTS): Define.
49278 (___Q_simulate_exceptions): Update declaration.
49279 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49280 formatting.
49281 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49282 as unused and give dummy FP_RND_NEAREST initializer.
49283 (__Qp_handle_exceptions): Update declaration.
49284 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49285 formatting.
49286
49287 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49288
49289 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49290 the temporary FPU control word.
49291 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49292 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49293 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49294 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49295 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49296 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49297 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49299 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49300 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49301 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49302
49303 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49304
49305 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49306 fields.
49307
49308 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49309
49310 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49311 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49312 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49313 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49314 Likewise.
49315 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49316 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49317 Likewise.
49318
49319 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49320
49321 * po/h.po: Update from translation team.
49322
49323 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49324
49325 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49326
49327 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49328 handling of denormals.
49329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49330 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49331 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49332 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49336 Likewise.
49337
49338 2012-05-26 Marek Polacek <polacek@redhat.com>
49339
49340 [BZ #14152]
49341 * math/libm-test.inc (fma_test): Don't always expect underflow
49342 exception.
49343
49344 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49345
49346 [BZ #12416]
49347 * elf/tst-execstack.c: Include stackinfo.h.
49348 (do_test): Adjust test case to ensure that pthread_getattr_np
49349 behaviour remains the same after marking stack executable.
49350
49351 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49352
49353 * sysdeps/unix/sysv/linux/kernel-features.h
49354 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49355 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49356 kernel-features.h.
49357 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49358 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49359 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49360 kernel-features.h.
49361 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49362 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49363
49364 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49365
49366 * configure.in: Define the default includes to being none.
49367 * configure: Regenerated.
49368
49369 2012-05-25 Roland McGrath <roland@hack.frob.com>
49370
49371 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49372 * sysdeps/x86_64/setjmp.S: Likewise.
49373 * sysdeps/i386/bsd-setjmp.S: Likewise.
49374 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49375 * sysdeps/i386/setjmp.S: Likewise.
49376 * sysdeps/i386/__longjmp.S: Likewise.
49377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49378 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49379
49380 * include/stap-probe.h: New file.
49381 * configure.in: Handle --enable-systemtap.
49382 * configure: Regenerated.
49383 * config.h.in (USE_STAP_PROBE): New #undef.
49384 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49385 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49386 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49387
49388 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49389
49390 [BZ #13717]
49391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49392 to 2.4.0 where earlier.
49393 * sysdeps/unix/sysv/linux/configure: Regenerated.
49394 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49395 <kernel-features.h>.
49396 [__ASSUME_32BITUIDS]: Make code unconditional.
49397 [!__ASSUME_32BITUIDS]: Remove conditional code.
49398 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49399 <kernel-features.h>.
49400 [__ASSUME_32BITUIDS]: Make code unconditional.
49401 [!__ASSUME_32BITUIDS]: Remove conditional code.
49402 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49403 [__ASSUME_32BITUIDS]: Make code unconditional.
49404 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49405 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49406 <kernel-features.h>.
49407 [__ASSUME_32BITUIDS]: Make code unconditional.
49408 [!__ASSUME_32BITUIDS]: Remove conditional code.
49409 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49410 <kernel-features.h>.
49411 [__ASSUME_32BITUIDS]: Make code unconditional.
49412 [!__ASSUME_32BITUIDS]: Remove conditional code.
49413 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49414 <kernel-features.h>.
49415 [__ASSUME_32BITUIDS]: Make code unconditional.
49416 [!__ASSUME_32BITUIDS]: Remove conditional code.
49417 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49418 <kernel-features.h>.
49419 [__ASSUME_32BITUIDS]: Make code unconditional.
49420 [!__ASSUME_32BITUIDS]: Remove conditional code.
49421 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49422 <kernel-features.h>.
49423 [__ASSUME_32BITUIDS]: Make code unconditional.
49424 [!__ASSUME_32BITUIDS]: Remove conditional code.
49425 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49426 <kernel-features.h>.
49427 [__ASSUME_32BITUIDS]: Make code unconditional.
49428 [!__ASSUME_32BITUIDS]: Remove conditional code.
49429 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49430 <kernel-features.h>.
49431 [__ASSUME_32BITUIDS]: Make code unconditional.
49432 [!__ASSUME_32BITUIDS]: Remove conditional code.
49433 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49434 <kernel-features.h>.
49435 [__ASSUME_32BITUIDS]: Make code unconditional.
49436 [!__ASSUME_32BITUIDS]: Remove conditional code.
49437 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49438 <kernel-features.h>.
49439 [__ASSUME_32BITUIDS]: Make code unconditional.
49440 [!__ASSUME_32BITUIDS]: Remove conditional code.
49441 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49442 <kernel-features.h>.
49443 [__ASSUME_32BITUIDS]: Make code unconditional.
49444 [!__ASSUME_32BITUIDS]: Remove conditional code.
49445 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49446 <kernel-features.h>.
49447 [__NR_setresgid] (__setresgid): Do not declare.
49448 [__ASSUME_32BITUIDS]: Make code unconditional.
49449 [!__ASSUME_32BITUIDS]: Remove conditional code.
49450 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49451 <kernel-features.h>.
49452 [__NR_setresuid] (__setresuid): Do not declare.
49453 [__ASSUME_32BITUIDS]: Make code unconditional.
49454 [!__ASSUME_32BITUIDS]: Remove conditional code.
49455 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49456 <kernel-features.h>.
49457 [__ASSUME_32BITUIDS]: Make code unconditional.
49458 [!__ASSUME_32BITUIDS]: Remove conditional code.
49459 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49460 <kernel-features.h>.
49461 [__ASSUME_32BITUIDS]: Make code unconditional.
49462 [!__ASSUME_32BITUIDS]: Remove conditional code.
49463 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49464 <kernel-features.h>.
49465 [__ASSUME_32BITUIDS]: Make code unconditional.
49466 [!__ASSUME_32BITUIDS]: Remove conditional code.
49467 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49468 <kernel-features.h>.
49469 [__ASSUME_32BITUIDS]: Make code unconditional.
49470 [!__ASSUME_32BITUIDS]: Remove conditional code.
49471 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49472 <kernel-features.h>.
49473 [__ASSUME_32BITUIDS]: Make code unconditional.
49474 [!__ASSUME_32BITUIDS]: Remove conditional code.
49475 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49476 <kernel-features.h>.
49477 [__ASSUME_32BITUIDS]: Make code unconditional.
49478 [!__ASSUME_32BITUIDS]: Remove conditional code.
49479 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49480 <kernel-features.h>.
49481 [__ASSUME_32BITUIDS]: Make code unconditional.
49482 [!__ASSUME_32BITUIDS]: Remove conditional code.
49483 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49484 <kernel-features.h>.
49485 [__ASSUME_32BITUIDS]: Make code unconditional.
49486 [!__ASSUME_32BITUIDS]: Remove conditional code.
49487 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49488 <kernel-features.h>.
49489 [__ASSUME_32BITUIDS]: Make code unconditional.
49490 [!__ASSUME_32BITUIDS]: Remove conditional code.
49491 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49492 <kernel-features.h>.
49493 [__ASSUME_32BITUIDS]: Make code unconditional.
49494 [!__ASSUME_32BITUIDS]: Remove conditional code.
49495 * sysdeps/unix/sysv/linux/kernel-features.h
49496 (__ASSUME_SETRESUID_SYSCALL): Remove.
49497 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49498 (__ASSUME_32BITUIDS): Likewise.
49499 (__ASSUME_LDT_WORKS): Likewise.
49500 (__ASSUME_O_DIRECTORY): Likewise.
49501 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49502 architecture but not kernel version.
49503 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49504 (__ASSUME_MMAP2_SYSCALL): Likewise.
49505 (__ASSUME_STAT64_SYSCALL): Likewise.
49506 (__ASSUME_IPC64): Likewise.
49507 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49508 <kernel-features.h>.
49509 [__ASSUME_32BITUIDS]: Make code unconditional.
49510 [!__ASSUME_32BITUIDS]: Remove conditional code.
49511 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49512 <kernel-features.h>.
49513 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49514 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49515 132096]: Remove conditional code.
49516 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49517 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49518 <kernel-features.h>.
49519 [__ASSUME_32BITUIDS]: Make code unconditional.
49520 [!__ASSUME_32BITUIDS]: Remove conditional code.
49521 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49522 <kernel-features.h>.
49523 [__ASSUME_32BITUIDS]: Make code unconditional.
49524 [!__ASSUME_32BITUIDS]: Remove conditional code.
49525 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49526 <kernel-features.h>.
49527 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49528 unconditional.
49529 (__setresgid): Do not declare.
49530 [__ASSUME_32BITUIDS]: Make code unconditional.
49531 [!__ASSUME_32BITUIDS]: Remove conditional code.
49532 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49533 <kernel-features.h>.
49534 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49535 unconditional.
49536 (__setresuid): Do not declare.
49537 [__ASSUME_32BITUIDS]: Make code unconditional.
49538 [!__ASSUME_32BITUIDS]: Remove conditional code.
49539 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49540 <kernel-features.h>.
49541 [__ASSUME_32BITUIDS]: Make code unconditional.
49542 [!__ASSUME_32BITUIDS]: Remove conditional code.
49543 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49544 <kernel-features.h>.
49545 [__ASSUME_32BITUIDS]: Make code unconditional.
49546 [!__ASSUME_32BITUIDS]: Remove conditional code.
49547
49548 2012-05-25 Richard Henderson <rth@twiddle.net>
49549
49550 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49551 dl_hwcap to ifunc resolver.
49552 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49553 elf_ifunc_invoke.
49554 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49555 dl_hwcap to ifunc resolver.
49556 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49557
49558 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49559
49560 [BZ #14153]
49561 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49562 for |x| <= 2**-26, not 2**-57.
49563 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49564 exception.
49565
49566 2012-05-24 Jeff Law <law@redhat.com>
49567
49568 * stdio-common/Makefile (tests): Add bug25.
49569 * stdio-common/bug25.c: New test.
49570
49571 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49572
49573 [BZ #13576]
49574 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49575 multiple of MALLOC_ALIGNMENT in size.
49576 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49577
49578 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49579
49580 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49581 Require >= 256.
49582 (FILENAME_MAX): Use macro-int-constant.
49583 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49584 (_IOFBF): Use macro-int-constant.
49585 (_IOLBF): Likewise.
49586 (_IONBF): Likewise.
49587 (SEEK_CUR): Likewise.
49588 (SEEK_END): Likewise.
49589 (SEEK_SET): Likewise.
49590 (TMP_MAX): Likewise.
49591 (EOF): Use macro-int-constant. Require < 0.
49592 (NULL): Use macro-constant. Require == 0.
49593 (stdin): Require type to be FILE *.
49594 (stdout): Likewise.
49595 (stderr): Likewise.
49596 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49597 macro-int-constant.
49598 (EXIT_SUCCESS): Likewise.
49599 (NULL): Use macro-constant. Require == 0.
49600 (RAND_MAX): Use macro-int-constant.
49601 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49602 [C99-based standards] (strtof): Require function.
49603 [C99-based standards] (strtold): Likewise.
49604 [C99-based standards] (strtoll): Likewise.
49605 [C99-based standards] (strtoull): Likewise.
49606 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49607 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49608 [ISO || ISO99 || ISO11] (math.h): Likewise.
49609 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49610 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49612
49613 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49614
49615 [BZ #14132]
49616 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49617 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49618 * intl/dgettext.c (DCGETTEXT): Likewise.
49619 * intl/gettext.c (DCGETTEXT): Likewise.
49620 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49621 * posix/regex_internal.h (gettext): Likewise.
49622 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49623 Remove declaration.
49624 * include/argz.h (__argz_count_internal)
49625 (__argz_stringify_internal): Remove declaration.
49626 (__argz_count, __argz_stringify): Declare hidden proto.
49627 * intl/dcgettext.c: Remove use of INTDEF.
49628 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49629 * string/argz-stringify.c: Likewise.
49630 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49631 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49632 Declare hidden proto.
49633 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49634 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49635 Declare hidden proto.
49636 * include/stdio.h (__asprintf_internal): Don't declare.
49637 (__asprintf): Don't define as macro. Declare hidden proto.
49638 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49639 (__fsetlocking): Declare hidden proto.
49640 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49641 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49642 hidden proto.
49643 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49644 (_IO_setlinebuf): Remove use of INTUSE.
49645 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49646 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49647 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49648 Remove declaration.
49649 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49650 (_IO_do_flush): Remove use of INTUSE.
49651 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49652 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49653 (_IO_adjust_column, _IO_least_wmarker)
49654 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49655 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49656 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49657 (_IO_default_doallocate, _IO_wdefault_doallocate)
49658 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49659 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49660 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49661 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49662 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49663 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49664 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49665 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49666 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49667 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49668 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49669 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49670 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49671 proto.
49672 (_IO_flush_all_internal, _IO_adjust_column_internal)
49673 (_IO_default_uflow_internal, _IO_default_finish_internal)
49674 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49675 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49676 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49677 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49678 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49679 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49680 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49681 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49682 (_IO_file_close_internal, _IO_file_close_it_internal)
49683 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49684 (_IO_file_init_internal, _IO_file_attach_internal)
49685 (_IO_file_fopen_internal, _IO_file_read_internal)
49686 (_IO_file_sync_internal, _IO_file_seek_internal)
49687 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49688 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49689 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49690 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49691 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49692 (_IO_list_all_internal, _IO_link_in_internal)
49693 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49694 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49695 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49696 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49697 (_IO_do_write_internal, _IO_padn_internal)
49698 (_IO_getline_info_internal, _IO_getline_internal)
49699 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49700 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49701 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49702 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49703 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49704 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49705 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49706 with libc_hidden_ver, remove use of INTUSE.
49707 * libio/genops.c: Likewise.
49708 * libio/freopen.c: Likewise.
49709 * libio/freopen64.c: Likewise.
49710 * libio/iofclose.c: Likewise.
49711 * libio/iofdopen.c: Likewise.
49712 * libio/iofflush.c: Likewise.
49713 * libio/iofflush_u.c: Likewise.
49714 * libio/iofgets.c: Likewise.
49715 * libio/iofgets_u.c: Likewise.
49716 * libio/iofopen.c: Likewise.
49717 * libio/iofopncook.c: Likewise.
49718 * libio/iofread.c: Likewise.
49719 * libio/iofread_u.c: Likewise.
49720 * libio/ioftell.c: Likewise.
49721 * libio/iofwrite.c: Likewise.
49722 * libio/iogetline.c: Likewise.
49723 * libio/iogets.c: Likewise.
49724 * libio/iogetwline.c: Likewise.
49725 * libio/iopadn.c: Likewise.
49726 * libio/iopopen.c: Likewise.
49727 * libio/ioseekoff.c: Likewise.
49728 * libio/ioseekpos.c: Likewise.
49729 * libio/iosetbuffer.c: Likewise.
49730 * libio/iosetvbuf.c: Likewise.
49731 * libio/ioungetc.c: Likewise.
49732 * libio/ioungetwc.c: Likewise.
49733 * libio/iovdprintf.c: Likewise.
49734 * libio/iovsprintf.c: Likewise.
49735 * libio/iovsscanf.c: Likewise.
49736 * libio/memstream.c: Likewise.
49737 * libio/obprintf.c: Likewise.
49738 * libio/oldfileops.c: Likewise.
49739 * libio/oldiofclose.c: Likewise.
49740 * libio/oldiofdopen.c: Likewise.
49741 * libio/oldiofopen.c: Likewise.
49742 * libio/oldiopopen.c: Likewise.
49743 * libio/oldstdfiles.c: Likewise.
49744 * libio/putc.c: Likewise.
49745 * libio/setbuf.c: Likewise.
49746 * libio/setlinebuf.c: Likewise.
49747 * libio/stdfiles.c: Likewise.
49748 * libio/strops.c: Likewise.
49749 * libio/vasprintf.c: Likewise.
49750 * libio/vscanf.c: Likewise.
49751 * libio/vsnprintf.c: Likewise.
49752 * libio/vswprintf.c: Likewise.
49753 * libio/wfiledoalloc.c: Likewise.
49754 * libio/wfileops.c: Likewise.
49755 * libio/wgenops.c: Likewise.
49756 * libio/wmemstream.c: Likewise.
49757 * libio/wstrops.c: Likewise.
49758 * libio/__fpurge.c: Likewise.
49759 * libio/__fsetlocking.c: Likewise.
49760 * assert/assert.c: Likewise.
49761 * debug/fgets_chk.c: Likewise.
49762 * debug/fgets_u_chk.c: Likewise.
49763 * debug/fread_chk.c: Likewise.
49764 * debug/fread_u_chk.c: Likewise.
49765 * debug/gets_chk.c: Likewise.
49766 * debug/obprintf_chk.c: Likewise.
49767 * debug/vasprintf_chk.c: Likewise.
49768 * debug/vdprintf_chk.c: Likewise.
49769 * debug/vsnprintf_chk.c: Likewise.
49770 * debug/vsprintf_chk.c: Likewise.
49771 * malloc/mtrace.c: Likewise.
49772 * misc/error.c: Likewise.
49773 * misc/syslog.c: Likewise.
49774 * stdio-common/asprintf.c: Likewise.
49775 * stdio-common/fxprintf.c: Likewise.
49776 * stdio-common/getw.c: Likewise.
49777 * stdio-common/isoc99_fscanf.c: Likewise.
49778 * stdio-common/isoc99_scanf.c: Likewise.
49779 * stdio-common/isoc99_vfscanf.c: Likewise.
49780 * stdio-common/isoc99_vscanf.c: Likewise.
49781 * stdio-common/isoc99_vsscanf.c: Likewise.
49782 * stdio-common/printf-prs.c: Likewise.
49783 * stdio-common/printf_fp.c: Likewise.
49784 * stdio-common/printf_fphex.c: Likewise.
49785 * stdio-common/printf_size.c: Likewise.
49786 * stdio-common/putw.c: Likewise.
49787 * stdio-common/scanf.c: Likewise.
49788 * stdio-common/sprintf.c: Likewise.
49789 * stdio-common/tmpfile.c: Likewise.
49790 * stdio-common/vfprintf.c: Likewise.
49791 * stdio-common/vfscanf.c: Likewise.
49792 * stdlib/strfmon_l.c: Likewise.
49793 * sunrpc/openchild.c: Likewise.
49794 * sunrpc/xdr_stdio.c: Likewise.
49795 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49796 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49797
49798 2012-05-24 Roland McGrath <roland@hack.frob.com>
49799
49800 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49801
49802 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49803 in the third column, to generate for the shared library an IFUNC
49804 that uses _dl_vdso_vsym.
49805 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49806 * Makeconfig (object-suffixes-noshared): New variable.
49807
49808 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49809 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49810 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49811 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49812
49813 [BZ #14132]
49814 * include/sys/time.h (__gettimeofday): Remove macro.
49815 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49816 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49817 Remove INTDEF.
49818 (__gettimeofday): Add libc_hidden_def.
49819 (gettimeofday): Add libc_hidden_weak.
49820 * sysdeps/mach/gettimeofday.c: Likewise.
49821 * sysdeps/posix/gettimeofday.c: Likewise.
49822 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49823 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49825 (__gettimeofday_internal): Remove strong_alias.
49826 (__gettimeofday): Add libc_hidden_def.
49827 (gettimeofday): Add libc_hidden_weak.
49828 * sysdeps/unix/syscalls.list (gettimeofday):
49829 Remove __gettimeofday_internal alias.
49830
49831 2012-05-24 Daniel Jacobowitz <drow@false.org>
49832 H.J. Lu <hongjiu.lu@intel.com>
49833
49834 [BZ #12495]
49835 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49836 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49837 (largebin_index_32_big): New.
49838 (largebin_index): Use it for 16-byte alignment.
49839 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49840 correction with front_misalign.
49841
49842 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49843
49844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49846 Likewise.
49847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49848 Likewise.
49849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49850 Likewise.
49851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49852 Likewise.
49853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49854 Likewise.
49855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49856 Likewise.
49857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49858 Likewise.
49859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49860 Likewise.
49861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49862 Likewise.
49863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49864 Likewise.
49865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49866 Likewise.
49867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49868 Likewise.
49869
49870 * scripts/data/c++-types-x32-linux-gnu.data: New file.
49871 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49872
49873 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49874
49875 [BZ #10846]
49876 [BZ #14036]
49877 * math/libm-test.inc (exp_test): Add test from bug 14036.
49878 (pow_test): Add test from bug 10846.
49879
49880 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49881 and other flags.
49882 (special_function): Do not include flags in test name.
49883 (parse_args): Likewise.
49884 * sysdeps/i386/fpu/libm-test-ulps: Update.
49885 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49886 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49887 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49889
49890 * math/gen-libm-test.pl (%beautify): Add entries for underflow
49891 exceptions.
49892 * math/libm-test.inc ("Philosophy"): Update comment about
49893 exception testing.
49894 (UNDERFLOW_EXCEPTION): New macro.
49895 (UNDERFLOW_EXCEPTION_OK): Likewise.
49896 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49897 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49898 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49899 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49900 (INVALID_EXCEPTION_OK): Update value.
49901 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49902 (OVERFLOW_EXCEPTION_OK): Likewise.
49903 (IGNORE_ZERO_INF_SIGN): Likewise.
49904 (test_exceptions): Handle underflow exceptions.
49905 (acos_test): Update for underflow exception expectations.
49906 (cexp_test): Likewise.
49907 (clog_test): Likewise.
49908 (clog10_test): Likewise.
49909 (csqrt_test): Likewise.
49910 (ctan_test): Likewise.
49911 (ctanh_test): Likewise.
49912 (exp_test): Likewise.
49913 (exp10_test): Likewise.
49914 (exp2_test): Likewise.
49915 (expm1_test): Likewise.
49916 (fma_test): Likewise.
49917 (j0_test): Likewise.
49918 (jn_test): Likewise.
49919 (nexttoward_test): Likewise.
49920 (pow_test): Likewise.
49921 (scalbn_test): Likewise.
49922 (scalbln_test): Likewise.
49923 (tan_test): Likewise.
49924 (y1_test): Likewise.
49925 * sysdeps/i386/fpu/libm-test-ulps: Update.
49926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49927
49928 2012-05-23 David S. Miller <davem@davemloft.net>
49929
49930 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49931 (__libc_sigaction): Remove unused local variables.
49932
49933 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49934
49935 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49936
49937 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
49938
49939 mktime: avoid signed integer overflow
49940 * time/mktime.c (__mktime_internal): Do not mishandle the case
49941 where diff == INT_MIN.
49942
49943 mktime: simplify computation of average
49944 * time/mktime.c (ranged_convert): Use new time_t_avg function
49945 instead of rolling our own (probably-slower) code.
49946
49947 mktime: do not assume signed right shift propagates sign bit
49948 * time/mktime.c (isdst_differ): New static function.
49949 (__mktime_internal): No need to normalize tm_isdst now.
49950 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49951 tm_isdst values.
49952
49953 mktime: merge another wrapv change from gnulib
49954 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49955 from some compilers.
49956
49957 mktime: remove incorrect attempt at unusual arithmetics
49958 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49959 The code didn't really work on such machines anyway.
49960 (TYPE_MINIMUM): Assume two's complement.
49961 (twos_complement_arithmetic): Verify that long_int and time_t
49962 are two's complement (or unsigned, in the latter case).
49963
49964 mktime: check signed shifts on long_int and time_t, too
49965 * time/mktime.c (SHR): Check that shifts work as desired
49966 on the types long_int and time_t too, as SHR is used on
49967 such types.
49968
49969 mktime: do not assume 'long' is wide enough
49970 * time/mktime.c (verify): Move decl up.
49971 (long_int): New type.
49972 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49973 to remove assumption in the code that 'long' is wide enough to
49974 store year values. This assumption is not true on x32 and on
49975 some non-glibc platforms.
49976
49977 mktime: merge wrapv change from gnulib
49978 * time/mktime.c (WRAPV): New macro.
49979 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49980 (guess_time_tm, __mktime_internal): Do not assume that signed
49981 integer overflow wraps around; modern compilers generate code
49982 where this assumption is no longer valid.
49983
49984 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49985
49986 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49987 Replace "jmp L(pseudo_end)" with "ret".
49988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49989 Likewise.
49990
49991 2012-05-23 Andreas Jaeger <aj@suse.de>
49992
49993 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49994 * sysdeps/unix/sysv/linux/poll.c: Remove file.
49995
49996 2012-05-23 Andreas Jaeger <aj@suse.de>
49997 Maximilian Attems <max@stro.at>
49998
49999 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50000 New macros.
50001
50002 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50003
50004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50005 code so that pseudo_end is just ret and the stack pointer is
50006 correct also for static library in error case.
50007
50008 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50009
50010 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50011 move to syscalls.list.
50012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50016
50017 * manual/install.texi (Running make install): Do not mention Linux
50018 kernel version for which pt_chown is not needed.
50019 (Linux): Do not mention problems with nscd with 2.0 kernels.
50020 * INSTALL: Regenerated.
50021
50022 2012-05-23 Andreas Jaeger <aj@suse.de>
50023
50024 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50025 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50026 macro.
50027 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50028 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50029 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50030 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50031 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50032 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50034 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50035 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50036 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50037 * sysdeps/unix/sysv/linux/bits/in.h
50038 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50039
50040 2012-05-22 Roland McGrath <roland@hack.frob.com>
50041
50042 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50043 (PREPARE_VERSION): Just use assert instead, it will be elided
50044 under [NDEBUG] anyway.
50045
50046 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50047
50048 * sysdeps/unix/sysv/linux/Makefile: Include
50049 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50050 (sysdep_routines): Remove sysctl.
50051 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50052 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50053 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50054 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50055 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50056
50057 2012-05-22 Andreas Jaeger <aj@suse.de>
50058
50059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50060 that pseudo_end is just ret and the stack pointer is correct also
50061 for static library in error case.
50062
50063 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50064
50065 [BZ #14122]
50066 * nss/nsswitch.c (defconfig_entries): New variable.
50067 (__nss_database_lookup): Don't leak defconfig entries.
50068 (nss_parse_service_list): Don't leak on error paths.
50069 (free_database_entries): New function.
50070 (free_defconfig): New function.
50071 (free_mem): Move common code to free_database_entries.
50072
50073 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50074
50075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50076 Add arch_prctl.
50077 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50078
50079 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50080 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50082 New macro.
50083 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50084 (INTERNAL_SYSCALL_TYPES): Likewise.
50085 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50086 (LOAD_REGS_TYPES_[1-6]): Likewise.
50087 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50088 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50089
50090 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50091
50092 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50093 copysignl for GLIBC_2_0.
50094 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50095 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50097 logbl for GLIBC_2_0.
50098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50099 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50100
50101 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50102
50103 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50104 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50105
50106 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50107 Use "neg %eax".
50108
50109 * time/mktime.c: Update copyright years.
50110
50111 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50112
50113 mktime: merge comment-quoting-style change from gnulib
50114 * time/mktime.c: Quote 'like this' in comments.
50115 The GNU coding standards suggest that we no longer quote `like this',
50116 as "`" and "'" are typically rendered asymmetrically nowadays.
50117 The typical gnulib style is to quote 'like this' when quoting
50118 code, and "like this" when quoting English.
50119
50120 * time/mktime.c (compile-command): Add "-I.".
50121
50122 mktime: merge mktime-internal.h change from gnulib
50123 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50124
50125 mktime: merge time_r change from gnulib
50126 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50127
50128 mktime: merge DEBUG change from gnulib
50129 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50130 case system <time.h> has a #define.
50131
50132 mktime: merge <sys/types.h> change from gnulib
50133 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50134 since <time.t> is now guaranteed to define time_t.
50135
50136 mktime: merge HAVE_CONFIG_H change from gnulib
50137 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50138
50139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50140
50141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50142 Use "neg %eax".
50143
50144 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50145 __rlim_t cast.
50146 (struct rusage): Use anonymous union to pad each field to
50147 __syscall_slong_t.
50148
50149 2012-05-21 David S. Miller <davem@davemloft.net>
50150
50151 * Makefules (o-iterator): Remove .s cases.
50152 (compile-command.s): Delete.
50153 (COMPILE.s): Delete.
50154 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50155
50156 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50157
50158 * configure.in (libc_cv_predef_stack_protector): Only consider
50159 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50160 * configure: Regenerated.
50161
50162 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50163
50164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50165 New macro. Use R*LP on int and pointer.
50166 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50167 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50168 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50169 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50170
50171 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50172 [__WORDSIZE_TIME64_COMPAT32] instead of
50173 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50174 (struct utmp): Likewise.
50175 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50176 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50177 Renamed to ...
50178 (__WORDSIZE_TIME64_COMPAT32): This.
50179 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50180 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50181 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50182 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50183 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50184 (__WORDSIZE_TIME64_COMPAT32): New macro.
50185
50186 2012-05-21 Andreas Jaeger <aj@suse.de>
50187
50188 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50189 only if [SHARED]. Add prototype for __wcschr_ia32.
50190
50191 2012-05-21 Roland McGrath <roland@hack.frob.com>
50192
50193 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50194 of %rbp unmolested in the jmp_buf while mangling the low bits.
50195 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50196 unmolested high bits of %rbp while demangling the low bits.
50197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50198
50199 2012-05-21 Andreas Jaeger <aj@suse.de>
50200
50201 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50202 * sunrpc/svc_simple.c: Use it for registerrpc.
50203 * sunrpc/xcrypt.c: Use it for passwd2des.
50204
50205 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50206
50207 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50208
50209 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50210 Don't define if [__SYSCALL_WORDSIZE != 32].
50211 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50212 New macro.
50213
50214 2012-05-21 Bruno Haible <bruno@clisp.org>
50215 Andreas Jaeger <aj@suse.de>
50216
50217 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50218 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50219 inptr and inend for must_buffer_ch.
50220 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50221 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50222 * stdio-common/Makefile (tests): Remove bug15.
50223 (bug15-ENV): Remove macro.
50224 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50225 anymore.
50226
50227 2012-05-19 Andreas Jaeger <aj@suse.de>
50228 Roland McGrath <roland@hack.frob.com>
50229
50230 * manual/contrib.texi: Completely rewritten. It contains now an
50231 alphabetical list of contributors and their contributions.
50232
50233 2012-05-21 Richard Henderson <rth@twiddle.net>
50234
50235 * misc/getauxval.c (__getauxval): Use unsigned long int.
50236 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50237 (getauxval): Use unsigned long int.
50238
50239 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50240
50241 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50242
50243 2012-05-21 Roland McGrath <roland@hack.frob.com>
50244
50245 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50246 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50247 __alignof__ (long double).
50248
50249 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50250
50251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50252
50253 2012-05-20 Richard Henderson <rth@twiddle.net>
50254
50255 * misc/getauxval.c: New file.
50256 * misc/sys/auxv.h: New file.
50257 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50258 (routines): Add getauxval.
50259 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50261 * elf/dl-sysdep.c (_dl_auxv): Remove.
50262 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50263 * elf/dl-support.c (_dl_auxv): New variable.
50264 (_dl_aux_init): Initialize it.
50265 * manual/startup.texi (Auxiliary Vector): New node.
50266 * sysdeps/generic/bits/hwcap.h: New file.
50267 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50268 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50269 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50270 * sysdeps/sparc/sysdep.h: ... here. Include it.
50271 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50272 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50274 Update.
50275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50283
50284 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50285
50286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50287
50288 2012-05-19 David S. Miller <davem@davemloft.net>
50289
50290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50291
50292 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50293
50294 [BZ #14123]
50295 * math/s_ccosh.c: Include <float.h>
50296 (__ccosh): Avoid internal overflow calculating sinh and cosh
50297 values before multiplying by sin and cos values.
50298 * math/s_ccoshf.c: Likewise.
50299 * math/s_ccoshl.c: Likewise.
50300 * math/s_csin.c: Likewise.
50301 * math/s_csinf.c: Likewise.
50302 * math/s_csinl.c: Likewise.
50303 * math/s_csinh.c: Likewise.
50304 * math/s_csinhf.c: Likewise.
50305 * math/s_csinhl.c: Likewise.
50306 * math/libm-test.inc (ccos_test): Add more tests.
50307 (ccosh_test): Likewise.
50308 (csin_test): Likewise.
50309 (csinh_test): Likewise.
50310 * sysdeps/i386/fpu/libm-test-ulps: Update.
50311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50312
50313 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50314
50315 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50316 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50317
50318 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50319
50320 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50321
50322 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50323 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50324 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50325 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50326 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50327 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50328 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50329 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50330 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50331 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50332 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50333 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50334 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50335 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50336 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50337 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50338 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50339 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50340 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50341 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50342 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50343 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50344 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50345 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50346 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50347 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50348 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50349 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50350 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50351 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50352 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50353
50354 2012-05-18 Andreas Jaeger <aj@suse.de>
50355
50356 * csu/.gitignore: Delete.
50357
50358 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50359
50360 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50361 (timex): Use __syscall_slong_t.
50362
50363 2012-05-18 Andreas Jaeger <aj@suse.de>
50364 Carlos O'Donell <carlos_odonell@mentor.com>
50365
50366 * manual/install.texi (Configuring and compiling): Update
50367 description about files modified in the source directory.
50368 * INSTALL: Regenerated.
50369
50370 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50371
50372 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50373 value. Use "or" to set return value to -1.
50374 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50375 negate return value.
50376
50377 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50378
50379 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50380 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50381 failure if the compiler has Graphite support disabled.
50382 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50383 Likewise.
50384 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50385 (CFLAGS-memmove.c): Likewise.
50386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50387 Likewise.
50388
50389 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50390
50391 * sysdeps/x86_64/x32/_itoa.h: New file.
50392
50393 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50394 getdents system call only if kernel and user dirents have the
50395 same d_ino and d_off.
50396
50397 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50398 LLONG_MAX != LONG_MAX.
50399 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50400 (_fitoa_word): Likewise.
50401
50402 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50403 years.
50404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50405 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50406 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50407
50408 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50409 include <bits/wordsize.h>. Check __x86_64__ instead of
50410 __WORDSIZE.
50411 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50412 if __x86_64__ is defined. Use anonymous union on fpstate.
50413
50414 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50415 anonymous union.
50416
50417 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50418
50419 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50420 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50421 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50422 Refer to _rtld_local_ro instead of _rtld_global_ro.
50423 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50424 Likewise.
50425 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50426 Likewise.
50427 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50428 Likewise.
50429 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50430 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50431 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50432
50433 [BZ #10882]
50434 * sysdeps/powerpc/powerpc32/dl-machine.c
50435 (__elf_machine_runtime_setup) [PROF]: Don't reference
50436 _dl_prof_resolve.
50437
50438 2012-05-18 Andreas Jaeger <aj@suse.de>
50439
50440 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50441 function only available for GCCs before 3.4 since GCC 3.4
50442 introduced a builtin.
50443 (lrint): Likewise.
50444 (llrintf): Likewise.
50445 (llrint): Likewise.
50446 (fmaxf): Likewise.
50447 (fmax): Likewise.
50448 (fminf): Likewise.
50449 (fmin): Likewise.
50450 (rint): Likewise.
50451 (rintf): Likewise.
50452 (nearbyint): Likewise.
50453 (nearbyintf): Likewise.
50454 (ceil): Likewise.
50455 (ceilf): Likewise.
50456 (floor): Likewise.
50457 (floorf): Likewise.
50458
50459 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50460
50461 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50462 on both fields and cast pointer to __syscall_ulong_t.
50463
50464 * bits/types.h (__fsword_t): New type.
50465 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50466 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50468 (__FSWORD_T_TYPE): Likewise.
50469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50470 (__FSWORD_T_TYPE): Likewise.
50471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50472 (__FSWORD_T_TYPE): Likewise.
50473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50474 (__FSWORD_T_TYPE): Likewise.
50475 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50476 __SWORD_TYPE with __fsword_t.
50477 (statfs64): Likewise.
50478
50479 2012-05-17 David S. Miller <davem@davemloft.net>
50480
50481 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50482
50483 2012-05-17 Andreas Jaeger <aj@suse.de>
50484
50485 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50486 warning.
50487
50488 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50489
50490 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50491
50492 2012-05-17 Andreas Jaeger <aj@suse.de>
50493
50494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50495 when it is used.
50496
50497 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50498
50499 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50500
50501 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50502
50503 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50504 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50505
50506 2012-05-17 Andreas Jaeger <aj@suse.de>
50507 Carlos O'Donell <carlos_odonell@mentor.com>
50508
50509 [BZ #14059]
50510 * sysdeps/x86_64/multiarch/init-arch.h
50511 (bit_YMM_Usable): Rename to...
50512 (bit_AVX_Usable): ... this.
50513 (bit_FMA4_Usable): New macro.
50514 (bit_XMM_state): New macro.
50515 (bit_YMM_state): New macro.
50516 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50517 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50518 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50519 (CPUID_OSXSAVE): New macro.
50520 (CPUID_AVX): New macro.
50521 (CPUID_FMA4): New macro.
50522 (index_YMM_Usable): Rename to...
50523 (index_AVX_Usable): ... this.
50524 (HAS_AVX): Use HAS_ARCH_FEATURE.
50525 (HAS_FMA4): Likewise.
50526 (HAS_YMM_USABLE): Remove.
50527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50528 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50529 are present.
50530 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50531 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50532 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50533 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50534 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50535
50536 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50537
50538 * math/libm-test.c: Support platforms without multiple rounding modes.
50539 * math/bug-nextafter.c: Support platforms without FP exceptions.
50540 * math/bug-nexttoward.c: Likewise.
50541 * math/test-fenv.c: Likewise.
50542 * math/test-misc.c: Likewise.
50543 * stdlib/bug-getcontext.c: Likewise.
50544
50545 2012-05-17 Andreas Jaeger <aj@suse.de>
50546
50547 * manual/examples/search.c (critter_cmp): Change signature to
50548 avoid warnings.
50549 * manual/string.texi (Collation Functions): Likewise.
50550
50551 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50552
50553 * bits/types.h: Fold copyright years.
50554 * bits/typesizes.h: Likewise.
50555 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50559 * time/time.h: Likewise.
50560
50561 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50562
50563 [BZ #208]
50564 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50565 in instead of returning them. Return void.
50566 (__libc_mallinfo): Accumulate over all arenas.
50567 (__malloc_stats): Adjust for change in int_mallinfo interface.
50568
50569 2012-05-16 Roland McGrath <roland@hack.frob.com>
50570
50571 [BZ #10375]
50572 * configure.in (NM): Add AC_CHECK_TOOL for it.
50573 (libc_extra_cflags): New substituted variable.
50574 Check for -fstack-protector being used implicitly.
50575 * configure: Regenerated.
50576 * config.make.in (config-extra-cflags): New variable,
50577 gets @libc_extra_cflags@.
50578 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50579
50580 [BZ #10375]
50581 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50582 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50583 * configure: Regenerated.
50584 * config.make.in (CPPUNDEFS): New substituted variable.
50585 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50586 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50587 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50588
50589 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50590
50591 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50592 (mq_attr): Use __syscall_slong_t.
50593
50594 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50595
50596 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50597 Check __x86_64__ instead of __WORDSIZE.
50598 (_STAT_VER_LINUX): Likewise.
50599 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50600 __syscall_ulong_t and __syscall_slong_t.
50601 (stat64): Likewise.
50602
50603 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50604
50605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50606
50607 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50608
50609 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50610
50611 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50612
50613 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50614 __syscall_ulong_t.
50615
50616 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50617 include <bits/wordsize.h>. Check __x86_64__ instead of
50618 __WORDSIZE.
50619 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50620 defined.
50621 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50622
50623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50624 include <bits/wordsize.h>. Check __x86_64__ instead of
50625 __WORDSIZE.
50626 (user_regs_struct): Use "__extension__ unsigned long long"
50627 instead of "unsigned long" if __x86_64__ is defined.
50628 (user): Likewise. Pad after pointer field if __ILP32__ is
50629 defined.
50630
50631 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50632
50633 * configure.in (makeinfo): Require version 4.5 or later. Allow
50634 versions 5 to 9.
50635 * configure: Regenerated.
50636 * manual/install.texi (texinfo): Increase version requirement to
50637 4.5 or later.
50638 * INSTALL: Regenerated.
50639
50640 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50641
50642 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50643
50644 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50645
50646 * sysdeps/x86_64/x32/ffs.c: New file.
50647
50648 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50649 __syscall_ulong_t.
50650 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50651 defined. Use __syscall_ulong_t.
50652 (shminfo): Use __syscall_ulong_t.
50653 (shm_info): Likewise.
50654
50655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50656 __syscall_ulong_t.
50657
50658 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50659 <bits/wordsize.h>.
50660 (msgqnum_t): Use __syscall_ulong_t.
50661 (msglen_t): Likewise.
50662 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50663 __syscall_ulong_t.
50664
50665 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50666 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50667
50668 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50669
50670 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50671 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50672
50673 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50674 __syscall_slong_t.
50675
50676 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50677 include <bits/wordsize.h>. Check __x86_64__ instead of
50678 __WORDSIZE.
50679
50680 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50681 "unsigned long long int" if __x86_64__ is defined.
50682 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50683
50684 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50685 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50686 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50687
50688 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50689 <stdint.h>.
50690 (GET_PC): Cast to uintptr_t first.
50691 (GET_FRAME): Likewise.
50692 (GET_STACK): Likewise.
50693
50694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50697 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50699 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50700 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50701 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50702 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50704 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50705 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50706 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50707 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50708 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50712 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50713 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50714 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50715 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50717 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50720 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50722 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50723
50724 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50725
50726 * Makerules (+depfiles): Also collect depfiles from .oS in
50727 $(extra-objs).
50728 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50729 .oS, $(libnldbl-routines)).
50730
50731 * Makerules (native-compile-mkdep-flags): Define.
50732 * sunrpc/Makefile (extra-objs): Add $(addprefix
50733 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50734 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50735 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50736 calling $(make-target-directory).
50737
50738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50739
50740 * bits/types.h (__snseconds_t): Removed.
50741 * time/time.h (struct timespec): Replace __snseconds_t with
50742 __syscall_slong_t.
50743 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50744 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50745 Likewise.
50746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50747 (__SNSECONDS_T_TYPE): Likewise.
50748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50749 (__SNSECONDS_T_TYPE): Likewise.
50750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50751 (__SNSECONDS_T_TYPE): Likewise.
50752
50753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50754
50755 * sysdeps/mach/hurd/bits/typesizes.h
50756 (__SYSCALL_SLONG_TYPE): New macro.
50757 (__SYSCALL_ULONG_TYPE): Likewise.
50758
50759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50760
50761 * bits/types.h (__syscall_slong_t): New type.
50762 (__syscall_ulong_t): Likewise.
50763
50764 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50765 (__SYSCALL_ULONG_TYPE): Likewise.
50766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50767 (__SYSCALL_SLONG_TYPE): Likewise.
50768 (__SYSCALL_ULONG_TYPE): Likewise.
50769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50770 (__SYSCALL_SLONG_TYPE): Likewise.
50771 (__SYSCALL_ULONG_TYPE): Likewise.
50772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50773 (__SYSCALL_SLONG_TYPE): Likewise.
50774 (__SYSCALL_ULONG_TYPE): Likewise.
50775
50776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50777
50778 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50779 Add sigaltstack-offsets.sym.
50780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50781 <sigaltstack-offsets.h>.
50782 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50783 longjmp_msg pointer.
50784 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50785 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50786 signal stack.
50787 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50788
50789 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50790
50791 * elf/stackguard-macros.h: Remove file.
50792 * sysdeps/generic/stackguard-macros.h: New file.
50793 * sysdeps/i386/stackguard-macros.h: Likewise.
50794 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50795 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50796 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50797 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50798 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50799 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50800 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50801 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50802 <elf/stackguard-macros.h>.
50803
50804 [BZ #14109]
50805 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50806 __aligned__ in attribute.
50807 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50808 (gregset_t): Likewise.
50809
50810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50811
50812 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50813 * sysdeps/x86_64/64/Implies-after: Here. New file.
50814 * sysdeps/x86_64/x32/Implies-after: New file.
50815
50816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50817
50818 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50819 and access return value for _dl_profile_fixup. Use R10_LP to
50820 load frame size.
50821
50822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50823
50824 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50825
50826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50827
50828 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50829 * sysdeps/x86_64/x32/sysdep.h: New file.
50830
50831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50832
50833 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50834 * sysdeps/x86_64/setjmp.S: Likewise.
50835
50836 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50837
50838 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50840 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50841 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50842 remove unused global constant.
50843
50844 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50845
50846 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50847 include of <not-cancel.h>.
50848
50849 2012-05-15 Roland McGrath <roland@hack.frob.com>
50850
50851 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50852
50853 2012-05-15 Jeff Law <law@redhat.com>
50854 Andreas Jaeger <aj@suse.de>
50855
50856 [BZ #13594]
50857 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50858 out from...
50859 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50860 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50861 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50862 code changing __hst_map_handle.map.
50863
50864 2012-05-15 Roland McGrath <roland@hack.frob.com>
50865
50866 * configure.in (sysnames): Look for Implies-before and Implies-after
50867 files.
50868 * configure: Regenerated.
50869
50870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50871
50872 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50873 8-byte data alignment with LP_SIZE alignment.
50874
50875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50876
50877 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50878 into R10_LP.
50879
50880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50881
50882 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50883
50884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50885
50886 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50887 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50889 Likewise.
50890 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50891
50892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50893
50894 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50895 (stackinfo_sub_sp): Likewise.
50896
50897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50898
50899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50900 RAX_LP.
50901
50902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50903
50904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50905 into R*_LP.
50906
50907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50908
50909 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50910 sizes into R*_LP.
50911
50912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50913
50914 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50915
50916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50917
50918 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50919 into R11_LP and load __x86_64_shared_cache_size_half into
50920 R8_LP.
50921
50922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50923
50924 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50925 R8_LP.
50926
50927 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50928
50929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50930 logb for POWER7.
50931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50932 logbf for POWER7.
50933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50934 logbl for POWER7.
50935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50936 powerpc32/power7/fpu/s_logb.c via #include.
50937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50938 powerpc32/power7/fpu/s_logbf.c via #include.
50939 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50940 powerpc32/power7/fpu/s_logbl.c via #include.
50941
50942 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50943
50944 * README.libm: Remove file.
50945
50946 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50947
50948 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50949 count for x32. Use R*_LP and omit operand-size suffix.
50950
50951 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50952
50953 * shlib-versions: Move x86_64-.*-linux.* entries to ...
50954 * sysdeps/x86_64/64/shlib-versions: Here. New file.
50955 * sysdeps/x86_64/x32/shlib-versions: New file.
50956
50957 2012-05-14 Roland McGrath <roland@hack.frob.com>
50958
50959 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50960 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50961 Use _dl_fatal_printf instead.
50962
50963 2012-05-14 Joseph Myers <joseph@codesourcery.com>
50964
50965 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50966 set if not set by the user. Do not allow for being unset.
50967 * sysdeps/unix/sysv/linux/configure: Regenerated.
50968
50969 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50970
50971 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50972 the `q' suffix from lea and replace .quad with ASM_ADDR.
50973
50974 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50975
50976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50977 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
50978 instead of $17.
50979 (PTR_DEMANGLE): Likewise.
50980
50981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50982
50983 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50984 (LP_OP): Likewise.
50985 (ASM_ADDR): Likewise.
50986 (RAX_LP): Likewise.
50987 (RBP_LP): Likewise.
50988 (RBX_LP): Likewise.
50989 (RCX_LP): Likewise.
50990 (RDI_LP): Likewise.
50991 (RSI_LP): Likewise.
50992 (RSP_LP): Likewise.
50993 (R8_LP): Likewise.
50994 (R9_LP): Likewise.
50995 (R10_LP): Likewise.
50996 (R10_LP): Likewise.
50997 (R11_LP): Likewise.
50998 (R12_LP): Likewise.
50999 (R13_LP): Likewise.
51000 (R14_LP): Likewise.
51001 (R15_LP): Likewise.
51002
51003 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51004
51005 * sysdeps/x86_64/x32/dl-machine.h: New file.
51006
51007 2012-05-14 Andreas Jaeger <aj@suse.de>
51008
51009 * manual/Makefile (subdir): Remove export of subdir.
51010 (all): Remove target.
51011 (.PHONY): Remove all from list.
51012 (mkinstalldirs): Remove.
51013 (.PHONY): Remove installdirs from list.
51014 ($(inst_infodir)/libc.info): Use make-target-directory.
51015 (installdirs): Remove.
51016 (subdir_%): Remove.
51017 (glibc-targets): Remove.
51018 (lib): Remove.
51019 (stubs): Remove.
51020 ($(objpfx)stubs ../po/manual.pot): Remove.
51021 ($(objpfx)stamp%): Remove.
51022 (make-target-directory): Remove.
51023 (subdir_install): Remove.
51024 (routines): Remove.
51025 (aux): Remove.
51026 (sources): Remove.
51027 (objects): Remove.
51028 (headers): Remove.
51029
51030 [BZ #13750]
51031 * manual/.gitignore: Remove, it's not needed anymore.
51032 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51033 all files in it.
51034 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51035 directory.
51036 (texis): Renamed to $(objpfx)texis.
51037 (texis-path): New, contains path to generated files.
51038 (chapters.%): Use texis-path for complete path, add extra argument
51039 libc-texinfo.sh.
51040 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51041 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51042 (summary,texi, stamp-summary): Use complete path of
51043 files. Generate files in build dir.
51044 (dir-add.texi): Build in build dir.
51045 (libm-err.texi,stamp-libm-err): Likewise.
51046 (version.texi, stamp-version): Likewise.
51047 (.%c.texi): Likewise.
51048 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51049 (mostlyclean): Remove target.
51050 (realclean): Remove target.
51051 (generated): Add new variable with contents from mostlyclean and
51052 realclean, remove entries duplicated in common-mostlyclean, add
51053 stamp-libm-err and stamp-version.
51054 (generated-dirs): Add libc directory.
51055 ($(inst_infodir)/libc.info): Install files from build dir.
51056
51057 * manual/install.texi (Configuring and compiling): Adjust since
51058 the info files are not part of the tar ball anymore.
51059
51060 2012-05-14 Andreas Jaeger <aj@suse.de>
51061
51062 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51063 variable.
51064
51065 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51066
51067 [BZ #13717]
51068 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51069 to 2.2.0 where earlier.
51070 * sysdeps/unix/sysv/linux/configure: Regenerated.
51071 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51072 Remove conditional code.
51073 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51074 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51075 Remove conditional code.
51076 [!__NR_lchown]: Likewise.
51077 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51078 [__NR_lchown]: Likewise.
51079 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51080 comment referencing __ASSUME_LCHOWN_SYSCALL.
51081 * sysdeps/unix/sysv/linux/i386/sigaction.c
51082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51084 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51085 Remove conditional code.
51086 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51087 (__protocol_available): Remove #if 0 code.
51088 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51089 conditional code.
51090 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51091 * sysdeps/unix/sysv/linux/kernel-features.h
51092 (__ASSUME_GETCWD_SYSCALL): Don't define.
51093 (__ASSUME_REALTIME_SIGNALS): Likewise.
51094 (__ASSUME_PREAD_SYSCALL): Likewise.
51095 (__ASSUME_PWRITE_SYSCALL): Likewise.
51096 (__ASSUME_POLL_SYSCALL): Likewise.
51097 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51098 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51099 non-SPARC.
51100 (__ASSUME_SIOCGIFNAME): Don't define.
51101 (__ASSUME_MSG_NOSIGNAL): Likewise.
51102 (__ASSUME_SENDFILE): Define unconditionally.
51103 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51104 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51105 conditional code.
51106 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51107 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51108 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51109 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51110 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51111 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51112 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51114 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51126 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51129 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51132 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51137 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51138 Remove conditional code.
51139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51140 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51141 Remove conditional code.
51142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51143 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51144 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51145 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51146 Remove conditional code.
51147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51148 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51149 Remove conditional code.
51150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51151 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51152 Remove conditional code.
51153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51154 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51155 Remove conditional code.
51156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51157 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51158 Remove conditional code.
51159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51160 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51163 * sysdeps/unix/sysv/linux/sigaction.c
51164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51166 * sysdeps/unix/sysv/linux/sigpending.c
51167 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51168 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51169 * sysdeps/unix/sysv/linux/sigprocmask.c
51170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51172 * sysdeps/unix/sysv/linux/sigsuspend.c
51173 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51174 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51175 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51176 (__libc_missing_rt_sigs): Remove.
51177 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51178 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51179 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51180 Remove conditional code.
51181 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51182 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51183 return 1.
51184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51185 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51186 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51187 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51188
51189 2012-05-14 Andreas Jaeger <aj@suse.de>
51190
51191 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51192 it's not used in glibc.
51193 (__coshm1): Likewise.
51194 (__acosh1p): Likewise.
51195 (__sgn): Likewise.
51196
51197 * manual/string.texi (Copying and Concatenation): Add missing
51198 variable in concat example.
51199 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51200
51201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51202
51203 [BZ #14103]
51204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51205 __builtin_clzl with __builtin_clzll.
51206
51207 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51208
51209 [BZ #14104]
51210 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51211 libc_freeres_ptr.
51212
51213 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51214
51215 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51216 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51217 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51218 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51219
51220 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51221
51222 * NEWS: Update ia64 info.
51223
51224 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51225
51226 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51227 used as bcopy.
51228
51229 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51230
51231 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51232 * sysdeps/unix/syscalls.list (dup3): Likewise.
51233 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51234 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51235
51236 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51237
51238 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51239 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51240
51241 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51242
51243 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51244 thread pointer.
51245 (TLS_IE): Use mov/add instead of movq/addq to load thread
51246 pointer.
51247 (TLS_GD_PREFIX): New.
51248 (TLS_GD): Use it.
51249
51250 2012-05-11 David S. Miller <davem@davemloft.net>
51251
51252 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51253 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51254 (_FPU_SETCW): Likewise.
51255
51256 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51257
51258 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51259 is 32-byte aligned.
51260
51261 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51262
51263 [BZ #11837]
51264 * iconvdata/gb18030.c: Update tables.
51265 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51266 characters specially.
51267 (BODY for TO_LOOP): Add encoding of missing ranges.
51268
51269 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51270
51271 [BZ #13673]
51272 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51273 * sysdeps/mach/hurd/dup3.c: Likewise.
51274 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51275 * sysdeps/powerpc/memmove.c:: Likewise.
51276
51277 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51278
51279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51280 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51281
51282 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51283
51284 * elf/elf.h (R_X86_64_RELATIVE64): New.
51285 (R_X86_64_NUM): Updated.
51286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51287 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51288 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51289 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51290 tst-quad1pie tst-quad2pie
51291 (modules-names): Add tst-quadmod1 tst-quadmod2.
51292 ($(objpfx)tst-quad1): New dependency.
51293 ($(objpfx)tst-quad2): Likewise.
51294 ($(objpfx)tst-quad1pie): Likewise.
51295 ($(objpfx)tst-quad2pie): Likewise.
51296 * sysdeps/x86_64/tst-quad1.c: New file.
51297 * sysdeps/x86_64/tst-quad1pie.c: New file.
51298 * sysdeps/x86_64/tst-quad2.c: Likewise.
51299 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51300 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51301 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51302 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51303 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51304
51305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51306
51307 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51308 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51309 * streams/stropts.h (t_scalar_t): Define type.
51310
51311 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51312 (_PATH_PRESERVE): Set to "/var/lib".
51313 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51314
51315 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51316 instead of int.
51317
51318 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51319 if __dir_mkfile succeeded.
51320
51321 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51322 checking for _hurd_dtablesize. Unlock it right after having
51323 finished _hurd_dtable allocation.
51324
51325 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51326
51327 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51328 * sysdeps/mach/hurd/configure: Regenerated.
51329 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51330 special-casing to...
51331 * sysdeps/gnu/configure.in: ... this new file.
51332 * sysdeps/unix/sysv/linux/configure: Regenerated.
51333 * sysdeps/gnu/configure: New generated file.
51334
51335 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51336 for Linux: use nsec instead of usec, as well as:
51337 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51338 members of type struct timespec.
51339 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51340 New macros.
51341 (struct stat64): Likewise.
51342 (_STATBUF_ST_NSEC): New macro.
51343 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51344
51345 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51346 __strtoul_internal rather than strtoul.
51347
51348 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51349
51350 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51351 and reject them.
51352
51353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51354
51355 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51356 which preserves existing values.
51357 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51358
51359 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51360
51361 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51362 TIMEOUT values. Return EINVAL for NFDS values either negative or
51363 greater than FD_SETSIZE.
51364
51365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51366
51367 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51368 allocated, call __vm_protect to finish enabling the existing space, and
51369 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51370 allocate the remainder.
51371
51372 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51373
51374 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51375 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51376
51377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51378
51379 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51380 sysdeps/mach/hurd/readlink.c.
51381
51382 * posix/tst-sysconf.c (posix_options): Only use
51383 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51384 _POSIX_SYNCHRONIZED_IO when they are defined
51385 * sysdeps/mach/hurd/bits/posix_opt.h:
51386 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51387 (_XOPEN_REALTIME): Undefine macro.
51388 (_XOPEN_REALTIME_THREADS): Undefine macro.
51389 (_XOPEN_SHM): Undefine macro.
51390 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51391 macro to -1.
51392 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51393 macro to -1.
51394 (_POSIX_ASYNC_IO): Undefine macro.
51395 (_POSIX_PRIORITIZED_IO): Undefine macro.
51396 (_POSIX_SPIN_LOCKS): Define macro to -1.
51397
51398 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51399 SA_NODEFER, SA_RESETHAND.
51400 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51401 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51402 F_DUPFD_CLOEXEC.
51403
51404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51405
51406 * elf/Makefile (pldd-modules): Define unconditionally.
51407
51408 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51409
51410 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51411
51412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51413
51414 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51415 Return ENOENT when name is empty.
51416 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51417
51418 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51419
51420 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51421
51422 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51423
51424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51425
51426 Fix mlock in all cases except non-readable pages.
51427 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51428 instead of VM_PROT_ALL as parameter to __vm_wire function.
51429
51430 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51431 (__mkdir): When path is `/', just fail with EEXIST.
51432 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51433
51434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51435
51436 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51437 <sys/uio.h> (for writev).
51438 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51439 and <sys/param.h> (for MIN).
51440
51441 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51442
51443 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51444 REQUESTED_TIME. Properly set the remaining time and return EINTR
51445 if interrupted.
51446
51447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51448
51449 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51450 Depend on against $(link-rpcuserlibs).
51451
51452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51453
51454 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51455 (__libc_stack_end): Do not use attribute_relro.
51456 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51457 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51458 to libthread-provided value.
51459 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51460 attribute_relro.
51461
51462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51463
51464 [BZ #3748]
51465 * bits/libc-lock.h (__libc_once_get): New macro.
51466 * sysdeps/mach/bits/libc-lock.h: Likewise.
51467 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51469 instead of using implementation details.
51470
51471 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51472 * libio/freopen.c: Likewise.
51473 * libio/freopen64.c: Likewise.
51474 * misc/syslog.c: Likewise.
51475 * nscd/connections.c: Likewise.
51476 * nscd/netgroupcache.c: Likewise.
51477 * sysdeps/posix/getcwd.c: Likewise.
51478
51479 2012-05-10 Roland McGrath <roland@hack.frob.com>
51480
51481 * math/w_ilogbf.c: Add #include <limits.h>.
51482
51483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51484
51485 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51486 path instead of returning without unlocking.
51487
51488 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51489 immediate-write ioctls.
51490 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51491
51492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51493
51494 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51495 __builtin_frame_address instead of making assumptions about the
51496 location of the return address relative to DATA. Force early load of
51497 the return address.
51498 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51499 __builtin_frame_address.
51500
51501 dup3 for GNU Hurd.
51502 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51503 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51504 implement dup3 and do some further code clean-ups.
51505 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51506 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51507
51508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51509
51510 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51511
51512 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51513 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51514 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51515 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51516 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51517 d->port.lock.
51518
51519 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51520 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51521 when handler == SIG_ERR, not when handler != SIG_ERR.
51522
51523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51524
51525 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51526 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51527 definitions.
51528
51529 accept4 for GNU Hurd.
51530 * include/sys/socket.h (__libc_accept4): New prototype.
51531 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51532 to implement __libc_accept4.
51533 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51534 __libc_accept4.
51535 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51536
51537 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51538 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51539 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51540 signal-defines.sym.
51541
51542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51543
51544 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51545
51546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51547
51548 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51549 assertion on O_CLOEXEC flag.
51550 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51551 * hurd/intern-fd.c: Likewise.
51552 * hurd/port2fd.c: Likewise.
51553
51554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51555
51556 [BZ #3906]
51557 * bits/in.h (IPV6_PKTINFO): Define new macro.
51558 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51559
51560 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51561
51562 [BZ #13954]
51563 [BZ #13955]
51564 [BZ #13956]
51565 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51567 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51568 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51570 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51571 * math/libm-test.inc (logb_test) : Additional logb tests.
51572
51573 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51574 Andreas Jaeger <aj@suse.de>
51575
51576 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51577 * configure: Regenerated.
51578 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51579 * config.make.in (link-obsolete-rpc): New substituted variable.
51580 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51581 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51582 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51583 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51584 so that libc.a contains the symbols.
51585 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51586 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51587 * sunrpc/auth_none.c: Likewise.
51588 * sunrpc/auth_unix.c: Likewise.
51589 * sunrpc/authdes_prot.c: Likewise.
51590 * sunrpc/authuxprot.c: Likewise.
51591 * sunrpc/clnt_gen.c: Likewise.
51592 * sunrpc/clnt_perr.c: Likewise.
51593 * sunrpc/clnt_raw.c: Likewise.
51594 * sunrpc/clnt_simp.c: Likewise.
51595 * sunrpc/clnt_tcp.c: Likewise.
51596 * sunrpc/clnt_udp.c: Likewise.
51597 * sunrpc/clnt_unix.c: Likewise.
51598 * sunrpc/des_crypt.c: Likewise.
51599 * sunrpc/des_soft.c: Likewise.
51600 * sunrpc/get_myaddr.c: Likewise.
51601 * sunrpc/key_call.c: Likewise.
51602 * sunrpc/key_prot.c: Likewise.
51603 * sunrpc/netname.c: Likewise.
51604 * sunrpc/pm_getmaps.c: Likewise.
51605 * sunrpc/pm_getport.c: Likewise.
51606 * sunrpc/pmap_clnt.c: Likewise.
51607 * sunrpc/pmap_prot.c: Likewise.
51608 * sunrpc/pmap_prot2.c: Likewise.
51609 * sunrpc/pmap_rmt.c: Likewise.
51610 * sunrpc/publickey.c: Likewise.
51611 * sunrpc/rpc_cmsg.c: Likewise.
51612 * sunrpc/rpc_common.c: Likewise.
51613 * sunrpc/rpc_dtable.c: Likewise.
51614 * sunrpc/rpc_prot.c: Likewise.
51615 * sunrpc/rpc_thread.c: Likewise.
51616 * sunrpc/rtime.c: Likewise.
51617 * sunrpc/svc.c: Likewise.
51618 * sunrpc/svc_auth.c: Likewise.
51619 * sunrpc/svc_raw.c: Likewise.
51620 * sunrpc/svc_run.c: Likewise.
51621 * sunrpc/svc_tcp.c: Likewise.
51622 * sunrpc/svc_udp.c: Likewise.
51623 * sunrpc/svc_unix.c: Likewise.
51624 * sunrpc/svcauth_des.c: Likewise.
51625 * sunrpc/xcrypt.c: Likewise.
51626 * sunrpc/xdr.c: Likewise.
51627 * sunrpc/xdr_array.c: Likewise.
51628 * sunrpc/xdr_float.c: Likewise.
51629 * sunrpc/xdr_intXX_t.c: Likewise.
51630 * sunrpc/xdr_mem.c: Likewise.
51631 * sunrpc/xdr_rec.c: Likewise.
51632 * sunrpc/xdr_ref.c: Likewise.
51633 * sunrpc/xdr_sizeof.c: Likewise.
51634 * sunrpc/xdr_stdio.c: Likewise.
51635
51636 2012-05-10 Roland McGrath <roland@hack.frob.com>
51637
51638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51639 change. Update copyright years.
51640
51641 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51642
51643 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51644
51645 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51646 Joseph Myers <joseph@codesourcery.com>
51647 Paul Pluzhnikov <ppluzhnikov@google.com>
51648
51649 [BZ #14012]
51650 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51651 requiring rpcgen.
51652 [cross-compiling] (extra-libs): Likewise.
51653 [cross-compiling] (extra-libs-others): Likewise.
51654 [cross-compiling] (librpcsvc-routines): Likewise.
51655 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51656 [cross-compiling] (omit-deps): Likewise.
51657 (sunrpc-CPPFLAGS): New variable.
51658 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51659 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51660 (cross-rpcgen-objs): New variable.
51661 (extra-objs): Append $(cross-rpcgen-objs).
51662 ($(cross-rpcgen-objs)): New rule.
51663 ($(objpfx)cross-rpcgen): Likewise.
51664 (rpcgen-cmd): Define to use $(built-program-file). Expand
51665 comment.
51666 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51667 ($(objpfx)x%.stmp): Likewise.
51668 * sunrpc/proto.h [IS_IN_build] (_): Define.
51669 [IS_IN_build] (_libc_intl_domainname): Likewise.
51670
51671 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51672
51673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51674 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51675 and R_X86_64_TPOFF64.
51676
51677 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51678
51679 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51680 sysdeps/unix/sysv/syscalls.list.
51681 (stime): Likewise.
51682 (utime): Likewise.
51683 * sysdeps/unix/sysv/syscalls.list: Remove file.
51684
51685 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51686
51687 [BZ #3440]
51688 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51689 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51690 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51691 (__LC_IDENTIFICATION): Make these macros useful in #if
51692 expressions, as required by C99.
51693
51694 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51695
51696 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51697 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51698 after this.
51699
51700 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51701
51702 * stdlib/longlong.h: Updated from GCC.
51703
51704 2012-05-09 Andreas Jaeger <aj@suse.de>
51705
51706 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51707 default is first entry.
51708 (run_mode): Set type.
51709 (main): Remove informal message about syslog.
51710 (options): Fix typo.
51711
51712 [BZ #14053]
51713 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51714 to asm.
51715 (lrint): Likewise.
51716 (llrintf): Likewise.
51717 (llrint): Likewise.
51718 (rint): Likewise.
51719 (rintf): Likewise.
51720 (nearbyint): Likewise.
51721 (nearbyintf): Likewise.
51722
51723 2012-05-09 Andreas Jaeger <aj@suse.de>
51724 Pedro Alves <palves@redhat.com>
51725
51726 * nscd/nscd.c (run_mode): Use enum.
51727 (main): Cleanup coding style issue.
51728
51729 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51730 Andreas Jaeger <aj@suse.de>
51731
51732 * nscd/nscd.c (go_background): Replaced with...
51733 (run_mode): ... this.
51734 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51735 (options): Add -F --foreground.
51736 (main): Implement it.
51737 (parse_opt): Parse it.
51738
51739 2012-05-09 Andreas Jaeger <aj@suse.de>
51740
51741 [BZ #14083]
51742 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51743 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51744 -Wconversion warning.
51745 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51746 Likewise.
51747
51748 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51749
51750 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51751 == 0.
51752 (LC_ALL): Use macro-int-constant.
51753 (LC_COLLATE): Likewise.
51754 (LC_CTYPE): Likewise.
51755 (LC_MESSAGES): Likewise.
51756 (LC_MONETARY): Likewise.
51757 (LC_NUMERIC): Likewise.
51758 (LC_TIME): Likewise.
51759 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51760 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51762 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51763 Specify type.
51764 [C99-based standards] (float_t): Expect type.
51765 [C99-based standards] (double_t): Expect type.
51766 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51767 type.
51768 [C99-based standards] (HUGE_VALL): Likewise.
51769 [C99-based standards] (INFINITY): Likewise.
51770 [C99-based standards] (NAN): Likewise.
51771 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51772 [C99-based standards] (FP_NAN): Likewise.
51773 [C99-based standards] (FP_NORMAL): Likewise.
51774 [C99-based standards] (FP_SUBNORMAL): Likewise.
51775 [C99-based standards] (FP_ZERO): Likewise.
51776 [C99-based standards] (FP_FAST_FMA): Use
51777 optional-macro-int-constant. Specify type. Require == 1.
51778 [C99-based standards] (FP_FAST_FMAF): Likewise.
51779 [C99-based standards] (FP_FAST_FMAL): Likewise.
51780 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51781 [C99-based standards] (FP_ILOGBNAN): Likewise.
51782 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51783 Specify type.
51784 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51785 [C99-based standards] (math_errhandling): Specify type.
51786 [ISO99 || ISO11] (signgam): Do not allow.
51787 [non-C99-based standards] (copysignf): Do not allow.
51788 [non-C99-based standards] (exp2f): Likewise.
51789 [non-C99-based standards] (log2f): Likewise.
51790 [non-C99-based standards] (modff): Allow.
51791 [non-C99-based standards] (erff): Do not allow.
51792 [non-C99-based standards] (erfcf): Likewise.
51793 [non-C99-based standards] (gammaf): Likewise.
51794 [non-C99-based standards] (hypotf): Likewise.
51795 [non-C99-based standards] (j0f): Likewise.
51796 [non-C99-based standards] (j1f): Likewise.
51797 [non-C99-based standards] (jnf): Likewise.
51798 [non-C99-based standards] (lgammaf): Likewise.
51799 [non-C99-based standards] (tgammaf): Likewise.
51800 [non-C99-based standards] (y0f): Likewise.
51801 [non-C99-based standards] (y1f): Likewise.
51802 [non-C99-based standards] (ynf): Likewise.
51803 [non-C99-based standards] (isnanf): Likewise.
51804 [non-C99-based standards] (acoshf): Likewise.
51805 [non-C99-based standards] (asinhf): Likewise.
51806 [non-C99-based standards] (atanhf): Likewise.
51807 [non-C99-based standards] (cbrtf): Likewise.
51808 [non-C99-based standards] (expm1f): Likewise.
51809 [non-C99-based standards] (ilogbf): Likewise.
51810 [non-C99-based standards] (log1pf): Likewise.
51811 [non-C99-based standards] (logbf): Likewise.
51812 [non-C99-based standards] (nextafterf): Likewise.
51813 [non-C99-based standards] (remainderf): Likewise.
51814 [non-C99-based standards] (rintf): Likewise.
51815 [non-C99-based standards] (scalbf): Likewise.
51816 [non-C99-based standards] (copysignl): Likewise.
51817 [non-C99-based standards] (exp2l): Likewise.
51818 [non-C99-based standards] (log2l): Likewise.
51819 [non-C99-based standards] (modfl): Allow.
51820 [non-C99-based standards] (erfl): Do not allow.
51821 [non-C99-based standards] (erfcl): Likewise.
51822 [non-C99-based standards] (gammal): Likewise.
51823 [non-C99-based standards] (hypotl): Likewise.
51824 [non-C99-based standards] (j0l): Likewise.
51825 [non-C99-based standards] (j1l): Likewise.
51826 [non-C99-based standards] (jnl): Likewise.
51827 [non-C99-based standards] (lgammal): Likewise.
51828 [non-C99-based standards] (tgammal): Likewise.
51829 [non-C99-based standards] (y0l): Likewise.
51830 [non-C99-based standards] (y1l): Likewise.
51831 [non-C99-based standards] (ynl): Likewise.
51832 [non-C99-based standards] (isnanl): Likewise.
51833 [non-C99-based standards] (acoshl): Likewise.
51834 [non-C99-based standards] (asinhl): Likewise.
51835 [non-C99-based standards] (atanhl): Likewise.
51836 [non-C99-based standards] (cbrtl): Likewise.
51837 [non-C99-based standards] (expm1l): Likewise.
51838 [non-C99-based standards] (ilogbl): Likewise.
51839 [non-C99-based standards] (log1pl): Likewise.
51840 [non-C99-based standards] (logbl): Likewise.
51841 [non-C99-based standards] (nextafterl): Likewise.
51842 [non-C99-based standards] (remainderl): Likewise.
51843 [non-C99-based standards] (rintl): Likewise.
51844 [non-C99-based standards] (scalbl): Likewise.
51845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51846 [non-C99-based standards] (FP_*): Do not allow.
51847 [C99-based standards] (FP_*): Change to
51848 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51849 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51850 allow.
51851 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51852 (SIG_ERR): Likewise.
51853 [X/Open-based standards] (SIG_HOLD): Likewise.
51854 (SIG_IGN): Likewise.
51855 (SIGABRT): Use macro-int-constant. Specify type. Require
51856 positive value.
51857 (SIGFPE): Likewise.
51858 (SIGILL): Likewise.
51859 (SIGINT): Likewise.
51860 (SIGSEGV): Likewise.
51861 (SIGTER): Likewise.
51862 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51863 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51864 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51865 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51866 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51867 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51868 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51869 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51870 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51871 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51872 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51873 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51874 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51875 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51876 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51877 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51878 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51879 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51880 [X/Open-based standards] (SIGTRAP): Likewise.
51881 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51882 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51883 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51884 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51885 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51886 allow.
51887
51888 2012-05-08 Ian Wienand <ianw@vmware.com>
51889
51890 [BZ #14080]
51891 * time/tzset.c (__tzset_parse_tz): Update default rules for
51892 daylight time changes in the Energy Policy Act of 2005.
51893
51894 2012-05-09 Andreas Jaeger <aj@suse.de>
51895
51896 [BZ #13983]
51897 * elf/ldconfig.c (parse_conf): Change string to make clear that
51898 ldconfig only issued a warning if ld.so.conf does not exist.
51899
51900 2012-05-08 David S. Miller <davem@davemloft.net>
51901
51902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51903 movxtod instead of popping the value on the stack.
51904
51905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51906
51907 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
51908
51909 * config.h.in: Add HAVE_ARM_PCS_VFP.
51910
51911 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
51912
51913 [BZ #13979]
51914 * include/features.h: Warn if user requests __FORTIFY_SOURCE
51915 checking but the checks are disabled for any reason.
51916
51917 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
51918
51919 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51920 and ELF64_R_TYPE with ELFW(R_TYPE).
51921
51922 2012-05-08 Joseph Myers <joseph@codesourcery.com>
51923
51924 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51925 (ulimit): Likewise.
51926
51927 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51928 (settimeofday): Likewise.
51929
51930 2012-05-08 Mike Frysinger <vapier@gentoo.org>
51931
51932 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
51933 a struct th_u2 inside the union, and move tu_block/tu_code into
51934 a new th_u3 union of tu_block/tu_code inside of that. Move
51935 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
51936 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
51937 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51938 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51939 (th_stuff): Change to th_u1.tu_stuff.
51940 (th_data): Define.
51941 (th_msg): Change to th_u1.th_u2.tu_data.
51942
51943 2012-05-07 David S. Miller <davem@davemloft.net>
51944
51945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51946
51947 [BZ #14074]
51948 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51949 (SETUP_PIC_REG): Use it.
51950 (SETUP_PIC_REG_LEAF): Use it.
51951
51952 2012-05-07 Joseph Myers <joseph@codesourcery.com>
51953
51954 [BZ #13885]
51955 [BZ #13923]
51956 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51957 USE_AS_EXPM1L.
51958 (EXPL_FINITE): Likewise.
51959 (FLDLOG): Likewise.
51960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51961 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51962 e_expl.S.
51963 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51964 USE_AS_EXPM1L.
51965 (EXPL_FINITE): Likewise.
51966 (FLDLOG): Likewise.
51967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51968 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51969 e_expl.S.
51970 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
51971 test of -max_value argument for long double.
51972 * sysdeps/i386/fpu/libm-test-ulps: Update.
51973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51974
51975 2012-05-06 David S. Miller <davem@davemloft.net>
51976
51977 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51978 quad soft-float symbols whose references which are compiler
51979 generated.
51980 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51981
51982 2012-05-06 Joseph Myers <joseph@codesourcery.com>
51983
51984 [BZ #13884]
51985 [BZ #13914]
51986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51987 USE_AS_EXP10L.
51988 (EXPL_FINITE): Likewise.
51989 (FLDLOG): Likewise.
51990 (c0): Likewise.
51991 (c1): Likewise.
51992 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
51993 Adjust comments for base varying.
51994 (__expl_finite): Change alias to EXPL_FINITE.
51995 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51996 e_expl.S.
51997 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51998 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51999 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52000 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52002 USE_AS_EXP10L.
52003 (EXPL_FINITE): Likewise.
52004 (FLDLOG): Likewise.
52005 (c0): Likewise.
52006 (c1): Likewise.
52007 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52008 Adjust comments for base varying.
52009 (__expl_finite): Change alias to EXPL_FINITE.
52010 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52011 tests for bugs.
52012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52013
52014 [BZ #14064]
52015 * math/libm-test.inc (check_float_internal): Correct ulp
52016 calculation for subnormal expected results.
52017
52018 2012-05-06 Andreas Jaeger <aj@suse.de>
52019
52020 * Makeconfig (+math-flags): New, set to -frounding-math.
52021 (+cflags): Add +math-flags so that all of glibc gets compiled with
52022 it.
52023
52024 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52025
52026 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52027
52028 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52029 Disable one test.
52030
52031 [BZ #13787]
52032 [BZ #13922]
52033 [BZ #14036]
52034 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52035 (__ieee754_expl): Allow for and saturate large arguments.
52036 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52037 (u_threshold): Likewise.
52038 (__exp): Call __ieee754_exp before checking for overflow and
52039 underflow.
52040 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52041 (u_threshold): Likewise.
52042 (__expf): Call __ieee754_expf before checking for overflow and
52043 underflow.
52044 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52045 (u_threshold): Likewise.
52046 (__expl): Call __ieee754_expl before checking for overflow and
52047 underflow.
52048 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52049 (__ieee754_expl): Allow for and saturate large arguments.
52050 * math/libm-test.inc (exp_test): Add another test. Do not allow
52051 missing overflow exception on overflow.
52052 (expm1_test): Do not allow missing overflow exception on overflow.
52053
52054 * sysdeps/i386/fpu/e_expl.c: Move to ...
52055 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52056 rather than using inline asm.
52057 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52058 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52059 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52060
52061 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52062 (nice): Likewise.
52063 (poll): Likewise.
52064 (signal): Likewise.
52065 (time): Likewise.
52066 (times): Likewise.
52067
52068 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52069
52070 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52071 sysdeps/unix/common/syscalls.list.
52072 (fchmod): Likewise.
52073 (fchown): Likewise.
52074 (ftruncate): Likewise.
52075 (getrusage): Likewise.
52076 (gettimeofday): Likewise.
52077 (setpgid): Likewise.
52078 (setregid): Likewise.
52079 (setreuid): Likewise.
52080 (sigaction): Likewise.
52081 (truncate): Likewise.
52082 (vhangup): Likewise.
52083 * sysdeps/unix/common/syscalls.list: Remove file.
52084 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52085 * sysdeps/unix/sysv/linux/Implies: Likewise.
52086
52087 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52088
52089 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52091 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52092 Moved to ...
52093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52094 Here.
52095 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52096 to ...
52097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52098 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52099 to ...
52100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52101 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52102 to ...
52103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52104 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52105 to ...
52106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52107 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52108 to ...
52109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52110 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52111 to ...
52112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52113 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52114 to ...
52115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52116 Here.
52117 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52118 to ...
52119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52120 Here.
52121 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52122 to ...
52123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52124 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52125 Moved to ...
52126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52127 Here.
52128 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52129 to ...
52130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52131
52132 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52133
52134 * sysdeps/unix/common/bits/dirent.h: Remove file.
52135 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52136
52137 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52138 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52139 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52140 * sysdeps/unix/bsd/isatty.c: Likewise.
52141 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52142 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52143 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52144
52145 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52146
52147 [BZ #13563]
52148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52149 long double comparison inaccuracies.
52150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52152
52153 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52154
52155 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52157
52158 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52159
52160 [BZ #14049]
52161 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52162 nonzero digits before rounding a hex value.
52163 * stdlib/tst-strtod.c (tests): Add another test.
52164
52165 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52166
52167 * sysdeps/s390/fpu/libm-test-ulps: Update.
52168
52169 2012-05-03 Andreas Jaeger <aj@suse.de>
52170
52171 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52172 does not get optimized out.
52173 (malloc_opt_barrier): New.
52174
52175 2012-05-03 Andreas Jaeger <aj@suse.de>
52176 Roland McGrath <roland@hack.frob.com>
52177
52178 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52179 intermediate file deletion.
52180 (generated): Add .symlist files.
52181
52182 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52183
52184 [BZ #13775]
52185 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52186 Redirect under this condition.
52187 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52188 [__USE_GNU] (__dprintf_chk): Not under this condition.
52189 [__USE_GNU] (__vdprintf_chk): Likewise.
52190 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52191 under this condition.
52192 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52193 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52194 [__USE_XOPEN2K8] (vdprintf): Likewise.
52195 [__USE_GNU] (__dprintf_chk): Not under this condition.
52196 [__USE_GNU] (__vdprintf_chk): Likewise.
52197 [__USE_GNU] (dprintf): Likewise.
52198 [__USE_GNU] (vdprintf): Likewise.
52199
52200 2012-05-03 Roland McGrath <roland@hack.frob.com>
52201
52202 * elf/Makefile (common-generated): Set this instead of generated for
52203 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52204 $(all-built-dso)-derived lists.
52205
52206 2012-05-03 Andreas Jaeger <aj@suse.de>
52207
52208 * sysdeps/i386/fpu/libm-test-ulps: Update.
52209
52210 * FAQ: Removed.
52211 * FAQ.in: Likewise.
52212 * scripts/gen-FAQ.pl: Likewise.
52213 * manual/install.texi (Installation): Point to online location of
52214 FAQ.
52215 * Makefile (files-for-dist): Remove FAQ.
52216 (FAQ): Remove.
52217
52218 2012-05-02 Allan McRae <allan@archlinux.org>
52219
52220 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52221 (LDFLAGS-reldepmod5.so): Likewise.
52222 (LDFLAGS-reldep6mod1.so): Likewise.
52223 (LDFLAGS-reldep6mod4.so): Likewise.
52224 (LDFLAGS-reldep8mod3.so): Likewise.
52225 (LDFLAGS-unload4mod1.so): Likewise.
52226 (LDFLAGS-unload4mod2.so): Likewise.
52227 (LDFLAGS-tst-initorder): Likewise.
52228 (LDFLAGS-tst-initordera2.so): Likewise.
52229 (LDFLAGS-tst-initordera3.so): Likewise.
52230 (LDFLAGS-tst-initordera4.so): Likewise.
52231 (LDFLAGS-tst-initorderb2.so): Likewise.
52232 (LDFLAGS-noload): Likewise.
52233 (LDFLAGS-next): Likewise.
52234 (LDFLAGS-order2mod1.so): Likewise.
52235 (LDFLAGS-order2mod2.so): Likewise.
52236 (LDFLAGS-tst-initorder2): Likewise.
52237 (LDFLAGS-tst-initorder2a.so): Likewise.
52238 (LDFLAGS-tst-initorder2b.so): Likewise.
52239 (LDFLAGS-tst-initorder2c.so): Likewise.
52240 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52241
52242 2012-05-02 David S. Miller <davem@davemloft.net>
52243
52244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52245
52246 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52247
52248 [BZ #14055]
52249 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52250
52251 2012-05-02 Andreas Jaeger <aj@suse.de>
52252
52253 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52254 since we manipulate rounding mode.
52255 (CPPFLAGS-test-idouble.c): Likewise.
52256 (CPPFLAGS-test-ifloat.c): Likewise.
52257 (CFLAGS-test-ldouble.c): Likewise.
52258 (CFLAGS-test-double.c): Likewise.
52259 (CFLAGS-test-float.c): Likewise.
52260 (CFLAGS-test-misc.c): Likewise.
52261 (CFLAGS-test-test-fenv.c): Likewise.
52262
52263 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52264
52265 [BZ #2550]
52266 [BZ #2570]
52267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52268 comparisons to determine direction to adjust input.
52269
52270 2012-05-01 Roland McGrath <roland@hack.frob.com>
52271
52272 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52273 output to the target.
52274
52275 * scripts/localplt.awk: New file.
52276 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52277 (check-localplt-CFLAGS): Variable removed.
52278 ($(all-built-dso:=.jmprel)): New static pattern rule.
52279 (generated): Add those targets.
52280 (localplt-built-dso): New variable.
52281 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52282
52283 * elf/check-localplt.c: File removed.
52284
52285 * scripts/check-execstack.awk: New file.
52286 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52287 (check-execstack-CFLAGS): Variable removed.
52288 ($(objpfx)check-execstack.h): Target removed.
52289 ($(objpfx)execstack-default): New target.
52290 (generated): Add that instead of check-execstack.h.
52291 ($(all-built-dso:=.phdr)): New static pattern rule.
52292 (generated): Add those targets.
52293 * elf/check-execstack.c: File removed.
52294
52295 * scripts/check-textrel.awk: New file.
52296 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52297 (check-textrel-CFLAGS): Variable removed.
52298 (all-built-dso): Use := to define.o
52299 ($(all-built-dso:=.dyn)): New static pattern rule.
52300 (generated): Add those targets.
52301 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52302 * config.make.in (READELF): New substituted variable.
52303 * elf/check-textrel.c: File removed.
52304
52305 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52306
52307 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52308 allow.
52309 * conform/data/ctype.h-data [C99-based standards] (isblank):
52310 Expect function.
52311 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52312 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52314 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52315 Specify type. Require positive value.
52316 (EILSEQ): Likewise.
52317 (ERANGE): Likewise.
52318 [ISO || POSIX] (EILSEQ): Do not expect.
52319 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52320 Specify type. Require positive value.
52321 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52322 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52323 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52324 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52325 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52326 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52327 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52328 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52329 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52330 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52331 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52332 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52333 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52334 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52335 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52336 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52337 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52338 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52339 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52340 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52341 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52342 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52343 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52344 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52345 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52346 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52347 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52348 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52349 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52350 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52351 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52352 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52353 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52354 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52355 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52356 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52357 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52358 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52359 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52360 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52361 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52362 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52363 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52364 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52365 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52366 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52367 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52368 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52369 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52370 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52371 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52372 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52373 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52374 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52375 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52376 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52377 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52378 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52379 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52380 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52381 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52382 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52383 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52384 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52385 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52386 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52387 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52388 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52389 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52390 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52391 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52392 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52393 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52394 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52395 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52396 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52397 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52398 Require >= 2.
52399 (FLT_ROUNDS): Expect as macro, not constant.
52400 (FLT_MANT_DIG): Use macro-int-constant.
52401 (DBL_MANT_DIG): Likewise.
52402 (LDBL_MANT_DIG): Likewise.
52403 (FLT_DIG): Likewise.
52404 (DBL_DIG): Likewise.
52405 (LDBL_DIG): Likewise.
52406 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52407 (DBL_MIN_EXP): Likewise.
52408 (LDBL_MIN_EXP): Likewise.
52409 (FLT_MAX_EXP): Use macro-int-constant.
52410 (DBL_MAX_EXP): Likewise.
52411 (LDBL_MAX_EXP): Likewise.
52412 (FLT_MAX_10_EXP): Likewise.
52413 (DBL_MAX_10_EXP): Likewise.
52414 (LDBL_MAX_10_EXP): Likewise.
52415 (FLT_MAX): Use macro-constant.
52416 (DBL_MAX): Likewise.
52417 (LDBL_MAX): Likewise.
52418 (FLT_EPSILON): Use macro-constant. Give upper bound.
52419 (DBL_EPSILON): Likewise.
52420 (LDBL_EPSILON): Likewise.
52421 (FLT_MIN): Likewise.
52422 (DBL_MIN): Likewise.
52423 (LDBL_MIN): Likewise.
52424 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52425 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52426 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52427 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52428 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52429 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52430 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52431 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52432 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52433 [ISO11] (FLT_TRUE_MIN): Likewise.
52434 [ISO11] (LDBL_TRUE_MIN): Likewise.
52435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52436 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52437 (SCHAR_MIN): Use macro-int-constant. Specify type.
52438 (SCHAR_MAX): Likewise.
52439 (UCHAR_MAX): Likewise.
52440 (CHAR_MIN): Likewise.
52441 (CHAR_MAX): Likewise.
52442 (MB_LEN_MAX): Use macro-int-constant.
52443 (SHRT_MIN): Use macro-int-constant. Specify type.
52444 (SHRT_MAX): Likewise.
52445 (USHRT_MAX): Likewise.
52446 (INT_MAX): Likewise.
52447 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52448 bound negative.
52449 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52450 bound with "U".
52451 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52452 bound with "L".
52453 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52454 bound negative. Suffix upper bound with "L".
52455 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52456 bound with "UL".
52457 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52458 Specify type.
52459 [C99-based standards] (LLONG_MAX): Likewise.
52460 [C99-based standards] (ULLONG_MAX): Likewise.
52461 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52462 == 0.
52463 [ISO11] (max_align_t): Require type.
52464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52465
52466 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52467 from $CFLAGS, without defining away __attribute__ calls.
52468 (checknamespace): Use $CFLAGS_namespace.
52469
52470 * conform/conformtest.pl (@keywords): Only include C99 keywords
52471 for standards based on C99 or C11.
52472
52473 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52474 Disable tests.
52475 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52476 UNIX98]: Likewise.
52477
52478 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52479 usability of symbols in #if.
52480
52481 * conform/conformtest.pl: If macro or constant types start
52482 "promoted:", expect the symbol to be of the following type
52483 promoted by the integer promotions.
52484
52485 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52486 in one place. Also handle "macro-constant".
52487
52488 * conform/conformtest.pl: Only accept expected macro values with
52489 "==". Parse all "macro" lines in one place.
52490 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52491
52492 * conform/conformtest.pl: Handle braced types on "constant" lines
52493 instead of handling "typed-constant".
52494 * conform/data/signal.h-data: Use "constant" instead of
52495 "typed-constant".
52496
52497 * conform/conformtest.pl: Handle "optional-" at start of lines in
52498 one place rather than duplicating several cases. Handle each
52499 format of "macro" line with initial "optional-".
52500
52501 * conform/conformtest.pl: Only accept expected constant or
52502 optional-constant values with "==". Parse all "constant" lines in
52503 one place. Parse all "optional-constant" lines in one place.
52504 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52505 * conform/data/fmtmsg.h-data: Likewise.
52506 * conform/data/netinet/in.h-data: Likewise.
52507 * conform/data/tar.h-data: Likewise.
52508 * conform/data/limits.h-data: Use "==" form on "constant" and
52509 "optional-constant" lines.
52510
52511 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52512 Use -std=c99 for XOPEN2K.
52513 (@knownproblems): Remove.
52514 (newtoken): Don't check %isknown.
52515
52516 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52517 Do not expect macro.
52518 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52519 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52520 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52521 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52522 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52523 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52524 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52525 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52526 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52527 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52528 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52529 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52530 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52531 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52532 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52533 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52534 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52535 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52536 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52537 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52538 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52540 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52541 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52542 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52543 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52544 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52545 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52546 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52547 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52548 [XPG3] (acosh): Likewise.
52549 [XPG3] (asinh): Likewise.
52550 [XPG3] (atanh): Likewise.
52551 [XPG3] (cbrt): Likewise.
52552 [XPG3] (expm1): Likewise.
52553 [XPG3] (ilogb): Likewise.
52554 [XPG3] (log1p): Likewise.
52555 [XPG3] (logb): Likewise.
52556 [XPG3] (nextafter): Likewise.
52557 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52558 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52559 [XPG3] (remainder): Likewise.
52560 [XPG3] (rint): Likewise.
52561 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52562 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52563 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52564 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52565 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52566 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52567 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52568 [UNIX98 || XOPEN2K] (scalb): Expect.
52569 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52570 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52571 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52572 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52573 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52574 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52575 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52576 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52577 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52578 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52579 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52580 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52581 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52582 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52583 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52584 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52585 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52586 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52587 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52588 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52589 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52590 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52591 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52592 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52593 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52594 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52595 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52596 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52597 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52598 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52599 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52600 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52601 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52602 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52603 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52604 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52605 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52606 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52607 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52608 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52609 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52610 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52611 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52612 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52613 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52614 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52615 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52616 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52617 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52618 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52619 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52620 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52621 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52622 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52623 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52624 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52625 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52626 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52627 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52628 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52629 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52630 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52631 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52632 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52633 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52634 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52635 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52636 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52637 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52638 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52639 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52640 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52641 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52642 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52643 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52644 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52645 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52646 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52647 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52648 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52649 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52650 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52651 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52652 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52653 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52654 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52655 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52656 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52657 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52658 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52659 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52660 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52661 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52662 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52663 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52664 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52665 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52666 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52667 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52668 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52669 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52670 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52671 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52672 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52673 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52674 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52675 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52676 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52677 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52678 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52679 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52680 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52681 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52682 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52683 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52684 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52685 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52686 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52687 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52688 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52689 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52690 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52691 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52692 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52693 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52694 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52695 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52696 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52697 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52698 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52699 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52700 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52701 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52702 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52703 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52704 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52705 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52706
52707 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52708 _XOPEN_SOURCE_EXTENDED for XPG4.
52709
52710 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52711
52712 * Makeconfig (localtime): Remove variable.
52713 (inst_localtime-file): Likewise.
52714
52715 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52716
52717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52718 Update.
52719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52720 Update.
52721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52722 Update.
52723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52724 Update.
52725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52726 Update.
52727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52728 Update.
52729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52730 Update.
52731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52732 Update.
52733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52734 Update.
52735
52736 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52737
52738 [BZ #2550]
52739 [BZ #2570]
52740 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52741 comparisons to determine direction to adjust input.
52742 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52743 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52745 Likewise.
52746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52747 Likewise.
52748 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52749 Likewise.
52750 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52751 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52752 Likewise.
52753 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52754 Likewise.
52755 * math/libm-test.inc (nexttoward_test): Add more tests.
52756
52757 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52758
52759 [BZ #14040]
52760 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52761 in version GLIBC_2.1, not GLIBC_2.0.
52762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52763 Likewise.
52764
52765 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52766
52767 [BZ #13942]
52768 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52769 (1 - x) * (1 + x).
52770 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52771 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52772 * math/libm-test.inc (acos_test): Add more tests.
52773 (asin_test): Likewise.
52774 * sysdeps/i386/fpu/libm-test-ulps: Update.
52775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52776
52777 [BZ #14034]
52778 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52779 of square root.
52780 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52781 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52782 * math/libm-test.inc (acos_test_tonearest): New function.
52783 (acos_test_towardzero): Likewise.
52784 (acos_test_downward): Likewise.
52785 (acos_test_upward): Likewise.
52786 (asin_test_tonearest): Likewise.
52787 (asin_test_towardzero): Likewise.
52788 (asin_test_downward): Likewise.
52789 (asin_test_upward): Likewise.
52790 (main): Call the new functions.
52791 * sysdeps/i386/fpu/libm-test-ulps: Update.
52792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52793
52794 [BZ #13884]
52795 [BZ #13924]
52796 * math/e_exp10.c: Include <float.h>.
52797 (__ieee754_exp10): Handle underflow here rather than multiplying
52798 large negative argument by M_LN10.
52799 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52800 of __ieee754_expf.
52801 * math/e_exp10l.c: Include <float.h>.
52802 (__ieee754_exp10l): Handle underflow here rather than multiplying
52803 large negative argument by M_LN10l.
52804 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52805 spurious overflow exception on underflow.
52806
52807 2012-04-29 Marek Polacek <polacek@redhat.com>
52808
52809 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52810 (__fortify_function): New macro.
52811 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52812 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52813 __extern_always_inline.
52814 * libio/bits/stdio2.h: Likewise.
52815 * libio/bits/stdio.h: Likewise.
52816 * string/string.h: Likewise.
52817 * string/bits/string3.h: Likewise.
52818 * include/stdio.h: Likewise.
52819 * stdlib/bits/stdlib.h: Likewise.
52820 * stdlib/stdlib.h: Likewise.
52821 * rt/bits/mqueue2.h: Likewise.
52822 * rt/mqueue.h: Likewise.
52823 * posix/bits/unistd.h: Likewise.
52824 * posix/unistd.h: Likewise.
52825 * io/bits/poll2.h: Likewise.
52826 * io/bits/fcntl2.h: Likewise.
52827 * io/fcntl.h: Likewise.
52828 * io/sys/poll.h: Likewise.
52829 * misc/bits/syslog.h: Likewise.
52830 * misc/bits/syslog-ldbl.h: Likewise.
52831 * misc/sys/syslog.h: Likewise.
52832 * socket/bits/socket2.h: Likewise.
52833 * socket/sys/socket.h: Likewise.
52834 * debug/tst-chk1.c: Likewise.
52835 * wcsmbs/bits/wchar2.h: Likewise.
52836 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52837 * wcsmbs/wchar.h: Likewise.
52838
52839 2012-04-29 Andreas Jaeger <aj@suse.de>
52840
52841 * Makerules (tests): Remove enable-check-abi protection.
52842 (check-abi-warn): Remove.
52843 (check-abi-%): Remove check-abi-warn usage.
52844
52845 * configure.in: Remove check-abi configure option.
52846 * configure: Regenerated.
52847 * config.make.in (enable-check-abi): Remove.
52848
52849 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52850
52851 [BZ #14033]
52852 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52853 double functions to double *_finite functions.
52854
52855 [BZ #13941]
52856 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52857 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52858 LDBL_MIN_EXP.
52859 * stdio-common/Makefile (tests): Add tst-sprintf3.
52860 * stdio-common/tst-sprintf3.c: New file.
52861
52862 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52863 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52864
52865 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52866
52867 * conform/conformtest.pl: Remove duplicate typed-constant
52868 handling.
52869
52870 2012-04-28 David S. Miller <davem@davemloft.net>
52871
52872 * Makerules (%.abilist): Add vpath on sysdep_dirs.
52873 (check-abi-%): Remove AWK script prerequisite and explicit
52874 abilist directory.
52875 (check-abi): Rewrite to just diff the symlist with the abilist.
52876 (config-tls, config-abi-config): Delete, no longer used.
52877 (update-abi-%): Remove AWK script and explicit abilist directory.
52878 (update-abi): Rewrite to simply compare and conditionally copy the
52879 symlist and the sysdep abilist file. Remove update-abi-config
52880 checks.
52881 * abilist/ld.abilist: Remove.
52882 * abilist/libBrokenLocale.abilist: Remove.
52883 * abilist/libanl.abilist: Remove.
52884 * abilist/libcrypt.abilist: Remove.
52885 * abilist/libdl.abilist: Remove.
52886 * abilist/librt.abilist: Remove.
52887 * abilist/libthread_db.abilist: Remove.
52888 * abilist/libutil.abilist: Remove.
52889 * scripts/extract-abilist.awk: Remove.
52890 * scripts/merge-abilist.awk: Remove.
52891 * sysdeps/generic/libcidn.abilist: New file.
52892 * sysdeps/generic/libnss_compat.abilist: New file.
52893 * sysdeps/generic/libnss_db.abilist: New file.
52894 * sysdeps/generic/libnss_dns.abilist: New file.
52895 * sysdeps/generic/libnss_files.abilist: New file.
52896 * sysdeps/generic/libnss_hesiod.abilist: New file.
52897 * sysdeps/generic/libnss_nis.abilist: New file.
52898 * sysdeps/generic/libnss_nisplus.abilist: New file.
52899 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52900 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52901 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52902 file.
52903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52904 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52905 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52906 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52907 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52908 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52909 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52910 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52911 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52912 file.
52913 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52914 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52915 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52916 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52917 file.
52918 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52919 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52920 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52921 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52922 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52923 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52924 file.
52925 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52926 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52927 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52928 file.
52929 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52931 New file.
52932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52933 New file.
52934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52935 New file.
52936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52937 New file.
52938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52939 New file.
52940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52941 New file.
52942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52943 New file.
52944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52945 New file.
52946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52947 New file.
52948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52949 New file.
52950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52951 New file.
52952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52953 New file.
52954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52955 New file.
52956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52957 file.
52958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52959 New file.
52960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52961 New file.
52962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52963 file.
52964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52965 New file.
52966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52967 New file.
52968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52969 file.
52970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52971 New file.
52972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52973 New file.
52974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52975 New file.
52976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52977 New file.
52978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52979 New file.
52980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52981 New file.
52982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52984 file.
52985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52986 New file.
52987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52988 file.
52989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52990 file.
52991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52992 file.
52993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52994 file.
52995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52996 file.
52997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52998 New file.
52999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53000 file.
53001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53002 file.
53003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53004 New file.
53005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53006 file.
53007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53009 file.
53010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53011 New file.
53012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53013 file.
53014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53015 file.
53016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53017 file.
53018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53019 file.
53020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53021 file.
53022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53023 New file.
53024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53025 file.
53026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53027 file.
53028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53029 New file.
53030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53031 file.
53032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53033 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53034 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53035 file.
53036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53037 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53038 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53039 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53040 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53041 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53042 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53043 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53044 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53045 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53048 file.
53049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53050 New file.
53051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53052 file.
53053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53054 file.
53055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53056 file.
53057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53058 file.
53059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53060 file.
53061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53062 New file.
53063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53064 New file.
53065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53066 file.
53067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53068 New file.
53069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53070 file.
53071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53073 file.
53074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53075 New file.
53076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53077 file.
53078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53079 file.
53080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53081 file.
53082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53083 file.
53084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53085 file.
53086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53087 New file.
53088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53089 New file.
53090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53091 file.
53092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53093 New file.
53094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53095 file.
53096
53097 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53098
53099 * conform/conformtest.pl: Fix typo in handling typed-constant from
53100 allow-header.
53101
53102 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53103
53104 * README: Cut down references to pre-2.6 Linux kernels and
53105 Linuxthreads. Update lists of configurations in libc and ports
53106 and sort alphabetically. Say "or newer" with Linux kernel version
53107 requirements.
53108
53109 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53110
53111 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53112
53113 [BZ #887]
53114 * math/libm-test.inc (logb_test_downward): New test to expose
53115 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53116 rounding mode.
53117
53118 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53119
53120 [BZ #14027]
53121 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53122 to be done.
53123 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53124 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53125
53126 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53127
53128 * sysdeps/unix/i386/brk.S: Remove file.
53129 * sysdeps/unix/i386/dl-brk.S: Likewise.
53130 * sysdeps/unix/i386/pipe.S: Likewise.
53131 * sysdeps/unix/i386/sigreturn.S: Likewise.
53132 * sysdeps/unix/i386/syscall.S: Likewise.
53133 * sysdeps/unix/i386/vfork.S: Likewise.
53134 * sysdeps/unix/i386/wait.S: Likewise.
53135
53136 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53137 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53138
53139 * configure.in (arm*-none*): Do not allow without
53140 --enable-hacker-mode.
53141 (netbsd*): Remove case setting base_os.
53142 (386bsd*): Likewise.
53143 (freebsd*): Likewise.
53144 (bsdi*): Likewise.
53145 (osf*): Likewise.
53146 (sunos*): Likewise.
53147 (ultrix*): Likewise.
53148 (newsos*): Likewise.
53149 (dynix*): Likewise.
53150 (*bsd*): Likewise.
53151 (sysv*): Likewise.
53152 (isc*): Likewise.
53153 (esix*): Likewise.
53154 (sco*): Likewise.
53155 (minix*): Likewise.
53156 (irix4*): Likewise.
53157 (irix6*): Likewise.
53158 (solaris[2-9]*): Likewise.
53159 (none): Likewise.
53160 * configure: Regenerated.
53161
53162 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53163
53164 [BZ #11521]
53165 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53166 overflow or cancellation in calculating denominator.
53167 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53169 down expression to avoid unexpected rounding in newer GCCs.
53170 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53171
53172 2012-04-26 David S. Miller <davem@davemloft.net>
53173
53174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53175 long-double compat symbols.
53176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53189
53190 2012-04-25 David S. Miller <davem@davemloft.net>
53191
53192 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53193 HWCAP_* values only after the memory barriers have been defined.
53194 (atomic_full_barrier): Define.
53195 (atomic_read_barrier): Define.
53196 (atomic_write_barrier): Define.
53197
53198 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53199
53200 * shlib-versions: Add libgcc_s version information.
53201 * sysdeps/generic/libgcc_s.h: Remove.
53202 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53203 libgcc_s.h.
53204 * sysdeps/gnu/unwind-resume.c: Likewise.
53205 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53206
53207 2012-04-25 David S. Miller <davem@davemloft.net>
53208
53209 * sysdeps/unix/sparc/brk.S: Delete.
53210 * sysdeps/unix/sparc/dl-brk.S: Delete.
53211 * sysdeps/unix/sparc/pipe.S: Delete.
53212 * sysdeps/unix/sparc/sysdep.S: Delete.
53213 * sysdeps/unix/sparc/sysdep.h: Delete.
53214 * sysdeps/unix/sparc/vfork.S: Delete.
53215 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53216 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53217 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53218 (ret_ERRVAL, r0, r1, MOVE): Define.
53219 (JUMPTARGET): Remove.
53220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53221 sysdeps/unix/sparc/sysdep.h
53222 (ENTRY, END): Remove.
53223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53224
53225 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53226
53227 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53228 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53229 -DIS_IN_build.
53230
53231 * timezone/README: Update upstream location and email address for
53232 tzcode and tzdata.
53233 * timezone/zdump.c: Update from tzcode 2012b.
53234 * timezone/zic.c: Likewise.
53235
53236 * configure.in (libc_cv_as_needed): Remove test.
53237 * configure: Regenerated.
53238 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53239 conditional definition.
53240 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53241 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53242 * config.make.in (have-as-needed): Remove variable.
53243
53244 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53245 Paul Pluzhnikov <ppluzhnikov@google.com>
53246
53247 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53248 strings correctly.
53249
53250 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53251
53252 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53253 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53254 * sysdeps/sh/strlen.S: Likewise.
53255
53256 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53257
53258 * sysdeps/unix/fork.S: Remove file.
53259 * sysdeps/unix/i386/fork.S: Likewise.
53260 * sysdeps/unix/sparc/fork.S: Likewise.
53261
53262 * sysdeps/unix/system.c: Remove file.
53263 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53264
53265 * sysdeps/unix/getegid.S: Remove file.
53266 * sysdeps/unix/geteuid.S: Likewise.
53267
53268 2012-04-24 Roland McGrath <roland@hack.frob.com>
53269
53270 * scripts/check-localplt.awk: New file.
53271 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53272 of diff.
53273 * scripts/data/localplt-generic.data: Add a comment.
53274
53275 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53276 NODE when __dir_mkfile failed.
53277 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53278 Reported by Ludovic Courtès <ludo@gnu.org>.
53279
53280 2012-04-24 Andreas Jaeger <aj@suse.de>
53281
53282 * Makerules (common-clean): Also remove gen-as-const-headers
53283 files.
53284
53285 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53286
53287 * Makerules (native-compile): Do not change working directory for
53288 build. Use $(OUTPUT_OPTION) in command.
53289 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53290
53291 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53292
53293 [BZ #13886]
53294 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53295 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53296 * math/libm-test.inc (floor_test): Add more tests.
53297 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53298
53299 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53300
53301 * sysdeps/unix/getdents.c: Remove file.
53302 * sysdeps/unix/sysv/getdents.c: Likewise.
53303 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53304
53305 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53306 sysdeps/unix/mman/syscalls.list.
53307 (mmap): Likewise.
53308 (mprotect): Likewise.
53309 (msync): Likewise.
53310 (munmap): Likewise.
53311 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53312 * sysdeps/unix/mman/syscalls.list: Remove.
53313 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53314
53315 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53316 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53317 * configure: Regenerated.
53318 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53319 $(libgcc_s_suffix).
53320 * config.make.in (libgcc_s_suffix): Remove variable.
53321
53322 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53323
53324 * sysdeps/unix/sysv/gethostname.c: Move to ...
53325 * sysdeps/posix/gethostname.c: ... here.
53326
53327 * sysdeps/unix/execve.S: Remove file.
53328
53329 * sysdeps/unix/_exit.S: Remove file.
53330
53331 2012-04-23 Andreas Jaeger <aj@suse.de>
53332
53333 [BZ #13739]
53334 * manual/Makefile: Remove make dist support, there's no
53335 need for a stand-alone documentation tar ball.
53336 (TEXI2DVI): Define always, it's not in Makeconfig.
53337 (dist): Removed.
53338 (tar-it): Removed.
53339 (edition): Removed.
53340 (glibc-doc-$(edition).tar): Removed
53341 (%.Z): Removed.
53342 (%.gz): Removed.
53343 (%.uu): Removed.
53344 (ETAGS): Remove, it's in Makeconfig.
53345 (move-if-change): Remove, it's in Makeconfig.
53346
53347 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53348
53349 [BZ #13970]
53350 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53351 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53352 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53353 (strtod_l, strtof_l, strtold_l): Remove __wur.
53354 It is not necessarily an error to ignore strtol's return value.
53355 One can reliably look at the stored endptr to decide whether
53356 the number had valid syntax.
53357
53358 2012-04-21 Andreas Jaeger <aj@suse.de>
53359
53360 [BZ #13739]
53361 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53362
53363 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53364
53365 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53366 * sysdeps/unix/sysv/Versions: Remove file.
53367
53368 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53369
53370 [BZ #13927]
53371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53372
53373 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53374
53375 [BZ #7064]
53376 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53377 version from __vm86.
53378
53379 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53380
53381 * sysdeps/unix/common/lxstat.c: Remove file.
53382 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53383
53384 * sysdeps/unix/sysv/Makefile: Remove file.
53385
53386 * sysdeps/unix/sysv/direct.h: Remove file.
53387
53388 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53389 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53390 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53391 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53392 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53393 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53394 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53395
53396 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53397
53398 * sysdeps/unix/xmknod.c: Remove file.
53399 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53400
53401 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53402
53403 * sysdeps/unix/sysv/i386/time.S: Remove file.
53404
53405 * sysdeps/unix/fxstat.c: Remove file.
53406 * sysdeps/unix/xstat.c: Likewise.
53407 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53408
53409 * sysdeps/unix/sysv/sigaction.c: Remove file.
53410
53411 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53412 (sysdep_headers): Remove variable.
53413 [termio.h not in sysdep_headers] (generated): Likewise.
53414 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53415 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53416 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53417 * sysdeps/unix/sysv/tcflow.c: Likewise.
53418 * sysdeps/unix/sysv/tcflush.c: Likewise.
53419 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53420 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53421 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53422 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53423 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53424
53425 * sysdeps/unix/siglist.c: Remove file.
53426
53427 * sysdeps/unix/getppid.S: Remove file.
53428
53429 * sysdeps/unix/mkdir.c: Remove file.
53430 * sysdeps/unix/rmdir.c: Likewise.
53431
53432 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53433
53434 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53435 ERR_MAX value.
53436 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53437 errlist-compat value.
53438
53439 2012-04-18 David S. Miller <davem@davemloft.net>
53440
53441 * sysdeps/generic/memcopy.h (reg_char): Delete.
53442 * debug/strcat_chk.c: Use char, not reg_char.
53443 * debug/strcpy_chk.c: Likewise.
53444 * debug/strncat_chk.c: Likewise.
53445 * debug/strncpy_chk.c: Likewise.
53446 * string/memchr.c: Likewise.
53447 * string/memrchr.c: Likewise.
53448 * string/rawmemchr.c: Likewise.
53449 * string/strcat.c: Likewise.
53450 * string/strchr.c: Likewise.
53451 * string/strchrnul.c: Likewise.
53452 * string/strcmp.c: Likewise.
53453 * string/strcpy.c: Likewise.
53454 * string/strncat.c: Likewise.
53455 * string/strncmp.c: Likewise.
53456 * string/strncpy.c: Likewise.
53457
53458 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53459
53460 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53461 __builtin_memcopy is called when src and dest ranges are known to not
53462 overlap.
53463
53464 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53465
53466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53467 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53468 fwd_align_merge macro call.
53469 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53470 bwd_align_merge macro call.
53471 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53472
53473 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53474
53475 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53476 bwd_align_merge macros.
53477 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53478 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53479 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53480
53481 2012-04-18 David S. Miller <davem@davemloft.net>
53482
53483 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53484
53485 2012-04-18 Andreas Jaeger <aj@suse.de>
53486
53487 [BZ# 6794]
53488 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53489 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53491
53492 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53493 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53494 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53495
53496 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53497 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53498 Adjust for changed ldbl-128 files.
53499
53500 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53501 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53502 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53503
53504 2012-04-17 David S. Miller <davem@davemloft.net>
53505
53506 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53507
53508 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53509
53510 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53511 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53512 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53513 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53514 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53515 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53516
53517 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53518
53519 [BZ #6794]
53520 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53521 * math/libm-test.inc: Add ilogb errno and exception tests.
53522 * math/w_ilogb.c: New file: ilogb wrapper.
53523 * math/w_ilogbf.c: New file: ilogbf wrapper.
53524 * math/w_ilogbl.c: New file: ilogbl wrapper.
53525 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53526 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53527 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53528 exception being thrown with 0.0 as argument.
53529 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53530 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53531 exception being thrown with 0.0 as argument.
53532 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53533 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53534 exception being thrown with 0.0 as argument.
53535 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53536 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53537 exception being thrown with 0.0 as argument.
53538 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53539 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53540 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53541 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53543 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53544 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53545 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53546 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53547
53548 2012-04-17 Petr Baudis <pasky@ucw.cz>
53549
53550 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53551 with altivec.
53552
53553 2012-04-16 Marek Polacek <polacek@redhat.com>
53554
53555 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53556
53557 2012-04-16 Marek Polacek <polacek@redhat.com>
53558
53559 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53560 operands of fdivp instruction.
53561
53562 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53563
53564 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53565 * elf/tst-auditmod3b.c: Likewise.
53566 * elf/tst-auditmod4b.c: Likewise.
53567 * elf/tst-auditmod5b.c: Likewise.
53568 * elf/tst-auditmod6b.c: Likewise.
53569 * elf/tst-auditmod6c.c: Likewise.
53570 * elf/tst-auditmod7b.c: Likewise.
53571 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53572 * sysdeps/x86_64/preconfigure.in: Likewise.
53573 * sysdeps/x86_64/preconfigure: Regenerated.
53574
53575 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53576
53577 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53578 __ILP32__.
53579
53580 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53581
53582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53583 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53584
53585 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53586
53587 [BZ #13973]
53588 * locale/iso-639.def: Fix gl language name. Spotted by
53589 Yaron Shahrabani.
53590
53591 2012-04-12 Roland McGrath <roland@hack.frob.com>
53592
53593 [BZ #2074]
53594 * libio/libio.h (__io_write_fn): Update comment.
53595
53596 2012-04-12 Petr Baudis <pasky@ucw.cz>
53597
53598 [BZ #2074]
53599 * stdio.texi (Hook Functions): The user provided writer function
53600 is not allowed to return -1.
53601
53602 2012-04-11 David S. Miller <davem@davemloft.net>
53603
53604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53605
53606 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53607
53608 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53609 Add a leading slash to rtkaio.
53610
53611 2012-04-11 Jim Meyering <meyering@redhat.com>
53612
53613 [BZ #11959]
53614 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53615 It is not necessarily an error to ignore fwrite's return
53616 value. One can reliably use ferror to test for errors after
53617 the fact.
53618
53619 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53620
53621 * bits/types.h (__snseconds_t): New type.
53622 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53623
53624 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53626 (__SNSECONDS_T_TYPE): Likewise.
53627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53628 (__SNSECONDS_T_TYPE): Likewise.
53629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53630 (__SNSECONDS_T_TYPE): Likewise.
53631
53632 2012-04-10 Andreas Jaeger <aj@suse.de>
53633
53634 [BZ #2636]
53635 * manual/time.texi (Processor Time): Return type of times is
53636 elapsed real time since an arbitrary point in the past.
53637 (CPU Time): Move CLK_TCK from here...
53638 (Processor Time): ...to here. Correct description.
53639 * manual/conf.texi (Constants for Sysconf): Correct description of
53640 _SC_CLK_TCK.
53641
53642 2012-04-10 David S. Miller <davem@davemloft.net>
53643
53644 [BZ #13967]
53645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53646 where the is a gap between DT_REL(A) and DT_JMPREL.
53647
53648 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53649
53650 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53651 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53652 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53653
53654 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53655
53656 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53657 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53658 (dl_main): Handle --inhibit-cache.
53659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53660 _dl_inhibit_cache.
53661 * elf/dl-load.c (_dl_map_object): Use it.
53662 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53663
53664 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53665
53666 [BZ #13872]
53667 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53668 (__ieee754_powl): Saturate large exponents rather than testing for
53669 overflow of y*log2(x).
53670 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53671 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53672 exceptions.
53673
53674 [BZ #11521]
53675 * math/s_ctan.c: Include <float.h>.
53676 (__ctan): Avoid internal overflow or cancellation in calculating
53677 denominator.
53678 * math/s_ctanf.c: Likewise.
53679 * math/s_ctanl.c: Likewise.
53680 * math/s_ctanh.c: Likewise.
53681 * math/s_ctanhf.c: Likewise.
53682 * math/s_ctanhl.c: Likewise.
53683 * math/libm-test.inc (ctan_test): Add more tests.
53684 (ctanh_test): Likewise.
53685 * sysdeps/i386/fpu/libm-test-ulps: Update.
53686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53687
53688 2012-04-09 Andreas Jaeger <aj@suse.de>
53689
53690 [BZ #6894]
53691 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53692 is an optional BSD extension.
53693
53694 [BZ #10254]
53695 * manual/stdio.texi (Opening Streams): Document additional fopen
53696 parameters.
53697
53698 2012-04-09 Roland McGrath <roland@hack.frob.com>
53699
53700 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53701 %eax without telling the compiler.
53702
53703 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53704
53705 [BZ # 13963]
53706 * manual/install.texi: Use sourceware.org.
53707
53708 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53709
53710 [BZ #13873]
53711 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53712 (__ieee754_pow): Generate overflow and underflow using huge*huge
53713 and tiny*tiny rather than just returning constant infinity or zero
53714 for large exponents.
53715 * math/libm-test.inc (pow_test): Require overflow exceptions for
53716 applicable cases of large exponents.
53717
53718 [BZ #706]
53719 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53720 (__ieee754_pow): Use iterative multiplication algorithm only for
53721 integer exponents with absolute value below 1024. Check for odd
53722 integer exponents when using algorithm for real exponents.
53723 * math/libm-test.inc (pow_test): Add more tests.
53724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53725
53726 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53727
53728 [BZ #13705]
53729 * math/libm-test.inc (exp_test): Do not allow overflow exception
53730 on underflow test.
53731
53732 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53733
53734 [BZ #13705]
53735 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53736 instead of __kernel_standard_f.
53737
53738 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53739
53740 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53741 * sysdeps/x86_64/memset_chk.S: Likewise.
53742
53743 2012-04-08 Andreas Jaeger <aj@suse.de>
53744
53745 [BZ #10153]
53746 * manual/startup.texi (Environment Access): Describe return value
53747 for putenv and setenv.
53748
53749 [BZ #6895]
53750 * manual/filesys.texi (Directory Entries): Add description for
53751 DT_LNK.
53752
53753 [BZ #6890]
53754 * manual/filesys.texi (Directory Entries): Clarify that it's file
53755 system not operating system in the description of DT_UNKNOWN.
53756
53757 [BZ #6578]
53758 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53759
53760 2012-04-08 Stephen Compall <s11@member.fsf.org>
53761
53762 [BZ #6649]
53763 * manual/llio.texi (Opening and Closing Files): Add cross
53764 reference to explain mode argument.
53765
53766 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53767
53768 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53769 * sysdeps/x86_64/memset_chk.S: Likewise.
53770
53771 2012-04-07 David S. Miller <davem@davemloft.net>
53772
53773 * elf/elf.h (R_SPARC_WDISP10): Define.
53774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53775 R_SPARC_SIZE32.
53776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53777 R_SPARC_SIZE64 and R_SPARC_H34.
53778
53779 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53780
53781 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53782 conditions and remove no longer applicable assertion.
53783
53784 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53785
53786 * bits/byteswap.h: Include <features.h>.
53787 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53788 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53789
53790 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53791
53792 * bits/byteswap.h (__bswap_16): Removed.
53793 Include <bits/byteswap-16.h> to get __bswap_16.
53794 * sysdeps/i386/bits/byteswap.h: Likewise.
53795 * sysdeps/s390/bits/byteswap.h: Likewise.
53796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53797 * bits/byteswap-16.h: New file.
53798 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53799 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53800 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53801 * string/Makefile (headers): Add bits/byteswap-16.h.
53802
53803 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53804
53805 [BZ #13895]
53806 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53807 extra indirection.
53808 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53809 * nss/tst-nss-static.c: New.
53810
53811 2012-04-06 Robert Millan <rmh@gnu.org>
53812
53813 [BZ #6486]
53814 * manual/llio.texi (File Position Primitive): lseek
53815 refers to WHENCE when it really means OFFSET.
53816
53817 2012-04-06 Andreas Jaeger <aj@suse.de>
53818
53819 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53820 strncmp declarations.
53821
53822 * abilist/libc.abilist: Add __poll and __ppoll.
53823
53824 2012-04-05 David S. Miller <davem@davemloft.net>
53825
53826 * scripts/check-local-headers.sh: Accept a host triplet in the
53827 path matched by the exclude regexp.
53828
53829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53830 definition.
53831 * sysdeps/powerpc/powerpc32/dl-machine.h
53832 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53833 * sysdeps/s390/s390-32/dl-machine.h
53834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53835 * sysdeps/sparc/sparc32/dl-machine.h
53836 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53837 * sysdeps/sparc/sparc64/dl-machine.h
53838 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53839
53840 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53841 lazy binding.
53842 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53843 undefined symbol errors.
53844
53845 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53846 DT_NEEDED entries.
53847
53848 2012-04-05 Michael Matz <matz@suse.de>
53849
53850 [BZ #13592]
53851 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53852
53853 2012-04-05 Andreas Jaeger <aj@suse.de>
53854
53855 [BZ #13908]
53856 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53857 comment.
53858
53859 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53860
53861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53862 which ROUND is no valid rounding mode.
53863
53864 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53865
53866 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53867 read again.
53868 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53869
53870 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53871
53872 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53873 an exception using FPU order intentionally.
53874
53875 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53876
53877 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53878 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53879 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53880 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53881
53882 2012-04-05 Simon Josefsson <simon@josefsson.org>
53883
53884 [BZ #12340]
53885 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53886 EINVAL when BUFLEN is too smal.
53887
53888 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
53889
53890 [BZ #13553]
53891 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53892 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53893
53894 2012-04-03 Andreas Jaeger <aj@suse.de>
53895
53896 [BZ #13938]
53897 * manual/setjmp.texi (System V contexts): Fix sentence.
53898
53899 [BZ #13926]
53900 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53901 New macro for this case.
53902 [!__GNUC__] (__bswap_64): New inline function for this case.
53903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53904 * bits/byteswap.h: Likewise.
53905 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53906 ull, guard with __GLIBC_HAVE_LONG_LONG.
53907
53908 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53909 __GLIBC_HAVE_LONG_LONG.
53910
53911 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53912 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53913
53914 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53915
53916 [BZ #13691]
53917 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53918 inptr and inend, rather than using last_ch.
53919
53920 2012-04-02 David S. Miller <davem@davemloft.net>
53921
53922 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53923 * stdio-common/printf-parse.h (read_int): Change return type to
53924 'int', return -1 on INT_MAX overflow.
53925 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53926 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
53927 overflows INT_MAX. Check for overflow of in-format-string precision
53928 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
53929 SIZE_MAX not INT_MAX for integer overflow test.
53930 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53931 skip the construct in the format string but do not record anything.
53932 * stdio-common/bug22.c: Adjust to test both width/prevision
53933 INT_MAX overflow as well as total length INT_MAX overflow. Check
53934 explicitly for proper errno values.
53935
53936 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
53937
53938 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53939 CHAR_MAX.
53940 * string/test-strcmp.c [! WIDE]: Likewise.
53941 * time/tst-mktime2.c: Likewise for INT_MAX.
53942 * string/test-string.h: #include <sys/param.h> for MIN.
53943
53944 * csu/init-first.c (__libc_init_first): Call __ctype_init.
53945 * sysdeps/i386/init-first.c (init): Likewise.
53946 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53947 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53948 * sysdeps/sh/init-first.c (init): Likewise.
53949
53950 2012-04-01 Ulrich Drepper <drepper@gmail.com>
53951
53952 * po/ru.po: Update from translation team.
53953 * po/vi.po: Likewise.
53954
53955 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
53956
53957 * resolv/nss_dns/dns-host.c: Merge copyright years.
53958
53959 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53960
53961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53962 Optimize memcpy with prefetch if
53963 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
53964 src, dst pointers have unequal 16 byte alignments.
53965
53966 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53967
53968 [BZ #13928]
53969 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53970 from a CNAME entry and return the minimum ttl for the query.
53971 (gaih_getanswer_slice): Likewise.
53972
53973 2012-03-30 Jeff Law <law@redhat.com>
53974
53975 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53976 due to long keys.
53977 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53978 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53979
53980 * resolv/nss_dns/dns-host.c: Update copyright year.
53981
53982 2012-03-30 Ulrich Drepper <drepper@gmail.com>
53983
53984 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53985 requests to save a system call. Fix check that all bytes are sent.
53986
53987 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53988 comments for sendmmsg.
53989
53990 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53991
53992 [BZ #13691]
53993 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53994 with only 1 character between 0x0041 and 0x01b0.
53995 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53996 * wcsmbs/tst-mbsnrtowcs.c: New file.
53997
53998 2012-03-29 David S. Miller <davem@davemloft.net>
53999
54000 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54001 small copies by hand.
54002
54003 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54004
54005 [BZ #13761]
54006 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54007 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54008 group memberships.
54009
54010 2012-03-28 David S. Miller <davem@davemloft.net>
54011
54012 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54013 that branches into memcpy.
54014 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54017 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54019 bits.
54020 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54021 implementation too.
54022 * sysdeps/sparc/mempcpy.S: New file.
54023
54024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54025 the IFUNC routine in the libc case.
54026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54027
54028 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54029 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54030 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54031 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54032 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54033 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54034 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54035 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54036
54037 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54038 loop to 256 bytes instead of 64 bytes and fix test signedness.
54039
54040 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54041 * sysdeps/sparc/sparc32/Makefile: rather than here...
54042 * sysdeps/sparc/sparc64/Makefile: and here.
54043
54044 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54045
54046 * malloc/mallocbug.c: Avoid warnings about unused variables.
54047
54048 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54049
54050 [BZ #13760]
54051 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54052 in the right place. Discard and retry query if response is
54053 larger than input buffer size.
54054
54055 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54056
54057 [BZ #369]
54058 [BZ #2678]
54059 [BZ #3866]
54060 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54061 x for large integer exponent.
54062 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54063 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54064 sign of result as needed afterwards.
54065 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54066 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54067 result for underflowing pow the same as for overflow.
54068 (__kernel_standard_l): Handle powl overflow and underflow here
54069 rather than calling __kernel_standard.
54070 * math/libm-test.inc (pow_test): Add more tests.
54071
54072 [BZ #3868]
54073 [BZ #13879]
54074 [BZ #13910]
54075 [BZ #13911]
54076 [BZ #13912]
54077 [BZ #13913]
54078 [BZ #13915]
54079 [BZ #13916]
54080 [BZ #13917]
54081 [BZ #13918]
54082 [BZ #13919]
54083 [BZ #13920]
54084 [BZ #13921]
54085 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54086 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54087 (__kernel_standard_l): New function.
54088 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54089 __kernel_standard.
54090 * math/w_acosl.c (__acosl): Likewise.
54091 * math/w_asinl.c (__asinl): Likewise.
54092 * math/w_atan2l.c (__atan2l): Likewise.
54093 * math/w_atanhl.c (__atanhl): Likewise.
54094 * math/w_coshl.c (__coshl): Likewise.
54095 * math/w_exp10l.c (__exp10l): Likewise.
54096 * math/w_exp2l.c (__exp2l): Likewise.
54097 * math/w_fmodl.c (__fmodl): Likewise.
54098 * math/w_hypotl.c (__hypotl): Likewise.
54099 * math/w_j0l.c (__j0l, __y0l): Likewise.
54100 * math/w_j1l.c (__j1l, __y1l): Likewise.
54101 * math/w_jnl.c (__jnl, __ynl): Likewise.
54102 * math/w_lgammal.c (__lgammal): Likewise.
54103 * math/w_log10l.c (__log10l): Likewise.
54104 * math/w_log2l.c (__log2l): Likewise.
54105 * math/w_logl.c (__logl): Likewise.
54106 * math/w_powl.c (__powl): Likewise.
54107 * math/w_remainderl.c (__remainderl): Likewise.
54108 * math/w_scalbl.c (sysv_scalbl): Likewise.
54109 * math/w_sinhl.c (__sinhl): Likewise.
54110 * math/w_sqrtl.c (__sqrtl): Likewise.
54111 * math/w_tgammal.c (__tgammal): Likewise.
54112 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54113 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54114 * math/libm-test.inc (acos_test): Add more tests.
54115 (acosh_test): Likewise.
54116 (asin_test): Likewise.
54117 (atanh_test): Likewise.
54118 (exp_test): Likewise.
54119 (exp10_test): Likewise.
54120 (exp2_test): Likewise.
54121 (expm1_test): Likewise.
54122 (lgamma_test): Likewise.
54123 (log_test): Likewise.
54124 (log10_test): Likewise.
54125 (log1p_test): Likewise.
54126 (log2_test): Likewise.
54127 (pow_test): Do not allow some spurious overflow exceptions.
54128 (sqrt_test): Add more tests.
54129 (tgamma_test): Likewise.
54130 (y0_test): Likewise.
54131 (y1_test): Likewise.
54132 (yn_test): Likewise.
54133
54134 2012-03-27 Anton Blanchard <anton@samba.org>
54135
54136 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54137 MAP_HUGETLB.
54138 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54139 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54141
54142 2012-03-27 David S. Miller <davem@davemloft.net>
54143
54144 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54145
54146 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54147 have-as-vis3 check.
54148
54149 2012-03-27 Andreas Jaeger <aj@suse.de>
54150
54151 * sysdeps/x86_64/elf/configure.in: Moved to ...
54152 * sysdeps/x86_64/configure.in: ... here.
54153 * sysdeps/x86_64/elf/start.S: Moved to ...
54154 * sysdeps/x86_64/start.S: ... here.
54155 * sysdeps/x86_64/elf/configure: Delete.
54156
54157 * sysdeps/x86_64/configure.in: Merge contents from
54158 sysdeps/i386/configure.in (without i686 check).
54159
54160 * sysdeps/i386/elf/Versions: Merge into ...
54161 * sysdeps/i386/Versions: ... this.
54162 * sysdeps/i386/elf/Versions: Delete file.
54163 * sysdeps/i386/elf/start.S: Moved to ...
54164 * sysdeps/i386/start.S: ...here.
54165 * sysdeps/i386/elf/configure.in: Merge into...
54166 * sysdeps/i386/configure.in: ...here.
54167 * sysdeps/i386/elf/configure.in: Delete file.
54168 * sysdeps/i386/elf/configure: Delete file.
54169
54170 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54171 * debug/backtracesyms.c: ... here.
54172 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54173 * debug/backtracesymsfd.c: ... here.
54174 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54175 * sysdeps/generic/ifunc-sel.h: ... here.
54176
54177 * sysdeps/unix/i386/start.c: Delete file.
54178 * sysdeps/unix/sparc/start.c: Delete file.
54179 * sysdeps/unix/start.c: Delete file.
54180
54181 * sysdeps/sh/elf/configure.in: Moved to ...
54182 * sysdeps/sh/configure.in: ... here.
54183 * sysdeps/sh/elf/start.S: Moved to ...
54184 * sysdeps/sh/start.S: ... here.
54185 * sysdeps/sh/elf/configure: Delete file.
54186
54187 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54188 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54189 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54190 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54191 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54192 * sysdeps/powerpc/powerpc64/start.S: here.
54193 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54194 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54195 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54196 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54197 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54198
54199 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54200 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54201 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54202 * sysdeps/powerpc/powerpc32/start.S: ... here.
54203 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54204 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54205 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54206
54207 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54208 * sysdeps/powerpc/ifunc-sel.h: ... here.
54209 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54210 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54211
54212 * sysdeps/sparc/elf/configure.in: Moved to ...
54213 * sysdeps/sparc/configure.in: ... here.
54214 * sysdeps/sparc/elf/configure: Delete file.
54215 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54216 * sysdeps/sparc/sparc32/start.S: ... here.
54217 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54218 * sysdeps/sparc/sparc64/start.S: ... here.
54219 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54220 * sysdeps/sparc/sparc32/Makefile: ... this.
54221 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54222 * sysdeps/sparc/sparc64/Makefile: ... this.
54223
54224 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54225 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54226 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54227 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54228 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54229 * sysdeps/s390/s390-32/setjmp.S: ... here.
54230 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54231 * sysdeps/s390/s390-32/configure.in: ... here.
54232 * sysdeps/s390/s390-32/elf/configure: Delete file.
54233 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54234 * sysdeps/s390/s390-32/start.S: ... here.
54235
54236 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54237 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54238 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54239 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54240 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54241 * sysdeps/s390/s390-64/setjmp.S: ... here.
54242 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54243 * sysdeps/s390/s390-64/configure.in: ... here
54244 * sysdeps/s390/s390-64/elf/configure: Delete file.
54245 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54246 * sysdeps/s390/s390-64/start.S: ... here.
54247 * sysdeps/s390/s390-64/elf/configure: Delete.
54248
54249 * configure.in: Remove support for elf directories in sysdeps.
54250
54251 * configure: Regenerated.
54252 * sysdeps/i386/configure: Regenerated.
54253 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54254 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54255 * sysdeps/s390/s390-32/configure: Regenerated.
54256 * sysdeps/s390/s390-64/configure: Regenerated.
54257 * sysdeps/sh/configure: Regenerated.
54258 * sysdeps/sparc/configure: Regenerated.
54259 * sysdeps/x86_64/configure: Regenerated.
54260
54261 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54262
54263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54264
54265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54266 denormal result into account.
54267
54268 2012-03-25 Roland McGrath <roland@hack.frob.com>
54269
54270 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54271 Reported by Allan McRae <allan@archlinux.org>.
54272
54273 2012-03-23 Jeff Law <law@redhat.com>
54274
54275 * nss/getnssent.c (__nss_getent): Fix typo.
54276
54277 2012-03-23 David S. Miller <davem@davemloft.net>
54278
54279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54280
54281 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54282
54283 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54284 to pad to uint64_t for each field.
54285 (dl_tls_index): Replace unsigned long with uint64_t.
54286
54287 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54288 Paul Pluzhnikov <ppluzhnikov@google.com>
54289
54290 [BZ #6528]
54291 * grp/Makefile (otherlibs): Don't set it.
54292 * inet/Makefile (otherlibs): Likewise.
54293 * login/Makefile (otherlibs): Likewise.
54294 * nscd/Makefile (otherlibs): Likewise.
54295 * posix/Makefile (otherlibs): Likewise.
54296 * pwd/Makefile (otherlibs): Likewise.
54297 * rt/Makefile (otherlibs): Likewise.
54298 * sunrpc/Makefile (otherlibs): Likewise.
54299 * nss/Makefile (otherlibs): Likewise.
54300 Add libnss_files to routines and static-only-routines.
54301 ($(objpfx)getent): Remove rule.
54302 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54303 static-only-routines.
54304
54305 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54306
54307 [BZ #13892]
54308 * math/s_cexp.c: Include <float.h>.
54309 (__cexp): Handle exp result overflowing not necessarily
54310 overflowing both real and imaginary parts of result.
54311 * math/s_cexpf.c: Likewise.
54312 * math/s_cexpl.c: Likewise.
54313 * math/libm-test.inc (cexp_test): Add more tests.
54314 * sysdeps/i386/fpu/libm-test-ulps: Update.
54315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54316
54317 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54318
54319 * include/link.h (ELFW): New macro.
54320 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54321 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54322
54323 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54324
54325 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54326 with uint64_t.
54327
54328 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54329
54330 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54331 declaration.
54332 (struct La_x32_retval): Likewise.
54333
54334 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54335
54336 * sysdeps/x86_64/preconfigure.in: New file.
54337 * sysdeps/x86_64/preconfigure: New generated file.
54338
54339 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54340
54341 [BZ #13824]
54342 * math/e_exp2l.c: Include <float.h>.
54343 (__ieee754_exp2l): Handle overflow and underflow cases
54344 separately. Only pass fractional part of argument to
54345 __ieee754_expl.
54346 * math/libm-test.inc (exp2_test): Add more tests.
54347
54348 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54349 negating x to take absolute value.
54350 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54351 Likewise.
54352 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54353 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54354 Likewise.
54355 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54356 computing low part if x was negated.
54357 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54358
54359 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54360
54361 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54362 la_x32_gnu_pltexit.
54363 (pltexit): Cast int_retval to ptrdiff_t.
54364 * elf/tst-auditmod3b.c: Likewise.
54365 * elf/tst-auditmod4b.c: Likewise.
54366 * elf/tst-auditmod5b.c: Likewise.
54367 * elf/tst-auditmod6b.c: Likewise.
54368 * elf/tst-auditmod6c.c: Likewise.
54369 * elf/tst-auditmod7b.c: Likewise.
54370
54371 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54372 and x32_gnu_pltexit.
54373
54374 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54375 __ELF_NATIVE_CLASS.
54376 (La_x32_regs): New macro.
54377 (La_x32_retval): Likewise.
54378 (la_x32_gnu_pltenter): New function prototype.
54379 (la_x32_gnu_pltexit): Likewise.
54380
54381 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54382
54383 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54384 exponent.
54385
54386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54387
54388 * configure.in (libc_cv_cc_nofma): Check for option to disable
54389 generation of FMA instructions.
54390 * configure: Regenerate.
54391 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54392 * sysdeps/ieee754/dbl-64/Makefile: New file.
54393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54394 Remove brandred-fma4.
54395 (CFLAGS-brandred-fma4.c): Remove.
54396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54397 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54398 define.
54399 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54400 define.
54401
54402 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54403
54404 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54405 LLONG_MAX != LONG_MAX.
54406 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54407 (_fitoa_word): Likewise.
54408 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54409 LLONG_MAX != LONG_MAX.
54410 * stdio-common/_itowa.h: Include <_itoa.h>.
54411 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54412 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54413 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54414 only if not defined.
54415 (_ITOA_WORD_TYPE): Likewise.
54416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54417 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54418
54419 2012-03-21 David S. Miller <davem@davemloft.net>
54420
54421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54422
54423 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54424
54425 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54426 of x86_64 when setting libc_cv_slibdir, libdir and
54427 libc_cv_localedir.
54428 * sysdeps/unix/sysv/linux/configure: Regenerated.
54429
54430 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54431
54432 * manual/lang.texi (Old Varargs): Remove section.
54433 (How Variadic): Update menu.
54434 (va_start): Do not mention varargs.h.
54435
54436 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54437 Joseph Myers <joseph@codesourcery.com>
54438
54439 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54440 link test.
54441 * configure: Regenerated.
54442
54443 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54444
54445 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54446 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54447 conformtest.pl
54448
54449 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54450
54451 * NOTES: Remove.
54452 * Makefile (files-for-dist): Remove NOTES.
54453 (NOTES): Remove rule.
54454 * README: Don't refer to NOTES.
54455 * manual/creature.texi: Don't include macros.texi.
54456 * manual/intro.texi (creature.texi): Remove comment referring to
54457 NOTES.
54458
54459 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54460 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54461 * configure: Regenerated.
54462 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54463 LIBC_TRY_CC_OPTION.
54464 (libc_cv_as_i686): Likewise.
54465 (libc_cv_cc_avx): Likewise.
54466 (libc_cv_cc_sse2avx): Likewise.
54467 (libc_cv_cc_fma4): Likewise.
54468 (libc_cv_cc_novzeroupper): Likewise.
54469 * sysdeps/i386/configure: Regenerated.
54470
54471 [BZ #13883]
54472 * sysdeps/i386/fpu/s_cexp.S: Remove.
54473 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54474 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54475 * math/libm-test.inc (cexp_test): Add more tests.
54476 * sysdeps/i386/fpu/libm-test-ulps: Update.
54477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54478
54479 2012-03-21 Allan McRae <allan@archlinux.org>
54480
54481 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54482
54483 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54484
54485 [BZ #13871]
54486 * math/w_exp2.c: Do not include <float.h>.
54487 (o_threshold, u_threshold): Remove.
54488 (__exp2): Calculate result before checking finiteness and calling
54489 __kernel_standard.
54490 * math/w_exp2f.c: Likewise.
54491 * math/w_exp2l.c: Likewise.
54492 * math/libm-test.inc (exp2_test): Require overflow exception for
54493 1e6 input.
54494
54495 [BZ #3866]
54496 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54497 range of signed 64-bit integers before using fistpll. Remove
54498 checks for whether integers fit in mantissa bits.
54499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54500 the range of signed 32-bit integers before using fistpl. Remove
54501 checks for whether integers fit in mantissa bits.
54502 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54503 (__ieee754_powl): Test for y outside the range of signed 64-bit
54504 integers before using fistpll. Reduce 64-bit values to 63-bit
54505 ones as needed.
54506 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54507 divide-by-zero is raised for zero to large negative powers.
54508 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54509 (__ieee754_powl): Test for y outside the range of signed 64-bit
54510 integers before using fistpll. Reduce 64-bit values to 63-bit
54511 ones as needed.
54512 * math/libm-test.inc (pow_test): Add more tests.
54513
54514 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54515
54516 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54517 <stdio-common/_itoa.h>.
54518 * debug/segfault.c: Likewise.
54519 * elf/dl-cache.c: Likewise.
54520 * elf/dl-minimal.c: Likewise.
54521 * elf/dl-misc.c: Likewise.
54522 * elf/dl-sysdep.c: Likewise.
54523 * elf/dl-version.c: Likewise.
54524 * elf/rtld.c: Likewise.
54525 * hurd/hurdsock.c: Likewise.
54526 * hurd/lookup-retry.c: Likewise.
54527 * malloc/malloc.c: Likewise.
54528 * malloc/mtrace.c: Likewise.
54529 * nscd/nscd_getgr_r.c: Likewise.
54530 * nscd/nscd_getpw_r.c: Likewise.
54531 * nscd/nscd_getserv_r.c: Likewise.
54532 * posix/getopt_init.c: Likewise.
54533 * posix/wordexp.c: Likewise.
54534 * stdio-common/_itoa.c: Likewise.
54535 * stdio-common/printf_fphex.c: Likewise.
54536 * stdio-common/vfprintf.c: Likewise.
54537 * string/_strerror.c: Likewise.
54538 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54539 * sysdeps/i386/i686/hp-timing.h: Likewise.
54540 * sysdeps/mach/_strerror.c: Likewise.
54541 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54542 * sysdeps/mach/hurd/sethostid.c: Likewise.
54543 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54544 * sysdeps/mach/xpg-strerror.c: Likewise.
54545 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54546 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54547 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54548 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54549 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54550 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54551 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54552 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54553 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54554 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54555 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54556 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54557 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54558 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54559 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54560 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54561 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54562 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54563 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54564 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54565 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54566
54567 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54568
54569 * stdio-common/_itoa.h: Moved to ...
54570 * sysdeps/generic/_itoa.h: Here.
54571
54572 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54573
54574 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54575 instead of "_itoa.h" and "_itowa.h".
54576 * stdio-common/vfprintf.: Likewise.
54577
54578 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54579
54580 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54581 <bits/wordsize.h>.
54582 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54583 (__signbit): Likwise.
54584 (llrintf): Likwise.
54585 (llrint): Likwise.
54586
54587 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54588
54589 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54590 __WORDSIZE != 64.
54591
54592 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54593
54594 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54595 OVERFLOW_EXCEPTION_OK.
54596 * math/libm-test.inc ("Philosophy"): Update comment about
54597 exception testing.
54598 (OVERFLOW_EXCEPTION): Define.
54599 (OVERFLOW_EXCEPTION_OK): Likewise.
54600 (INVALID_EXCEPTION_OK): Renumber.
54601 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54602 (IGNORE_ZERO_INF_SIGN): Likewise.
54603 (test_exceptions): Handle FE_OVERFLOW.
54604 (exp10_test): Expect overflow exceptions.
54605 (exp2_test): Likewise.
54606 (expm1_test): Likewise.
54607 (nextafter_test): Likewise.
54608 (pow_test): Likewise.
54609 (scalbn_test): Likewise.
54610 (scalbln_test): Likewise.
54611
54612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54613
54614 * sysdeps/x86_64/bits/atomic.h
54615 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54616 64bit integer.
54617 (atomic_exchange_acq): Likewise.
54618 (__arch_exchange_and_add_body): Likewise.
54619 (__arch_add_body): Likewise.
54620 (atomic_add_negative): Likewise.
54621 (atomic_add_zero): Likewise.
54622
54623 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54624
54625 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54626 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54627
54628 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54629
54630 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54631 Check __x86_64__ instead of __WORDSIZE.
54632
54633 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54634
54635 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54636
54637 2012-03-19 David S. Miller <davem@davemloft.net>
54638
54639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54640
54641 * sysdeps/sparc/fpu/fenv_private.h: New file.
54642 * sysdeps/sparc/fpu/math_private.h: Use it.
54643 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54644 Remove.
54645 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54646 (libc_feholdexcept_setroundl): Remove.
54647 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54648 Remove.
54649 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54650 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54651
54652 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54653
54654 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54655 int64_t instead of long int.
54656 (INSERT_WORDS64): Likwise.
54657
54658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54659
54660 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54661 _Unwind_GetCFA return to _Unwind_Ptr first.
54662
54663 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54664
54665 [BZ #13629]
54666 * math/s_clog.c: Include <float.h>.
54667 (__clog): Scale large or subnormal inputs.
54668 * math/s_clogf.c: Likewise.
54669 * math/s_clogl.c: Likewise.
54670 * math/s_clog10.c: Include <float.h>.
54671 (M_LOG10_2): Define.
54672 (__clog10): Scale large or subnormal inputs.
54673 * math/s_clog10f.c: Likewise.
54674 * math/s_clog10l.c: Likewise.
54675 * math/libm-test.inc (clog_test): Add more tests.
54676 (clog10_test): Likewise.
54677 * sysdeps/i386/fpu/libm-test-ulps: Update.
54678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54679
54680 [BZ #11451]
54681 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54682 x and y.
54683 * math/libm-test.inc (atan2_test): Add another test.
54684
54685 * Makerules (common-objdir-compile): Remove.
54686 * sysdeps/unix/Makefile (config-generated): Do not add
54687 $(unix-generated) to variable.
54688 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54689 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54690 Remove rule.
54691 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54692 Likewise.
54693 [generic bits/local_lim.h] (before-compile): Do not append to
54694 variable.
54695 [generic bits/local_lim.h] (common-generated): Likewise.
54696 [generic sys/param.h] (before-compile): Do not append to variable.
54697 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54698 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54699 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54700 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54701 include.
54702 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54703 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54704 [generic sys/param.h] ($(addprefix
54705 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54706 [generic sys/param.h] (common-generated): Do not append to
54707 variable.
54708 [generic sys/param.h] (sysdep_headers): Likewise.
54709 [generic bits/errno.h] (before-compile): Do not append to
54710 variable.
54711 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54712 rule.
54713 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54714 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54715 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54716 [generic bits/errno.h] (common-generated): Do not append to
54717 variable.
54718 [generic bits/ioctls.h] (before-compile): Do not append to
54719 variable.
54720 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54721 rule.
54722 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54723 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54725 rule.
54726 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54727 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54728 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54729 [generic bits/ioctls.h] (common-generated): Do not append to
54730 variable.
54731 [generic sys/syscall.h] (syscall.h): Remove variable.
54732 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54733 rule.
54734 [generic sys/syscall.h] (before-compile): Do not append to
54735 variable.
54736 [generic sys/syscall.h] (common-generated): Likewise.
54737 * sysdeps/unix/errnos-tmpl.c: Remove file.
54738 * sysdeps/unix/errnos.awk: Likewise.
54739 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54740 * sysdeps/unix/ioctls.awk: Likewise.
54741 * sysdeps/unix/mk-local_lim.c: Likewise.
54742 * sysdeps/unix/snarf-ioctls: Likewise.
54743
54744 2012-03-19 Richard Henderson <rth@twiddle.net>
54745
54746 * sysdeps/i386/fpu/fenv_private.h: New file.
54747 * sysdeps/i386/fpu/math_private.h: Use it.
54748 (math_opt_barrier, math_force_eval): Remove.
54749 (libc_feholdexcept_setround_53bit): Remove.
54750 (libc_feupdateenv_53bit): Remove.
54751 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54752 (math_opt_barrier, math_force_eval): Remove.
54753 (libc_feholdexcept): Remove.
54754 (libc_feholdexcept_setround): Remove.
54755 (libc_fetestexcept, libc_fesetenv): Remove.
54756 (libc_feupdateenv_test): Remove.
54757 (libc_feupdateenv, libc_feholdsetround): Remove.
54758 (libc_feresetround): Remove.
54759
54760 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54761 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54762
54763 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54764 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54765 (libc_feupdateenv_testl): New.
54766 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54767 (libc_feupdateenv_testf): New.
54768 (libc_feupdateenv): Use libc_feupdateenv_test.
54769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54771
54772 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54773 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54774 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54775 (libc_feresetround_noex): New.
54776 (libc_feresetround_noexf): New.
54777 (libc_feresetround_noexl): New.
54778 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54779 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54780 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54781 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54782 SET_RESTORE_ROUND.
54783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54785 (__cos): Likewise.
54786 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54787 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54788 SET_RESTORE_ROUND_NOEX.
54789 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54790 SET_RESTORE_ROUND_NOEXF.
54791 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54792 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54793 (libc_feholdsetroundf): New.
54794 (libc_feresetround, libc_feresetroundf): New.
54795
54796 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54797 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54798 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54799
54800 * sysdeps/generic/math_private.h: Include <fenv.h>.
54801 (default_libc_feholdexcept): New.
54802 (default_libc_feholdexcept_setround): New.
54803 (default_libc_fesetenv, default_libc_feupdateenv): New.
54804 (libc_feholdexcept): Only define if undefined.
54805 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54807 (libc_feholdexcept_setroundl): Likewise.
54808 (libc_feholdexcept_setround_53bit): Likewise.
54809 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54812 (libc_feupdateenv_53bit): Likewise.
54813 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54814 (libc_feholdexcept): Convert from macro to inline function.
54815 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54816 (libc_fesetenv, libc_feupdateenv): Likewise.
54817
54818 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54819 not previously defined.
54820 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54821 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54822 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54823 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54824 * sysdeps/ieee754/flt-32/math_private.h: New file.
54825 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54826 math_private.h below SET_FLOAT_WORD.
54827 (__isnan, __isinf_ns, __finite): Remove.
54828 (__isnanf, __isinf_nsf, __finitef): Remove.
54829
54830 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54831
54832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54833
54834 2012-03-17 David S. Miller <davem@davemloft.net>
54835
54836 [BZ #6471]
54837 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54838 for 2.16.
54839
54840 2012-03-16 David S. Miller <davem@davemloft.net>
54841
54842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54843 warnings.
54844
54845 [BZ #6471]
54846 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54847 properly.
54848 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54849 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54850 sysdep_routines when subdir is sysvipc.
54851 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54852 __getshmlba helper.
54853
54854 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54855
54856 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54857
54858 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54859 [__LP64__].
54860
54861 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54862
54863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54864 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54865 (__lround): Renamed to ...
54866 (__llround): This. Replace long int with long long int.
54867 Define lround functions as aliases of llround functions.
54868 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54869
54870 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54871
54872 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54873 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
54874 adresses to uintptr_t. Replace "long int" and "unsigned long
54875 int" with "greg_t" on va_arg.
54876
54877 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54878
54879 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54880 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54881
54882 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54883 Move e_machine check before EI_CLASS check. Handle x32
54884 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54885 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54886 SKIP_EM_IA_64 and include
54887 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54888
54889 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54890 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54891 (add_system_dir): New macro.
54892
54893 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54894 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54895
54896 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54897
54898 [BZ #2551]
54899 [BZ #2552]
54900 [BZ #2553]
54901 [BZ #2554]
54902 [BZ #2562]
54903 [BZ #2563]
54904 [BZ #2565]
54905 [BZ #2566]
54906 [BZ #2576]
54907 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54908 (y0): Likewise.
54909 * math/w_j0f.c (j0f): Likewise.
54910 (y0f): Likewise.
54911 * math/w_j0l.c (__j0l): Likewise.
54912 (__y0l): Likewise.
54913 * math/w_j1.c (j1): Likewise.
54914 (y1): Likewise.
54915 * math/w_j1f.c (j1f): Likewise.
54916 (y1f): Likewise.
54917 * math/w_j1l.c (__j1l): Likewise.
54918 (__y1l): Likewise.
54919 * math/w_jn.c (jn): Likewise.
54920 (yn): Likewise.
54921 * math/w_jnf.c (jnf): Likewise.
54922 (ynf): Likewise.
54923 * math/w_jnl.c (__jnl): Likewise.
54924 (__ynl): Likewise.
54925 * math/libm-test.inc (j0_test): Add more tests.
54926 (j1_test): Likewise.
54927 (jn_test): Likewise. Add trailing semicolon to existing test.
54928 (y0_test): Likewise.
54929 (y1_test): Likewise.
54930 * sysdeps/i386/fpu/libm-test-ulps: Update.
54931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54932
54933 [BZ #13851]
54934 [BZ #13854]
54935 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54936 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54937 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54938 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54939 (__tanl): Set errno for infinite argument.
54940 * sysdeps/i386/fpu/mptan.c: Remove.
54941 * sysdeps/i386/fpu/s_tan.S: Likewise.
54942 * sysdeps/i386/fpu/s_tanl.S: Likewise.
54943 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54944 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54945 * math/libm-test.inc (tan_test): Add more tests and enable more
54946 tests for double and long double.
54947 * sysdeps/i386/fpu/libm-test-ulps: Update.
54948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54949
54950 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
54951
54952 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54953 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54954
54955 2012-03-16 Roland McGrath <roland@hack.frob.com>
54956
54957 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54958 * configure.in: Use it for both main tree and add-ons.
54959 * configure: Regenerated.
54960
54961 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54962
54963 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54964
54965 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54966
54967 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54968 in comment.
54969
54970 [BZ #13851]
54971 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54972 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54973 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54974 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54975 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54976 infinite argument.
54977 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54979 != 0 for prec == 2.
54980 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54981 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54982 * sysdeps/i386/fpu/s_cosl.S: Likewise.
54983 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54984 * sysdeps/i386/fpu/s_sinl.S: Likewise.
54985 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54986 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54987 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54988 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54989 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54990 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54991 * math/libm-test.inc (cos_test): Add more tests and enable more
54992 tests for long double.
54993 (sin_test): Likewise.
54994 (sincos_test): Likewise.
54995 * sysdeps/i386/fpu/libm-test-ulps: Update.
54996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54997
54998 2012-03-16 David S. Miller <davem@davemloft.net>
54999
55000 * sysdeps/sparc/fpu/math_private.h: New file.
55001
55002 2012-03-15 David S. Miller <davem@davemloft.net>
55003
55004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55005 file.
55006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55008 file.
55009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55015 sysdep routines.
55016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55017
55018 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55019 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55020
55021 * sysdeps/sparc/sparc-ifunc.h: New file.
55022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55023 sparc-ifunc.h
55024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55026 Likewise.
55027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55028 Likewise.
55029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55033 Likewise.
55034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55039 Likewise.
55040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55041 Likewise.
55042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55060 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55061 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55066
55067 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55068
55069 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55070 scaling.
55071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55072
55073 2012-03-15 Andreas Jaeger <aj@suse.de>
55074
55075 [BZ #13852]
55076 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55077 ieee754/flt-32 implementation for sin, cos and sincos.
55078 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55079 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55080 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55081 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55082 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55083 ieee754/flt-32 implementation for tan.
55084
55085 * math/libm-test.inc (cos_test): Enable some large input tests for
55086 float as well
55087 (sin_test): Likewise.
55088 (sincos_test): Likewise.
55089 (tan_test): Add tests for large input.
55090
55091 * sysdeps/i386/fpu/libm-test-ulps: Update.
55092
55093 2012-03-15 Andreas Jaeger <aj@suse.de>
55094
55095 [BZ #13658]
55096 * math/libm-test.inc (cos_test): Add more test cases.
55097 (sin_test): Likewise.
55098 (sincos_test): Likewise.
55099
55100 2012-03-15 Andreas Jaeger <aj@suse.de>
55101
55102 [BZ #13837]
55103 * math/libm-test.inc (cos_test): Add a test case for large input
55104 value.
55105 (sin_test): Likewise.
55106 (sincos_test): Likewise.
55107
55108 2012-03-15 Andreas Jaeger <aj@suse.de>
55109 Joseph Myers <joseph@codesourcery.com>
55110
55111 [BZ #13658]
55112 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55113 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55114 * sysdeps/i386/fpu/branred.c: Likewise.
55115 * sysdeps/i386/fpu/dosincos.c: Likewise.
55116 * sysdeps/i386/fpu/mpa.c: Likewise.
55117 * sysdeps/i386/fpu/s_cos.S: Likewise.
55118 * sysdeps/i386/fpu/s_sin.S: Likewise.
55119 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55120 * sysdeps/i386/fpu/sincos32.c: Likewise.
55121
55122 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55123 Define.
55124 (libc_feupdateenv_53bit): Define.
55125 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55126 Define.
55127 (libc_feupdateenv_53bit): Define.
55128
55129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55130 53 bit (without extend i386 double precision).
55131
55132 * math/libm-test.inc (sincos_test): Add tests for large input.
55133 (sin): Likewise.
55134 (cos): Likewise.
55135
55136 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55137
55138 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55139
55140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55141
55142 2012-03-15 David S. Miller <davem@davemloft.net>
55143
55144 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55145 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55146 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55147 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55160 file.
55161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55163 file.
55164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55166 file.
55167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55169 file.
55170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55172 fmin/fmax sysdep routines.
55173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55174
55175 2012-03-14 David S. Miller <davem@davemloft.net>
55176
55177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55205 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55206 routines.
55207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55208 file.
55209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55211 file.
55212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55214 file.
55215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55217 file.
55218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55220 file.
55221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55223 file.
55224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55225 file.
55226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55227 file.
55228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55229 file.
55230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55231 New file.
55232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55233 file.
55234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55235 file.
55236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55238 file.
55239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55241 file.
55242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55244 file.
55245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55247 VIS3 routines.
55248
55249 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55250 New file.
55251
55252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55253
55254 * sysdeps/sparc/configure.in: New file.
55255 * sysdeps/sparc/configure: Generate.
55256 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55257 * configure: Regenerate.
55258 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55259 * config.make.in (have-as-vis3): New.
55260 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55261 available use -Av9d instead of -Av9a.
55262 * sysdeps/sparc/sparc64/Makefile: Likewise.
55263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55265 New file.
55266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55267 file.
55268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55269 New file.
55270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55271 file.
55272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55277
55278 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55279 fzeros/fnegs to load 0x80000000 into a float register instead of
55280 using the stack.
55281 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55282
55283 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55284
55285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55286 bits/syscall.h.
55287 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55288 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55289 ($(inst_includedir)/bits/syscall.h): Remove rule.
55290 ($(objpfx)bits/syscall.d): Include instead of
55291 $(objpfx)syscall-list.d.
55292 (generated): Change syscall-list.h and syscall-list.d to
55293 bits/syscall.h and bits/syscall.d.
55294
55295 2012-03-14 Roland McGrath <roland@hack.frob.com>
55296
55297 [BZ #13846]
55298 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55299
55300 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55301
55302 [BZ #13841]
55303 * math/s_csqrt.c: Include <float.h>.
55304 (__csqrt): Scale large or subnormal inputs.
55305 * math/s_csqrtf.c: Likewise.
55306 * math/s_csqrtl.c: Likewise.
55307 * math/libm-test.inc (csqrt_test): Add more tests.
55308 * sysdeps/i386/fpu/libm-test-ulps: Update.
55309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55310
55311 [BZ #13840]
55312 * math/libm-test.inc (hypot_test): Add more tests.
55313
55314 2012-03-13 David S. Miller <davem@davemloft.net>
55315
55316 [BZ #13840]
55317 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55318 double-precision for the calculation instead of scaling.
55319
55320 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55321
55322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55323 manipulate bits before adding and subtracting TWO52[sx].
55324 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55325 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55326 Likewise.
55327 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55328
55329 2012-03-13 David S. Miller <davem@davemloft.net>
55330
55331 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55332 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55334 rtld-global-offsets.h
55335 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55336
55337 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55338 large parameters.
55339
55340 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55341
55342 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55343 'err' in the ifdef scope in which it is actually used.
55344
55345 * nss/nss_db/db-init.c: Include string.h
55346
55347 2012-03-12 David S. Miller <davem@davemloft.net>
55348
55349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55350 masking out of the most significant byte of random value used.
55351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55352 Fix coding style in previous change.
55353
55354 * sysdeps/unix/sysv/linux/kernel-features.h
55355 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55356 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55357 expression.
55358 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55359 later.
55360
55361 2012-03-11 David S. Miller <davem@davemloft.net>
55362
55363 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55364 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55366 for 'resultvar' otherwise things get truncated on 64-bit.
55367
55368 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55369 Fix masking out of the most significant byte of random value used.
55370
55371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55372
55373 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55374
55375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55376
55377 2012-03-09 David S. Miller <davem@davemloft.net>
55378
55379 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55380 variables with appropriate CPP guards.
55381 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55382 from the frame pointer, not the stack pointer. Correct layout
55383 comments. Fix test on resulting framesize and the management of
55384 the outregs buffer for pltexit. Preserve floating point return
55385 values across _dl_call_pltexit call.
55386 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55387 framesize and the management of the outregs buffer for pltexit.
55388 Preserve floating point return values across _dl_call_pltexit
55389 call.
55390 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55391 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55392 (la_sparc64_gnu_pltexit): New functions.
55393 (print_exit): Fix format string for return register value.
55394
55395 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55396
55397 * sunrpc/Makefile (others): Add rpcgen.
55398 ($(objpfx)rpcgen): Remove special build rule and dependency on
55399 libc.
55400 * sunrpc/rpcgen.c: New file.
55401
55402 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55403
55404 [BZ #13673]
55405 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55406 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55407 * sysdeps/i386/crti.S: Likewise.
55408 * sysdeps/i386/crtn.S: Likewise.
55409 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55410 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55411 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55412 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55413 * sysdeps/sh/crti.S: Likewise.
55414 * sysdeps/sh/crtn.S: Likewise.
55415 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55416
55417 [BZ #13673]
55418 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55419 with URL.
55420 * locale/programs/locfile-kw.gperf: Likewise.
55421 * locale/programs/charmap-kw.h: Regenerated.
55422 * locale/programs/locfile-kw.h: Likewise.
55423
55424 [BZ #13673]
55425 * intl/plural.y: Replace FSF snail mail address with URL.
55426 * intl/plural.c: Regenerated.
55427
55428 2012-03-09 Richard Henderson <rth@twiddle.net>
55429
55430 * include/math_private.h: Remove file.
55431 * math/math_private.h: Move file ...
55432 * sysdeps/generic/math_private.h: ... here.
55433
55434 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55435 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55436 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55437
55438 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55439 and <math_private.h>.
55440 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55441 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55442 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55443 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55444 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55445 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55446 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55448 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55451 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55452 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55454 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55455 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55456 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55457 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55458 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55459 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55461 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55462 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55464 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55465 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55466 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55474 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55477 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55478 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55480 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55481 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55482 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55483 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55484 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55485 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55486 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55487 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55488 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55489 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55490 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55491 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55492 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55493 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55494 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55495 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55496 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55497 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55498 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55499 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55501 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55502 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55503 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55504 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55505 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55506 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55507 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55508 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55509 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55510 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55511 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55512 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55513 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55514 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55518 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55520 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55522 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55523 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55524 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55527 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55528 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55529 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55530 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55531 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55532 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55533 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55534 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55535 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55536 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55537 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55538 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55539 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55540 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55541 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55542 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55543 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55544 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55545 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55546 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55547 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55548 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55549 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55550 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55551 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55552 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55553 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55554 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55555 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55556 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55557 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55558 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55559 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55560 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55561 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55562 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55563 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55564 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55565 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55566 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55567 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55568 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55569 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55570 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55571 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55572 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55573 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55574 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55575 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55576 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55577 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55578 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55579 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55580 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55581 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55582 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55583 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55584 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55585 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55586 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55587 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55588 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55589 * sysdeps/ieee754/k_standard.c: Likewise.
55590 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55591 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55593 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55594 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55595 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55596 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55597 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55598 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55599 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55600 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55601 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55602 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55603 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55604 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55605 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55606 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55607 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55608 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55609 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55610 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55611 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55612 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55613 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55614 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55615 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55616 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55617 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55618 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55619 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55620 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55621 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55622 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55623 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55624 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55625 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55626 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55627 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55628 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55629 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55630 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55631 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55632 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55633 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55634 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55635 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55636 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55638 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55639 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55640 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55641 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55642 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55643 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55644 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55645 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55646 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55647 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55648 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55649 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55650 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55651 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55652 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55653 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55655 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55656 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55657 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55658 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55659 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55662 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55664 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55666 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55667 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55669 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55670 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55672 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55673 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55674 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55675 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55676 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55677 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55678 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55680 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55681 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55682 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55683 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55684 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55685 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55686 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55687 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55688 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55689 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55691 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55694 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55697 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55698 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55699 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55700 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55701 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55702 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55703 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55704 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55705 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55708 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55709 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55710 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55711 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55712 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55713 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55714 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55715 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55716 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55717 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55718 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55719 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55720 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55721 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55722 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55723 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55724 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55725 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55726 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55727 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55728 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55729 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55730 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55731 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55732 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55733 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55735 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55736 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55739 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55740 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55742 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55743 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55744 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55745 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55746 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55747 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55748 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55749 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55750 * sysdeps/ieee754/s_lib_version.c: Likewise.
55751 * sysdeps/ieee754/s_matherr.c: Likewise.
55752 * sysdeps/ieee754/s_signgam.c: Likewise.
55753 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55754 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55755 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55756 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55757 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55758 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55759 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55760 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55761 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55762 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55763 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55764 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55765 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55766 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55767 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55768 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55770 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55774
55775 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55776
55777 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55778 * sunrpc/rpc_main.c: Likewise.
55779 * sunrpc/rpc_svcout.c: Likewise.
55780
55781 2012-03-09 David S. Miller <davem@davemloft.net>
55782
55783 * include/math_private.h: New file.
55784
55785 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55786
55787 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55788 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55789 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55790 from <bits/socket_type.h>.
55791 (enum __socket_type): Don't define here.
55792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55794 bits/socket_type.h.
55795
55796 [BZ #13566]
55797 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55798 checking __USE_GNU.
55799
55800 * Makerules ($(inst_includedir)/%.h): New rule.
55801 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55802 (install-others): Remove variable setting.
55803 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55804
55805 2012-03-08 Richard Henderson <rth@twiddle.net>
55806
55807 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55808 from macro to inline function; merge with the
55809 !__LIBC_INTERNAL_MATH_INLINES version.
55810 (__ieee754_sqrtf): Likewise.
55811
55812 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55813 to inline function.
55814 (__rintf, __floor, __floorf): Likewise.
55815
55816 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55817 macro to inline function.
55818 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55819
55820 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55821 not <math/math_private.h>.
55822
55823 2012-03-08 David S. Miller <davem@davemloft.net>
55824
55825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55826 copyright year.
55827 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55828
55829 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55830
55831 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55832 normalization.
55833 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55834 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55835
55836 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55837
55838 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55839 be defined individually, they must be defined as a block. Define
55840 S for printing a string instead of hidint the different by using a
55841 macro for adding the 'l'.
55842 * stdio-common/tst-fphex-wide.c: Adjust.
55843
55844 2012-03-07 Marek Polacek <polacek@redhat.com>
55845
55846 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55847
55848 2012-03-08 Marek Polacek <polacek@redhat.com>
55849
55850 [BZ #13806]
55851 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55852 * stdio-common/tst-fphex.c: Define a few macros to make the
55853 test reusable. Use them.
55854 * stdio-common/tst-fphex-wide.c: New file.
55855
55856 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55857
55858 [BZ #6911]
55859 * manual/macros.texi (gnusystems): New macro.
55860 (nongnusystems): Likewise.
55861 (gnulinuxhurdsystems): Likewise.
55862 (gnuhurdsystems): Likewise..
55863 (gnulinuxsystems): Likewise.
55864 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55865 variants of the GNU system, not "GNU system".
55866 * manual/conf.texi: Likewise.
55867 * manual/errno.texi: Likewise. Update example of errno macro
55868 expansion.
55869 * manual/filesys.texi: Likewise.
55870 (getumask): Document as specific to GNU/Hurd.
55871 * manual/install.texi: Likewise. Reword some references to
55872 GNU/Linux.
55873 * manual/intro.texi: Likewise.
55874 * manual/io.texi: Likewise.
55875 (File Name Portability): Detail which constraints are inapplicable
55876 to all GNU systems and which are only inapplicable to GNU/Hurd.
55877 * manual/job.texi: Likewise.
55878 * manual/llio.texi: Likewise.
55879 (O_NOCTTY): Document as present on GNU/Linux.
55880 * manual/maint.texi: Likewise.
55881 * manual/memory.texi: Likewise.
55882 * manual/pattern.texi: Likewise.
55883 * manual/pipe.texi: Likewise.
55884 * manual/process.texi: Likewise.
55885 * manual/resource.texi: Likewise.
55886 (RUSAGE_CHILDREN): Remove statement about specifying a particular
55887 child on GNU/Hurd.
55888 * manual/setjmp.texi: Likewise.
55889 * manual/signal.texi: Likewise.
55890 * manual/startup.texi: Likewise.
55891 * manual/stdio.texi: Likewise.
55892 * manual/terminal.texi: Likewise.
55893 (ONLCR): Document as POSIX.
55894 (OXTABS): Document availability on GNU/Linux as XTABS.
55895 (ONOEOT): Document availability separately from other bits.
55896 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55897 * manual/time.texi: Likewise.
55898 * manual/users.texi: Likewise.
55899 * INSTALL: Regenerated.
55900 * sysdeps/gnu/errlist.c: Regenerated.
55901
55902 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55903 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55904 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
55905 puts.
55906 * configure: Regenerated.
55907
55908 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55909
55910 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55911 default includes instead of AC_HEADER_CHECK.
55912 * sysdeps/i386/configure: Regenerated.
55913
55914 [BZ #10716]
55915 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55916 * math/s_cacoshf.c (__cacoshf): Likewise.
55917 * math/s_cacoshl.c (__cacoshl): Likewise.
55918 * math/s_casinh.c (__casinh): Set signs of result from argument.
55919 * math/s_casinhf.c (__casinhf): Likewise.
55920 * math/s_casinhl.c (__casinhl): Likewise.
55921 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55922 (casinh_test): Add more tests.
55923 * sysdeps/i386/fpu/libm-test-ulps: Update.
55924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55925
55926 2012-03-07 Ulrich Drepper <drepper@gmail.com>
55927
55928 * po/zh_TW.po: Update from translation team.
55929
55930 * login/Makefile (distribute): Remove variable.
55931 * catgets/Makefile: Likewise.
55932 * mach/Makefile: Likewise.
55933 * malloc/Makefile: Likewise.
55934 * misc/Makefile: Likewise.
55935 * iconv/Makefile: Likewise.
55936 * nscd/Makefile: Likewise.
55937 * hurd/Makefile: Likewise.
55938 * manual/Makefile: Likewise.
55939 * locale/Makefile: Likewise.
55940 * intl/Makefile: Likewise.
55941 * conform/Makefile: Likewise.
55942 * nss/Makefile: Likewise.
55943 * time/Makefile: Likewise.
55944 * soft-fp/Makefile: Likewise.
55945 * dirent/Makefile: Likewise.
55946 * gmon/Makefile: Likewise.
55947 * po/Makefile: Likewise.
55948 * rt/Makefile: Likewise.
55949 * socket/Makefile: Likewise.
55950 * math/Makefile: Likewise.
55951 * signal/Makefile: Likewise.
55952 * debug/Makefile: Likewise.
55953 * elf/Makefile: Likewise.
55954 * timezone/Makefile: Likewise.
55955 * stdlib/Makefile: Likewise.
55956 * iconvdata/Makefile: Likewise.
55957 * sunrpc/Makefile: Likewise.
55958 * io/Makefile: Likewise.
55959 * argp/Makefile: Likewise.
55960 * inet/Makefile: Likewise.
55961 * hesiod/Makefile: Likewise.
55962 * grp/Makefile: Likewise.
55963 * csu/Makefile: Likewise.
55964 * wctype/Makefile: Likewise.
55965 * crypt/Makefile: Likewise.
55966 * libio/Makefile: Likewise.
55967 * string/Makefile: Likewise.
55968 * nis/Makefile: Likewise.
55969 * resolv/Makefile: Likewise.
55970 * stdio-common/Makefile: Likewise.
55971 * wcsmbs/Makefile: Likewise.
55972 * dlfcn/Makefile: Likewise.
55973 * posix/Makefile: Likewise.
55974
55975 [BZ #6959]
55976 * timezone/Makefile: Don't install timezone files, just the programs
55977 and scripts.
55978
55979 2012-03-06 Ulrich Drepper <drepper@gmail.com>
55980
55981 * nss/databases.def: Add missing gshadow entry.
55982
55983 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
55984
55985 2012-03-06 Marek Polacek <polacek@redhat.com>
55986
55987 [BZ #13726]
55988 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55989 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55990 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55991 * stdio-common/tst-long-dbl-fphex.c: New file.
55992
55993 2012-03-06 David S. Miller <davem@davemloft.net>
55994
55995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55996 (set_obp_int): New function.
55997 (get_obp_int): New function.
55998 (__get_clockfreq_via_dev_openprom): Likewise.
55999 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56000 Avoid unused variable warnings on 'val' and use builtin_expect.
56001 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56002 __builtin_expect.
56003 (INLINE_CLONE_SYSCALL): Likewise.
56004
56005 2012-03-05 David S. Miller <davem@davemloft.net>
56006
56007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56008
56009 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56010
56011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56012
56013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56014 only for |x| >= 40.
56015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56016
56017 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56018
56019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56020 Replace gettimeofday with __vdso_gettimeofday.
56021
56022 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56023 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56024 __vdso_clock_gettime and __vdso_getcpu.
56025
56026 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56027 time with __vdso_time.
56028
56029 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56030
56031 * manual/lang.texi (size_t): Note types to which size_t may be
56032 equivalent with the GNU C Library, but do not describe when
56033 differences between them are significant.
56034
56035 2012-03-05 Andreas Jaeger <aj@suse.de>
56036
56037 * sysdeps/i386/fpu/libm-test-ulps: Update.
56038
56039 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56040
56041 [BZ #3976]
56042 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56043 (__ieee754_pow): Save and restore rounding mode and use
56044 round-to-nearest for main computations.
56045 * math/libm-test.inc (pow_test_tonearest): New function.
56046 (pow_test_towardzero): Likewise.
56047 (pow_test_downward): Likewise.
56048 (pow_test_upward): Likewise.
56049 (main): Call the new functions.
56050 * sysdeps/i386/fpu/libm-test-ulps: Update.
56051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56052
56053 [BZ #3976]
56054 * math/libm-test.inc (cosh_test_tonearest): New function.
56055 (cosh_test_towardzero): Likewise.
56056 (cosh_test_downward): Likewise.
56057 (cosh_test_upward): Likewise.
56058 (sinh_test_tonearest): Likewise.
56059 (sinh_test_towardzero): Likewise.
56060 (sinh_test_downward): Likewise.
56061 (sinh_test_upward): Likewise.
56062 (main): Call the new functions.
56063 * sysdeps/i386/fpu/libm-test-ulps: Update.
56064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56065
56066 2012-03-05 Tom de Vries <tom@codesourcery.com>
56067
56068 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56069 default stack guard is set in last bytes.
56070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56071
56072 2012-03-05 Kees Cook <keescook@chromium.org>
56073
56074 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56075
56076 [BZ #13656]
56077 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56078 possibly allocate from heap instead of stack.
56079 * stdio-common/bug-vfprintf-nargs.c: New file.
56080 * stdio-common/Makefile (tests): Add nargs overflow test.
56081
56082 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56083
56084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56085
56086 2012-03-03 Marek Polacek <polacek@redhat.com>
56087
56088 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56089 * math/math_private.h: Likewise.
56090 * stdlib/tst-strtod.c: Likewise.
56091 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56092 * sysdeps/x86_64/bits/atomic.h: Likewise.
56093
56094 2012-03-02 David S. Miller <davem@davemloft.net>
56095
56096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56100 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56101 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56102 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56103 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56104
56105 2012-03-02 Roland McGrath <roland@hack.frob.com>
56106
56107 [BZ #13792]
56108 * manual/examples/README: New file, says the example source files
56109 can be used under GPL>=2.
56110 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56111 line containing just "*/".
56112 * manual/examples/add.c: Add copyright header (GPL>=2).
56113 * manual/examples/argp-ex1.c: Likewise.
56114 * manual/examples/argp-ex2.c: Likewise.
56115 * manual/examples/argp-ex3.c: Likewise.
56116 * manual/examples/argp-ex4.c: Likewise.
56117 * manual/examples/atexit.c: Likewise.
56118 * manual/examples/db.c: Likewise.
56119 * manual/examples/dir.c: Likewise.
56120 * manual/examples/dir2.c: Likewise.
56121 * manual/examples/execinfo.c: Likewise.
56122 * manual/examples/filecli.c: Likewise.
56123 * manual/examples/filesrv.c: Likewise.
56124 * manual/examples/fmtmsgexpl.c: Likewise.
56125 * manual/examples/genpass.c: Likewise.
56126 * manual/examples/inetcli.c: Likewise.
56127 * manual/examples/inetsrv.c: Likewise.
56128 * manual/examples/isockad.c: Likewise.
56129 * manual/examples/longopt.c: Likewise.
56130 * manual/examples/memopen.c: Likewise.
56131 * manual/examples/memstrm.c: Likewise.
56132 * manual/examples/mkfsock.c: Likewise.
56133 * manual/examples/mkisock.c: Likewise.
56134 * manual/examples/mygetpass.c: Likewise.
56135 * manual/examples/pipe.c: Likewise.
56136 * manual/examples/popen.c: Likewise.
56137 * manual/examples/rprintf.c: Likewise.
56138 * manual/examples/search.c: Likewise.
56139 * manual/examples/select.c: Likewise.
56140 * manual/examples/setjmp.c: Likewise.
56141 * manual/examples/sigh1.c: Likewise.
56142 * manual/examples/sigusr.c: Likewise.
56143 * manual/examples/stpcpy.c: Likewise.
56144 * manual/examples/strdupa.c: Likewise.
56145 * manual/examples/strftim.c: Likewise.
56146 * manual/examples/strncat.c: Likewise.
56147 * manual/examples/subopt.c: Likewise.
56148 * manual/examples/swapcontext.c: Likewise.
56149 * manual/examples/termios.c: Likewise.
56150 * manual/examples/testopt.c: Likewise.
56151 * manual/examples/testpass.c: Likewise.
56152 * manual/examples/timeval_subtract.c: Likewise.
56153
56154 [BZ #13792]
56155 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56156 function to ...
56157 * manual/timeval_subtract.c.texi: ... here, new file.
56158
56159 2012-03-02 David S. Miller <davem@davemloft.net>
56160
56161 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56162
56163 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56164
56165 [BZ #3976]
56166 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56167 (__sin): Save and restore rounding mode and use round-to-nearest
56168 for all computations.
56169 (__cos): Save and restore rounding mode and use round-to-nearest
56170 for all computations.
56171 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56172 <fenv.h>.
56173 (tan): Save and restore rounding mode and use round-to-nearest for
56174 all computations.
56175 * math/libm-test.inc (cos_test_tonearest): New function.
56176 (cos_test_towardzero): Likewise.
56177 (cos_test_downward): Likewise.
56178 (cos_test_upward): Likewise.
56179 (sin_test_tonearest): Likewise.
56180 (sin_test_towardzero): Likewise.
56181 (sin_test_downward): Likewise.
56182 (sin_test_upward): Likewise.
56183 (tan_test_tonearest): Likewise.
56184 (tan_test_towardzero): Likewise.
56185 (tan_test_downward): Likewise.
56186 (tan_test_upward): Likewise.
56187 (main): Call the new functions.
56188 * sysdeps/i386/fpu/libm-test-ulps: Update.
56189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56190
56191 [BZ #10135]
56192 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56193 small n, then large n, before computing and testing k+n.
56194 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56196 Likewise.
56197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56198 Likewise.
56199 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56200 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56201 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56202 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56203 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56204 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56205 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56206 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56207 * math/libm-test.inc (scalbn_test): Add more tests.
56208 (scalbln_test): Likewise.
56209
56210 * manual/filesys.texi (mode_t): Describe constraints on size and
56211 signedness, not exact equivalence to a particular type.
56212 (ino_t): Likewise.
56213 (ino64_t): Likewise.
56214 (dev_t): Likewise.
56215 (nlink_t): Likewise.
56216 (blkcnt_t): Likewise.
56217 (blkcnt64_t): Likewise.
56218 * manual/llio.texi (off_t): Likewise.
56219
56220 [BZ #3976]
56221 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56222 (__ieee754_exp): Save and restore rounding mode and use
56223 round-to-nearest for all computations.
56224 * math/libm-test.inc (exp_test_tonearest): New function.
56225 (exp_test_towardzero): Likewise.
56226 (exp_test_downward): Likewise.
56227 (exp_test_upward): Likewise.
56228 (main): Call the new functions.
56229 * sysdeps/i386/fpu/libm-test-ulps: Update.
56230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56231
56232 2012-03-01 Chris Demetriou <cgd@google.com>
56233
56234 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56235 have predictable order.
56236
56237 2012-03-01 David S. Miller <davem@davemloft.net>
56238
56239 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56240
56241 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56242 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56243 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56244 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56245
56246 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56247 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56248 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56250 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56251 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56252 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56253 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56254 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56255
56256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56257
56258 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56259 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56260 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56261
56262 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56263 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56264 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56265 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56266 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56269 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56270 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56271 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56272 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56275 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56276 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56278 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56279 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56280 * sysdeps/sparc/elf/configure: Regenerated.
56281
56282 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56283
56284 * configure.in (AS, LD): Require binutils 2.20 or later.
56285 * configure: Regenerated.
56286 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56287 as required minimum version.
56288 * INSTALL: Regenerated.
56289
56290 [BZ #2541]
56291 [BZ #4108]
56292 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56293 before squaring exponent.
56294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56295 bottom long double and 27 bits of top long double before squaring
56296 exponent.
56297 * math/libm-test.inc (erfc_test): Add more tests.
56298 * sysdeps/i386/fpu/libm-test-ulps: Update.
56299 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56301
56302 2012-03-01 Kai Tietz <ktietz@redhat.com>
56303
56304 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56305 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56306 containing bit-fields.
56307 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56308 * soft-fp/single.h (_FP_UNION_S): Likewise.
56309 * soft-fp/double.h (_FP_UNION_D): Likewise.
56310
56311 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56312
56313 [BZ #13786]
56314 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56315 not include ../strcmp.S.
56316 [USE_AS_STRNCASECMP_L]: Likewise.
56317 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56318 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56319 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56320 (__strncasecmp_l_ia32): Define as alias to
56321 __strncasecmp_l_nonascii.
56322
56323 [BZ #5794]
56324 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56325 * sysdeps/i386/fpu/libm-test-ulps: Update.
56326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56327
56328 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56330
56331 2012-02-29 Jeff Law <law@redhat.com>
56332
56333 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56334 out of bounds read.
56335
56336 2012-02-29 Marek Polacek <polacek@redhat.com>
56337
56338 [BZ #13706]
56339 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56340 * elf/Makefile: Add rules to run tst-unused-dep.out.
56341
56342 2012-02-28 David S. Miller <davem@davemloft.net>
56343
56344 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56345 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56347 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56348 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56349 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56350
56351 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56352
56353 * math/libm-test.inc (llround_test): Move one test from
56354 lround_test. Use TEST_f_L in moved test.
56355 (lround_test): Move misplaced test to llround_test. Add testcase
56356 from bug 2561.
56357
56358 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56359
56360 * sysdeps/x86_64/fpu/e_expf.S: New file.
56361 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56362
56363 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56364
56365 [BZ #13637]
56366 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56367 of remain_len that may cause incomplete multi-byte character and
56368 false match.
56369 * posix/bug-regex33.c: New file.
56370 * posix/Makefile (tests): Add bug-regex33.
56371
56372 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56373
56374 * manual/macros.texi: New file.
56375 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56376 * manual/libc.texinfo: Include macros.texi.
56377 * manual/creatute.texi: Likewise.
56378 * manual/install.texi: Likewise.
56379 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56380 @glibcadj{} in references to the GNU C Library.
56381 * manual/charset.texi: Likewise.
56382 * manual/conf.texi: Likewise.
56383 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56384 when not using those macros.
56385 * manual/creature.texi: Likewise.
56386 * manual/crypt.texi: Likewise.
56387 * manual/errno.texi: Likewise.
56388 * manual/filesys.texi: Likewise.
56389 * manual/header.texi: Likewise.
56390 * manual/install.texi: Likewise.
56391 * manual/intro.texi: Likewise.
56392 * manual/io.texi: Likewise.
56393 * manual/job.texi: Likewise.
56394 * manual/lang.texi: Likewise.
56395 * manual/libc.texiinfo: Likewise.
56396 * manual/llio.texi: Likewise.
56397 * manual/locale.texi: Likewise.
56398 * manual/maint.texi: Likewise.
56399 * manual/math.texi: Likewise.
56400 * manual/memory.texi: Likewise.
56401 * manual/message.texi: Likewise.
56402 * manual/nss.texi: Likewise.
56403 * manual/pattern.texi: Likewise.
56404 * manual/process.texi: Likewise.
56405 * manual/resource.texi: Likewise.
56406 * manual/search.texi: Likewise.
56407 * manual/setjmp.texi: Likewise.
56408 * manual/signal.texi: Likewise.
56409 * manual/socket.texi: Likewise.
56410 * manual/startup.texi: Likewise.
56411 * manual/stdio.texi: Likewise.
56412 * manual/string.texi: Likewise.
56413 * manual/sysinfo.texi: Likewise.
56414 * manual/syslog.texi: Likewise.
56415 * manual/terminal.texi: Likewise.
56416 * manual/time.texi: Likewise.
56417 * manual/users.texi: Likewise.
56418 * INSTALL: Regenerated.
56419 * NOTES: Regenerated.
56420 * sysdeps/gnu/errlist.c: Regenerated.
56421
56422 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56423
56424 * include/dirent.h: Include <dirstream.h> before
56425 <dirent/dirent.h>.
56426
56427 2012-02-28 David S. Miller <davem@davemloft.net>
56428
56429 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56430 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56431 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56432 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56433
56434 2012-02-27 David S. Miller <davem@davemloft.net>
56435
56436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56438 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56439 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56440
56441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56442 frame pointer instead of stack pointer relative arg slot.
56443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56444 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56445 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56446
56447 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56448
56449 [BZ #3992]
56450 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56451
56452 2012-02-27 David S. Miller <davem@davemloft.net>
56453
56454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56460 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56461 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56462
56463 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56464
56465 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56466 later. Allow versions 5-9.
56467 * configure: Regenerated.
56468 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56469 required minimum version and 4.6 as recommended version. Do not
56470 mention bugs in GCC 2.7 and 2.8.
56471 * INSTALL: Regenerated.
56472
56473 2012-02-27 David S. Miller <davem@davemloft.net>
56474
56475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56481 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56482 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56483
56484 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56485 manipulate bits before adding and subtracting TWO112[sx].
56486 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56487
56488 2012-02-27 Roland McGrath <roland@hack.frob.com>
56489
56490 [BZ #13775]
56491 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56492 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56493 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56494 being in POSIX, because they are in 1003.1-2008.
56495
56496 * rt/tst-aio.c: Include <fcntl.h>.
56497 * rt/tst-aio7.c: Likewise.
56498 * rt/tst-aio64.c: Likewise.
56499
56500 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56501
56502 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56503
56504 * manual/install.texi (--with-headers): Describe headers as
56505 interface headers, not private headers.
56506 (Specific advice for GNU/Linux systems): Describe use of headers
56507 from "make headers_install", not private headers from older
56508 kernels.
56509 * INSTALL: Regenerated.
56510 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56511 Change to 2.6.19.
56512 * sysdeps/unix/sysv/linux/configure: Regenerated.
56513
56514 * manual/llio.texi (fclean): Remove documentation.
56515
56516 * manual/Makefile (libc-texi-generated): New variable. Include
56517 version.texi.
56518 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56519 $(libc-texi-generated), not duplicated list of files.
56520 (version.texi, stamp-version): New rules.
56521 (realclean): Remove $(libc-texi-generated), not individual files
56522 from that list. Do not remove dir-add.texinfo.
56523 * manual/libc.texinfo: Comment out uses of edition numbers and
56524 references to printed manual. Remove last-updated dates.
56525 (EDITION): Comment out.
56526 (ISBN): Likewise.
56527 (VERSION, UPDATED): Remove.
56528 (version.texi): Include.
56529
56530 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56531
56532 * sysdeps/posix/spawni.c: Include <signal.h>.
56533 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56534 * sysdeps/pthread/aio_fsync.c: Likewise.
56535
56536 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56537
56538 * conform/Makefile (tests): Run only when not cross-compiling and
56539 when fast-check is not defined.
56540
56541 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56542 * conform/data/limits.h-data: Fixes for POSIX2008.
56543 * conform/run-conformtest.sh: Run all tests.
56544 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56545 headers.
56546 * include/bits/dlfcn.h: Likewise.
56547 * include/langinfo.h: Likewise.
56548 * include/monetary.h: Likewise.
56549 * include/sys/poll.h: Likewise.
56550
56551 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56552 for __USE_GNU.
56553 * posix/spawn.h: Define __need_sigset_t.
56554 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56555 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56556 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56557 to get sigevent_t only.
56558 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56559 only for __USE_GNU.
56560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56561 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56562 process_vm_writev only for __USE_GNU.
56563 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56564
56565 * conform/Makefile: For now ignore errors from run-conformtest.
56566 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56567 POSIX to avoid namespace pollution. Don't prepend headers.
56568 * conform/data/aio.h-data: Fixes for POSIX testing.
56569 * conform/data/fcntl.h-data: Likewise.
56570 * conform/data/glob.h-data: Likewise.
56571 * conform/data/grp.h-data: Likewise.
56572 * conform/data/pthread.h-data: Likewise.
56573 * conform/data/pwd.h-data: Likewise.
56574 * conform/data/signal.h-data: Likewise.
56575 * conform/data/spawn.h-data: Likewise.
56576 * conform/data/stdio.h-data: Likewise.
56577 * conform/data/stdlib.h-data: Likewise.
56578 * conform/data/stropts.h-data: Likewise.
56579 * conform/data/sys/mman.h-data: Likewise.
56580 * conform/data/sys/stat.h-data: Likewise.
56581 * conform/data/sys/types.h-data: Likewise.
56582 * conform/data/sys/wait.h-data: Likewise.
56583 * conform/data/time.h-data: Likewise.
56584 * conform/data/unistd.h-data: Likewise.
56585 * conform/data/utime.h-data: Likewise.
56586
56587 * io/sys/stat.h: fchmod was always in POSIX.
56588 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56589 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56590 * rt/aio.h: Define __need_timespec before including <time.h>.
56591 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56592 struct. Add forward declaration of pthread_attr_t and use it in
56593 sigevent.
56594 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56595 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56596 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56597 always remove CLK_TCK definition.
56598
56599 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56600
56601 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56602
56603 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56604
56605 * conform/run-conformtest.sh: New file.
56606 * conform/Makefile: Run run-conformtest for tests.
56607 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56608 support.
56609
56610 * conform/data/uchar.h-data: New file.
56611 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56612 * conform/data/arpa/inet.h-data: Likewise.
56613 * conform/data/assert.h-data: Likewise.
56614 * conform/data/complex.h-data: Likewise.
56615 * conform/data/cpio.h-data: Likewise.
56616 * conform/data/ctype.h-data: Likewise.
56617 * conform/data/dirent.h-data: Likewise.
56618 * conform/data/dlfcn.h-data: Likewise.
56619 * conform/data/errno.h-data: Likewise.
56620 * conform/data/fcntl.h-data: Likewise.
56621 * conform/data/float.h-data: Likewise.
56622 * conform/data/fmtmsg.h-data: Likewise.
56623 * conform/data/fnmatch.h-data: Likewise.
56624 * conform/data/ftw.h-data: Likewise.
56625 * conform/data/glob.h-data: Likewise.
56626 * conform/data/grp.h-data: Likewise.
56627 * conform/data/iconv.h-data: Likewise.
56628 * conform/data/inttypes.h-data: Likewise.
56629 * conform/data/langinfo.h-data: Likewise.
56630 * conform/data/libgen.h-data: Likewise.
56631 * conform/data/limits.h-data: Likewise.
56632 * conform/data/locale.h-data: Likewise.
56633 * conform/data/math.h-data: Likewise.
56634 * conform/data/monetary.h-data: Likewise.
56635 * conform/data/mqueue.h-data: Likewise.
56636 * conform/data/ndbm.h-data: Likewise.
56637 * conform/data/net/if.h-data: Likewise.
56638 * conform/data/netdb.h-data: Likewise.
56639 * conform/data/netinet/in.h-data: Likewise.
56640 * conform/data/nl_types.h-data: Likewise.
56641 * conform/data/poll.h-data: Likewise.
56642 * conform/data/pthread.h-data: Likewise.
56643 * conform/data/pwd.h-data: Likewise.
56644 * conform/data/regex.h-data: Likewise.
56645 * conform/data/sched.h-data: Likewise.
56646 * conform/data/search.h-data: Likewise.
56647 * conform/data/semaphore.h-data: Likewise.
56648 * conform/data/setjmp.h-data: Likewise.
56649 * conform/data/signal.h-data: Likewise.
56650 * conform/data/spawn.h-data: Likewise.
56651 * conform/data/stdarg.h-data: Likewise.
56652 * conform/data/stdio.h-data: Likewise.
56653 * conform/data/stdlib.h-data: Likewise.
56654 * conform/data/string.h-data: Likewise.
56655 * conform/data/strings.h-data: Likewise.
56656 * conform/data/stropts.h-data: Likewise.
56657 * conform/data/sys/ipc.h-data: Likewise.
56658 * conform/data/sys/mman.h-data: Likewise.
56659 * conform/data/sys/msg.h-data: Likewise.
56660 * conform/data/sys/resource.h-data: Likewise.
56661 * conform/data/sys/select.h-data: Likewise.
56662 * conform/data/sys/sem.h-data: Likewise.
56663 * conform/data/sys/shm.h-data: Likewise.
56664 * conform/data/sys/socket.h-data: Likewise.
56665 * conform/data/sys/stat.h-data: Likewise.
56666 * conform/data/sys/statvfs.h-data: Likewise.
56667 * conform/data/sys/time.h-data: Likewise.
56668 * conform/data/sys/timeb.h-data: Likewise.
56669 * conform/data/sys/times.h-data: Likewise.
56670 * conform/data/sys/types.h-data: Likewise.
56671 * conform/data/sys/uio.h-data: Likewise.
56672 * conform/data/sys/un.h-data: Likewise.
56673 * conform/data/sys/utsname.h-data: Likewise.
56674 * conform/data/sys/wait.h-data: Likewise.
56675 * conform/data/syslog.h-data: Likewise.
56676 * conform/data/tar.h-data: Likewise.
56677 * conform/data/termios.h-data: Likewise.
56678 * conform/data/utime.h-data: Likewise.
56679 * conform/data/utmpx.h-data: Likewise.
56680 * conform/data/varargs.h-data: Likewise.
56681 * conform/data/wchar.h-data: Likewise.
56682 * conform/data/wctype.h-data: Likewise.
56683 * conform/data/wordexp.h-data: Likewise.
56684
56685 * include/stropts.h: New file.
56686 * include/uchar.h: New file.
56687 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56688 * include/assert.h: Likewise.
56689 * include/ctype.h: Likewise.
56690 * include/dirent.h: Likewise.
56691 * include/dlfcn.h: Likewise.
56692 * include/fcntl.h: Likewise.
56693 * include/fnmatch.h: Likewise.
56694 * include/glob.h: Likewise.
56695 * include/grp.h: Likewise.
56696 * include/libio.h: Likewise.
56697 * include/locale.h: Likewise.
56698 * include/math.h: Likewise.
56699 * include/net/if.h: Likewise.
56700 * include/netdb.h: Likewise.
56701 * include/netinet/in.h: Likewise.
56702 * include/pthread.h: Likewise.
56703 * include/pwd.h: Likewise.
56704 * include/regex.h: Likewise.
56705 * include/sched.h: Likewise.
56706 * include/search.h: Likewise.
56707 * include/setjmp.h: Likewise.
56708 * include/signal.h: Likewise.
56709 * include/stdio.h: Likewise.
56710 * include/stdlib.h: Likewise.
56711 * include/string.h: Likewise.
56712 * include/sys/cdefs.h: Likewise.
56713 * include/sys/mman.h: Likewise.
56714 * include/sys/msg.h: Likewise.
56715 * include/sys/resource.h: Likewise.
56716 * include/sys/select.h: Likewise.
56717 * include/sys/socket.h: Likewise.
56718 * include/sys/stat.h: Likewise.
56719 * include/sys/statvfs.h: Likewise.
56720 * include/sys/time.h: Likewise.
56721 * include/sys/times.h: Likewise.
56722 * include/sys/uio.h: Likewise.
56723 * include/sys/utsname.h: Likewise.
56724 * include/sys/wait.h: Likewise.
56725 * include/termios.h: Likewise.
56726 * include/time.h: Likewise.
56727 * include/ulimit.h: Likewise.
56728 * include/unistd.h: Likewise.
56729 * include/utime.h: Likewise.
56730 * include/wchar.h: Likewise.
56731 * include/wctype.h: Likewise.
56732 * include/wordexp.h: Likewise.
56733
56734 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56735
56736 * time/time.h: TIME_UTC must be a macro.
56737 Make timespec_get available for ISO C11 only as well.
56738
56739 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56740
56741 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56742 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56743
56744 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56745
56746 * configure.in: Use -o not -a in test for unsupported multi-arch.
56747
56748 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56749
56750 * manual/texinfo.tex: Update to version 2012-01-19.16.
56751
56752 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56753
56754 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56755
56756 2012-02-24 Roland McGrath <roland@hack.frob.com>
56757
56758 [BZ #13738]
56759 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56760 * manual/fdl-1.3.texi: New file.
56761 * manual/fdl-1.1.texi: File removed.
56762
56763 [BZ #13738]
56764 * manual/libc.texinfo (FDL_VERSION): New @set.
56765 Use it for mention of FDL in cover text.
56766 (Documentation License): Use it in @include file name.
56767
56768 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56769 Roland McGrath <roland@hack.frob.com>
56770
56771 [BZ #5461]
56772 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56773 (not LONG_LONG_MAX and LONG_LONG_MIN.
56774 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56775 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56776 name.
56777 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56778
56779 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56780
56781 [BZ #2547]
56782 [BZ #11365]
56783 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56784 manipulate bits before adding and subtracting TWO23[sx].
56785 * math/libm-test.inc (nearbyint_test): Add more tests.
56786
56787 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56788
56789 [BZ #2548]
56790 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56791 bits before adding and subtracting TWO23[sx].
56792 * math/libm-test.inc (rint_test): Add more tests.
56793 (rint_test_tonearest): Likewise.
56794 (rint_test_towardzero): Likewise.
56795 (rint_test_downward): Likewise.
56796 (rint_test_upward: Likewise.
56797
56798 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56799
56800 [BZ #10110]
56801 * include/stdc-predef.h: New file. Extracted from features.h.
56802 * include/features.h: Include stdc-predef.h.
56803 * Makefile (headers): Add stdc-predef.h.
56804 * CONFORMANCE (Compiler limitations): Update.
56805
56806 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56807
56808 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56809
56810 2012-02-21 David S. Miller <davem@davemloft.net>
56811
56812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56813 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56814
56815 2012-02-20 David S. Miller <davem@davemloft.net>
56816
56817 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56818 using a normal save/restore sequence, rather than allocating a
56819 dummy stack frame just to store a frame pointer and restore.
56820 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56821
56822 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56823
56824 * manual/install.texi: Fix stray word in line-wrapped comment.
56825
56826 2012-02-20 David S. Miller <davem@davemloft.net>
56827
56828 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56829 both binutils and gcc support GOTDATA.
56830
56831 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56832 "rd %pc" in the PIC register setup sequences.
56833
56834 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56835 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56836 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56837 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56838 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56840 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56843 (SYSCALL_ERROR_HANDLER): Likewise.
56844 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56845 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56847 (SYSCALL_ERROR_HANDLER): Likewise.
56848
56849 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56850 (HAVE_GCC_GOTDATA): New.
56851 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56852 relocation support in both binutils and gcc.
56853 * sysdeps/sparc/elf/configure: Regenerate.
56854
56855 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56856 * sysdeps/sparc/sparc32/elf/configure: Delete.
56857 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56858 * sysdeps/sparc/sparc64/elf/configure: Delete.
56859 * sysdeps/sparc/elf/configure.in: New file.
56860 * sysdeps/sparc/elf/configure: Generate.
56861
56862 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56863 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56864 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56865 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56866 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56867
56868 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56869
56870 * manual/install.texi: Do not mention specific glibc version
56871 numbers.
56872 * manual/libc.texinfo (VERSION, UPDATED): Update.
56873 (@copying): Use @copyright{} and range of years.
56874
56875 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56876
56877 [BZ #13695]
56878 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56879 [crti.S not in sysdirs] (generated): Do not append.
56880 [crti.S not in sysdirs] (omit-deps): Likewise.
56881 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56882 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56883 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56884 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56885 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56886 Likewise.
56887 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56888 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56889 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56890 * csu/defs.awk: Remove file.
56891 * sysdeps/generic/initfini.c: Likewise.
56892 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56893 variable.
56894 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56895 Likewise.
56896
56897 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56898
56899 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56900 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56901 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56902 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56904 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56905 <bits/epoll.h>.
56906 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56907 (__EPOLL_PACKED): Define to empty if not defined by
56908 <bits/epoll.h>.
56909 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56911 bits/epoll.h.
56912
56913 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56914
56915 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56916 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56917 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56918 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56919 <bits/timerfd.h>.
56920 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56922 bits/timerfd.h.
56923
56924 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56925
56926 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56927 in C locale.
56928 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56929 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56930 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56932
56933 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
56934
56935 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56936 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56937
56938 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
56939
56940 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56941 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56942 defined.
56943 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56944 Likewise.
56945 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56946 entry for 2.16.
56947
56948 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
56949
56950 * math/w_acos.c: Use non-signaling floating-point comparisons.
56951 * math/w_acosf.c: Likewise.
56952 * math/w_acosh.c: Likewise.
56953 * math/w_acoshf.c: Likewise.
56954 * math/w_acoshl.c: Likewise.
56955 * math/w_acosl.c: Likewise.
56956 * math/w_asin.c: Likewise.
56957 * math/w_asinf.c: Likewise.
56958 * math/w_asinl.c: Likewise.
56959 * math/w_atanh.c: Likewise.
56960 * math/w_atanhf.c: Likewise.
56961 * math/w_atanhl.c: Likewise.
56962 * math/w_exp2.c: Likewise.
56963 * math/w_exp2f.c: Likewise.
56964 * math/w_exp2l.c: Likewise.
56965 * math/w_j0.c: Likewise.
56966 * math/w_j0f.c: Likewise.
56967 * math/w_j0l.c: Likewise.
56968 * math/w_j1.c: Likewise.
56969 * math/w_j1f.c: Likewise.
56970 * math/w_j1l.c: Likewise.
56971 * math/w_jn.c: Likewise.
56972 * math/w_jnf.c: Likewise.
56973 * math/w_log.c: Likewise.
56974 * math/w_log10.c: Likewise.
56975 * math/w_log10f.c: Likewise.
56976 * math/w_log10l.c: Likewise.
56977 * math/w_log2.c: Likewise.
56978 * math/w_log2f.c: Likewise.
56979 * math/w_log2l.c: Likewise.
56980 * math/w_logf.c: Likewise.
56981 * math/w_logl.c: Likewise.
56982 * math/w_sqrt.c: Likewise.
56983 * math/w_sqrtf.c: Likewise.
56984 * math/w_sqrtl.c: Likewise.
56985 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56986 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56987 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56988 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56989 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56990
56991 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56992
56993 [BZ #9739]
56994 * manual/string.texi (strnlen): Use correct parameter name in
56995 equivalent expression.
56996
56997 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56998
56999 [BZ #11174]
57000 * manual/users.texi (seteuid): Consistently use neweuid for
57001 argument name.
57002
57003 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57004
57005 [BZ #13704]
57006 * manual/nss.texi (Services in the NSS configuration): Correct
57007 list of services in example configuration file.
57008
57009 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57010
57011 [BZ #11322]
57012 * manual/arith.texi: Remove statements about negative zero
57013 behaving identically to zero.
57014
57015 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57016
57017 [BZ #5993]
57018 * manual/install.texi: Do not document upgrading from libc5.
57019
57020 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57021
57022 [BZ #4596]
57023 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57024
57025 2012-02-18 David S. Miller <davem@davemloft.net>
57026
57027 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57028 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57029 %o7 across the call.
57030 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57031 instead.
57032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57033 SETUP_PIC_REG_LEAF.
57034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57035 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57036 * sysdeps/sparc/crtn.S: Likewise.
57037
57038 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57039
57040 * aout/Makefile: Remove.
57041
57042 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57043
57044 [BZ #13058]
57045 * manual/examples/argp-ex1.c (main): Format definition in GNU
57046 style.
57047 * manual/examples/argp-ex2.c (main): Likewise.
57048 * manual/examples/argp-ex3.c (main): Likewise.
57049 * manual/examples/argp-ex4.c (main): Likewise.
57050 * manual/examples/longopt.c (main): Use new-style prototype
57051 definition.
57052 * manual/examples/strncat.c (main): Specify return type and use
57053 (void) for arguments.
57054 * manual/examples/subopt.c (main): Use char **argv argument.
57055
57056 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57057
57058 [BZ #5077]
57059 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57060 rounding modes.
57061
57062 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57063
57064 [BZ #6907]
57065 * manual/string.texi (strchr): Change when strchrnul is
57066 recommended.
57067
57068 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57069
57070 [BZ #174]
57071 * manual/locale.texi (setlocale): Document LOCPATH.
57072
57073 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57074
57075 [BZ #10210]
57076 * manual/process.texi (execle): Move @dots{} before last argument.
57077
57078 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57079
57080 [BZ #12047]
57081 * manual/charset.texi (Generic Charset Conversion): Fix typo
57082 (LC_TYPE -> LC_CTYPE).
57083
57084 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57085
57086 [BZ #5805]
57087 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57088 (scalbnf): Likewise.
57089 (scalbnl): Likewise.
57090 (scalbln): Likewise.
57091 (scalblnf): Likewise.
57092 (scalblnl): Likewise.
57093 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57094 (vwarnx): Likewise.
57095 (verr): Likewise.
57096 (verrx): Likewise.
57097 * manual/filesys.texi (telldir): Use braces around return type.
57098 * manual/llio.texi (mmap): Add space after comma.
57099 (mmap64): Likewise.
57100 * manual/math.texi (jn): Use @var{} on parameter names.
57101 (jnf): Likewise.
57102 (jnl): Likewise.
57103 (yn): Likewise.
57104 (ynf): Likewise.
57105 (ynl): Likewise.
57106 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57107 line.
57108 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57109 "...".
57110 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57111 (sched_get_priority_max): Likewise.
57112 * manual/signal.texi (sigvec): Add space after comma.
57113 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57114 names.
57115 (if_indextoname): Likewise.
57116 (if_freenameindex): Likewise.
57117 (sendto): Use ',' instead of '.' in prototype.
57118 * manual/startup.texi (syscall): Use @dots{} instead of literal
57119 "...".
57120 * manual/stdio.texi (__fpending): Separate initial words of
57121 paragraph from @deftypefun line.
57122 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57123 "...".
57124 (vsyslog): Use @var{} on parameter names.
57125 * manual/terminal.texi (stty): Use @var{} on parameter names.
57126 * manual/users.texi (getutmp): Use @var{} on parameter names.
57127 (getutmpx): Likewise.
57128
57129 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57130
57131 [BZ #6884]
57132 * manual/stdio.texi (fopen): Fix typos in description of
57133 ",ccs=STRING".
57134
57135 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57136
57137 [BZ #4026]
57138 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57139 get clock_id definition.
57140
57141 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57142
57143 [BZ #4822]
57144 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57145 (madvise): Cast every argument to void on its own.
57146
57147 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57148
57149 [BZ #9902]
57150 * manual/startup.texi (Exit Status): Fix typo.
57151
57152 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57153
57154 [BZ #10140]
57155 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57156 * manual/examples/argp-ex2.c: Likewise.
57157 * manual/examples/argp-ex3.c: Likewise.
57158
57159 2012-02-16 Richard Henderson <rth@redhat.com>
57160
57161 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57162 * sysdeps/s390/s390-32/initfini.c: Remove.
57163 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57164 * sysdeps/s390/s390-64/initfini.c: Remove.
57165
57166 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57167
57168 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57169 compiler output for sysdeps/generic/initfini.c.
57170 * sysdeps/sh/elf/initfini.c: Remove file.
57171
57172 2012-02-16 David S. Miller <davem@davemloft.net>
57173
57174 [BZ #11494]
57175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57176
57177 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57178 * sysdeps/sparc/crti.S: New file.
57179 * sysdeps/sparc/crtn.S: New file.
57180 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57181 * sysdeps/sparc/sparc64/Makefile: Likewise.
57182
57183 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57184
57185 [BZ #3335]
57186 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57187
57188 2012-02-15 Roland McGrath <roland@hack.frob.com>
57189
57190 [BZ #4822]
57191 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57192
57193 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57194 (write, read, close): Likewise.
57195 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57196
57197 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57198
57199 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57200 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57201 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57202 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57203 <bits/signalfd.h>.
57204 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57206 bits/signalfd.h.
57207
57208 2012-02-14 Marek Polacek <polacek@redhat.com>
57209
57210 * sysdeps/x86_64/crti.S: New file.
57211 * sysdeps/x86_64/crtn.S: New file.
57212 * sysdeps/x86_64/elf/initfini.c: Remove file.
57213
57214 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57215
57216 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57217 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57218 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57219 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57220 <bits/inotify.h>.
57221 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57223 bits/inotify.h.
57224
57225 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57226
57227 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57228 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57229 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57230 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57231 <bits/eventfd.h>.
57232 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57234 bits/eventfd.h.
57235
57236 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57237
57238 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57239 __feraiseexcept instead of feraiseexcept.
57240
57241 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57242 nanosleep invocations.
57243 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57244 strings, and add error checking for a nanosleep invocations.
57245
57246 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57247
57248 Replace FSF snail mail address with URLs, as per GNU coding standards.
57249 Most of the snail mail addresses were wrong anyway, and omitting
57250 them makes the source code easier to maintain. Almost all of the
57251 changes are to license notices and to locale LC_IDENTIFICATION
57252 addresses, except for this one:
57253 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57254 not its snail mail address.
57255
57256 2012-02-09 Richard Henderson <rth@twiddle.net>
57257
57258 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57259 of kernel-features.h.
57260
57261 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57262
57263 2012-02-08 Marek Polacek <polacek@redhat.com>
57264
57265 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57266 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57267 * sysdeps/gnu/_G_config.h: Likewise.
57268 * sysdeps/generic/_G_config.h: Likewise.
57269
57270 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57271
57272 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57273 tests.
57274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57275
57276 * sysdeps/powerpc/powerpc32/crti.S: New file.
57277 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57278 * sysdeps/powerpc/powerpc64/crti.S: New file.
57279 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57280
57281 * Makeconfig (have-initfini): Don't set.
57282 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57283 * configure.in (nopic_initfini): Don't substitute.
57284 * config.h.in (HAVE_INITFINI): Don't #undef.
57285 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57286 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57287
57288 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57289
57290 Support crti.S and crtn.S provided directly by architectures.
57291 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57292 [crti.S in sysdirs] (omit-deps): Likewise.
57293 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57294 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57295 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57296 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57297 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57298 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57299 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57300 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57301 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57302 compiler output for sysdeps/generic/initfini.c.
57303 * sysdeps/i386/elf/Makefile: Remove file.
57304 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57305
57306 2012-02-07 Marek Polacek <polacek@redhat.com>
57307
57308 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57309 * sysdeps/gnu/_G_config.h: Likewise.
57310 * sysdeps/mach/hurd/_G_config.h: Likewise.
57311
57312 2012-02-07 Marek Polacek <polacek@redhat.com>
57313
57314 * math/Makefile (tests): Add tst-CMPLX2.
57315 * math/tst-CMPLX2.c: New file.
57316
57317 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57318
57319 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57320
57321 * math/libm-test.inc (jn_test): Add missing L suffix.
57322
57323 2012-02-06 Marek Polacek <polacek@redhat.com>
57324
57325 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57326 * sysdeps/i386/fpu/e_powf.S: Likewise.
57327 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57328 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57329 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57330 * sysdeps/i386/fpu/e_pow.S: Likewise.
57331 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57332 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57333 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57334 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57335 * sysdeps/i386/fpu/e_log2.S: Likewise.
57336 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57337 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57338 * sysdeps/i386/fpu/e_powl.S: Likewise.
57339 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57340 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57341 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57342 * sysdeps/i386/fpu/e_logl.S: Likewise.
57343 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57344 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57345 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57346 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57347 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57349 * sysdeps/i386/fpu/e_log.S: Likewise.
57350 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57351 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57352 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57353 * sysdeps/i386/fpu/e_logf.S: Likewise.
57354 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57355 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57356 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57357 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57358 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57359 * sysdeps/i386/fpu/e_log10.S: Likewise.
57360 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57361 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57362 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57363 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57364 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57365 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57366 * sysdeps/i386/asm-syntax.h: Likewise.
57367 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57368 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57369 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57370 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57371 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57372 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57373 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57374 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57375 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57376 * sysdeps/powerpc/sysdep.h: Likewise.
57377 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57378 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57379
57380 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57381
57382 [BZ #411]
57383 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57384
57385 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57386
57387 * sysdeps/i386/sysdep.h: Include <features.h>.
57388 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57389 version.
57390
57391 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57392
57393 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57394 Define.
57395 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57396 LOAD_PIC_REG_STR.
57397
57398 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57399
57400 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57401 (SETUP_PIC_REG): Use GET_PC_THUNK.
57402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57403 macro.
57404
57405 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57406
57407 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57408 for non-PIC compilation.
57409 (SETUP_PIC_REG): Add .p2align directive.
57410 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57411 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57412 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57413 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57414 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57415 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57416 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57417 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57418 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57419 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57420 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57421 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57422 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57423 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57424 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57425 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57426 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57427 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57428 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57429 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57431 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57432 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57433 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57436 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57437 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57438 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57439 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57440 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57441 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57442 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57443 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57444 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57445 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57446 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57447 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57448 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57449 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57450 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57451
57452 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57453
57454 * math/tst-CMPLX.c: Include <stdio.h>.
57455
57456 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57457
57458 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57459 float.
57460 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57461 * sysdeps/sparc/bits/mathdef.h: Likewise.
57462
57463 2012-01-31 Marek Polacek <polacek@redhat.com>
57464
57465 * libio/libio.h: Don't define _PARAMS.
57466 * locale/programs/config.h: Don't define PARAMS.
57467 * stdlib/strtol_l.c: Likewise.
57468 (__strtol_l): Remove PARAMS from the prototype.
57469
57470 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57471
57472 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57473 names. Just use the correct names. Remove unnecessary wrapper
57474 functions.
57475 * malloc/arena.c: Likewise.
57476 * malloc/hooks.c: Likewise.
57477
57478 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57479 ARENA_TEST says not to. Simplify test for creation of a new arena.
57480 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57481
57482 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57483
57484 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57485 into tail calls.
57486 (update_get_addr): New function.
57487 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57488 GET_ADDR_MODULE parameter.
57489
57490 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57491
57492 * crypt/cert.c: Remove __STDC__ conditionals.
57493 * crypt/crypt-entry.c: Likewise.
57494 * crypt/crypt_util.c: Likewise.
57495 * libio/filedoalloc.c: Likewise.
57496 * libio/fileops.c: Likewise.
57497 * libio/genops.c: Likewise.
57498 * libio/iofclose.c: Likewise.
57499 * libio/iofdopen.c: Likewise.
57500 * libio/iofopen.c: Likewise.
57501 * libio/iofopen64.c: Likewise.
57502 * libio/iogetdelim.c: Likewise.
57503 * libio/iopopen.c: Likewise.
57504 * libio/obprintf.c: Likewise.
57505 * libio/oldfileops.c: Likewise.
57506 * libio/oldiofclose.c: Likewise.
57507 * libio/oldiofdopen.c: Likewise.
57508 * libio/oldiofopen.c: Likewise.
57509 * libio/oldiopopen.c: Likewise.
57510 * libio/wfiledoalloc.c: Likewise.
57511 * libio/wgenops.c: Likewise.
57512 * locale/programs/xmalloc.c: Likewise.
57513 * misc/syslog.c: Likewise.
57514 * stdio-common/xbug.c: Likewise.
57515 * string/memchr.c: Likewise.
57516 * string/memcmp.c: Likewise.
57517 * string/memrchr.c: Likewise.
57518 * string/rawmemchr.c: Likewise.
57519 * sysdeps/posix/getcwd.c: Likewise.
57520 * time/strftime_l.c: Likewise.
57521
57522 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57523
57524 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57525 * config.make.in (config-cflags-sse2avx): Define.
57526 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57527 Fix typo.
57528
57529 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57530
57531 * scripts/config.guess: Update from upstream config git repository.
57532 * scripts/config.sub: Likewise.
57533
57534 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57535
57536 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57537 (EM_NUM): Update.
57538 (R_TILEPRO_*, R_TILEGX_*): New macros.
57539
57540 * scripts/firstversions.awk: Fix bug in version range handling.
57541
57542 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57543
57544 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57545
57546 * include/sys/epoll.h: New file.
57547 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57548 libc_hidden_def.
57549
57550 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57551
57552 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57553 Avoid unnecessary __WORDSIZE == 64 test.
57554 (fmaxf): Use VEX format if possible.
57555 (fmax): Likewise.
57556 (fminf): Likewise.
57557 (fmin): Likewise.
57558
57559 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57560 * math/math_private.h: Remove libc_fegetround* and
57561 libc_fesetround*.
57562 * sysdeps/i386/configure.in: Check for -msse2avx.
57563 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57564 also if SSE2AVX is defined.
57565 Remove libc_fegetround* and libc_fesetround*.
57566 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57567 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57569 of HAS_YMM_USABLE.
57570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57575
57576 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57577
57578 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57579
57580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57581 size is not set.
57582 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57583
57584 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57585
57586 [BZ #13618]
57587 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57588 relocation.
57589 * Makeconfig (libm): Define.
57590 * elf/Makefile: Add rules to build and run tst-relsort1.
57591 * elf/tst-relsort1.c: New file.
57592 * elf/tst-relsort1mod1.c: New file.
57593 * elf/tst-relsort1mod2.c: New file.
57594
57595 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57596
57597 * math/s_ldexp.c: Remove __STDC__ conditionals.
57598 * math/s_ldexpf.c: Likewise.
57599 * math/s_ldexpl.c: Likewise.
57600 * math/s_nextafter.c: Likewise.
57601 * math/s_nexttowardf.c: Likewise.
57602 * math/s_significand.c: Likewise.
57603 * math/s_significandf.c: Likewise.
57604 * math/s_significandl.c: Likewise.
57605 * math/w_jnl.c: Likewise.
57606 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57607 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57608 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57609 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57610 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57612 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57613 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57614 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57615 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57616 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57617 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57618 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57619 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57620 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57622 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57623 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57625 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57626 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57627 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57628 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57630 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57631 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57632 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57633 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57634 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57635 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57636 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57637 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57638 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57641 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57642 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57643 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57644 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57645 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57646 * sysdeps/ieee754/k_standard.c: Likewise.
57647 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57648 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57649 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57650 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57651 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57652 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57653 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57654 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57655 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57656 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57657 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57658 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57659 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57660 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57661 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57664 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57665 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57666 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57667 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57668 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57669 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57670 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57671 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57672 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57674 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57676 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57677 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57678 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57679 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57680 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57682 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57683 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57684 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57685 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57686 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57687 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57689 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57690 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57691 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57693 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57694 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57695 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57696 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57697 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57698 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57699 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57700 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57701 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57702 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57703 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57704 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57706 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57708 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57709 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57710 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57711 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57712 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57713 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57714 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57715 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57717 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57718 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57719 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57720 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57721 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57722 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57723 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57724 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57725 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57726 * sysdeps/ieee754/s_matherr.c: Likewise.
57727 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57728 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57731
57732 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57733
57734 * crypt/md5.h: Remove __STDC__ conditionals.
57735 * libio/libioP.h: Likewise.
57736 * locale/programs/config.h: Likewise.
57737 * sysdeps/generic/sysdep.h: Likewise.
57738 * sysdeps/i386/asm-syntax.h: Likewise.
57739 * sysdeps/s390/asm-syntax.h: Likewise.
57740 * sysdeps/unix/sysdep.h: Likewise.
57741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57743
57744 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57745
57746 * libio/libio.h: Remove __STDC__ conditionals.
57747 * malloc/obstack.h: Likewise.
57748 * math/complex.h: Likewise.
57749 * math/math.h: Likewise.
57750 * sysdeps/generic/_G_config.h: Likewise.
57751 * sysdeps/gnu/_G_config.h: Likewise.
57752 * sysdeps/mach/hurd/_G_config.h: Likewise.
57753 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57755 * sysdeps/sparc/bits/mathdef.h: Likewise.
57756
57757 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57758
57759 [BZ #13583]
57760 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57761 Clean up HAS_* macros.
57762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57763 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57764 possible.
57765 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57766 HAS_AVX.
57767 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57768 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57772
57773 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57774
57775 * elf/tst-unique3.cc (gets): Remove declaration.
57776 * elf/tst-unique3lib.cc (gets): Likewise.
57777 * elf/tst-unique3lib2.cc (gets): Likewise.
57778 * elf/tst-unique4.cc (gets): Likewise.
57779
57780 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57781
57782 * include/stdio.h: Add C++ protection. Add gets declarations and
57783 definitions.
57784 * debug/tst-chk1.c: Don't declare gets here.
57785 * stdio-common/tst-gets.c: Likewise.
57786
57787 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57788
57789 * posix/glob: Remove directory.
57790
57791 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57792
57793 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57794
57795 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57796
57797 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57798 of the non-standard EPFNOSUPPORT.
57799
57800 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57801
57802 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57803 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57804 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57805
57806 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57807
57808 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57809
57810 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57811
57812 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57813 transient errors.
57814 * nscd/grpcache.c (cache_addgr): Likewise.
57815 * nscd/hstcache.c (cache_addhst): Likewise.
57816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57817 * nscd/pwdcache.c (cache_addpw): Likewise.
57818 * nscd/servicescache.c (cache_addserv): Likewise.
57819
57820 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57821
57822 * malloc/malloc.c: Various cleanups.
57823 * malloc/hooks.c: Likewise.
57824
57825 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57826 * stdlib/bug-fmtmsg1.c: New file.
57827
57828 * stdlib/fmtmsg.c (init): Add missing unlock.
57829 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57830
57831 2012-01-12 Marek Polacek <polacek@redhat.com>
57832
57833 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57834 and _GNU_SOURCE.
57835
57836 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57837
57838 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57839 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57840 macro to ensure uniqueness of label name.
57841 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57842 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57843
57844 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57845
57846 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57847
57848 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57849 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57852
57853 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57854
57855 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57856
57857 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57858 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57859 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57860
57861 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57862
57863 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57864 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57867
57868 * math/bits/math-finite.h: Add ldexp support.
57869
57870 2012-01-10 Marek Polacek <polacek@redhat.com>
57871
57872 * locale/programs/localedef.h (show_archive_content): Add noreturn
57873 attribute.
57874
57875 2012-01-09 Ulrich Drepper <drepper@gmail.com>
57876
57877 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57878
57879 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57880
57881 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57882
57883 * io/Makefile (headers): Add bits/poll2.h.
57884
57885 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
57886
57887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57888 typo #include statement.
57889
57890 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57891
57892 * include/sys/cdefs.h: Define __attribute_alloc_size.
57893 * catgets/gencat.c: Add alloc_size attribute and apply consistently
57894 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57895 * elf/pldd.c: Likewise.
57896 * iconv/iconv_charmap.c: Likewise.
57897 * iconv/iconvconfig.c: Likewise.
57898 * iconv/strtab.c: Likewise.
57899 * locale/programs/locale.c: Likewise.
57900 * locale/programs/localedef.h: Likewise.
57901 * locale/programs/simple-hash.c: Likewise.
57902 * nscd/nscd.h: Likewise.
57903 * nss/makedb.c: Likewise.
57904 * sysdeps/generic/ldconfig.h: Likewise.
57905 * locale/programs/localedef.c: Remove xmalloc prototype.
57906 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57907
57908 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57909
57910 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57911 appropriate.
57912
57913 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57914
57915 * math/Makefile (tests): Add tst-CMPLX.
57916 * math/tst-CMPLX.c: New file.
57917
57918 * math/complex.h (CMPLXL): Fix typo.
57919
57920 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57921 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57922 GLIBC_2.16.
57923 * debug/tst-chk1.c: Add poll and ppoll tests.
57924 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57925 * include/sys/poll.h: Add hidden proto for ppoll.
57926 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57927 * sysdeps/mach/hurd/ppoll.c: Likewise.
57928 * io/ppoll.c: Likewise.
57929 * debug/poll_chk.c: New file.
57930 * debug/ppoll_chk.c: New file.
57931 * include/bits/poll2.h: New file.
57932 * io/bits/poll2.h: New file.
57933
57934 [BZ #1350]
57935 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57936
57937 * configure.in: static is always set to yes. Remove.
57938 * config.make.in: Don't set build-static.
57939 * Makeconfig: Remove use of build-static.
57940 * dlfcn/Makefile: Likewise.
57941 * elf/Makefile: Likewise.
57942 * math/Makefile: Likewise.
57943 * misc/Makefile: Likewise.
57944 * nptl/Makefile: Likewise.
57945 * sysdeps/mach/hurd/Makefile: Likewise.
57946
57947 * configure.in: PWD_P is not used anymore.
57948 * config.make.in: Remove PWD_P entry.
57949
57950 * configure.in: Remove last remnants of RANLIB.
57951 No need to check for signed size_t anymore.
57952 Don't set libc_commonpagesize and libc_relro_required here for Alpha
57953 and IA-64.
57954 Remove __builtin_expect test because we require at least gcc 3.4.
57955 * aclocal.m4: Likewise.
57956
57957 * wcsmbs/mbrtoc16.c: Implement using towc function.
57958 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57959 * wcsmbs/wcsmbsload.c: Likewise.
57960 * iconv/gconv_simple.c: Likewise.
57961 * iconv/gconv_int.h: Likewise.
57962 * iconv/gconv_builtin.h: Likewise.
57963 * iconv/iconv_prog.c: Remove CHAR16 handling.
57964
57965 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57966
57967 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57968
57969 * configure.in: Remove --with-elf and --enable-bounded options.
57970 Dont set base_machine for ia64. More non-ELF conditions removed.
57971 Remove testing and setting of leading underscore information.
57972 * config.make.in (build-bounded): Set to no.
57973 * config.h.in: Remove NO_UNDERSCORES entry.
57974 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
57975 them.
57976 * csu/start.c: Remove !NO_UNDERSCORE code.
57977 * locale/localeinfo.h: Likewise.
57978 * sysdeps/generic/machine-gmon.h: Likewise.
57979 * sysdeps/generic/sysdep.h: Likewise.
57980 * sysdeps/i386/sysdep.h: Likewise.
57981 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57982 * sysdeps/mach/sysdep.h: Likewise.
57983 * sysdeps/s390/s390-32/sysdep.h: Likewise.
57984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57985 * sysdeps/sh/sysdep.h: Likewise.
57986 * sysdeps/sparc/sparc32/alloca.S: Likewise.
57987 * sysdeps/unix/i386/sysdep.S: Likewise.
57988 * sysdeps/unix/sparc/start.c: Likewise.
57989 * sysdeps/unix/sparc/sysdep.S: Likewise.
57990 * sysdeps/unix/sparc/sysdep.h: Likewise.
57991 * sysdeps/unix/start.c: Likewise.
57992 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57993 * sysdeps/x86_64/sysdep.h: Likewise.
57994
57995 2012-01-07 Ulrich Drepper <drepper@gmail.com>
57996
57997 [BZ #13553]
57998 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57999 for non-gcc.
58000 * argp/argp-fmtstream.h: Use const instead __const.
58001 * argp/argp.h: Likewise.
58002 * assert/assert.h: Likewise.
58003 * bits/fenv.h: Likewise.
58004 * bits/sched.h: Likewise.
58005 * bits/sigset.h: Likewise.
58006 * bits/sigthread.h: Likewise.
58007 * catgets/nl_types.h: Likewise.
58008 * conform/data/pthread.h-data: Likewise.
58009 * crypt/crypt-private.h: Likewise.
58010 * crypt/crypt.h: Likewise.
58011 * crypt/crypt_util.c: Likewise.
58012 * ctype/ctype.h: Likewise.
58013 * debug/execinfo.h: Likewise.
58014 * debug/mbsnrtowcs_chk.c: Likewise.
58015 * debug/mbsrtowcs_chk.c: Likewise.
58016 * debug/wcsnrtombs_chk.c: Likewise.
58017 * debug/wcsrtombs_chk.c: Likewise.
58018 * debug/wcstombs_chk.c: Likewise.
58019 * dirent/dirent.h: Likewise.
58020 * dlfcn/dlfcn.h: Likewise.
58021 * elf/neededtest4.c: Likewise.
58022 * grp/grp.h: Likewise.
58023 * gshadow/gshadow.h: Likewise.
58024 * iconv/gconv.h: Likewise.
58025 * iconv/gconv_int.h: Likewise.
58026 * iconv/gconv_simple.c: Likewise.
58027 * iconv/iconv.h: Likewise.
58028 * iconv/loop.c: Likewise.
58029 * iconv/skeleton.c: Likewise.
58030 * include/aio.h: Likewise.
58031 * include/aliases.h: Likewise.
58032 * include/argz.h: Likewise.
58033 * include/arpa/inet.h: Likewise.
58034 * include/assert.h: Likewise.
58035 * include/dirent.h: Likewise.
58036 * include/dlfcn.h: Likewise.
58037 * include/execinfo.h: Likewise.
58038 * include/fcntl.h: Likewise.
58039 * include/fenv.h: Likewise.
58040 * include/glob.h: Likewise.
58041 * include/grp.h: Likewise.
58042 * include/libintl.h: Likewise.
58043 * include/mntent.h: Likewise.
58044 * include/netdb.h: Likewise.
58045 * include/pwd.h: Likewise.
58046 * include/rpc/netdb.h: Likewise.
58047 * include/sched.h: Likewise.
58048 * include/search.h: Likewise.
58049 * include/shadow.h: Likewise.
58050 * include/signal.h: Likewise.
58051 * include/stdio.h: Likewise.
58052 * include/stdlib.h: Likewise.
58053 * include/string.h: Likewise.
58054 * include/sys/socket.h: Likewise.
58055 * include/sys/stat.h: Likewise.
58056 * include/sys/statfs.h: Likewise.
58057 * include/sys/statvfs.h: Likewise.
58058 * include/sys/syslog.h: Likewise.
58059 * include/sys/time.h: Likewise.
58060 * include/sys/uio.h: Likewise.
58061 * include/time.h: Likewise.
58062 * include/unistd.h: Likewise.
58063 * include/utmp.h: Likewise.
58064 * include/wchar.h: Likewise.
58065 * include/wctype.h: Likewise.
58066 * inet/aliases.h: Likewise.
58067 * inet/arpa/inet.h: Likewise.
58068 * inet/netinet/ether.h: Likewise.
58069 * inet/netinet/in.h: Likewise.
58070 * intl/libintl.h: Likewise.
58071 * io/bits/fcntl2.h: Likewise.
58072 * io/fcntl.h: Likewise.
58073 * io/ftw.h: Likewise.
58074 * io/sys/poll.h: Likewise.
58075 * io/sys/stat.h: Likewise.
58076 * io/sys/statfs.h: Likewise.
58077 * io/sys/statvfs.h: Likewise.
58078 * io/utime.h: Likewise.
58079 * libio/bits/stdio.h: Likewise.
58080 * libio/bits/stdio2.h: Likewise.
58081 * libio/libio.h: Likewise.
58082 * libio/libioP.h: Likewise.
58083 * libio/stdio.h: Likewise.
58084 * locale/lc-ctype.c: Likewise.
58085 * locale/locale.h: Likewise.
58086 * login/utmp.h: Likewise.
58087 * malloc/arena.c: Likewise.
58088 * malloc/malloc.c: Likewise.
58089 * malloc/malloc.h: Likewise.
58090 * malloc/mcheck.c: Likewise.
58091 * malloc/mtrace.c: Likewise.
58092 * math/bits/mathcalls.h: Likewise.
58093 * math/fenv.h: Likewise.
58094 * math/math_private.h: Likewise.
58095 * misc/bits/error.h: Likewise.
58096 * misc/bits/syslog.h: Likewise.
58097 * misc/err.h: Likewise.
58098 * misc/error.h: Likewise.
58099 * misc/fstab.h: Likewise.
58100 * misc/mntent.h: Likewise.
58101 * misc/regexp.h: Likewise.
58102 * misc/search.h: Likewise.
58103 * misc/sgtty.h: Likewise.
58104 * misc/sys/mman.h: Likewise.
58105 * misc/sys/syslog.h: Likewise.
58106 * misc/sys/uio.h: Likewise.
58107 * misc/sys/xattr.h: Likewise.
58108 * misc/ttyent.h: Likewise.
58109 * nis/rpcsvc/ypclnt.h: Likewise.
58110 * nss/nss.h: Likewise.
58111 * posix/bits/unistd.h: Likewise.
58112 * posix/fnmatch.h: Likewise.
58113 * posix/glob.h: Likewise.
58114 * posix/sched.h: Likewise.
58115 * posix/spawn.h: Likewise.
58116 * posix/sys/wait.h: Likewise.
58117 * posix/unistd.h: Likewise.
58118 * posix/wordexp.h: Likewise.
58119 * pwd/pwd.h: Likewise.
58120 * resolv/netdb.h: Likewise.
58121 * resource/sys/resource.h: Likewise.
58122 * rt/aio.h: Likewise.
58123 * rt/bits/mqueue2.h: Likewise.
58124 * rt/mqueue.h: Likewise.
58125 * shadow/shadow.h: Likewise.
58126 * signal/signal.h: Likewise.
58127 * socket/send.c: Likewise.
58128 * socket/sendto.c: Likewise.
58129 * socket/sys/socket.h: Likewise.
58130 * stdio-common/printf.h: Likewise.
58131 * stdlib/bits/stdlib.h: Likewise.
58132 * stdlib/fmtmsg.h: Likewise.
58133 * stdlib/monetary.h: Likewise.
58134 * stdlib/stdlib.h: Likewise.
58135 * stdlib/ucontext.h: Likewise.
58136 * streams/stropts.h: Likewise.
58137 * string/argz.h: Likewise.
58138 * string/bits/string2.h: Likewise.
58139 * string/string.h: Likewise.
58140 * string/strings.h: Likewise.
58141 * sunrpc/rpc/auth.h: Likewise.
58142 * sunrpc/rpc/auth_des.h: Likewise.
58143 * sunrpc/rpc/clnt.h: Likewise.
58144 * sunrpc/rpc/netdb.h: Likewise.
58145 * sunrpc/rpc/pmap_clnt.h: Likewise.
58146 * sunrpc/rpc/xdr.h: Likewise.
58147 * sysdeps/generic/inttypes.h: Likewise.
58148 * sysdeps/generic/net/if.h: Likewise.
58149 * sysdeps/generic/sys/swap.h: Likewise.
58150 * sysdeps/gnu/net/if.h: Likewise.
58151 * sysdeps/gnu/utmpx.h: Likewise.
58152 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58153 * sysdeps/i386/i486/bits/string.h: Likewise.
58154 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58155 * sysdeps/s390/bits/string.h: Likewise.
58156 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58157 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58158 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58159 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58160 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58161 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58162 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58163 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58164 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58165 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58166 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58167 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58168 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58169 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58170 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58171 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58172 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58174 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58177 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58178 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58179 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58180 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58181 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58182 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58183 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58184 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58185 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58186 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58187 * sysvipc/sys/ipc.h: Likewise.
58188 * sysvipc/sys/msg.h: Likewise.
58189 * sysvipc/sys/sem.h: Likewise.
58190 * sysvipc/sys/shm.h: Likewise.
58191 * termios/termios.h: Likewise.
58192 * time/sys/time.h: Likewise.
58193 * time/time.h: Likewise.
58194 * wcsmbs/bits/wchar2.h: Likewise.
58195 * wcsmbs/uchar.h: Likewise.
58196 * wcsmbs/wchar.h: Likewise.
58197 * wctype/wctype.h: Likewise.
58198
58199 [BZ #13551]
58200 * Makeconfig: Remove all but ELF support including AIX support.
58201 * Makerules: Likewise.
58202 * config.h.in: Likewise.
58203 * config.make.in: Likewise.
58204 * configure: Likewise.
58205 * configure.in: Likewise.
58206 * csu/Makefile: Likewise.
58207 * csu/version.c: Likewise.
58208 * debug/Makefile: Likewise.
58209 * dlfcn/Makefile: Likewise.
58210 * elf/Makefile: Likewise.
58211 * extra-lib.mk: Likewise.
58212 * iconv/Makefile: Likewise.
58213 * include/libc-symbols.h: Likewise.
58214 * include/shlib-compat.h: Likewise.
58215 * resolv/Makefile: Likewise.
58216 * resolv/res_libc.c: Likewise.
58217 * rt/Makefile: Likewise.
58218 * sysdeps/i386/asm-syntax.h: Likewise.
58219 * sysdeps/i386/sysdep.h: Likewise.
58220 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58221 * sysdeps/mach/sysdep.h: Likewise.
58222 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58223 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58224 * sysdeps/s390/asm-syntax.h: Likewise.
58225 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58226 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58227 * sysdeps/sh/sysdep.h: Likewise.
58228 * sysdeps/unix/sparc/sysdep.h: Likewise.
58229 * sysdeps/wordsize-32/divdi3.c: Likewise.
58230 * sysdeps/x86_64/sysdep.h: Likewise.
58231
58232 * argp/Versions: Remove _argp_unlock_xxx.
58233
58234 [BZ #13559]
58235 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58236 * abilist/libBrokenLocale.abilist: Likewise.
58237 * abilist/libanl.abilist: Likewise.
58238 * abilist/libc.abilist: Likewise.
58239 * abilist/libcrypt.abilist: Likewise.
58240 * abilist/libdl.abilist: Likewise.
58241 * abilist/libm.abilist: Likewise.
58242 * abilist/libnsl.abilist: Likewise.
58243 * abilist/libpthread.abilist: Likewise.
58244 * abilist/libresolv.abilist: Likewise.
58245 * abilist/librt.abilist: Likewise.
58246 * abilist/libthread_db.abilist: Likewise.
58247 * abilist/libutil.abilist: Likewise.
58248 * abilist/libnss_db.abilist: New file.
58249
58250 * scripts/abilist.awk: Add support for indirect functions.
58251
58252 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58253
58254 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58255
58256 * shlib-versions: Remove entries for ports architectures.
58257
58258 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58259 files in ports.
58260 * elf/stackguard-macros.h: Remove support for IA-64.
58261 * elf/tst-auditmod1.c: Likewise.
58262 * sysdeps/generic/ldsodefs.h: Likewise.
58263
58264 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58265 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58266 configure files.
58267
58268 [BZ #13552]
58269 * configure.in: Remove --enable-omitfp support.
58270 * FAQ.in: Adjust.
58271 * config.make.in: Likewise.
58272 * Makeconfig: Likewise.
58273 * manual/install.texi: Likewise.
58274
58275 In case anyone cares, the IA-64 architecture could move to ports.
58276 * sysdeps/ia64/*: Removed.
58277 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58278 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58279
58280 [BZ #13555]
58281 * configure.in: Remove entries for unsupported architectures.
58282
58283 [BZ #13533]
58284 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58285 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58286 routines.
58287 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58288 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58289 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58290 fall back to using wcrtomb.
58291 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58292 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58293 renaming.
58294 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58295 * wcsmbs/tst-c16c32-1.c: New file.
58296
58297 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58298 local variable.
58299
58300 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58301
58302 * elf/tst-unique3.cc: Add explicit declaration of gets.
58303 * elf/tst-unique3lib.cc: Likewise.
58304 * elf/tst-unique3lib2.cc: Likewise.
58305 * elf/tst-unique4.cc: Likewise.
58306
58307 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58308
58309 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58310
58311 [BZ #13566]
58312 * assert/assert.h (static_assert): Don't define for C++.
58313 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58314 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58315
58316 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58317
58318 * iconv/loop.c (single loop): Fix assertion in storing of
58319 remaining bytes.
58320
58321 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58322
58323 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58324
58325 * posix/getconf.c: Update copyright year.
58326 * nss/getent.c: Likewise.
58327 * nss/makedb.c: Likewise.
58328 * iconv/iconvconfig.c: Likewise.
58329 * iconv/iconv_prog.c: Likewise.
58330 * elf/ldconfig.c: Likewise.
58331 * elf/pldd.c: Likewise.
58332 * elf/sotruss.ksh: Likewise.
58333 * catgets/gencat.c: Likewise.
58334 * csu/version.c: Likewise.
58335 * elf/ldd.bash.in: Likewise.
58336 * elf/sprof.c (print_version): Likewise.
58337 * locale/programs/locale.c: Likewise.
58338 * locale/programs/localedef.c: Likewise.
58339 * login/programs/pt_chown.c: Likewise.
58340 * nscd/nscd.c (print_version): Likewise.
58341 * debug/xtrace.sh: Likewise.
58342 * malloc/memusage.sh: Likewise.
58343 * malloc/mtrace.pl: Likewise.
58344 * debug/catchsegv.sh: Likewise.
58345
58346 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58347
58348 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58349 pure attribute.
58350
58351 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58352
58353 [BZ #13533]
58354 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58355 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58356 transformations.
58357 * iconv/gconv_int.h: Likewise.
58358 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58359 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58360 from libc for GLIBC_2.16.
58361 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58362 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58363 * wcsmbs/uchar.h: Really define mbstate_t.
58364 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58365 * wcsmbs/c16rtomb.c: New file.
58366 * wcsmbs/mbrtoc16.c: New file.
58367 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58368 for C/POSIX locale.
58369 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58370 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58371
58372 * wcsmbs/wchar.h: Add missing __restrict.
58373
58374 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58375
58376 [BZ #13532]
58377 * time/Makefile (routines): Add timespec_get.
58378 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58379 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58380 timespec for ISO C11.
58381 * time/timespec_get.c: New file.
58382 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58383 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58384
58385 [BZ #13531]
58386 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58387 * stdlib/stdlib.h: Declare aligned_alloc.
58388 * Versions.def: Add GLIBC_2.16 for libc.
58389 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58390
58391 [BZ 13527]
58392 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58393 ISO C11.
58394
58395 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58396 code.
58397
58398 [BZ #13528]
58399 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58400
58401 [BZ #13529]
58402 * assert/assert.h (static_assert): Define.
58403
58404 * version.h: Update for 2.16 development version.
58405
58406 [BZ #13526]
58407 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58408 _ISOC11_SOURCE.
58409
58410 * version.h (RELEASE): Bump for 2.15 release.
58411 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58412
58413 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58414 Patch by Marek Polacek <mpolacek@redhat.com>.
58415
58416 * bits/byteswap.h: Protect long long constants with __extension__.
58417 * sysdeps/i386/bits/byteswap.h: Likewise.
58418 * sysdeps/ia64/bits/byteswap.h: Likewise.
58419 * sysdeps/s390/bits/byteswap.h: Likewise.
58420 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58421
58422 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58423
58424 [BZ #13540]
58425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58426 destination buffer.
58427 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58428
58429 2011-12-23 Marek Polacek <polacek@redhat.com>
58430
58431 * elf/dl-addr.c (determine_info): Add inline keyword.
58432 * elf/tst-auditmod4b.c (check_avx): Likewise.
58433 * elf/tst-auditmod6b.c (check_avx): Likewise.
58434 * elf/tst-auditmod6c.c (check_avx): Likewise.
58435 * elf/tst-auditmod7b.c (check_avx): Likewise.
58436
58437 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58438
58439 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58440 !__SSE_MATH__.
58441
58442 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58443
58444 [BZ #13540]
58445 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58446 processing for last bytes.
58447
58448 2011-08-06 Bruno Haible <bruno@clisp.org>
58449
58450 [BZ #13061]
58451 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58452 U+0385, not to U+1FEE.
58453
58454 [BZ #13062]
58455 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58456 entry for U+00A5 U+0301.
58457
58458 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58459
58460 [BZ #13166]
58461 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58462 buffer for the output is too small.
58463
58464 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58465 optimization.
58466
58467 [BZ #13185]
58468 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58469 SSE flags if possible.
58470
58471 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58472
58473 [BZ #13540]
58474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58475 processing for last bytes.
58476
58477 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58478
58479 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58480 (syscall-list-default-options, syscall-list-default-condition)
58481 (syscall-list-includes): Define.
58482 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58483 list of ABIs and options and #if conditions for each ABI. Do not
58484 handle common syscalls between ABIs specially.
58485 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58486 Remove.
58487 (syscall-list-variants, syscall-list-32bit-options)
58488 (syscall-list-32bit-condition, syscall-list-64bit-options)
58489 (syscall-list-64bit-condition): Define.
58490 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58491 (syscall-list-variants, syscall-list-32bit-options)
58492 (syscall-list-32bit-condition, syscall-list-64bit-options)
58493 (syscall-list-64bit-condition): Define.
58494 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58495 Remove.
58496 (syscall-list-variants, syscall-list-32bit-options)
58497 (syscall-list-32bit-condition, syscall-list-64bit-options)
58498 (syscall-list-64bit-condition): Define.
58499 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58500 Remove.
58501 (syscall-list-variants, syscall-list-32bit-options)
58502 (syscall-list-32bit-condition, syscall-list-64bit-options)
58503 (syscall-list-64bit-condition): Define.
58504
58505 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58506
58507 * locale/iso-639.def: Add brx entry.
58508
58509 [BZ #13328]
58510 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58511 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58512
58513 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58514 __feraiseexcept_renamed.
58515
58516 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58517
58518 [BZ #13538]
58519 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58520 EPOLLET with unsigned values.
58521 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58522 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58523
58524 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58525 to large cancellation.
58526 * math/s_cacoshf.c: Likewise.
58527 * math/s_cacoshl.c: Likewise.
58528
58529 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58530
58531 [BZ #13305]
58532 [BZ #12786]
58533 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58534 * math/s_cacoshf.c: Likewise.
58535 * math/s_cacoshl.c: Likewise.
58536
58537 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58538
58539 [BZ #13439]
58540 * iconv/gconv.h: Define __GCONV_SWAP.
58541 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58542 * iconvdata/utf-16.c: Likewise.
58543 * iconvdata/utf-32.c: Likewise.
58544
58545 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58546
58547 [BZ #13524]
58548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58549 numerator after shifting it by one limb.
58550
58551 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58552
58553 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58554 under [__USE_EXTERN_INLINES].
58555
58556 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58557
58558 [BZ #13446]
58559 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58560
58561 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58562
58563 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58564 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58565 optimized code.
58566 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58567 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58568 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58569 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58570 for strncasecmp/strncasecmp_l compilation.
58571 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58572 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58573
58574 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58575
58576 [BZ #13484]
58577 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58578 of __asm__.
58579
58580 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58581
58582 [BZ #13506]
58583 * time/tzfile.c (__tzfile_read): Check values from file header.
58584
58585 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58586
58587 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58588 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58589 * powerpc/powerpc32/dl-start.S: Likewise.
58590 * powerpc/powerpc32/elf/start.S: Likewise.
58591 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58592 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58593 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58594 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58595 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58596 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58597 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58598 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58599 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58600 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58601 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58602 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58603 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58604 * powerpc/powerpc32/memset.S: Likewise.
58605 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58606 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58607 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58608 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58609 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58610 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58611 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58612 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58613 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58614 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58615 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58616 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58617 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58618
58619 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58620
58621 * math/libm-test.inc: Added more nearbyint tests.
58622 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58623 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58624 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58625 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58626
58627 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58628
58629 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58630 FD_CLOEXEC.
58631
58632 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58633
58634 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58635 Add wcscpy-ssse3 wcscpy-c.
58636 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58637 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58638 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58639 * sysdeps/x86_64/wcschr.S: New file.
58640 * sysdeps/x86_64/wcsrchr.S: New file.
58641 * string/test-strcmp.c: Remove checking of wcscmp function for
58642 wrong alignments.
58643 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58644 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58645 wcsrchr-sse2 wcsrchr-c.
58646 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58647 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58648 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58649 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58650 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58651 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58652 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58653 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58654 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58655 * wcsmbc/wcschr.c (WCSCHR): New macro.
58656
58657 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58658
58659 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58660 * wcsmbs/test-wcsrchr.c: New file.
58661 * string/test-strrchr.c: Add wcsrchr support.
58662 (WIDE): New macro.
58663 * wcsmbs/test-wcscpy.c: New file.
58664 * string/test-strcpy.c: Add wcscpy support.
58665 (WIDE): New macro.
58666
58667 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58668
58669 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58670 the inner loop.
58671
58672 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58673
58674 [BZ #13472]
58675 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58676
58677 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58678
58679 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58680 Minor optimizations.
58681
58682 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58683 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58684 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58685
58686 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58687
58688 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58689 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58690 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58691 for gcc to avoid warnings.
58692 * inet/Makefile (tests): Add tst-checks.
58693 * inet/tst-checks.c: New file.
58694
58695 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58696 warning.
58697
58698 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58699 __wmemcmp_sse2.
58700
58701 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58702 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58703
58704 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58705
58706 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58707
58708 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58709 problem.
58710
58711 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58712
58713 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58714
58715 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58716 conditional on GCC version.
58717 (__arch_compare_and_exchange_val_8_acq)
58718 (__arch_compare_and_exchange_val_16_acq)
58719 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58720 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58721 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58722
58723 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58724
58725 * sysdeps/sh/backtrace.c: New file.
58726
58727 2011-12-02 Andreas Schwab <schwab@redhat.com>
58728
58729 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58730 parenthesis.
58731
58732 2011-12-01 Andreas Schwab <schwab@redhat.com>
58733
58734 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58735 falling back to utime.
58736
58737 2011-11-30 Andreas Schwab <schwab@redhat.com>
58738
58739 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58740 expectations for float.
58741
58742 2011-11-29 Andreas Schwab <schwab@redhat.com>
58743
58744 * locale/weight.h (findidx): Add parameter len.
58745 * locale/weightwc.h (findidx): Likewise.
58746 * posix/fnmatch_loop.c (FCT): Adjust caller.
58747 * posix/regcomp.c (build_equiv_class): Likewise.
58748 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58749 * posix/regexec.c (check_node_accept_bytes): Likewise.
58750 * string/strcoll_l.c (STRCOLL): Likewise.
58751 * string/strxfrm_l.c (STRXFRM): Likewise.
58752
58753 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58754
58755 * Makefile.in: Remove CVSOPT handling.
58756 * configure.in: Remove use of AC_REVISION.
58757 * iconvdata/Makefile (distribute): No need to filter out CVS.
58758 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58759 handling.
58760
58761 2011-11-16 Andreas Schwab <schwab@redhat.com>
58762
58763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58764 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58765 [USE_AS_STRNCASECMP_L]: Likewise.
58766 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58767 NO_TLS_DIRECT_SEG_REFS.
58768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58769 Fix argument offsets for non-PIC.
58770 [USE_AS_STRNCASECMP_L]: Likewise.
58771 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58772 NO_TLS_DIRECT_SEG_REFS.
58773
58774 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58775
58776 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58777 O_CLOEXEC.
58778 * locale/loadlocale.c (_nl_load_locale): Likewise.
58779
58780 2011-11-15 Andreas Schwab <schwab@redhat.com>
58781
58782 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58783 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58784 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58785 (SYSCALL_GETTIME): Set errno on error.
58786
58787 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58788 count references to noai6ai_cached.
58789
58790 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58791
58792 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58793
58794 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58795 FD_CLOEXEC for /proc/self/maps.
58796
58797 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58798 FD_CLOEXEC for /proc/meminfo.
58799
58800 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58801 gai.conf.
58802
58803 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58804 FD_CLOEXEC for given file.
58805
58806 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58807
58808 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58809 FD_CLOEXEC for /etc/hosts.
58810 (_gethtent): Likewise.
58811
58812 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58813
58814 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58815 cancellation and set FD_CLOEXEC for /etc/netgroup.
58816
58817 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58818 reading /etc/publickey.
58819
58820 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58821 allow cancellation when reading /etc/group.
58822
58823 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58824 cancellation.
58825 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58826
58827 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58828 when using data file.
58829
58830 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58831
58832 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58833 (write_nis_obj): Use "c" and "e" in fopen.
58834
58835 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58836
58837 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58838
58839 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58840
58841 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58842
58843 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58844 locale.alias.
58845
58846 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58847
58848 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58849
58850 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58851
58852 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58853 file parsing and set FD_CLOEXEC.
58854
58855 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58856
58857 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58858
58859 2011-11-14 Andreas Schwab <schwab@redhat.com>
58860
58861 * malloc/arena.c (arena_get2): Don't call reused_arena when
58862 _int_new_arena failed.
58863
58864 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58865
58866 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58867 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58868 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58869 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58870 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58872 to compile strcasecmp and strncasecmp.
58873 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58874 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58875
58876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58877
58878 2011-11-13 Ulrich Drepper <drepper@gmail.com>
58879
58880 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58881 locale-defines.sym to gen-as-const-headers.
58882 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58883 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58885 to compile strcasecmp and strncasecmp.
58886 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58887 strcasecmp_l and strncasecmp_l.
58888 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58889 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58890 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58891 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58892 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58893 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58894 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58895 * sysdeps/i386/i686/multiarch/strncase.S: New file.
58896 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58897 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58898 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58899
58900 2011-11-12 Ulrich Drepper <drepper@gmail.com>
58901
58902 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58903 result of SYSDEP_GETTIME_CPU to retval.
58904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58905 parameter list to macro. Remove trailing semicolon. Adjust users.
58906
58907 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58908 variable.
58909
58910 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58911 mantissa words.
58912 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58913
58914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58915 from unused variable.
58916
58917 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58918 DWARF definitions.
58919 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58920 for assembling.
58921
58922 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58923 over namespaces.
58924
58925 * sunrpc/rpc_prot.c (rejected): Fix case value.
58926
58927 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58928 unsigned long long int to avoid warnings in shift.
58929
58930 * posix/regex_internal.c (re_string_reconstruct): Actually use result
58931 of use of trans.
58932 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58933 variable tmp.
58934
58935 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58936 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58937 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58938
58939 * nis/nis_table.c (nis_list): Use variable of correct type for
58940 result of __follow_path call.
58941
58942 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58943
58944 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58945 of math functions ceil, trunc, floor, round, and sqrt, when
58946 avaliable on the platform.
58947 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58948 name clash.
58949 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58950 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58951 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58952
58953 2011-10-30 Marek Polacek <mpolacek@redhat.com>
58954
58955 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58957
58958 2011-11-11 Roland McGrath <roland@hack.frob.com>
58959
58960 * include/unistd.h: Fix __readlink return type.
58961 Reported by Chris Metcalf <cmetcalf@tilera.com>.
58962
58963 2011-11-11 Ulrich Drepper <drepper@gmail.com>
58964
58965 * stdlib/ucontext.h: Undo last change for makecontext.
58966
58967 2011-11-11 Andreas Schwab <schwab@redhat.com>
58968
58969 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58970
58971 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58972 * setjmp/setjmp.h: Mark functions as non-leaf.
58973 * setjmp/bits/setjmp2.h: Likewise.
58974 * stdlib/ucontext.h: Likewise.
58975
58976 2011-11-10 Andreas Schwab <schwab@redhat.com>
58977
58978 * malloc/arena.c (_int_new_arena): Don't increment narenas.
58979 (reused_arena): Don't check arena limit.
58980 (arena_get2): Atomically check arena limit.
58981
58982 2011-11-08 Ulrich Drepper <drepper@gmail.com>
58983
58984 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58985 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58986
58987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58988 instructions.
58989
58990 2011-11-07 Andreas Schwab <schwab@redhat.com>
58991
58992 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58993 handler when locking.
58994
58995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58996 Fix size of allocated buffer.
58997
58998 2011-11-04 Andreas Schwab <schwab@redhat.com>
58999
59000 [BZ #10103]
59001 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59002 declarations for long double functions.
59003 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59004
59005 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59006
59007 2011-11-03 Andreas Schwab <schwab@redhat.com>
59008
59009 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59010 installed.
59011
59012 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59013 is disabled.
59014
59015 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59016
59017 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59018
59019 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59020
59021 * include/alloca.h (stackinfo_alloca_round): Define.
59022 (extend_alloca): Use it.
59023 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59024 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59025 here.
59026
59027 * scripts/check-local-headers.sh: Ignore libaudit.h.
59028
59029 * nscd/Makefile (extra-objs): Make recursively expanded.
59030
59031 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59032
59033 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59034 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59035
59036 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59037 * posix/tst-rfc3484-2.c: Likewise.
59038 * posix/tst-rfc3484-3.c: Likewise.
59039
59040 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59041 process_vm_writev.
59042 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59043 process_vm_writev.
59044 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59045 process_vm_writev from libc using GLIBC_2.15 version.
59046
59047 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59048
59049 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59050
59051 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59052 stack usage.
59053
59054 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59055
59056 [BZ #13367]
59057 * nss/getent.c (initgroups_keys): Show error message in case no group
59058 names are given.
59059
59060 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59061 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59062 __bump_nl_timestamp.
59063 * nscd/connections (nscd_init): When host database is served open
59064 netlink socket and request notification about configuration changes.
59065 (main_loop_poll): Track netlink file descriptor and bump timestamp
59066 in case data becomes available.
59067 (main_loop_epoll): Likewise.
59068 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59069 (database_pers_head): Add extra_data fileds.
59070 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59071 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59072 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59073 Adjust caller.
59074 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59075 in6ai data, call __free_in6ai.
59076 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59077 Add -DHAVE_NETLINK.
59078 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59079 interface information. Reuse previous data if netlink timestamp
59080 is not changed.
59081 (__bump_nl_timestamp): New function.
59082 (__free_in6ai): New function.
59083
59084 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59085
59086 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59087 close_not_cancel_no_status here.
59088 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59089
59090 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59091
59092 [BZ #13276]
59093 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59094 return value.
59095
59096 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59097 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59098 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59099
59100 2011-07-03 Andreas Jaeger <aj@suse.de>
59101
59102 [BZ #10709]
59103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59104 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59105 * math/libm-test.inc (sin_test): Add test case.
59106
59107 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59108
59109 [BZ #13337]
59110 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59111 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59112
59113 * elf/chroot_canon.c (chroot_canon): Cleanups.
59114
59115 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59116
59117 [BZ #13335]
59118 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59119 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59120
59121 * string/test-strchr.c: Make usable for strchrnul testing.
59122 * string/test-strchrnul.c: New file.
59123 * string/Makefile (strop-tests): Add strchrnul.
59124
59125 * po/it.po: Update from translation team.
59126 * po/es.po: Likewise.
59127
59128 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59129
59130 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59131 the three constants needed as parameters. Drop the others.
59132 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59133 __m128i_strloadu_tolower.
59134 Create and initialize variable zero and use it in all the places
59135 where _mm_setzero_si128 was used.
59136
59137 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59138 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59139 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59140 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59141 anymore.
59142 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59143 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59144 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59145 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59146 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59147 __mpranred, __mptan.
59148 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59149 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59150 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59151 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59152 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59153 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59154 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59155 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59156 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59157
59158 2011-10-28 Andreas Schwab <schwab@redhat.com>
59159
59160 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59161 redefine if SHARED.
59162 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59163
59164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59165 wide char related routines to wcsmbs subdir.
59166
59167 2011-10-27 Andreas Schwab <schwab@redhat.com>
59168
59169 [BZ #13344]
59170 * misc/sys/cdefs.h (__THROWNL): Define.
59171 * posix/unistd.h: Use __THREADNL instead of __THREAD
59172 for memory synchronization functions.
59173
59174 2011-10-26 Roland McGrath <roland@hack.frob.com>
59175
59176 [BZ #13349]
59177 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59178 doesn't exist.
59179 * manual/stdio.texi (Obstack Streams): Node removed.
59180
59181 2011-10-26 Andreas Schwab <schwab@redhat.com>
59182
59183 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59184 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59185 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59186
59187 * math/math_private.h (math_force_eval): Allow non-addressable
59188 arguments.
59189 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59190
59191 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59192
59193 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59194 file is not needed.
59195
59196 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59198 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59199 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59200 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59201 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59202 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59203 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59204 Add AVX variants.
59205 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59206 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59207 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59208 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59209 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59210 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59211 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59212 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59213 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59214 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59215 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59216 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59217 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59218 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59219 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59220 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59221 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59222 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59223 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59224
59225 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59226 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59227
59228 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59229 place. Use VEX encoding when compiling for AVX.
59230
59231 2011-10-25 Andreas Schwab <schwab@redhat.com>
59232
59233 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59234 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59235
59236 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59237
59238 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59239
59240 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59241 useless if() expression.
59242 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59243 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59244 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59245 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59247 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59250 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59251 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59253 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59254 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59255 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59256 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59258 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59259 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59260 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59261
59262 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59263
59264 2011-10-25 Andreas Schwab <schwab@redhat.com>
59265
59266 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59267 condition.
59268 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59269
59270 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59271
59272 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59273 .text section. Avoid duplicate constants.
59274 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59275 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59276 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59277 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59278 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59279 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59280 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59282 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59283 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59284 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59285 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59286 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59287 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59288 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59289 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59291 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59292 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59294 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59295 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59296 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59297 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59298 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59299 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59300 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59301 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59302 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59303 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59304 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59305 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59306 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59307 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59308 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59309 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59310 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59311 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59312 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59313 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59315 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59316 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59317 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59318 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59319
59320 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59321
59322 * sysdeps/x86_64/dla.h: Move to ...
59323 * sysdeps/x86_64/fpu/dla.h: ...here.
59324 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59325 situations. Use __builtin_fma only for gcc 4.6 and up.
59326
59327 * config.make.in: Add have-mfma4 entry.
59328 * configure.in: Substitute libc_cv_cc_fma4.
59329 * math/Makefile (dbl-only-routines): Add sincostab.
59330 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59331 Use __sincostab not sincos.
59332 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59333 name is a macro.
59334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59338 using __copysign.
59339 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59340 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59341 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59342 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59343 and __inv.
59344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59345 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59346 __copysign.
59347 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59348 define aliases when function name is a macro.
59349 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59350 sysdeps/ieee754/dbl-64/sincos.tbl.
59351 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59352 fma4-enabled routines.
59353 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59354 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59355 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59356 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59357 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59358 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59359 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59360 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59362 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59363 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59364 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59365 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59366 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59368 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59369 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59370 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59371 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59373 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59374 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59376 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59377 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59380 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59381 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59382 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59383
59384 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59385 rename.
59386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59392 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59394
59395 2011-10-24 Andreas Schwab <schwab@redhat.com>
59396
59397 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59398
59399 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59400
59401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59402
59403 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59404 prediction.
59405 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59406
59407 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59408 Remove unused variable magic_bits.
59409 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59410
59411 * string/strnlen.c: Define and use STRNLEN macro.
59412 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59413 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59414 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59415 * wcsmbs/wcslen.c: Define and use WCSLEN.
59416 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59417 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59418 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59419 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59420 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59421 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59422 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59423
59424 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59425
59426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59427 strnlen-sse2-no-bsf.
59428 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59430 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59431 Add strnlen support.
59432 (USE_AS_STRNLEN): New macro.
59433 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59434 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59435 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59436 * sysdeps/x86_64/wcslen.S: New file.
59437
59438 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59439
59440 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59441 XMM-moves are used for copying on small sizes.
59442
59443 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59444
59445 * wcsmbs/Makefile (strop-tests): Add wcschr.
59446 * wcsmbs/test-wcschr.c: New file.
59447 * string/test-strchr.c: Update.
59448 Add wcschr support.
59449 (WIDE): New macro.
59450
59451 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59452
59453 * wcsmbs/Makefile (strop-tests): Add wcslen.
59454 * wcsmbs/test-wcslen.c: New file.
59455 * string/test-strlen.c: Update.
59456 Add wcslen support.
59457 (WIDE): New macro.
59458
59459 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59460
59461 * po/it.po: Update from translation team.
59462
59463 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59464
59465 * sysdeps/x86_64/wcscmp.S: Update.
59466 Fix wrong comparison semantics.
59467 wcscmp shall use signed comparison not unsigned.
59468 Don't use substraction to avoid overflow bug.
59469 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59470 * wcsmbc/wcscmp.c: Likewise.
59471 * string/test-strcmp.c: Likewise.
59472 Add new tests to check cases with negative values.
59473
59474 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59475
59476 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59477 * sysdeps/x86_64/dla.h: ...here. New file.
59478 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59487
59488 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59489
59490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59491 __ynl_finite aliases.
59492
59493 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59494
59495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59496
59497 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59498 define DLA_FMA.
59499 [DLA_FMA] (EMULV): Use DLA_FMA.
59500 [DLA_FMA] (MUL12): Use EMULV.
59501 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59502 that are not needed.
59503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59510
59511 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59512
59513 * math/s_nan.c: Undef __nan.
59514 * math/s_nanf.c: Undef __nanf.
59515 * math/s_nanl.c: Undef __nanl.
59516 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59517 "math_private.h".
59518
59519 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59520
59521 * math/s_catan.c: Add branch predictions.
59522 * math/s_catanf.c: Likewise.
59523 * math/s_catanh.c: Likewise.
59524 * math/s_catanhf.c: Likewise.
59525 * math/s_catanhl.c: Likewise.
59526 * math/s_catanl.c: Likewise.
59527 * math/s_cexp.c: Likewise.
59528 * math/s_cexpf.c: Likewise.
59529 * math/s_cexpl.c: Likewise.
59530 * math/s_clog.c: Likewise.
59531 * math/s_clog10.c: Likewise.
59532 * math/s_clog10f.c: Likewise.
59533 * math/s_clog10l.c: Likewise.
59534 * math/s_clogf.c: Likewise.
59535 * math/s_clogl.c: Likewise.
59536 * math/s_csqrt.c: Likewise.
59537 * math/s_csqrtf.c: Likewise.
59538 * math/s_csqrtl.c: Likewise.
59539 * math/s_ctanf.c: Likewise.
59540 * math/s_ctanh.c: Likewise.
59541 * math/s_ctanhf.c: Likewise.
59542 * math/s_ctanhl.c: Likewise.
59543 * math/s_ctanl.c: Likewise.
59544
59545 * math/math_private.h: Define __nan, __nanf, __nanl.
59546 * math/s_cacosh.c: Include <math_private.h>.
59547 * math/s_cacoshl.c: Likewise.
59548 * math/s_casinh.c: Likewise.
59549 * math/s_casinhf.c: Likewise.
59550 * math/s_casinhl.c: Likewise.
59551 * math/s_ccos.c: Rely entire on ccosh.
59552 * math/s_ccosf.c: Rely entire on ccoshf.
59553 * math/s_ccosl.c: Rely entirely on ccoshl.
59554 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59555 Remove tests for FE_INVALID.
59556 * math/s_ccoshf.c: Likewise.
59557 * math/s_ccoshl.c: Likewise.
59558 * math/s_csin.c: Likewise.
59559 * math/s_csinf.c: Likewise.
59560 * math/s_csinh.c Likewise.
59561 * math/s_csinhf.c: Likewise.
59562 * math/s_csinhl.c: Likewise.
59563 * math/s_csinl.c: Likewise.
59564 * math/s_ctan.c: Likewise.
59565 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59566 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59567 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59568
59569 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59570
59571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59572 compilation problems.
59573
59574 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59575 __builtin_expect.
59576
59577 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59578
59579 * sysdeps/i386/configure.in: Test for -mfma4 option.
59580 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59581 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59582 COMMON_CPUID_INDEX_80000001.
59583 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59584 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59585 use it if FMA3 is not supported.
59586 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59587
59588 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59589 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59590
59591 2011-10-20 Andreas Schwab <schwab@redhat.com>
59592
59593 [BZ #12892]
59594 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59595 it would create a cycle with a link time dependency.
59596
59597 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59598
59599 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59600 instruction.
59601 * string/Makefile (strop-tests): Add rawmemchr.
59602 * string/test-rawmemchr.c: New file.
59603
59604 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59605 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59606 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59607 when compiling str{,n}casecmp and when AVX is available. Hook up
59608 new optimized code in initializers.
59609
59610 2011-10-19 Andreas Schwab <schwab@redhat.com>
59611
59612 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59613 __feraiseexcept instead of feraiseexcept.
59614
59615 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59616
59617 * math/math_private.h: Define defaults for libc_fetestexcept and
59618 libc_feupdateenv.
59619 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59620 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59621 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59622 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59623 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59624 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59625 libc_fetestexcept and libc_feupdateenv.
59626
59627 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59628 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59629 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59630 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59631 libc_feholdexcept_setround.
59632
59633 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59634 Add s_nearbyint-c and s_nearbyintf-c.
59635 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59636 nearbyintf inlines.
59637 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59638 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59639 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59640 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59641
59642 * math/math_private.h: Define defaults for libc_fegetround,
59643 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59644 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59645 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59647 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59648 standard functions.
59649 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59650 Remove comments and hacks for old compiler versions.
59651 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59652 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59653 libc_feholdexceptl.
59654
59655 2011-10-18 Andreas Schwab <schwab@redhat.com>
59656
59657 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59658 (__feraiseexcept_renamed): Add __NTH.
59659 (feraiseexcept): Add __NTH. Rename local variables to fix
59660 namespace violations.
59661
59662 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59663
59664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59665
59666 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59667
59668 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59669 recently added interfaces.
59670 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59671
59672 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59673 about macro parameter expansion.
59674
59675 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59676 __NO_MATH_INLINES is defined. Cleanups.
59677
59678 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59679 and __floorf is target has SSE4.1.
59680 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59681 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59682 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59683 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59684
59685 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59686 name.
59687 (floorf): Likewise.
59688
59689 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59690
59691 2011-10-17 Andreas Schwab <schwab@redhat.com>
59692
59693 * misc/sys/cdefs.h: Fix last change.
59694
59695 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59696 database lookup.
59697
59698 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59699
59700 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59701
59702 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59703 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59704 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59705 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59707 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59708 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59709 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59710 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59711 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59712 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59713 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59714 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59715 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59716 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59717 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59718 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59719 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59720 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59721 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59722 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59723 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59724
59725 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59726 ceil, ceilf, floor, floorf.
59727
59728 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59729 Perform IRELATIVE relocations last.
59730
59731 * elf/do-rel.h: Add another parameter nrelative, replacing the
59732 local variable with the same name. Change name of the function
59733 to end in Rel or Rela (uppercase).
59734 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59735 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59736 elf_dynamic_do_##reloc function.
59737
59738 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59739
59740 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59741 is sufficient, at least on modern CPUs.
59742
59743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59744
59745 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59746 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59747
59748 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59749 __expl_finite.
59750 * math/bits/math-finite.h: Add entries for exp.
59751 * math/e_expl.c: Add __*_finite alias.
59752 * sysdeps/i386/fpu/e_exp.S: Likewise.
59753 * sysdeps/i386/fpu/e_expf.S: Likewise.
59754 * sysdeps/i386/fpu/e_expl.c: Likewise.
59755 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59756 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59759 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59760 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59761 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59762
59763 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59764 is sufficient, at least on modern CPUs.
59765
59766 * ctype/ctype-info.c (__ctype_init): Define.
59767 * include/ctype.h (__ctype_init): Declare.
59768 (__ctype_b_loc): The variable is always initialized.
59769 (__ctype_toupper_loc): Likewise.
59770 (__ctype_tolower_loc): Likewise.
59771 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59772 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59773
59774 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59775
59776 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59777
59778 * configure.in: Also look in $cxxmachine/include for C++ system
59779 headers.
59780
59781 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59782
59783 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59784 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59785 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59786 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59787 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59788 (USE_AS_WMEMCMP): New macro.
59789 Fixing indents.
59790 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59791 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59792 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59793 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59795 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59796 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59797 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59798 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59799 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59800 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59801 (USE_AS_WMEMCMP): New macro.
59802 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59803 * sysdeps/string/test-memcmp.c: Update.
59804 Fix simple_wmemcmp.
59805 Add new tests.
59806 * wcsmbs/wmemcmp.c: Update.
59807 (WMEMCMP): New macro.
59808 Fix overflow bug.
59809
59810 2011-10-12 Andreas Jaeger <aj@suse.de>
59811
59812 [BZ #13268]
59813 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59814
59815 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59816
59817 * libio/iofwide.c (do_length): Avoid warning.
59818
59819 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59820
59821 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59822
59823 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59824
59825 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59826 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59827 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59828 * sysdeps/i386/i686/fpu/e_log.S: New file.
59829 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59830 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59831
59832 * ctype/ctype.h: Add support for inlined isXXX functions when
59833 compiling C++ code.
59834
59835 2011-10-14 Andreas Schwab <schwab@redhat.com>
59836
59837 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59838
59839 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59840
59841 2011-10-13 Roland McGrath <roland@hack.frob.com>
59842
59843 [BZ #13291]
59844 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59845
59846 2011-10-13 Andreas Schwab <schwab@redhat.com>
59847
59848 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59849 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59850 feraiseexcept.
59851
59852 * sysdeps/x86_64/memrchr.S: Check for zero size.
59853
59854 * string/stratcliff.c: Add memrchr tests.
59855
59856 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59857
59858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59859 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59860 rawmemchr-sse2 rawmemchr-sse2-bsf.
59861 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59862 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59863 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59864 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59865 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59866 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59867 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59868 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59869 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59870 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59871 * string/memrchr.c (MEMRCHR): New macro.
59872
59873 2011-10-12 Ulrich Drepper <drepper@gmail.com>
59874
59875 Add integration with gcc's -ffinite-math-only and optimize wrapper
59876 functions in libm.
59877 * Versions.def: Define GLIBC_2.15 version for libm.
59878 * math/Makefile (headers): Add bits/math-finite.h.
59879 * math/bits/math-finite.h: New file.
59880 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59881 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59882 * math/e_acoshl.c: Add __*_finite alias.
59883 * math/e_acosl.c: Likewise.
59884 * math/e_asinl.c: Likewise.
59885 * math/e_atan2l.c: Likewise.
59886 * math/e_atanhl.c: Likewise.
59887 * math/e_coshl.c: Likewise.
59888 * math/e_exp10.c: Likewise.
59889 * math/e_exp10f.c: Likewise.
59890 * math/e_exp10l.c: Likewise.
59891 * math/e_exp2l.c: Likewise.
59892 * math/e_fmodl.c: Likewise.
59893 * math/e_gammal_r.c: Likewise.
59894 * math/e_hypotl.c: Likewise.
59895 * math/e_j0l.c: Likewise.
59896 * math/e_j1l.c: Likewise.
59897 * math/e_jnl.c: Likewise.
59898 * math/e_lgammal_r.c: Likewise.
59899 * math/e_log10l.c: Likewise.
59900 * math/e_log2l.c: Likewise.
59901 * math/e_logl.c: Likewise.
59902 * math/e_powl.c: Likewise.
59903 * math/e_sinhl.c: Likewise.
59904 * math/e_sqrtl.c: Likewise.
59905 * math/e_scalb.c: Completely rewritten and optimized.
59906 * math/e_scalbf.c: Likewise.
59907 * math/e_scalbl.c: Likewise.
59908 * math/w_acos.c: Likewise.
59909 * math/w_acosf.c: Likewise.
59910 * math/w_acosl.c: Likewise.
59911 * math/w_acosh.c: Likewise.
59912 * math/w_acoshf.c: Likewise.
59913 * math/w_acoshl.c: Likewise.
59914 * math/w_asin.c: Likewise.
59915 * math/w_asinf.c: Likewise.
59916 * math/w_asinl.c: Likewise.
59917 * math/w_atan2.c: Likewise.
59918 * math/w_atan2f.c: Likewise.
59919 * math/w_atan2l.c: Likewise.
59920 * math/w_atanh.c: Likewise.
59921 * math/w_atanhf.c: Likewise.
59922 * math/w_atanhl.c: Likewise.
59923 * math/w_exp10.c: Likewise.
59924 * math/w_exp10f.c: Likewise.
59925 * math/w_exp10l.c: Likewise.
59926 * math/w_fmod.c: Likewise.
59927 * math/w_fmodf.c: Likewise.
59928 * math/w_fmodl.c: Likewise.
59929 * math/w_j0.c: Likewise.
59930 * math/w_j0f.c: Likewise.
59931 * math/w_j0l.c: Likewise.
59932 * math/w_j1.c: Likewise.
59933 * math/w_j1f.c: Likewise.
59934 * math/w_j1l.c: Likewise.
59935 * math/w_jn.c: Likewise.
59936 * math/w_jnf.c: Likewise.
59937 * math/w_log.c: Likewise.
59938 * math/w_logf.c: Likewise.
59939 * math/w_logl.c: Likewise.
59940 * math/w_log10.c: Likewise.
59941 * math/w_log10f.c: Likewise.
59942 * math/w_log10l.c: Likewise.
59943 * math/w_log2.c: Likewise.
59944 * math/w_log2f.c: Likewise.
59945 * math/w_log2l.c: Likewise.
59946 * math/w_pow.c: Likewise.
59947 * math/w_powf.c: Likewise.
59948 * math/w_powl.c: Likewise.
59949 * math/w_remainder.c: Likewise.
59950 * math/w_remainderf.c: Likewise.
59951 * math/w_remainderl.c: Likewise.
59952 * math/w_scalb.c: Likewise.
59953 * math/w_scalbf.c: Likewise.
59954 * math/w_scalbl.c: Likewise.
59955 * math/w_sqrt.c: Likewise.
59956 * math/w_sqrtf.c: Likewise.
59957 * math/w_sqrtl.c: Likewise.
59958 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59959 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
59960 used.
59961 * math/math_private.h: Declare __kernel_standard_f.
59962 * math/w_cosh.c: Remove cruft and optimize a bit.
59963 * math/w_coshf.c: Likewise.
59964 * math/w_coshl.c: Likewise.
59965 * math/w_exp2.c: Likewise.
59966 * math/w_exp2f.c: Likewise.
59967 * math/w_exp2l.c: Likewise.
59968 * math/w_hypot.c: Likewise.
59969 * math/w_hypotf.c: Likewise.
59970 * math/w_hypotl.c: Likewise.
59971 * math/w_lgamma.c: Likewise.
59972 * math/w_lgamma_r.c: Likewise.
59973 * math/w_lgammaf.c: Likewise.
59974 * math/w_lgammaf_r.c: Likewise.
59975 * math/w_lgammal.c: Likewise.
59976 * math/w_lgammal_r.c: Likewise.
59977 * math/w_sinh.c: Likewise.
59978 * math/w_sinhf.c: Likewise.
59979 * math/w_sinhl.c: Likewise.
59980 * math/w_tgamma.c: Likewise.
59981 * math/w_tgammaf.c: Likewise.
59982 * math/w_tgammal.c: Likewise.
59983 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59985 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59986 Minor optimizations. Pretty printing. Remove cruft.
59987 * sysdeps/i386/fpu/e_acosf.S: Likewise.
59988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59989 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59990 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59991 * sysdeps/i386/fpu/e_acosl.c: Likewise.
59992 * sysdeps/i386/fpu/e_asin.S: Likewise.
59993 * sysdeps/i386/fpu/e_asinf.S: Likewise.
59994 * sysdeps/i386/fpu/e_atan2.S: Likewise.
59995 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59996 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59997 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59999 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60000 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60001 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60002 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60003 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60004 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60005 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60006 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60007 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60008 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60009 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60010 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60011 * sysdeps/i386/fpu/e_log.S: Likewise.
60012 * sysdeps/i386/fpu/e_log10.S: Likewise.
60013 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60014 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60015 * sysdeps/i386/fpu/e_log2.S: Likewise.
60016 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60017 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60018 * sysdeps/i386/fpu/e_logf.S: Likewise.
60019 * sysdeps/i386/fpu/e_logl.S: Likewise.
60020 * sysdeps/i386/fpu/e_pow.S: Likewise.
60021 * sysdeps/i386/fpu/e_powf.S: Likewise.
60022 * sysdeps/i386/fpu/e_powl.S: Likewise.
60023 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60024 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60025 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60026 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60027 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60029 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60030 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60031 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60032 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60033 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60035 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60037 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60038 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60039 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60040 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60041 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60042 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60043 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60045 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60046 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60048 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60049 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60050 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60052 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60053 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60054 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60055 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60056 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60057 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60058 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60059 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60060 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60070 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60071 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60072 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60073 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60074 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60075 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60076 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60077 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60078 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60079 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60080 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60081 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60082 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60083 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60084 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60086 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60087 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60088 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60089 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60090 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60091 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60092 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60093 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60094 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60096 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60097 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60098 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60099 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60100 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60101 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60102 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60103 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60104 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60105 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60106 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60109 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60110 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60111 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60112 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60113 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60114 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60115 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60119 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60120 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60121 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60123 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60124 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60125 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60126 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60128 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60129 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60130 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60131 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60132 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60133 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60134 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60135 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60136 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60137 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60138 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60139 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60140 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60141 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60142 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60143 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60144 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60145 (__isnanf): Likewise.
60146 (__isinf_ns): Likewise.
60147 (__isinf_nsf): Likewise.
60148 (__finite): Likewise.
60149 (__finitef): Likewise.
60150 (__ieee754_sqrt): Define as macro.
60151 (__ieee754_sqrtf): Define as macro.
60152 (__ieee754_sqrtl): Define as macro.
60153 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60154 inlined copy.
60155 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60156 __FINITE_MATH_ONLY__ consistent.
60157 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60158
60159 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60160
60161 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60162 of rawmemchr.
60163
60164 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60165
60166 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60167
60168 * po/ja.po: Update from translation team.
60169
60170 2011-10-08 Roland McGrath <roland@hack.frob.com>
60171
60172 * locale/programs/locarchive.c (prepare_address_space): New function.
60173 (create_archive, enlarge_archive, open_archive): Use it.
60174
60175 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60176 inside [SHARED], where it is used.
60177
60178 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60179
60180 * nss/getent.c (netgroup_keys): Remove unused variable.
60181 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60182
60183 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60184
60185 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60186 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60188 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60189 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60190 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60191 * math/Makefile (libm-calls): Add s_isinf_ns.
60192 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60193 * math/multc3.c: Likewise.
60194 * math/s_casin.c: Likewise.
60195 * math/s_casinf.c: Likewise.
60196 * math/s_casinl.c: Likewise.
60197 * math/s_ccos.c: Likewise.
60198 * math/s_ccosf.c: Likewise.
60199 * math/s_ccosl.c: Likewise.
60200 * math/s_ctan.c: Likewise.
60201 * math/s_ctanf.c: Likewise.
60202 * math/s_ctanh.c: Likewise.
60203 * math/s_ctanhf.c: Likewise.
60204 * math/s_ctanhl.c: Likewise.
60205 * math/s_ctanl.c: Likewise.
60206 * math/w_fmod.c: Likewise.
60207 * math/w_fmodf.c: Likewise.
60208 * math/w_fmodl.c: Likewise.
60209 * math/w_remainder.c: Likewise.
60210 * math/w_remainderf.c: Likewise.
60211 * math/w_remainderl.c: Likewise.
60212 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60213 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60214 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60216 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60217 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60218 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60219 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60220
60221 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60222 of the number.
60223 * stdio-common/printf_fphex.c: Likewise.
60224 * stdio-common/printf_size.c: Likewise.
60225
60226 * math/e_exp10.c: Include math_private.h using <...> not "...".
60227 * math/e_exp10f.c: Likewise.
60228 * math/e_exp10l.c: Likewise.
60229 * math/e_exp2l.c: Likewise.
60230 * math/e_j0l.c: Likewise.
60231 * math/e_j1l.c: Likewise.
60232 * math/e_jnl.c: Likewise.
60233 * math/e_lgammal_r.c: Likewise.
60234 * math/e_rem_pio2l.c: Likewise.
60235 * math/e_scalb.c: Likewise.
60236 * math/e_scalbf.c: Likewise.
60237 * math/e_scalbl.c: Likewise.
60238 * math/k_cosl.c: Likewise.
60239 * math/k_sinl.c: Likewise.
60240 * math/k_tanl.c: Likewise.
60241 * math/s_cacoshf.c: Likewise.
60242 * math/s_catan.c: Likewise.
60243 * math/s_catanf.c: Likewise.
60244 * math/s_catanh.c: Likewise.
60245 * math/s_catanhf.c: Likewise.
60246 * math/s_catanhl.c: Likewise.
60247 * math/s_catanl.c: Likewise.
60248 * math/s_ccosh.c: Likewise.
60249 * math/s_ccoshf.c: Likewise.
60250 * math/s_ccoshl.c: Likewise.
60251 * math/s_cexp.c: Likewise.
60252 * math/s_cexpf.c: Likewise.
60253 * math/s_cexpl.c: Likewise.
60254 * math/s_clog.c: Likewise.
60255 * math/s_clog10.c: Likewise.
60256 * math/s_clog10f.c: Likewise.
60257 * math/s_clog10l.c: Likewise.
60258 * math/s_clogf.c: Likewise.
60259 * math/s_clogl.c: Likewise.
60260 * math/s_csin.c: Likewise.
60261 * math/s_csinf.c: Likewise.
60262 * math/s_csinh.c: Likewise.
60263 * math/s_csinhf.c: Likewise.
60264 * math/s_csinhl.c: Likewise.
60265 * math/s_csinl.c: Likewise.
60266 * math/s_csqrt.c: Likewise.
60267 * math/s_csqrtf.c: Likewise.
60268 * math/s_csqrtl.c: Likewise.
60269 * math/s_ctan.c: Likewise.
60270 * math/s_ctanf.c: Likewise.
60271 * math/s_ctanh.c: Likewise.
60272 * math/s_ctanhf.c: Likewise.
60273 * math/s_ctanhl.c: Likewise.
60274 * math/s_ctanl.c: Likewise.
60275 * math/s_ldexp.c: Likewise.
60276 * math/s_ldexpf.c: Likewise.
60277 * math/s_ldexpl.c: Likewise.
60278 * math/s_significand.c: Likewise.
60279 * math/s_significandf.c: Likewise.
60280 * math/s_significandl.c: Likewise.
60281 * math/w_acos.c: Likewise.
60282 * math/w_acosf.c: Likewise.
60283 * math/w_acosh.c: Likewise.
60284 * math/w_acoshf.c: Likewise.
60285 * math/w_acoshl.c: Likewise.
60286 * math/w_acosl.c: Likewise.
60287 * math/w_asin.c: Likewise.
60288 * math/w_asinf.c: Likewise.
60289 * math/w_asinl.c: Likewise.
60290 * math/w_atan2.c: Likewise.
60291 * math/w_atan2f.c: Likewise.
60292 * math/w_atan2l.c: Likewise.
60293 * math/w_atanh.c: Likewise.
60294 * math/w_atanhf.c: Likewise.
60295 * math/w_atanhl.c: Likewise.
60296 * math/w_cosh.c: Likewise.
60297 * math/w_coshf.c: Likewise.
60298 * math/w_coshl.c: Likewise.
60299 * math/w_dremf.c: Likewise.
60300 * math/w_exp10.c: Likewise.
60301 * math/w_exp10f.c: Likewise.
60302 * math/w_exp10l.c: Likewise.
60303 * math/w_exp2.c: Likewise.
60304 * math/w_exp2f.c: Likewise.
60305 * math/w_fmod.c: Likewise.
60306 * math/w_fmodf.c: Likewise.
60307 * math/w_fmodl.c: Likewise.
60308 * math/w_hypot.c: Likewise.
60309 * math/w_hypotf.c: Likewise.
60310 * math/w_hypotl.c: Likewise.
60311 * math/w_j0.c: Likewise.
60312 * math/w_j0f.c: Likewise.
60313 * math/w_j0l.c: Likewise.
60314 * math/w_j1.c: Likewise.
60315 * math/w_j1f.c: Likewise.
60316 * math/w_j1l.c: Likewise.
60317 * math/w_jn.c: Likewise.
60318 * math/w_jnf.c: Likewise.
60319 * math/w_jnl.c: Likewise.
60320 * math/w_lgamma.c: Likewise.
60321 * math/w_lgamma_r.c: Likewise.
60322 * math/w_lgammaf.c: Likewise.
60323 * math/w_lgammaf_r.c: Likewise.
60324 * math/w_lgammal.c: Likewise.
60325 * math/w_lgammal_r.c: Likewise.
60326 * math/w_log.c: Likewise.
60327 * math/w_log10.c: Likewise.
60328 * math/w_log10f.c: Likewise.
60329 * math/w_log10l.c: Likewise.
60330 * math/w_log2.c: Likewise.
60331 * math/w_log2f.c: Likewise.
60332 * math/w_log2l.c: Likewise.
60333 * math/w_logf.c: Likewise.
60334 * math/w_logl.c: Likewise.
60335 * math/w_pow.c: Likewise.
60336 * math/w_powf.c: Likewise.
60337 * math/w_powl.c: Likewise.
60338 * math/w_remainder.c: Likewise.
60339 * math/w_remainderf.c: Likewise.
60340 * math/w_remainderl.c: Likewise.
60341 * math/w_scalb.c: Likewise.
60342 * math/w_scalbf.c: Likewise.
60343 * math/w_scalbl.c: Likewise.
60344 * math/w_sinh.c: Likewise.
60345 * math/w_sinhf.c: Likewise.
60346 * math/w_sinhl.c: Likewise.
60347 * math/w_sqrt.c: Likewise.
60348 * math/w_sqrtf.c: Likewise.
60349 * math/w_sqrtl.c: Likewise.
60350 * math/w_tgamma.c: Likewise.
60351 * math/w_tgammaf.c: Likewise.
60352 * math/w_tgammal.c: Likewise.
60353
60354 * po/ja.po: Update from translation team.
60355
60356 2011-09-29 Andreas Jaeger <aj@suse.de>
60357
60358 [BZ #13179]
60359 * sunrpc/netname.c (netname2host): Fix logic.
60360
60361 [BZ #6779]
60362 [BZ #6783]
60363 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60364 correctly.
60365 * math/w_remainder.c (__remainder): Likewise.
60366 * math/w_remainderf.c (__remainderf): Likewise.
60367 * math/libm-test.inc (remainder_test): Add test cases.
60368
60369 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60370
60371 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60372 sdiv_qrnnd.
60373
60374 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60375
60376 * string/test-memcmp.c: Avoid unncessary #defines.
60377 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60378
60379 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60380
60381 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60382 Use new sse2 version for core i3 - i7 as it's faster
60383 than sse42 version.
60384 (bit_Prefer_PMINUB_for_stringop): New.
60385 * sysdeps/x86_64/rawmemchr.S: Update.
60386 Replace with faster SSE2 version.
60387 * sysdeps/x86_64/memrchr.S: New file.
60388 * sysdeps/x86_64/memchr.S: Update.
60389 Replace with faster SSE2 version.
60390
60391 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60392
60393 * elf/dl-load.c (lose): Add cast to avoid warning.
60394
60395 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60396
60397 * po/ca.po: Update from translation team.
60398
60399 * inet/getnetgrent_r.c: Hook up nscd.
60400 * nscd/Makefile (routines): Add nscd_netgroup.
60401 (nscd-modules): Add netgroupcache.
60402 (CFLAGS-netgroupcache.c): Define.
60403 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60404 (cache_search): Add const to second parameter.
60405 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60406 INNETGR.
60407 (dbs): Add netgrdb entry.
60408 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60409 (verify_persistent_db): Handle netgrdb.
60410 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60411 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60412 GETFDNETGR.
60413 (netgroup_response_header): Define.
60414 (innetgroup_response_header): Define.
60415 (datahead): Add netgroup_response_header and innetgroup_response_header
60416 elements.
60417 * nscd/nscd.conf: Add entries for netgroup cache.
60418 * nscd/nscd.h (dbtype): Add netgrdb.
60419 (_PATH_NSCD_NETGROUP_DB): Define.
60420 (netgroup_iov_disabled): Declare.
60421 (xmalloc, xcalloc, xrealloc): Move declarations here.
60422 (cache_search): Adjust prototype.
60423 Add netgroup-related prototypes.
60424 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60425 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60426 (__nscd_innetgr): Declare.
60427 * nscd/selinux.c (perms): Use access_vector_t as element type and
60428 add netgroup-related initializers.
60429 * nscd/netgroupcache.c: New file.
60430 * nscd/nscd_netgroup.c: New file.
60431 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60432 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60433 For four parameters use innetgr.
60434 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60435 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60436 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60437 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60438
60439 * nscd/connections.c (register_traced_file): Don't register file
60440 for disabled databases.
60441
60442 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60443
60444 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60445
60446 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60447 from tree and freeing node.
60448
60449 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60450
60451 * nss/nsswitch.c (__nss_database_lookup): Handle
60452 nss_parse_service_list out of memory case.
60453
60454 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60455
60456 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60457 out of memory case.
60458
60459 2011-10-04 Andreas Schwab <schwab@redhat.com>
60460
60461 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60462 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60463 pass it down.
60464 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60465 elf_machine_rela, elf_machine_lazy_rel.
60466 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60467 (ELF_DYNAMIC_DO_REL): Likewise.
60468 (ELF_DYNAMIC_DO_RELA): Likewise.
60469 (ELF_DYNAMIC_RELOCATE): Likewise.
60470 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60471 to ELF_DYNAMIC_DO_REL.
60472 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60473 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60474 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60475 elf_machine_rela.
60476 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60477 skip_ifunc, don't call ifunc function if non-zero.
60478 (elf_machine_rela): Likewise.
60479 (elf_machine_lazy_rel): Likewise.
60480 (elf_machine_lazy_rela): Likewise.
60481 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60482 (elf_machine_lazy_rel): Likewise.
60483 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60484 Likewise.
60485 (elf_machine_lazy_rel): Likewise.
60486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60487 Likewise.
60488 (elf_machine_lazy_rel): Likewise.
60489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60490 (elf_machine_lazy_rel): Likewise.
60491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60492 (elf_machine_lazy_rel): Likewise.
60493 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60494 (elf_machine_lazy_rel): Likewise.
60495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60496 (elf_machine_lazy_rel): Likewise.
60497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60498 (elf_machine_lazy_rel): Likewise.
60499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60500 (elf_machine_lazy_rel): Likewise.
60501
60502 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60503
60504 * nss/nss_files/files-init.c (_nss_files_init): Use static
60505 initialization for all the *_traced_file variables.
60506
60507 2011-09-28 Andreas Schwab <schwab@redhat.com>
60508
60509 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60510
60511 2011-09-27 Roland McGrath <roland@hack.frob.com>
60512
60513 [BZ #13226]
60514 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60515
60516 2011-09-27 Andreas Schwab <schwab@redhat.com>
60517
60518 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60519 Reread the line before reparsing it.
60520
60521 2011-09-26 Andreas Schwab <schwab@redhat.com>
60522
60523 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60524
60525 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60526 Maxim Kuvyrkov <maxim@codesourcery.com>
60527 Joseph Myers <joseph@codesourcery.com>
60528
60529 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60530 if needed for __stack_chk_guard.
60531
60532 2011-09-19 Roland McGrath <roland@hack.frob.com>
60533
60534 * sysdeps/posix/spawni.c (script_execute): Always define it.
60535 It will be optimized away if unused.
60536 (maybe_script_execute): New function.
60537 (__spawni): Call it.
60538
60539 * Makerules: Don't include tls.make.
60540 (config-tls): Always set to thread.
60541 * tls.make.c: File removed.
60542
60543 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60544
60545 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60546 * config.make.in (CPPFLAGS-config): New substituted variable.
60547
60548 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60549
60550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60551
60552 [BZ #13192]
60553 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60554 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60555
60556 2011-09-15 Roland McGrath <roland@hack.frob.com>
60557
60558 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60559 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60561 (CALL_FAIL): Likewise.
60562 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60563 (CALL_FAIL): Macro removed.
60564 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60565
60566 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60567
60568 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60569 for __FINITE_MATH_ONLY__ == 1.
60570
60571 2011-09-15 Andreas Schwab <schwab@redhat.com>
60572
60573 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60574 __ieee754_sqrt instead of sqrt.
60575 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60576 __ieee754_sqrtf instead of sqrtf.
60577 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60578 __floorf instead of floorf.
60579 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60580 __floorf, __truncf instead of floorf, truncf.
60581
60582 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60583
60584 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60585
60586 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60587 __extern_always_inline.
60588 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60589 32-bit.
60590
60591 2011-09-14 Andreas Schwab <schwab@redhat.com>
60592
60593 * elf/rtld.c (dl_main): Also relocate in dependency order when
60594 doing symbol dependency testing.
60595
60596 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60597
60598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60599 Always define `refsym'.
60600
60601 2011-09-13 Andreas Schwab <schwab@redhat.com>
60602
60603 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60604 (__FD_ELT): Renamed from __FDELT.
60605 * misc/bits/select2.h (__FD_ELT): Likewise.
60606 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60607 __FD_MASK instead of __FDELT, __FDMASK.
60608 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60609 Likewise.
60610 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60611 Likewise.
60612
60613 * elf/Makefile (gen-ldd): Fix pattern.
60614
60615 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60616 (init_tls): Likewise.
60617
60618 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60619
60620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60621
60622 2011-09-12 Andreas Schwab <schwab@redhat.com>
60623
60624 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60625 `struct cmsghdr *' instead of `void *'.
60626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60627 Likewise.
60628
60629 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60630
60631 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60632 if non-absolute.
60633 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60634 ldd_rewrite_script.
60635
60636 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60637
60638 * configure.in: Remove --with-tls option.
60639 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60640 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60641 out in case it is missing.
60642 * sysdeps/ia64/elf/configure.in: Likewise.
60643 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60644 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60645 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60646 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60647 * sysdeps/sh/elf/configure.in: Likewise.
60648 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60649 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60650 * sysdeps/x86_64/elf/configure.in: Likewise.
60651 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60652 * sysdeps/mach/hurd/tls.h: Likewise.
60653
60654 [BZ #13067]
60655 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60656
60657 [BZ #13090]
60658 * configure.in: Fix use of AC_INIT.
60659
60660 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60661
60662 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60663
60664 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60665 __set_errno.
60666 * malloc/hooks.c: Likewise.
60667
60668 [BZ #11929]
60669 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60670 variables statically.
60671 (narenas): Initialize.
60672 (list_lock): Initialize.
60673 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60674 initializtion of main_arena and list_lock. Small cleanups.
60675 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60676 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60677 Add initializers to main_arena and mp_.
60678 (malloc_state): Remove pagesize member. Change all users to use
60679 GLRO(dl_pagesize).
60680
60681 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60682 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60683 is always initialized.
60684
60685 * malloc/malloc.c: Removed unused configurations and dead code.
60686 * malloc/arena.c: Likewise.
60687 * malloc/hooks.c: Likewise.
60688 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60689
60690 * include/tls.h: Removed. USE___THREAD must always be defined.
60691 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60692 * elf/dl-libc.c: Likewise.
60693 * elf/dl-tsd.c: Likewise.
60694 * include/errno.h: Likewise.
60695 * include/netdb.h: Likewise.
60696 * include/resolv.h: Likewise.
60697 * inet/herrno-loc.c: Likewise.
60698 * inet/herrno.c: Likewise.
60699 * malloc/arena.c: Likewise.
60700 * malloc/hooks.c: Likewise.
60701 * malloc/malloc.c: Likewise.
60702 * resolv/res-state.c: Likewise.
60703 * resolv/res_libc.c: Likewise.
60704 * sysdeps/i386/dl-machine.h: Likewise.
60705 * sysdeps/ia64/dl-machine.h: Likewise.
60706 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60707 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60708 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60709 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60710 * sysdeps/sh/dl-machine.h: Likewise.
60711 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60712 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60713 * sysdeps/unix/i386/sysdep.S: Likewise.
60714 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60715 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60720 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60724 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60725 * sysdeps/x86_64/dl-machine.h: Likewise.
60726 * tls.make.c: Likewise.
60727
60728 * configure.in: Remove --with-__thread option. Make tests for
60729 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60730 tls_model attribute fail if no support is available. Remove
60731 USE_IN_LIBIO.
60732 * Makeconfig: Adjust for dropped configure option. All features are
60733 now mandatory.
60734 * Makerules: Likewise.
60735 * Versions.def: Likewise.
60736 * argp/argp-fmtstream.c: Likewise.
60737 * argp/argp-fmtstream.h: Likewise.
60738 * argp/argp-help.c: Likewise.
60739 * assert/assert.c: Likewise.
60740 * config.h.in: Likewise.
60741 * config.make.in: Likewise.
60742 * configure: Likewise.
60743 * configure.in: Likewise.
60744 * csu/Versions: Likewise.
60745 * csu/init.c: Likewise.
60746 * elf/tst-audit2.c: Likewise.
60747 * elf/tst-tls10.c: Likewise.
60748 * elf/tst-tls10.h: Likewise.
60749 * elf/tst-tls11.c: Likewise.
60750 * elf/tst-tls12.c: Likewise.
60751 * elf/tst-tls14.c: Likewise.
60752 * elf/tst-tlsmod11.c: Likewise.
60753 * elf/tst-tlsmod12.c: Likewise.
60754 * elf/tst-tlsmod13.c: Likewise.
60755 * elf/tst-tlsmod13a.c: Likewise.
60756 * elf/tst-tlsmod14a.c: Likewise.
60757 * elf/tst-tlsmod15b.c: Likewise.
60758 * elf/tst-tlsmod16a.c: Likewise.
60759 * elf/tst-tlsmod16b.c: Likewise.
60760 * elf/tst-tlsmod7.c: Likewise.
60761 * elf/tst-tlsmod8.c: Likewise.
60762 * elf/tst-tlsmod9.c: Likewise.
60763 * gmon/gmon.c: Likewise.
60764 * grp/fgetgrent_r.c: Likewise.
60765 * grp/putgrent.c: Likewise.
60766 * hurd/fopenport.c: Likewise.
60767 * include/libc-symbols.h: Likewise.
60768 * include/tls.h: Likewise.
60769 * intl/gettextP.h: Likewise.
60770 * intl/loadinfo.h: Likewise.
60771 * locale/global-locale.c: Likewise.
60772 * locale/localeinfo.h: Likewise.
60773 * mach/devstream.c: Likewise.
60774 * malloc/arena.c: Likewise.
60775 * malloc/set-freeres.c: Likewise.
60776 * misc/err.c: Likewise.
60777 * misc/getttyent.c: Likewise.
60778 * misc/mntent_r.c: Likewise.
60779 * posix/getopt.c: Likewise.
60780 * posix/wordexp.c: Likewise.
60781 * pwd/fgetpwent_r.c: Likewise.
60782 * resolv/Versions: Likewise.
60783 * resolv/res_hconf.c: Likewise.
60784 * shadow/fgetspent_r.c: Likewise.
60785 * shadow/putspent.c: Likewise.
60786 * stdio-common/printf_fphex.c: Likewise.
60787 * stdio-common/tmpfile.c: Likewise.
60788 * stdlib/abort.c: Likewise.
60789 * stdlib/fmtmsg.c: Likewise.
60790 * sunrpc/auth_unix.c: Likewise.
60791 * sunrpc/clnt_perr.c: Likewise.
60792 * sunrpc/clnt_tcp.c: Likewise.
60793 * sunrpc/clnt_udp.c: Likewise.
60794 * sunrpc/clnt_unix.c: Likewise.
60795 * sunrpc/openchild.c: Likewise.
60796 * sunrpc/svc_simple.c: Likewise.
60797 * sunrpc/svc_tcp.c: Likewise.
60798 * sunrpc/svc_udp.c: Likewise.
60799 * sunrpc/svc_unix.c: Likewise.
60800 * sunrpc/xdr.c: Likewise.
60801 * sunrpc/xdr_array.c: Likewise.
60802 * sunrpc/xdr_rec.c: Likewise.
60803 * sunrpc/xdr_ref.c: Likewise.
60804 * sunrpc/xdr_stdio.c: Likewise.
60805
60806 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60807
60808 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60809
60810 2011-07-03 Andreas Jaeger <aj@suse.de>
60811
60812 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60813 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60814 regenerate with gen-libm-tests.pl.
60815
60816 2010-05-12 Petr Baudis <pasky@suse.cz>
60817
60818 [BZ #11589]
60819 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60820 around j0() zero points by switching to j1().
60821 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60822 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60823 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60824 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60825
60826 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60827
60828 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60829 instead of 0.
60830 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60831 instead of 0.
60832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60833 Patch in part by Pavel Roskin <proski@gnu.org>.
60834
60835 [BZ #13138]
60836 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60837 realloc.
60838 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60839 Free memory block if necessary.
60840
60841 [BZ #12847]
60842 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60843 be NULL. Don't lock in this case.
60844
60845 2011-09-09 Roland McGrath <roland@hack.frob.com>
60846
60847 * elf/elf.h (ELFOSABI_GNU): New macro.
60848 (ELFOSABI_LINUX): Define to that.
60849
60850 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60851
60852 * string/strncat.c (strncat): Undef the symbol in case it has been
60853 defined in bits/string.h.
60854
60855 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60856
60857 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60858
60859 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60860 link map.
60861
60862 2011-08-17 Andreas Jaeger <aj@suse.de>
60863
60864 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60865
60866 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60867 Ian Lance Taylor <iant@google.com>
60868
60869 * math/libm-test.inc (lround_test): New testcase.
60870 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60871
60872 2011-09-08 Ulrich Drepper <drepper@gmail.com>
60873
60874 * Makefile: Remove support for automatic cvs check-ins.
60875 * Makerules: Likewise.
60876 * config.make.in: Likewise.
60877 * configure.in: Likewise.
60878 * intl/Makefile: Likewise.
60879 * locale/Makefile: Likewise.
60880 * po/Makefile: Likewise.
60881 * posix/Makefile: Likewise.
60882 * sysdeps/gnu/Makefile: Likewise.
60883 * sysdeps/mach/hurd/Makefile: Likewise.
60884 * sysdeps/sparc/sparc32/Makefile: Likewise.
60885
60886 [BZ #13118]
60887 * posix/Makefile (bug-regex32-ENV): Define.
60888 Patch by John Stanley <jpsinthemix@verizon.net>.
60889
60890 * misc/Makefile (headers): Add bits/select2.h.
60891 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60892 * misc/bits/select2.h: New file.
60893 * include/bits/select2.h: New file.
60894 * debug/Makefile (routines): Add fdelt_chk.
60895 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60896 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60897 FD_ISSET.
60898 * debug/fdelt_chk.c: New file.
60899
60900 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
60901 * wcsmbs/test-wmemcmp.c: Likewise.
60902 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60903 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60904
60905 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60906
60907 * string/Makefile (strop-tests): Add memcmp.
60908 * string/test-wmemcmp.c: New file.
60909 * string/test-memcmp.c: Add wmemcmp support.
60910
60911 2011-09-08 Roland McGrath <roland@hack.frob.com>
60912
60913 [BZ #13153]
60914 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60915 2011-07-19 change.
60916
60917 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60918 garbage value in a __mach_port_mod_refs call in the cases of the
60919 task-self and thread-self ports.
60920
60921 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60922
60923 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60924
60925 2011-09-08 Andreas Schwab <schwab@redhat.com>
60926
60927 * elf/dl-load.c (lose): Check for non-null L.
60928
60929 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60930
60931 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60932
60933 * elf/dl-libc.c (dlerror_run): Pass back error code from
60934 dl_catch_error.
60935
60936 [BZ #13123]
60937 * elf/dl-load.c (lose): Free l_origin if it is valid.
60938
60939 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60940 names.
60941 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60942 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60943 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60944 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60945 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60946 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60947
60948 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60949
60950 * sysdeps/powerpc/fpu/e_hypot.c: New file.
60951 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60952 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60953 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60954 * sysdeps/powerpc/fpu/k_cosf.c: New file.
60955 * sysdeps/powerpc/fpu/k_sinf.c: New file.
60956 * sysdeps/powerpc/fpu/s_cosf.c: New file.
60957 * sysdeps/powerpc/fpu/s_sinf.c: New file.
60958 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60959 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60960
60961 2011-08-15 Alan Modra <amodra@gmail.com>
60962
60963 [BZ #13092]
60964 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60965 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60966 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
60967 ppc_mcount to static-only-routines.
60968 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60969 __mcount_internal.
60970 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60971 __mcount_internal with usual JUMPTARGET. Remove useless nop.
60972
60973 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
60974
60975 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60976 for finite and infinity parameters.
60977
60978 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
60979
60980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60981 and add nop instructions for throughput optimization.
60982 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60983
60984 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
60985
60986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60987 aligned copy for power7 with vector-scalar instructions.
60988 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60989
60990 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
60991
60992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60993 AVX check.
60994
60995 2011-09-07 Andreas Schwab <schwab@redhat.com>
60996
60997 [BZ #13144]
60998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60999 last change.
61000
61001 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61002
61003 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61004 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61005 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61006 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61007 clock_gettime.
61008
61009 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61010
61011 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61012 Forgot to demangle the pointer.
61013
61014 * sysdeps/i386/sysdep.h: Define atom_text_section.
61015 * sysdeps/x86_64/sysdep.h: Likewise.
61016 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61017 section with atom_text_section.
61018 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61019 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61020 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61022 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61023
61024 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61025 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61026 already be defined. Change to take two parameters and don't assign
61027 result to variable. Adjust all users.
61028 Define INTERNAL_GETTIME if not already defined.
61029 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61030 call.
61031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61032 HAVE_CLOCK_GETTIME_VSYSCALL.
61033 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61034
61035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61036 gettimeofday vsyscall, just use time.
61037
61038 2011-09-06 Andreas Schwab <schwab@redhat.com>
61039
61040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61041 <errno.h>.
61042
61043 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61044
61045 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61046 syscall on x86-64.
61047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61048 syscall.
61049 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61050 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61051 syscall if possible.
61052
61053 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61054
61055 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61056 e_ident. Don't pass to find_mapsXX.
61057 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61058
61059 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61060
61061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61062 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61063 * sysdeps/x86_64/multiarch/strchr.S: Update.
61064 Check bit_slow_BSF bit.
61065 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61066 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61067 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61068
61069 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61070
61071 [BZ #13134]
61072 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61073 before glibc 2.15.
61074 (tryshell): Define.
61075 (__spawni): Change last parameter to be flag. Test
61076 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61077 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61078 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61079 * posix/spawni.c: Likewise.
61080 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61081 * posix/spawnp.c: Likewise. Change normal version to use
61082 SPAWN_XFLAGS_USE_PATH.
61083 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61084 SPAWN_XFLAGS_TRY_SHELL.
61085
61086 [BZ #13150]
61087 * posix/glob.h: Remove gcc 1.x support.
61088
61089 [BZ #13068]
61090 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61091
61092 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61093
61094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61095 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61096 strrchr-sse2-bsf
61097 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61098 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61099 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61100 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61101 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61102 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61103
61104 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61105
61106 * sysdeps/x86_64/wcscmp.S: New file.
61107
61108 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61109 wcscmp-c wcscmp-sse2
61110 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61111 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61112 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61113 * wcsmbs/wcscmp.c: Allow renaming.
61114
61115 2011-09-05 David S. Miller <davem@davemloft.net>
61116
61117 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61118 stack slot, rather than the struct return pointer slot.
61119 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61120 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61122 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61123
61124 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61125
61126 * po/ja.po: Update from translation team.
61127
61128 [BZ #13144]
61129 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61130 kernel in 64-bit binaries.
61131
61132 2011-09-01 David S. Miller <davem@davemloft.net>
61133
61134 * elf/elf.h (HWCAP_SPARC_*): Move to..
61135 * sysdeps/sparc/sysdep.h: this new file and add new values.
61136 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61137 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61138 _DL_HWCAP_COUNT to 24.
61139 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61140 entries.
61141 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61142 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61143 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61145 instead of magic constants.
61146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61147
61148 2011-08-31 David S. Miller <davem@davemloft.net>
61149
61150 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61152 Reimplement to do errno handling inline.
61153 (SYSCALL_ERROR_HANDLER): New macro.
61154 (__SYSCALL_STRING): Do not do errno handling in asm.
61155 (__CLONE_SYSCALL_STRING): Delete.
61156 (__INTERNAL_SYSCALL_STRING): Delete.
61157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61158 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61159 (PSEUDO): Reimplement to do errno handling inline.
61160 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61161 (SYSCALL_ERROR_HANDLER): New macro.
61162 (__SYSCALL_STRING): Do not do errno handling in asm.
61163 (__CLONE_SYSCALL_STRING): Delete.
61164 (__INTERNAL_SYSCALL_STRING): Delete.
61165 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61166 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61167 i386.
61168 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61169 (inline_syscall*): Add 'err' argument.
61170 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61171 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61172 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61173 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61174
61175 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61176 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61177
61178 2011-08-30 Andreas Schwab <schwab@redhat.com>
61179
61180 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61181
61182 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61183
61184 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61185 directive.
61186
61187 2011-08-24 David S. Miller <davem@davemloft.net>
61188
61189 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61190
61191 2011-08-24 Andreas Schwab <schwab@redhat.com>
61192
61193 * elf/Makefile: Add rules to build and run unload8 test.
61194 * elf/unload8.c: New file.
61195 * elf/unload8mod1.c: New file.
61196 * elf/unload8mod1x.c: New file.
61197 * elf/unload8mod2.c: New file.
61198 * elf/unload8mod3.c: New file.
61199
61200 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61201 it wasn't used.
61202
61203 2011-08-23 David S. Miller <davem@davemloft.net>
61204
61205 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61206 subtract stack bias.
61207 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61208 %sp not %fp in calculations.
61209 (_JMPBUF_UNWINDS_ADJ): Likewise.
61210
61211 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61212 (aio_suspend): Call it to force an exception region around the
61213 AIO_MISC_WAIT() invocation.
61214
61215 2011-08-23 Andreas Schwab <schwab@redhat.com>
61216
61217 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61218 backslash.
61219
61220 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61221
61222 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61223 protection macro.
61224 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61225 and <dl-machine.h>.
61226 (Elf64_FuncDesc): Remove.
61227
61228 2011-08-22 David S. Miller <davem@davemloft.net>
61229
61230 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61231 sigaltstack check, add missing cfi directives.
61232 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61233 missing cfi directives, and sigaltstack handling.
61234
61235 2011-08-16 Andreas Schwab <schwab@redhat.com>
61236
61237 [BZ #11724]
61238 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61239 object is seen twice.
61240 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61241
61242 * elf/Makefile (distribute): Add tst-initorder2.c.
61243 (tests): Add tst-initorder2.
61244 (modules-names): Add tst-initorder2a tst-initorder2b
61245 tst-initorder2c tst-initorder2d. Add rules to build them.
61246 ($(objpfx)tst-initorder2.out): New rule.
61247 * elf/tst-initorder2.c: New file.
61248 * elf/tst-initorder2.exp: New file.
61249
61250 2011-08-22 Andreas Schwab <schwab@redhat.com>
61251
61252 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61253
61254 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61255 dependencies back to end of function.
61256
61257 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61258 $(elfobjdir)/ld.so.
61259
61260 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61261
61262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61263 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61265 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61266 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61267 of __vdso_gettimeofday.
61268 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61269 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61270 attribute_hidden.
61271 (_libc_vdso_platform_setup): Remove initialization of
61272 __vdso_gettimeofday and __vdso_time.
61273
61274 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61275
61276 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61277 and fgetc_unlocked.
61278 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61279 getc_unlocked.
61280
61281 * elf/dl-open.c (add_to_global): Report additions to the global scope
61282 for LD_DEBUG=scopes.
61283 (dl_open_worker): Also print scope of newly loaded dependencies.
61284 (_dl_show_scope): Indicate if there is no scope.
61285
61286 [BZ #13114]
61287 * stdio-common/Makefile (tests): Add bug24.
61288 * stdio-common/bug24.c: New file.
61289
61290 2011-08-19 Andreas Jaeger <aj@suse.de>
61291
61292 [BZ #13114]
61293 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61294 non-existant file when using close-on-exec mode.
61295
61296 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61297
61298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61299 the very first instruction.
61300
61301 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61302 the CFI state in the end.
61303 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61304 inclusion of dl-trampoline.h.
61305 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61306
61307 2011-08-19 Andreas Schwab <schwab@redhat.com>
61308
61309 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61310 expectations for long double.
61311
61312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61313 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61314
61315 2011-08-14 David S. Miller <davem@davemloft.net>
61316
61317 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61318 artificual limit depends upon the system page size.
61319
61320 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61321
61322 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61323 * resolv/Makefile: Define CFLAGS-libresolv.
61324
61325 2011-08-17 Andreas Schwab <schwab@redhat.com>
61326
61327 * nss/makedb.c (compute_tables): Make variables used in nested
61328 function static.
61329
61330 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61331
61332 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61333 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61334 if buffer was too small.
61335
61336 * elf/pldd.c (main): Attach to all threads in the process.
61337 Rewrite /proc handling to use *at functions.
61338
61339 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61340
61341 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61342 specifies first scope to show.
61343 (dl_open_worker): Update callers. Move printing scope of new
61344 object to before the relocation.
61345 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61346 * sysdeps/generic/ldsodefs.h: Update declaration.
61347
61348 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61349 string for the scope number.
61350
61351 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61352
61353 * nscd/servicescache.c (cache_addserv): Make sure written is always
61354 initialized.
61355
61356 2011-08-14 Roland McGrath <roland@hack.frob.com>
61357
61358 * sysdeps/i386/i486/bits/atomic.h
61359 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61360 statement expression, so as to suppress "set but not used" warning.
61361 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61362
61363 * string/strncat.c (STRNCAT): Use prototype definition.
61364
61365 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61366 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61367 -Iprograms here.
61368 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61369 (localedef-modules): Add localedef.
61370 (locale-modules): Add locale.
61371
61372 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61373 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61374 to avoid a warning.
61375
61376 2011-08-14 David S. Miller <davem@davemloft.net>
61377
61378 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61379 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61380
61381 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61382
61383 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61384 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61385 * elf/rtld.c (dl_main): Set l_name of vDSO.
61386 Call _dl_show_scope when DL_DEBUG_SCOPES.
61387 (process_dl_debug): Recognize scopes flag and also set it for all.
61388 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61389 Declare _dl_show_scope.
61390
61391 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61392 (do_dlopen): Pass caller_dlopen to dl_open.
61393 (__libc_dlopen_mode): Initialize caller_dlopen.
61394
61395 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61396 of libc. Make tolower call locale-independent. Optimize a bit by
61397 using isdigit instead of isalnum.
61398 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61399
61400 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61401
61402 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61403 was a dependency or dynamically loaded.
61404
61405 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61406
61407 * intl/l10nflist.c: Allow architecture-specific pop function.
61408 * sysdeps/x86_64/l10nflist.c: New file.
61409
61410 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61411 classification.
61412
61413 2011-08-10 Andreas Schwab <schwab@redhat.com>
61414
61415 * include/dirent.h: Add libc_hidden_proto for scandirat and
61416 scandirat64. Don't declare __scandirat64.
61417 * dirent/scandirat.c: Add libc_hidden_def.
61418 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61419 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61420
61421 2011-08-10 David S. Miller <davem@davemloft.net>
61422
61423 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61424 enum.
61425 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61426 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61427 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61428
61429 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61430
61431 * Versions.def [libc]: Add GLIBC_2.15.
61432 * dirent/Makefile (routines): Add scandirat and scandirat64.
61433 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61434 GLIBC_2.15.
61435 * dirent/dirent.h: Declare scandirat and scandirat64.
61436 * dirent/scandirat.c: New file.
61437 * dirent/scandirat64.c: New file.
61438 * sysdeps/wordsize-64/scandirat.c: New file.
61439 * sysdeps/wordsize-64/scandirat64.c: New file.
61440 * dirent/opendir.c: Define opendirat.
61441 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61442 using scandirat.
61443 * dirent/scandir64.c: Adjust for scandir.c change.
61444 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61445 __scandirat64, and __scandir_cancel_handler.
61446 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61447 additional parameter and use openat instead of open (outside of ld.so).
61448 Add new __opendir as wrapper around __opendirat.
61449 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61450 here without requiring old scandirat implementation.
61451
61452 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61453
61454 * dirent/scandir.c (cancel_handler): Renamed to
61455 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61456 defined. Adjust users.
61457 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61458 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61459
61460 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61461
61462 * string/test-string.h (IMPL): Use __STRING to expand name and then
61463 stringify it.
61464
61465 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61466 of cleanups.
61467
61468 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61469
61470 * string/Makefile: Update.
61471 (strop-tests): Append strncat.
61472 * string/test-wcscmp.c: New file.
61473 New comprehensive test for wcscmp.
61474 * string/test-strcmp.c: Update.
61475 (WIDE): New define.
61476
61477 2011-07-22 Andreas Schwab <schwab@redhat.com>
61478
61479 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61480 line.
61481
61482 2011-07-26 Andreas Schwab <schwab@redhat.com>
61483
61484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61485 encoding to ACE if AI_IDN.
61486
61487 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61488
61489 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61490 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61491
61492 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61493
61494 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61495 Fix overflow bug in strncat.
61496 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61497
61498 * string/test-strncat.c: Update.
61499 Add new tests for checking overflow bugs.
61500
61501 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61502
61503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61504 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61505 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61506 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61507 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61508 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61509 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61510 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61511 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61512
61513 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61514 (USE_AS_STRCAT): Define.
61515 Add strcat and strncat support.
61516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61517
61518 2011-07-25 Andreas Schwab <schwab@redhat.com>
61519
61520 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61521 __n bigger than INT_MAX+1.
61522 (__strncmp_g): Likewise.
61523
61524 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61525
61526 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61527 * libio/stido.h: Likewise.
61528
61529 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61530 (AF_NFC): Define.
61531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61532 (AF_NFC): Define.
61533
61534 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61536 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61537 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61538 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61539
61540 [BZ #13021]
61541 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61542 installed.
61543
61544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61545 typo.
61546 (_dl_x86_64_save_sse): Likewise.
61547
61548 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61549
61550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61551 OSXSAVE.
61552 (_dl_x86_64_save_sse): Likewise.
61553
61554 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61555
61556 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61557
61558 2011-07-21 Andreas Schwab <schwab@redhat.com>
61559
61560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61561 change.
61562 (_dl_x86_64_save_sse): Use correct AVX check.
61563
61564 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61565
61566 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61567 bug in strncpy/strncat.
61568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61569
61570 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61571
61572 * string/tester.c (test_strcat): Add tests for different alignments
61573 of source and destination.
61574 (test_strncat): Likewise.
61575
61576 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61577
61578 [BZ #12852]
61579 * posix/glob.c (glob): Check passed in values before using them in
61580 expressions to avoid some overflows.
61581 (glob_in_dir): Likewise.
61582
61583 [BZ #13007]
61584 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61585 check for AVX enablement so that we don't crash with old kernels and
61586 new hardware.
61587 * elf/tst-audit4.c: Add same checks here.
61588 * elf/tst-audit6.c: Likewise.
61589
61590 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61591
61592 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61593
61594 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61595
61596 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61597
61598 * po/cs.po: Update from translation team.
61599 * po/bg.po: Likewise.
61600
61601 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61602
61603 * misc/sys/cdefs.h: Add support for const attribute.
61604 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61605 to gnu_dev_{major,minor,makedev} functions.
61606
61607 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61608
61609 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61610
61611 2011-07-20 Andreas Schwab <schwab@redhat.com>
61612
61613 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61614 strlen results.
61615
61616 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61617
61618 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61619 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61620 register in order to avoid conflicts with the soft frame pointer
61621 being held in r11 when necessary.
61622 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61623 (INTERNAL_VSYSCALL_NCS): Likewise.
61624
61625 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61626
61627 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61628 * elf/dl-fini.c (_dl_fini): Adjust caller.
61629 * elf/dl-close.c (_dl_close_worker): Likewise.
61630 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61631
61632 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61633
61634 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61635 "aux_cache->nlibs < 0".
61636
61637 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61638 in the reload-count case.
61639
61640 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61641
61642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61643 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61644 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61645 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61646 * sysdeps/x86_64/multiarch/strcat.S: New file.
61647 * sysdeps/x86_64/multiarch/strncat.S: New file.
61648 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61649 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61650 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61651 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61653 (USE_AS_STRCAT): Define.
61654 Add strcat and strncat support.
61655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61656 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61657 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61658 * string/strncat.c: Update.
61659 (USE_AS_STRNCAT): Define.
61660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61661 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61662 and i7.
61663 * sysdeps/x86_64/multiarch/init-arch.h
61664 (bit_Prefer_PMINUB_for_stringop): New.
61665 (index_Prefer_PMINUB_for_stringop): Likewise.
61666 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61667 bit_Prefer_PMINUB_for_stringop.
61668
61669 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61670
61671 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61672 buffer64.
61673 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61674 of casting of buffer.
61675 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61676 buffer32 and buffer64.
61677 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61678 writes instead of casting of buffer.
61679 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61680 buffer32.
61681 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61682 casting of buffer.
61683
61684 2011-07-19 Andreas Schwab <schwab@redhat.com>
61685
61686 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61687
61688 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61689
61690 * nscd/nscd.c (termination_handler): Don't do anything for a database
61691 if it has not yet been initialized.
61692
61693 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61694
61695 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61696
61697 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61698
61699 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61700
61701 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61702
61703 * po/nl.po: Update from translation team.
61704 * po/sv.po: Likewise.
61705
61706 2011-07-16 Roland McGrath <roland@hack.frob.com>
61707
61708 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61709 now disallowed by GCC.
61710
61711 * configure.in (use-default-link): Default to yes if a test -shared
61712 link meets our qualifications.
61713 * configure: Regenerated.
61714
61715 * config.make.in (output-format): New variable.
61716 * configure.in: Check for ld --print-output-format support.
61717 * configure: Regenerated.
61718 * Makerules ($(common-objpfx)format.lds)
61719 [$(output-format) != unknown]: Just use $(output-format),
61720 instead of the linker-script munging.
61721
61722 2011-07-14 Roland McGrath <roland@hack.frob.com>
61723
61724 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61725 of $(common-objpfx)shlib.lds.
61726 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61727
61728 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61729 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61730
61731 * configure.in (-z relro check): Adjust test code to add a large
61732 writable data section after it.
61733 * configure: Regenerated.
61734
61735 2011-07-11 Roland McGrath <roland@hack.frob.com>
61736
61737 * configure.in (-z relro check): Fix test code to make the variable
61738 truly const.
61739 * configure: Regenerated.
61740
61741 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61742
61743 * nscd/nscd.h (struct traced_file): Define.
61744 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61745 elements. Add traced_files.
61746 (inotify_fd): Declare.
61747 (register_traced_file): Declare.
61748 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61749 (inotify_fd): Export.
61750 (resolv_conf_descr): Remove.
61751 (nscd_init): Move inotify descriptor creation to main.
61752 Don't register files for notification here.
61753 (register_traced_file): New function.
61754 (invalidate_cache): Don't use reset_res to determine whether to call
61755 res_init, go through the list of registered files.
61756 (main_loop_poll): The inotify descriptors are now stored in the
61757 structures for the traced files.
61758 (main_loop_epoll): Likewise
61759 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61760 to __nss_disable_nscd.
61761 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61762 for a database anymore. Check the records for all the registered
61763 files instead.
61764 * nss/Makefile (libnss_files-routines): Add files-init.
61765 (libnss_db-routines): Add db-init.
61766 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61767 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61768 * nss/nss_db/db-init.c: New file.
61769 * nss/nss_files/files-init.c: New file.
61770 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61771 __nss_lookup_function.
61772 (__nss_lookup_function): Call nss_load_library.
61773 (nss_load_all_libraries): New function.
61774 (__nss_disable_nscd): Take parameter with callback function for files
61775 to register. Set is_nscd. Load all the DSOs for the NSS modules
61776 used for the cached services.
61777 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61778 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61779 options for features to all the files in nscd.
61780
61781 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61782
61783 2011-07-10 Roland McGrath <roland@hack.frob.com>
61784
61785 * csu/elf-init.c (__libc_csu_init): Comment typo.
61786
61787 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61788
61789 * po/pl.po: Update from translation team.
61790 * po/ja.po: Likewise.
61791 * po/ru.po: Likewise.
61792 * po/ko.po: Likewise.
61793 * po/fr.po: Likewise.
61794
61795 2011-07-09 Roland McGrath <roland@hack.frob.com>
61796
61797 * configure.in (.ctors/.dtors header and trailer check):
61798 Use an empirical test on a built program.
61799 * configure: Regenerated.
61800
61801 * configure.in (-z relro check): Use an empirical test on a built DSO.
61802 Detect, but do not require, on ia64.
61803 * configure: Regenerated.
61804
61805 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61806 Update tests that use readelf to use $READELF instead.
61807 * configure: Regenerated.
61808
61809 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61810
61811 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61812 if the result is not used.
61813
61814 2011-07-05 Andreas Jaeger <aj@suse.de>
61815
61816 [BZ#9696]
61817 * stdlib/tst-strtod.c: Add testcase.
61818
61819 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61820
61821 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61822 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61823 The latter has a higher limit. Take additional parameter to pass to
61824 the new function.
61825 (__pathconf): Pass file to __statfs_link_max.
61826 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61827 __statfs_link_max.
61828 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61829 __statfs_link_max.
61830
61831 [BZ #12868]
61832 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61834 Handle Lustre.
61835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61836 (__statfs_filesize_max): Likewise.
61837 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61838
61839 2011-07-05 Andreas Jaeger <aj@suse.de>
61840
61841 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61842
61843 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61844
61845 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61846 `status' variable.
61847 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61848 Likewise.
61849
61850 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61851
61852 * Makefile (strop-tests): Add strncat.
61853 * string/test-strncat.c: New file.
61854
61855 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61856
61857 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61858
61859 2011-06-21 Andreas Jaeger <aj@suse.de>
61860
61861 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61862 Copy rule from iconvdata/Makefile.
61863
61864 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61865
61866 [BZ #12922]
61867 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61868 but no long options are defined, just return 'W'.
61869
61870 2011-06-22 Marek Polacek <mpolacek@redhat.com>
61871
61872 [BZ #9696]
61873 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61874
61875 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61876
61877 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61878 netgroups to read.
61879 (innetgr): Likewise.
61880
61881 2011-07-05 Roland McGrath <roland@hack.frob.com>
61882
61883 * config.make.in (install_root): Default to $(DESTDIR).
61884
61885 2011-07-05 Ulrich Drepper <drepper@gmail.com>
61886
61887 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61888
61889 2011-07-02 Roland McGrath <roland@hack.frob.com>
61890
61891 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61892
61893 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61894 containing directory rather than embedding absolute directory names.
61895
61896 * scripts/check-local-headers.sh: Rewritten using awk.
61897 Match by word, not by line. Print error messages for matches.
61898 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61899
61900 * Makerules [shlib-lds-flags empty]:
61901 ($(common-objpfx)libc_pic.opts): New target.
61902 ($(common-objpfx)libc_pic.os.clean): New target.
61903 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61904
61905 * config.make.in (OBJCOPY): New variable.
61906 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61907 * configure: Regenerated.
61908
61909 * config.make.in (use-default-link): New variable.
61910 * configure.in (use_default_link): Grok --with-default-link to set it.
61911 * configure: Regenerated.
61912 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61913 (shlib-lds, shlib-lds-flags): Define to empty.
61914
61915 * Makerules (shlib-lds): New variable.
61916 (shlib-lds-flags): New variable.
61917 (build-shlib, build-moduile, build-module-asneeded): Use it.
61918 ($(common-objpfx)libc.so): Use $(shlib-lds).
61919 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61920 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61921
61922 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61923 DT_FLAGS/DT_FLAGS_1 with zero flags.
61924
61925 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61926 linker script munging.
61927
61928 2011-07-02 Ulrich Drepper <drepper@gmail.com>
61929
61930 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61931 as 128-bit value.
61932 * crypt/sha512.c (sha512_process_block): Perform total addition using
61933 128-bit if possible.
61934 (__sha512_finish_ctx): Likewise.
61935 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61936 as 64-bit value.
61937 * crypt/sha256.c (SWAP64): Define.
61938 (sha256_process_block): Perform total addition using 64-bit if
61939 possible.
61940 (__sha256_finish_ctx): Likewise.
61941
61942 2011-07-01 Ulrich Drepper <drepper@gmail.com>
61943
61944 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
61945 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61946 * nscd/hstcache.c (cache_addhst): Likewise.
61947 * nscd/grpcache.c (cache_addgr): Likewise.
61948 * nscd/aicache.c (addhstaiX): Likewise
61949 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61950
61951 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
61952
61953 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61954 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61955 * nscd/hstcache.c (cache_addhst): Likewise.
61956 * nscd/grpcache.c (cache_addgr): Likewise.
61957 * nscd/aicache.c (addhstaiX): Likewise
61958
61959 2011-07-01 Andreas Schwab <schwab@redhat.com>
61960
61961 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61962 domain only when needed.
61963
61964 2011-06-30 Andreas Schwab <schwab@redhat.com>
61965
61966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61967 is always restored.
61968
61969 2011-06-29 Ulrich Drepper <drepper@gmail.com>
61970
61971 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61972 are re-adding the entry.
61973 * nscd/servicescache.c (cache_addserv): Likewise.
61974
61975 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
61976
61977 * sysdeps/generic/dl-irel.h: fix protection against multiple
61978 inclusions.
61979 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61980
61981 2011-06-28 Ulrich Drepper <drepper@gmail.com>
61982
61983 [BZ #12935]
61984 * malloc/memusage.sh: Fix quoting in message.
61985 * debug/xtrace.sh: Likewise.
61986
61987 * configure.in: Remove support for --experimental-malloc option, make
61988 it the default.
61989 * config.make.in: Likewise.
61990 * malloc/Makefile: Likewise.
61991
61992 2011-06-27 Andreas Schwab <schwab@redhat.com>
61993
61994 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61995 two-byte characters.
61996
61997 2011-06-27 Roland McGrath <roland@hack.frob.com>
61998
61999 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62000 AC_CACHE_CHECK invocation.
62001 * configure: Regenerated.
62002
62003 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62004
62005 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62006
62007 [BZ #12350]
62008 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62009 bit from old_res_options.
62010
62011 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62012
62013 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62014 value type for setfct.
62015
62016 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62017
62018 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62019 __gettimeofday instead of gettimeofday.
62020
62021 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62022
62023 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62024
62025 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62026
62027 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62028
62029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62030 info.
62031
62032 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62033
62034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62035 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62036 strcpy-sse2-unaligned strncpy-sse2-unaligned
62037 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62038 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62039 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62040 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62041 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62042 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62043 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62044 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62045 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62046 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62047 (STRCPY): Support SSE2 and SSSE3 versions.
62048
62049 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62050
62051 [BZ #12874]
62052 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62053 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62054 kernels which artificially limit size of requests.
62055
62056 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62057
62058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62059 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62060 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62061 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62062 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62063 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62064 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62065 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62068 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62069 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62070 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62071 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62072 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62074 Enable unaligned load optimization for Intel Core i3, i5 and i7
62075 processors.
62076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62077 Define.
62078 (index_Fast_Unaligned_Load): Define.
62079 (HAS_FAST_UNALIGNED_LOAD): Define.
62080
62081 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62082
62083 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62084
62085 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62086
62087 [BZ #12907]
62088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62089 until it is clear that the information is realy needed.
62090 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62091
62092 2011-06-22 Andreas Schwab <schwab@redhat.com>
62093
62094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62095
62096 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62097
62098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62099 /sys/devices/system/cpu/online if it is usable.
62100
62101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62102 reading the information from the /proc filesystem to once a second.
62103
62104 2011-06-21 Andreas Jaeger <aj@suse.de>
62105
62106 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62107 NULL after inclusion of kernel headers.
62108
62109 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62110
62111 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62112 calls to internal_setent.
62113
62114 [BZ #12885]
62115 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62116 addresses using gethostbyname4_r ignore IPv4 addresses.
62117
62118 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62119 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62120
62121 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62122
62123 2011-06-20 David S. Miller <davem@davemloft.net>
62124
62125 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62126 inclusions.
62127 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62128
62129 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62130 (elf_irel): Use it.
62131 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62132 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62133 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62134 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62135 * sysdeps/x86_64/dl-irel.h: Likewise.
62136
62137 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62138 * elf/dl-sym.c: Likewise.
62139
62140 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62141
62142 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62143 need to dereference resplen2.
62144
62145 2011-06-14 Andreas Schwab <schwab@redhat.com>
62146
62147 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62148
62149 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62150
62151 * Makeconfig: Define vardbdir and inst_vardbdir.
62152 * nss/Makefile: Add rules to install db-Makefile.
62153
62154 * nss/nss_db/db-XXX.c: Cleanup.
62155
62156 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62157 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62158 GLIBC_PRIVATE.
62159 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62160 * nss/makedb.c: Implement -g option to specify that value strings
62161 are generated and should not be added to table iterated over for
62162 get*ent calls.
62163 * nss/nss_db/db-initgroups.c: New file.
62164
62165 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62166 interface.
62167
62168 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62169 (internal_getgrouplist): Adjust to name change.
62170 Update use_initgroups_entry if this is not the first call.
62171 * nss/databases.def: Add initgroups entry.
62172
62173 * nss/makedb.c (compute_tables): Check result of multiple hash table
62174 sizes to minimize maximum chain length.
62175
62176 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62177
62178 * Versions.def: Add entry for libnss_db.
62179 * shlib-versions: Likewise.
62180 * nss/Makefile: Add rules to build libnss_db.
62181 * nss/Versions: Add libnss_db information. Organize libnss_files
62182 entries better.
62183 * nss/db-Makefile: Add gshadow support. Change rules for the new
62184 makedb progra. Some minor improvements to generate smaller files.
62185 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62186 here from...
62187 * nss/makedb.c: ...here.
62188 Improve database format to be smaller and require less memory at
62189 runtime.
62190 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62191 db anymore.
62192 * nss/nss_db/db-netgrp.c: Likewise.
62193 * nss/nss_db/db-open.c: Likewise.
62194 * nss/nss_files/flies-XXX.x: Adjust comments.
62195 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62196 * nss/nss_files/files-grp.c: Likewise.
62197 * nss/nss_files/files-hosts.c: Likewise.
62198 * nss/nss_files/files-network.c: Likewise.
62199 * nss/nss_files/files-proto.c: Likewise.
62200 * nss/nss_files/files-pwd.c: Likewise.
62201 * nss/nss_files/files-rpc.c: Likewise.
62202 * nss/nss_files/files-service.c: Likewise.
62203 * nss/nss_files/files-sgrp.c: Likewise.
62204 * nss/nss_files/files-spwd.c: Likewise.
62205 * nss/nss_db/db-alias.c: Removed.
62206 * nss/nss_db/dummy-db.h: Removed.
62207
62208 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62209
62210 * nss/makedb.c: Rewritten to not use database library.
62211 * nss/Makefile: Update to build new makedb program.
62212
62213 2011-06-14 Andreas Jaeger <aj@suse.de>
62214
62215 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62216 memset declaration.
62217
62218 2011-06-10 Andreas Schwab <schwab@redhat.com>
62219
62220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62221 tmpbuf.
62222
62223 2011-06-10 Roland McGrath <roland@hack.frob.com>
62224
62225 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62226 * elf/Makefile ($(objpfx)ld.so): Likewise.
62227
62228 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62229 Don't list ld.so twice in dependencies.
62230
62231 * posix/bug-regex31.c: Include <stdlib.h>.
62232
62233 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62234
62235 * nis/nss_compat/compat-spwd.c
62236 (getspent_next_nss_netgr): Remove unused variable.
62237 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62238
62239 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62240 nonmembers" output to use the right array.
62241
62242 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62243
62244 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62245
62246 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62247 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62248 * catgets/gencat.c (read_input_file): Likewise.
62249 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62250
62251 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62252 variable definition inside #if's controlling its use.
62253
62254 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62255
62256 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62257
62258 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62259
62260 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62261 unreachable code.
62262
62263 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62264
62265 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62266 * configure: Regenerated.
62267
62268 * Makerules: Revert last change.
62269 * elf/Makefile: Likewise.
62270
62271 2011-06-09 Roland McGrath <roland@hack.frob.com>
62272
62273 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62274 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62275 (reloc-link): Likewise.
62276
62277 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62278
62279 * elf/Makefile: Add rules to build pldd.
62280 * elf/pldd.c: New file.
62281 * elf/pldd-xx.c: New file.
62282
62283 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62284
62285 * version.h: Update for 2.15 development version.
62286
62287 2011-06-07 David S. Miller <davem@davemloft.net>
62288
62289 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62290 ifuncs.
62291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62292 elf_machine_lazy_rel): Likewise.
62293 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62295 elf_machine_lazy_rel): Likewise.
62296 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62297 dl_hwcap via passed in argument.
62298 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62299 Likewise.
62300
62301 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62302
62303 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62304
62305 2011-06-06 Roland McGrath <roland@hack.frob.com>
62306
62307 [BZ #12849]
62308 * manual/fdl-1.1.texi: New file, verbatim from:
62309 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62310 * manual/lgpl-2.1.texi: New file, verbatim from:
62311 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62312 * manual/Makefile (licenses): New variable, list those new file names.
62313 (texis): Use it.
62314 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62315
62316 * manual/fdl.texi: File removed.
62317 * manual/lesser.texi: File removed.
62318 * manual/libc.texinfo (Copying, Documentation License):
62319 Use new @include file names, put @appendix directive before @include.
62320
62321 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62322
62323 [BZ #12841]
62324 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62325 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62326 (mq_open): Add __NTH.
62327
62328 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62329
62330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62331 Assume Intel Core i3/i5/i7 processor if AVX is available.
62332
62333 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62334
62335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62336 typo.
62337
62338 2011-05-31 Andreas Schwab <schwab@redhat.com>
62339
62340 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62341 memory. Use alloca_account. Fix memory leak when retrying.
62342
62343 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62344
62345 * version.h (RELEASE): Bump for 2.14 release.
62346 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62347
62348 * config.make.in (RANLIB): Remove entry.
62349
62350 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62351
62352 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62353 (libc.pot): Work around missing support for .ksh extension in xgettext.
62354
62355 [BZ #12684]
62356 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62357 if both request failed.
62358 (send_dg): In case of server errors clear resplen or *resplen2.
62359
62360 [BZ #12454]
62361 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62362 when there are multiple maps.
62363 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62364 (_dl_fini): Remove test here.
62365
62366 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62367
62368 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62369
62370 [BZ #12350]
62371 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62372 bit from old_res_options.
62373 (gaih_inet): Likewise.
62374
62375 [BZ #11099]
62376 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62377 as signed.
62378
62379 * resolv/res_init.c (res_setoptions): Make the code more compact.
62380
62381 [BZ #11558]
62382 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62383 set RES_USEVC.
62384
62385 [BZ #11634]
62386 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62387
62388 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62389
62390 [BZ #11781]
62391 * malloc/malloc.h: Declare malloc hook variables as volatile.
62392
62393 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62394 in last patch.
62395
62396 [BZ #11799]
62397 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62398 raise in the comment.
62399 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62400 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62401 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62402
62403 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62404
62405 [BZ #12811]
62406 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62407 grow the buffers more if it already has to be sufficient.
62408 (build_wcs_upper_buffer): Likewise.
62409 * posix/regexec.c (check_matching): Likewise.
62410 (clean_state_log_if_needed): Likewise.
62411 (extend_buffers): Don't enlarge buffers beyond size of the input
62412 buffer.
62413 Patches mostly by Emil Wojak <emil@wojak.eu>.
62414 * posix/bug-regex32.c: New file.
62415 * posix/Makefile (tests): Add bug-regex32.
62416
62417 * locale/findlocale.c (_nl_find_locale): Return right away if
62418 _nl_explode_name failed.
62419 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62420
62421 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62422
62423 * debug/xtrace.sh: Unify messages.
62424 * malloc/memusage.sh: Likewise.
62425
62426 [BZ #12813]
62427 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62428 time symbol from vDSO. Substitute with vsyscall if not available.
62429 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62430 __vdso_time.
62431
62432 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62433 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62434 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62435 Add sendmmsg and internal_sendmmsg.
62436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62437 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62439
62440 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62441 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62443
62444 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62445
62446 [BZ #12813]
62447 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62448 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62449 available.
62450 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62451 __vdso_getcpu.
62452
62453 [BZ #12814]
62454 * iconvdata/Makefile (tests): Add bug-iconv9.
62455 * iconvdata/bug-iconv9.c: New file.
62456
62457 2011-05-27 Andreas Schwab <schwab@redhat.com>
62458
62459 [BZ #12814]
62460 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62461
62462 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62463
62464 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62465 (struct user_regs_struct): Change intcs field back to cs.
62466
62467 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62468
62469 * po/ja.po: Update from translation team.
62470
62471 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62472
62473 [BZ #12795]
62474 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62475 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62476
62477 2011-05-20 Andreas Schwab <schwab@redhat.com>
62478
62479 * stdlib/longlong.h: Update from GCC.
62480
62481 2011-05-23 Andreas Schwab <schwab@redhat.com>
62482
62483 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62484 parameter name.
62485 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62486 Add parameter name.
62487 (__sysconf): Pass it down.
62488
62489 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62490
62491 [BZ #12671]
62492 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62493 some situations.
62494 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62495 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62496 add in in __libc_use_alloca calls. Adjust callers.
62497 (glob): Use malloc in some situations.
62498
62499 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62500 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62501 pltexit.
62502
62503 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62504
62505 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62506 and CLOCK_BOOTTIME_ALARM.
62507
62508 [BZ #12782]
62509 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62510 is returned.
62511
62512 * string/_strerror.c (__strerror_r): Print negative errors as signed
62513 numbers.
62514
62515 [BZ #12777]
62516 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62517 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62518 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62519
62520 * configure.in: Fix typo in redirection and correct removal of test
62521 files in two cases.
62522
62523 [BZ #12788]
62524 * locale/setlocale.c (new_composite_name): Fix test to check for
62525 identical name of all categories.
62526
62527 [BZ #12792]
62528 * libio/filedoalloc.c (local_isatty): New function.
62529 (_IO_file_doallocate): Use local_isatty.
62530 * stdio-common/perror.c (perror): In case a new stream is used
62531 forward the stream error.
62532 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62533 error flag.
62534
62535 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62536
62537 [BZ #11869]
62538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62539 alloca.
62540 * include/alloca.h (extend_alloca_account): Define.
62541
62542 [BZ #11857]
62543 * posix/regex.h: Fix comments with documentation of user-accessible
62544 fields after compilation and describe correct free'ing of pattern
62545 after re_compile_pattern.
62546 Patch by Reuben Thomas <rrt@sc3d.org>.
62547
62548 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62549
62550 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62551 and -mno-altivec to prevent the compiler from using Altivec and/or
62552 VSX instructions when the corresponding registers are not available.
62553
62554 2011-05-19 Andreas Schwab <schwab@redhat.com>
62555
62556 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62557
62558 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62559
62560 * libio/freopen.c (freopen): Use __dup2, not dup2.
62561 * libio/freopen64.c (freopen64): Likewise.
62562
62563 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62564
62565 [BZ #12775]
62566 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62567 * math/Makefile (tests): Add test-powl.
62568 (CFLAGS-test-powl.c): Define.
62569 * math/test-powl.c: New file.
62570
62571 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62572
62573 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62574
62575 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62576
62577 [BZ #11837]
62578 * iconvdata/gb18030.c: Update to GB18020-2005.
62579
62580 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62581
62582 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62583 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62584 Patch by Aharon Robbins <arnold@skeeve.com>.
62585
62586 [BZ #11892]
62587 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62588 on the stack.
62589
62590 [BZ #11895]
62591 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62592 through underflows.
62593
62594 [BZ #12766]
62595 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62596 point to strings before performing equality test for error_one_per_line
62597 mode.
62598
62599 [BZ #11697]
62600 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62601
62602 [BZ #11820]
62603 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62604 (struct user_fpregs_struct): Avoid __uint*_t types.
62605
62606 [BZ #6420]
62607 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62608 symbol info. Use it instead of calling _dl_addr locally.
62609 (lock_and_info): New function.
62610 (tr_freehook): Call lock_and_info and pass symbol info as additional
62611 parameter to tr_where.
62612 (tr_mallochook): Likewise.
62613 (tr_reallochook): Likewise.
62614 (tr_memalignhook): Likewise.
62615
62616 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62617 used and couldn't be at all thread-safe.
62618
62619 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62620
62621 * libio/freopen.c (freopen): Don't close old file descriptor
62622 before the new one is opened. Instead dup the new file descriptor
62623 to the old one after the new stream is created.
62624 * libio/freopen64.c (freopen64): Likewise.
62625 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62626 * libio/fileops.c (_IO_new_file_close_it): Handle new
62627 _IO_FLAGS2_NOCLOSE flag.
62628 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62629 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62630 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62631 _IO_FLAGS2_NOCLOSE flag.
62632 * include/unistd.h: Add hidden_proto for dup3.
62633 Define __have_dup3.
62634 * io/dup3.c: Define hidden symbol.
62635 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62636
62637 [BZ #7101]
62638 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62639 when an incomplete long option is used.
62640 * posix/tst-getopt_long1.c: New file.
62641 * posix/Makefile (tests): Add tst-getopt_long1.
62642
62643 [BZ #10138]
62644 * scripts/config.guess: Update from autoconf-2.68.
62645 * scripts/config.sub: Likewise.
62646
62647 [BZ #10157]
62648 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62649 tests into ...
62650 (has_cpuclock): ...this. New function.
62651 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62652 macro here based on has_cpuclock code.
62653
62654 [BZ #10149]
62655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62656 First byte (not low byte) is now always NUL.
62657 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62658
62659 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62660 Use non-cancelable interfaces.
62661
62662 [BZ #9809]
62663 * locale/iso-639.def: Add entry for Sorani.
62664
62665 [BZ #11901]
62666 * include/stdlib.h: Move include protection to the right place.
62667 Define abort_msg_s. Declare __abort_msg with it.
62668 * stdlib/abort.c (__abort_msg): Adjust type.
62669 * assert/assert.c (__assert_fail_base): New function. Majority
62670 of code from __assert_fail. Allocate memory for __abort_msg with
62671 mmap.
62672 (__assert_fail): Now call __assert_fail_base.
62673 * assert/assert-perr.c: Remove bulk of implementation. Use
62674 __assert_fail_base.
62675 * include/assert.hL Declare __assert_fail_base.
62676 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62677 mmap.
62678 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62679
62680 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62681
62682 [BZ #11952]
62683 [BZ #12453]
62684 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62685 until all modules are registered in the DTV.
62686 * elf/Makefile: Add rules to build and run tst-tls19.
62687 * elf/tst-tls19.c: New file.
62688 * elf/tst-tls19mod1.c: New file.
62689 * elf/tst-tls19mod2.c: New file.
62690 * elf/tst-tls19mod3.c: New file.
62691 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62692
62693 [BZ #12083]
62694 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62695 correctly.
62696
62697 [BZ #12601]
62698 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62699 two-byte sequence errors.
62700 * iconvdata/Makefile (tests): Add bug-iconv8.
62701 * iconvdata/bug-iconv8.c: New file.
62702
62703 [BZ #12626]
62704 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62705 buf2 definition.
62706
62707 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62708
62709 [BZ #12432]
62710 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62711 (dummy_getcfa): New function.
62712 (init): Get _Unwind_GetCFA address, use dummy if not found.
62713 (backtrace_helper): In recursion check, also check whether CFA changes.
62714 (__backtrace): Completely initialize arg.
62715
62716 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62717 storing incomplete byte sequence in state object. Avoid testing for
62718 guaranteed too small input if we know there is enough data available.
62719
62720 2011-05-11 Andreas Schwab <schwab@redhat.com>
62721
62722 * Makeconfig (+link-pie): Indent.
62723 * Rules (binaries-pie): Define if $(have-fpie) and
62724 $(build-shared).
62725 (binaries-shared): Also filter out $(binaries-pie).
62726 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62727 * nscd/Makefile (others-pie): Add nscd.
62728 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62729 ($(objpfx)nscd): Remove command override.
62730 * login/Makefile (others-pie): Add pt_chown.
62731 ($(objpfx)pt_chown): Remove command override.
62732 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62733 remove command overrides.
62734
62735 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62736
62737 * libio/tst_putwc.c: Fix error messages.
62738
62739 [BZ #12724]
62740 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62741 currently writing and seek to current position when not.
62742 * libio/Makefile (tests): Add bug-fclose1.
62743 * libio/bug-fclose1.c: New file.
62744
62745 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62746
62747 [BZ #12511]
62748 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62749 don't set DF_1_NODELETE here.
62750 (do_lookup_x): When entering new entry test for copy relocation
62751 and if necessary set DF_1_NODELETE flag.
62752 * elf/tst-unique4.cc: New file.
62753 * elf/tst-unique4.h: New file.
62754 * elf/tst-unique4lib.cc: New file.
62755 * elf/Makefile: Add rules to build and run tst-unique4.
62756 Patch by Piotr Bury <pbury@goahead.com>.
62757
62758 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62759
62760 [BZ #12052]
62761 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62762
62763 [BZ #12625]
62764 * misc/mntent_r.c (addmntent): Flush the stream after the output
62765
62766 [BZ #12393]
62767 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62768 (is_trusted_path_normalize): Skip initial colon. Append slash
62769 to empty buffer. Duplicate is_trusted_path code but allow
62770 constructed patch to be prefix.
62771 (is_dst): Allow $ORIGIN followed by /.
62772 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62773 Correct testing of result of is_trusted_path_normalize
62774 (decompose_rpath): Fix warning.
62775
62776 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62777
62778 [BZ #11257]
62779 * grp/initgroups.c (internal_getgrouplist): When we found the service
62780 list through the initgroups entry in nsswitch.conf do not always
62781 continue on a successful lookup. Don't always use the
62782 __nss_group_database value if it is set.
62783 * nss/nsswitch.conf (initgroups): Change action for successful db
62784 lookup to continue for compatibility.
62785
62786 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62787
62788 [BZ #11532]
62789 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62790 and CP774 modules.
62791 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62792 and CP774 modules.
62793 * iconvdata/tst-tables.sh: Likewise.
62794 * iconvdata/cp770.c: New file.
62795 * iconvdata/cp771.c: New file.
62796 * iconvdata/cp772.c: New file.
62797 * iconvdata/cp773.c: New file.
62798 * iconvdata/cp774.c: New file.
62799 * iconvdata/testdata/CP770: New file.
62800 * iconvdata/testdata/CP770..UTF8: New file.
62801 * iconvdata/testdata/CP771: New file.
62802 * iconvdata/testdata/CP771..UTF8: New file.
62803 * iconvdata/testdata/CP772: New file.
62804 * iconvdata/testdata/CP772..UTF8: New file.
62805 * iconvdata/testdata/CP773: New file.
62806 * iconvdata/testdata/CP773..UTF8: New file.
62807 * iconvdata/testdata/CP774: New file.
62808 * iconvdata/testdata/CP774..UTF8: New file.
62809
62810 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62811 END CHARMAP line.
62812 * iconvdata/gen-8bit-gap.sh: Likewise.
62813 * iconvdata/gen-8bit.sh: Likewise.
62814
62815 * locale/iso-639.def: Add ary entry.
62816
62817 [BZ #11258]
62818 * locale/C-translit.h.in: Add U20A1 transliteration.
62819
62820 [BZ #12178]
62821 * locale/iso-639.def: Add wae entry.
62822 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62823
62824 [BZ #12545]
62825 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62826 for n.
62827
62828 [BZ #12711]
62829 * locale/C-translit.h.in: Add entry for U20B9.
62830 Patch by pravin.d.s@gmail.com.
62831
62832 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62833
62834 [BZ #12713]
62835 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62836 ENAMETOOLONG use generic getcwd.
62837 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62838 in rtld. Use *stat64.
62839 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62840 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62841 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62842 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62843 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62844 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62845 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62846 __fstatat64 macros.
62847 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62848 * dirent/rewinddir.c: Add libc_hidden_def.
62849 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62850 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62851
62852 * include/dirent.h (__alloc_dir): Add flags parameter.
62853 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62854 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62855 __alloc_dir.
62856 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62857 from fdopendir if O_CLOEXEC is already set.
62858
62859 2011-03-15 Alan Modra <amodra@gmail.com>
62860
62861 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62862 l_tls_firstbyte_offset non-zero. Save padding offset in
62863 l_tls_firstbyte_offset for later use.
62864 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62865 freeing static tls block.
62866
62867 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
62868
62869 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62870 where #ifdef was intended. The intent is to prevent ARG_MAX from
62871 being defined by the kernel headers.
62872
62873 2011-05-07 Ulrich Drepper <drepper@gmail.com>
62874
62875 [BZ #12734]
62876 * resolv/resolv.h: Define RES_NOTLDQUERY.
62877 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62878 no-tld-query and set RES_NOTLDQUERY.
62879 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62880 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62881 modern BIND to search name as TLD unless forbidden.
62882
62883 2011-05-07 Petr Baudis <pasky@suse.cz>
62884 Ulrich Drepper <drepper@gmail.com>
62885
62886 [BZ #12393]
62887 * elf/dl-load.c (fillin_rpath): Move trusted path check...
62888 (is_trusted_path): ...to here.
62889 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62890 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62891 using is_trusted_path_normalize() in setuid scripts.
62892
62893 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62894
62895 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62896 __BEGIN/__END_DECLS.
62897
62898 2011-05-06 Ulrich Drepper <drepper@gmail.com>
62899
62900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62901 NSS_STATUS_NOTFOUND if no record was found.
62902
62903 2011-05-05 Andreas Schwab <schwab@redhat.com>
62904
62905 * sunrpc/Makefile (headers): Add rpc/netdb.h.
62906 (headers-not-in-tirpc): Remove rpc/netdb.h
62907 * resolv/netdb.h: Revert last change.
62908
62909 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62910
62911 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62912 circular dependency between libgcc.a and libc.a.
62913
62914 2011-05-05 Andreas Schwab <schwab@redhat.com>
62915
62916 * resolv/netdb.h: Don't include <rpc/netdb.h>.
62917 * nis/Makefile: Don't install rpcsvc/*.
62918 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62919 instead of <rpc/types.h>.
62920 (MAXHOSTNAMELEN): Define.
62921
62922 2011-05-03 Andreas Schwab <schwab@redhat.com>
62923
62924 * elf/ldconfig.c (add_dir): Don't crash on empty path.
62925
62926 2011-04-28 Maciej Babinski <mbabinski@google.com>
62927
62928 [BZ #12714]
62929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62930 gethostbyname4_r when IPv6 results are possible.
62931
62932 2011-05-02 Ulrich Drepper <drepper@gmail.com>
62933
62934 [BZ #12723]
62935 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62936 _PC_PIPE_BUF handling.
62937
62938 2011-04-30 Bruno Haible <bruno@clisp.org>
62939
62940 [BZ #12717]
62941 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62942 * resolv/netdb.h (getnameinfo): Change type of flags parameter
62943 to 'int'.
62944 * inet/getnameinfo.c (getnameinfo): Likewise.
62945
62946 2011-04-29 Ulrich Drepper <drepper@gmail.com>
62947
62948 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62949 to groups setting in database lookup.
62950 * nss/nsswitch.conf: Add initgroups entry.
62951
62952 2011-04-22 Ulrich Drepper <drepper@gmail.com>
62953
62954 [BZ #12685]
62955 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62956 mode string.
62957 Patch by Eric Blake <eblake@redhat.com>.
62958
62959 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
62960
62961 * sunrpc/Makefile (need-export-routines): Add svc_run.
62962 (routines): Remove svc_run.
62963 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62964 * sunrpc/clnt_perr.c (clnt_perrno): Export.
62965 * sunrpc/svc_run.c (svc_run): Likewise.
62966 * sunrpc/svc_udp.c (svcudp_create): Likewise.
62967
62968 2011-04-21 Ulrich Drepper <drepper@gmail.com>
62969
62970 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62971 problem in reallocation in last patch.
62972
62973 2011-04-20 Ulrich Drepper <drepper@gmail.com>
62974
62975 * sunrpc/Makefile: Move inclusion of Rules.
62976
62977 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62978
62979 * nss/nss_files/files-initgroups.c: New file.
62980 * nss/Makefile (libnss_files-routines): Add files-initgroups.
62981 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62982 _nss_files_initgroups_dyn.
62983
62984 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
62985
62986 * elf/elf.h (R_ARM_IRELATIVE): Define.
62987
62988 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62989
62990 * po/ru.po: Update from translation team.
62991
62992 2011-04-17 Ulrich Drepper <drepper@gmail.com>
62993
62994 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62995 dependencies.
62996
62997 2011-02-06 Mike Frysinger <vapier@gentoo.org>
62998
62999 [BZ #12653]
63000 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63001 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63005
63006 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63007
63008 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63009 differing bytes.
63010 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63013
63014 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63015
63016 [BZ #12420]
63017 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63018 storing it.
63019 * stdlib/bug-getcontext.c: New file.
63020 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63021
63022 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63023
63024 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63025 instructions into .machine "z9-109".
63026 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63027 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63028
63029 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63030
63031 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63032 between environment variables and auxiliary vector.
63033
63034 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63035
63036 * Makefile: Add rules to build linkobj/libc.so.
63037 * include/libc-symbols.h: Define libc_hidden_nolink.
63038 * include/rpc/auth.h: Mark functions which are to be hidden.
63039 * include/rpc/auth_des.h: Likewise.
63040 * include/rpc/auth_unix.h: Likewise.
63041 * include/rpc/clnt.h: Likewise.
63042 * include/rpc/des_crypt.h: Likewise.
63043 * include/rpc/key_prot.h: Likewise.
63044 * include/rpc/pmap_clnt.h: Likewise.
63045 * include/rpc/pmap_prot.h: Likewise.
63046 * include/rpc/pmap_rmt.h: Likewise.
63047 * include/rpc/rpc_msg.h: Likewise.
63048 * include/rpc/svc.h: Likewise.
63049 * include/rpc/svc_auth.h: Likewise.
63050 * include/rpc/xdr.h: Likewise.
63051 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63052 * nss/Makefile: Likewise.
63053 * sunrpc/Makefile: Don't install headers. Build library with normal
63054 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63055 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63056 for the compat linking library. Remove use of INTDEF/INTUSE.
63057 * sunrpc/auth_none.c: Likewise.
63058 * sunrpc/auth_unix.c: Likewise.
63059 * sunrpc/authdes_prot.c: Likewise.
63060 * sunrpc/authuxprot.c: Likewise.
63061 * sunrpc/clnt_gen.c: Likewise.
63062 * sunrpc/clnt_perr.c: Likewise.
63063 * sunrpc/clnt_raw.c: Likewise.
63064 * sunrpc/clnt_simp.c: Likewise.
63065 * sunrpc/clnt_tcp.c: Likewise.
63066 * sunrpc/clnt_udp.c: Likewise.
63067 * sunrpc/clnt_unix.c: Likewise.
63068 * sunrpc/des_crypt.c: Likewise.
63069 * sunrpc/des_soft.c: Likewise.
63070 * sunrpc/get_myaddr.c: Likewise.
63071 * sunrpc/key_call.c: Likewise.
63072 * sunrpc/key_prot.c: Likewise.
63073 * sunrpc/netname.c: Likewise.
63074 * sunrpc/pm_getmaps.c: Likewise.
63075 * sunrpc/pm_getport.c: Likewise.
63076 * sunrpc/pmap_clnt.c: Likewise.
63077 * sunrpc/pmap_prot.c: Likewise.
63078 * sunrpc/pmap_prot2.c: Likewise.
63079 * sunrpc/pmap_rmt.c: Likewise.
63080 * sunrpc/publickey.c: Likewise.
63081 * sunrpc/rpc_cmsg.c: Likewise.
63082 * sunrpc/rpc_common.c: Likewise.
63083 * sunrpc/rpc_dtable.c: Likewise.
63084 * sunrpc/rpc_prot.c: Likewise.
63085 * sunrpc/rpc_thread.c: Likewise.
63086 * sunrpc/rtime.c: Likewise.
63087 * sunrpc/svc.c: Likewise.
63088 * sunrpc/svc_auth.c: Likewise.
63089 * sunrpc/svc_authux.c: Likewise.
63090 * sunrpc/svc_raw.c: Likewise.
63091 * sunrpc/svc_run.c: Likewise.
63092 * sunrpc/svc_simple.c: Likewise.
63093 * sunrpc/svc_tcp.c: Likewise.
63094 * sunrpc/svc_udp.c: Likewise.
63095 * sunrpc/svc_unix.c: Likewise.
63096 * sunrpc/svcauth_des.c: Likewise.
63097 * sunrpc/xcrypt.c: Likewise.
63098 * sunrpc/xdr.c: Likewise.
63099 * sunrpc/xdr_array.c: Likewise.
63100 * sunrpc/xdr_float.c: Likewise.
63101 * sunrpc/xdr_intXX_t.c: Likewise.
63102 * sunrpc/xdr_mem.c: Likewise.
63103 * sunrpc/xdr_rec.c: Likewise.
63104 * sunrpc/xdr_ref.c: Likewise.
63105 * sunrpc/xdr_sizeof.c: Likewise.
63106 * sunrpc/xdr_stdio.c: Likewise.
63107
63108 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63109
63110 [BZ #12650]
63111 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63112 * sysdeps/ia64/dl-tls.h: Likewise.
63113 * sysdeps/powerpc/dl-tls.h: Likewise.
63114 * sysdeps/s390/dl-tls.h: Likewise.
63115 * sysdeps/sh/dl-tls.h: Likewise.
63116 * sysdeps/sparc/dl-tls.h: Likewise.
63117 * sysdeps/x86_64/dl-tls.h: Likewise.
63118 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63119
63120 2011-03-14 Andreas Schwab <schwab@redhat.com>
63121
63122 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63123 rpath element also skip the following colon.
63124 (expand_dynamic_string_token): Add is_path parameter and pass
63125 down to DL_DST_REQUIRED and _dl_dst_substitute.
63126 (decompose_rpath): Call expand_dynamic_string_token with
63127 non-zero is_path. Ignore empty rpaths.
63128 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63129 with zero is_path.
63130
63131 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63132
63133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63134 Make cancelable.
63135
63136 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63137
63138 [BZ #12655]
63139 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63140 Patch by Filipe David Manana <fdmanana@apache.org>.
63141
63142 2011-04-07 Andreas Schwab <schwab@redhat.com>
63143
63144 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63145 Maintain aligned stack.
63146 (CHECK_RSP): Remove unused macro.
63147
63148 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63149
63150 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63152
63153 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63154
63155 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63156
63157 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63158
63159 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63160
63161 [BZ #12518]
63162 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63163 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63164 * sysdeps/x86_64/memmove.c: New file.
63165 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63166 (memcpy): Renamed to ...
63167 (__new_memcpy): This.
63168 (memcpy): Provide GLIBC_2_14 memcpy.
63169 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63170 (memcpy): Provide GLIBC_2_2_5 memcpy.
63171
63172 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63173
63174 [BZ #12631]
63175 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63176
63177 2011-03-30 Andreas Schwab <schwab@redhat.com>
63178
63179 * misc/syncfs.c: New file.
63180 * misc/Makefile (routines): Add syncfs.
63181 * posix/unistd.h: Declare syncfs.
63182 * sysdeps/unix/syscalls.list: Add syncfs.
63183
63184 2011-04-01 Andreas Schwab <schwab@redhat.com>
63185
63186 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63187 open_by_handle_at.
63188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63189 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63191 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63193 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63195
63196 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63197
63198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63200 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63205
63206 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63207 sync_file_range.c with -fexceptions.
63208 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63209 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63210 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63211 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63212 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63213 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63214 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63215 sync_file_range as cancellation point
63216 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63217 now a wrapper around __call_sync_file_range with cancellation handling.
63218 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63219 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63220 function name to __call_sync_file_range.
63221 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63222 Add call_sync_file_range.
63223
63224 2011-04-01 Andreas Schwab <schwab@redhat.com>
63225
63226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63227 bits/timex.h.
63228
63229 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63230
63231 * iconv/iconv.h: Fix typo in comment.
63232 * io/fcntl.h: Likewise.
63233 * libio/stdio.h: Likewise.
63234 * posix/spawn.h: Likewise.
63235 * posix/unistd.h: Likewise.
63236 * stdlib/stdlib.h: Likewise.
63237 * time/time.h: Likewise.
63238 * wcsmbs/wchar.h: Likewise.
63239
63240 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63241 open_by_handle): Add.
63242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63243 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63244 Augment a few comments.
63245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63250 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63251 open_by_handle.
63252
63253 * io/fcntl.h (AT_EMPTY_PATH): Define.
63254
63255 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63256
63257 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63258 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63259 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63260 to...
63261 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63262 * Versions.def: Add GLIBC_2.14.
63263 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63264 Export.
63265
63266 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63267
63268 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63269 round counter.
63270 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63271
63272 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63273
63274 [BZ #12597]
63275 * string/test-strncmp.c (do_page_test): New function.
63276 (check2): Likewise.
63277 (test_main): Call check2.
63278 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63279
63280 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63281
63282 [BZ #12587]
63283 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63284 Handle cache information in CPU leaf 4.
63285 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63286
63287 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63288
63289 [BZ #12583]
63290 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63291 character representation.
63292 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63293
63294 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63295
63296 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63297 END(__isnan) to END(__isnanf) to match function entry point/label
63298 EALIGN(__isnanf,...).
63299
63300 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63301
63302 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63303
63304 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63305
63306 [BZ #12510]
63307 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63308 copy from the symbol referenced in the relocation to initialize the
63309 used variable.
63310 Patch by Piotr Bury <pbury@goahead.com>.
63311 * elf/Makefile: Add rules to build and tst-unique3.
63312 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63313 * elf/tst-unique3.cc: New file.
63314 * elf/tst-unique3.h: New file.
63315 * elf/tst-unique3lib.cc: New file.
63316 * elf/tst-unique3lib2.cc: New file.
63317
63318 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63319
63320 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63321
63322 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63323 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63324 to _start.
63325
63326 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63327
63328 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63329 to-be-loaded object along a path to loader is ld.so.
63330
63331 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63332 Ulrich Drepper <drepper@gmail.com>
63333
63334 * sysdeps/x86_64/memset.S: After aligning destination, code
63335 branches to different locations depending on the value of
63336 misalignment, when multiarch is enabled. Fix this.
63337
63338 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63339
63340 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63341 Set _x86_64_preferred_memory_instruction for AMD processsors.
63342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63343 Set bit_Prefer_SSE_for_memop for AMD processors.
63344
63345 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63346
63347 * libio/fmemopen.c (fmemopen): Optimize a bit.
63348
63349 2011-03-03 Andreas Schwab <schwab@redhat.com>
63350
63351 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63352
63353 2011-03-03 Roland McGrath <roland@redhat.com>
63354
63355 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63356
63357 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63358
63359 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63360 __bzero_ultra1 instead of __memset_ultra1.
63361
63362 2011-02-23 Andreas Schwab <schwab@redhat.com>
63363 Ulrich Drepper <drepper@gmail.com>
63364
63365 [BZ #12509]
63366 * include/link.h (struct link_map): Add l_orig_initfini.
63367 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63368 returning unsuccessfully.
63369 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63370 close of a file loaded at startup, restore the original l_initfini
63371 list.
63372 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63373 list, store the pointer.
63374 * elf/Makefile ($(objpfx)noload-mem): New rule.
63375 (noload-ENV): Define.
63376 (tests): Add $(objpfx)noload-mem.
63377 * elf/noload.c: Include <memcheck.h>.
63378 (main): Call mtrace. Close all opened handles.
63379
63380 2011-02-17 Andreas Schwab <schwab@redhat.com>
63381
63382 [BZ #12454]
63383 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63384 dependencies are missing.
63385
63386 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63387
63388 Fix __if_freereq crash: Unlike the generic version which uses free,
63389 Hurd needs munmap.
63390 * sysdeps/mach/hurd/ifreq.h: New file.
63391
63392 2011-01-27 Petr Baudis <pasky@suse.cz>
63393 Ulrich Drepper <drepper@gmail.com>
63394
63395 [BZ 12445]#
63396 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63397 to extend_alloca().
63398 * stdio-common/bug23.c: New file.
63399 * stdio-common/Makefile (tests): Add bug23.
63400
63401 2010-09-28 Andreas Schwab <schwab@redhat.com>
63402 Ulrich Drepper <drepper@gmail.com>
63403
63404 [BZ #12489]
63405 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63406 before performing relro protection. At old place add assertion
63407 to make sure nothing changed.
63408
63409 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63410 Glauber de Oliveira Costa <glommer@gmail.com>
63411
63412 * elf/elf.h: Add new ARM TLS relocs.
63413
63414 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63415
63416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63417 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63418 cast from r3.
63419 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63420 'tests' variable.
63421 * sysdeps/wordsize-64/tst-writev.c: New file.
63422
63423 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63424
63425 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63426 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63427 insns in _dl_start to prevent a TOC reference before relocs are
63428 resolved.
63429
63430 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63431
63432 [BZ #12469]
63433 * Makeconfig: Remove RANLIB definition.
63434 * Makerules: Don't use RANLIB.
63435 * aclocal.m4: Remove ranlib test.
63436 * configure.in: No need to check for ranlib.
63437 * elf/rtld-Rules: Don't use RANLIB.
63438
63439 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63440
63441 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63442 protection macro.
63443 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63444 inclusion protection macro.
63445
63446 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63447 SIGRTMIN and SIGRTMAX and print information in that case only when
63448 SIGRTMIN is defined.
63449
63450 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63451
63452 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63453 arginfo fn returning -1.
63454
63455 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63456 and thousands string is zero terminated.
63457
63458 2011-02-03 Andreas Schwab <schwab@redhat.com>
63459
63460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63461 sysdeps/unix/sysv/linux/bits/socket.h.
63462
63463 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63464
63465 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63466 (__CPU_COUNT): Remove old macros.
63467 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63468 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63469 (__CPU_ALLOC, __CPU_FREE): Add macros.
63470 (__sched_cpualloc, __sched_cpufree): Add declarations.
63471
63472 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63473
63474 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63475 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63476 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63477 (readdhstai): Return value of addhstaiX call.
63478 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63479 (addgrbyX): Return value returned by cache_addgr.
63480 (readdgrbyname): Return value returned by addgrbyX.
63481 (readdgrbygid): Likewise.
63482 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63483 (addpwbyX): Return value returned by cache_addpw.
63484 (readdpwbyname): Return value returned by addhstbyX.
63485 (readdpwbyuid): Likewise.
63486 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63487 (addservbyX): Return value returned by cache_addserv.
63488 (readdservbyname): Return value returned by addservbyX:
63489 (readdservbyport): Likewise.
63490 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63491 (addhstbyX): Return value returned by cache_addhst.
63492 (readdhstbyname): Return value returned by addhstbyX.
63493 (readdhstbyaddr): Likewise.
63494 (readdhstbynamev6): Likewise.
63495 (readdhstbyaddrv6): Likewise.
63496 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63497 (readdinitgroups): Return value returned by addinitgroupsX.
63498 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63499 (prune_cache): Keep track of timeout value of re-added entries.
63500 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63501 * nscd/nscd.h: Adjust prototypes of readd* functions.
63502
63503 2011-02-04 Roland McGrath <roland@redhat.com>
63504
63505 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63506 (nis_stats): Likewise.
63507 * nis/nis_modify.c (nis_modify): Likewise.
63508 * nis/nis_remove.c (nis_remove): Likewise.
63509 * nis/nis_add.c (nis_add): Likewise.
63510
63511 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63512
63513 * posix/fnmatch_loop.c: Add some consts.
63514
63515 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63516
63517 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63518
63519 [BZ #12460]
63520 * config.make.in (config-cflags-novzeroupper): Define.
63521 * configure.in: Substitute libc_cv_cc_novzeroupper.
63522 * elf/Makefile (AVX-CFLAGS): Define.
63523 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63524 (CFLAGS-tst-auditmod4a.c): Likewise.
63525 (CFLAGS-tst-auditmod4b.c): Likewise.
63526 (CFLAGS-tst-auditmod6b.c): Likewise.
63527 (CFLAGS-tst-auditmod6c.c): Likewise.
63528 (CFLAGS-tst-auditmod7b.c): Likewise.
63529 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63530
63531 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63532
63533 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63534 function to the callback.
63535 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63536
63537 2011-02-02 Andreas Schwab <schwab@redhat.com>
63538
63539 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63540 of errno.
63541
63542 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63543
63544 [BZ #11724]
63545 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63546 of constructors.
63547 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63548 of destructors.
63549 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63550
63551 [BZ #11724]
63552 * elf/Makefile: Add rules to build and run new test.
63553 * elf/tst-initorder.c: New file.
63554 * elf/tst-initorder.exp: New file.
63555 * elf/tst-initordera1.c: New file.
63556 * elf/tst-initordera2.c: New file.
63557 * elf/tst-initordera3.c: New file.
63558 * elf/tst-initordera4.c: New file.
63559 * elf/tst-initorderb1.c: New file.
63560 * elf/tst-initorderb2.c: New file.
63561 * elf/tst-order-a1.c: New file.
63562 * elf/tst-order-a2.c: New file.
63563 * elf/tst-order-a3.c: New file.
63564 * elf/tst-order-a4.c: New file.
63565 * elf/tst-order-b1.c: New file.
63566 * elf/tst-order-b2.c: New file.
63567 * elf/tst-order-main.c: New file.
63568 New test case by George Gensure <werkt0@gmail.com>.
63569
63570 2010-10-01 Andreas Schwab <schwab@redhat.com>
63571
63572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63573 decoding ACE if AI_CANONIDN.
63574
63575 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63576
63577 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63578
63579 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63580
63581 * version.h (RELEASE): Bump for 2.13 release.
63582 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63583
63584 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63585
63586 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63587 MADV_NOHUGEPAGE.
63588 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63591 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63593 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63594
63595 * posix/getconf.c: Update copyright year.
63596 * catgets/gencat.c: Likewise.
63597 * csu/version.c: Likewise.
63598 * debug/catchsegv.sh: Likewise.
63599 * debug/xtrace.sh: Likewise.
63600 * elf/ldconfig.c: Likewise.
63601 * elf/ldd.bash.in: Likewise.
63602 * elf/sprof.c (print_version): Likewise.
63603 * iconv/iconv_prog.c: Likewise.
63604 * iconv/iconvconfig.c: Likewise.
63605 * locale/programs/locale.c: Likewise.
63606 * locale/programs/localedef.c: Likewise.
63607 * malloc/memusage.sh: Likewise.
63608 * malloc/mtrace.pl: Likewise.
63609 * nscd/nscd.c (print_version): Likewise.
63610 * nss/getent.c: Likewise.
63611
63612 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63613 PF_CAIF, and PF_ALG.
63614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63615
63616 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63617
63618 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63619 (modules-names): Use them.
63620 (ifunc-test-modules, ifunc-pie-tests): Define.
63621 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63622 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63623 (test-extras): Likewise.
63624 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63625 $(compile-command.c).
63626 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63627 (all-built-dso): Define.
63628 (check-textrel.out, check-execstack.out): Depend on it.
63629
63630 * configure.in: Don't override --enable-multi-arch.
63631
63632 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63633
63634 [BZ #6812]
63635 * nscd/hstcache.c (tryagain): Define.
63636 (cache_addhst): Return tryagain not notfound for temporary errors.
63637 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63638 failed.
63639
63640 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63641
63642 [BZ #10563]
63643 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63644 to make the syscall.
63645 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63646
63647 [BZ #12378]
63648 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63649 and fall back to matching as normal character if the string ends before
63650 the matching ']' is found. This is what POSIX requires.
63651 * posix/testfnm.c: Adjust test result.
63652 * posix/globtest.sh: Adjust test result. Add new test.
63653 * posix/tst-fnmatch.input: Likewise.
63654 * posix/tst-fnmatch2.c: Add new test.
63655
63656 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63657
63658 * elf/Makefile (check-execstack): Revert last change. Depend on
63659 check-execstack.h.
63660 (check-execstack.h): New target.
63661 (generated): Add check-execstack.h.
63662 * elf/check-execstack.c: Include "check-execstack.h".
63663 (main): Revert last change.
63664 (handle_file): Return zero if GNU_STACK is absent and
63665 DEFAULT_STACK_PERMS doesn't include PF_X.
63666
63667 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63668
63669 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63670 in child fails because the descriptor is already closed.
63671 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63672 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63673 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63674
63675 [BZ #12397]
63676 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63677 syscall.
63678
63679 [BZ #10484]
63680 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63681 temporary buffer used to handle multi lookups locally.
63682 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63683
63684 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63685
63686 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63687 loader is ld.so.
63688
63689 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63690
63691 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63692 alignment for SSE2.
63693
63694 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63695
63696 [BZ #12394]
63697 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63698 characters. When rounding increased number of integer digits recompute
63699 number of groups.
63700 * stdio-common/tst-grouping.c: New file.
63701 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63702
63703 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63704
63705 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63706 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63707
63708 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63709 void.
63710 * bits/select.h: Likewise.
63711
63712 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63713
63714 * po/ja.po: Update from translation team.
63715
63716 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63717
63718 [BZ #11155]
63719 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63720 implementation just like for lxstat, fxstatat, et al.
63721
63722 2010-12-27 Jim Meyering <meyering@redhat.com>
63723
63724 [BZ #12348]
63725 * posix/regexec.c (build_trtable): Return failure indication upon
63726 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63727
63728 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63729
63730 [BZ #12201]
63731 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63732 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63733 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63734 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63735
63736 [BZ #12207]
63737 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63738
63739 [BZ #12204]
63740 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63741 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63742
63743 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63744
63745 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63746 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63747 script has SORT_BY_INIT_PRIORITY.
63748 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63749 NO_CTORS_DTORS_SECTIONS is defined.
63750 * elf/soinit.c: Likewise.
63751 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63752 NO_CTORS_DTORS_SECTIONS is defined.
63753 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63754 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63755 * sysdeps/sh/init-first.c: Likewise.
63756 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63757
63758 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63759
63760 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63761 always use the slow path.
63762
63763 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63764
63765 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63766 similar rule which adds the sysdep directories to the header search in
63767 order to pick up the correct platform stackinfo.h.
63768 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63769 perform test if it is, otherwise return successfully without testing.
63770 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63771 DEFAULT_STACK_PERMS define in stackinfo.h.
63772 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63773 defined in stackinfo.h.
63774 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63775 DEFAULT_STACK_PERMS defined in stackinfo.h.
63776 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63777 * sysdeps/ia64/stackinfo.h: Likewise.
63778 * sysdeps/s390/stackinfo.h: Likewise.
63779 * sysdeps/sh/stackinfo.h: Likewise.
63780 * sysdeps/sparc/stackinfo.h: Likewise.
63781 * sysdeps/x86_64/stackinfo.h: Likewise.
63782 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63783 PF_X for powerpc64. Retain PF_X for powerpc32.
63784
63785 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63786
63787 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63788 accurately.
63789 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63790 GETDENTS_64BIT_ALIGNED.
63791
63792 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63793
63794 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63795
63796 2010-12-10 Andreas Schwab <schwab@redhat.com>
63797
63798 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63799 _GNU_SOURCE.
63800
63801 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63802 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63803 Remove __restrict.
63804 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63805 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63806
63807 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63808
63809 [BZ #11655]
63810 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63811 are initialized.
63812
63813 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63814
63815 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63816
63817 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63818
63819 * po/it.po: Update from translation team.
63820
63821 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63822
63823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63824 unused codes.
63825
63826 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63827
63828 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63829
63830 2010-11-24 Andreas Schwab <schwab@redhat.com>
63831
63832 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63833 specially.
63834 (gaih_getanswer_slice): Likewise.
63835
63836 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63837
63838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63839
63840 2010-05-31 Petr Baudis <pasky@suse.cz>
63841
63842 [BZ #11149]
63843 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63844 silently even in the chroot mode.
63845
63846 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63847
63848 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63849 last patch a bit. Pretty printing
63850
63851 2010-05-31 Petr Baudis <pasky@suse.cz>
63852
63853 [BZ #10085]
63854 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63855 initialization of skip_initgroups_dyn.
63856
63857 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63858
63859 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63860 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63861
63862 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63863
63864 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63865
63866 2010-11-11 Andreas Schwab <schwab@redhat.com>
63867
63868 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63869 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63870 (tst-fnmatch-ENV): Set MALLOC_TRACE.
63871 ($(objpfx)tst-fnmatch-mem): New rule.
63872 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63873 * posix/tst-fnmatch.c (main): Call mtrace.
63874
63875 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
63876
63877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63878 Support Intel processor model 6 and model 0x2c.
63879
63880 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
63881
63882 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63883 signed comparison.
63884
63885 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
63886
63887 [BZ #12205]
63888 * string/test-strncasecmp.c (check_result): New function.
63889 (do_one_test): Use it.
63890 (check1): New function.
63891 (test_main): Use it.
63892 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63893 Support strcasecmp and strncasecmp.
63894
63895 2010-11-08 Ulrich Drepper <drepper@gmail.com>
63896
63897 [BZ #12194]
63898 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63900
63901 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
63902
63903 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63904 IFUNC support.
63905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63906 memset-x86-64.
63907 * sysdeps/x86_64/multiarch/bzero.S: New file.
63908 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63909 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63910 * sysdeps/x86_64/multiarch/memset.S: New file.
63911 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63913 Set bit_Prefer_SSE_for_memop for Intel processors.
63914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63915 Define.
63916 (index_Prefer_SSE_for_memop): Define.
63917 (HAS_PREFER_SSE_FOR_MEMOP): Define.
63918
63919 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
63920
63921 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63922 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63923
63924 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
63925
63926 [BZ #12191]
63927 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63928 (__x86_64_raw_data_cache_size_half): Likewise.
63929 (__x86_64_raw_shared_cache_size): Likewise.
63930 (__x86_64_raw_shared_cache_size_half): Likewise.
63931
63932 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63933 (__x86_64_raw_data_cache_size_half): Likewise.
63934 (__x86_64_raw_shared_cache_size): Likewise.
63935 (__x86_64_raw_shared_cache_size_half): Likewise.
63936 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63937 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63938 and __x86_64_raw_shared_cache_size_half. Round
63939 __x86_64_data_cache_size_half, __x86_64_data_cache_size
63940 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63941 to multiple of 256 bytes.
63942
63943 2010-11-03 Ulrich Drepper <drepper@gmail.com>
63944
63945 [BZ #12167]
63946 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63947 of inacessible symlinks. Verify result of symlink before returning it.
63948 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63949 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63950
63951 2010-10-28 Erich Ritz <erichritz@gmail.com>
63952
63953 * math/math.h (isinf): Fix typo in comment.
63954
63955 2010-11-01 Ulrich Drepper <drepper@gmail.com>
63956
63957 * po/da.po: Update from translation team.
63958
63959 2010-10-26 Ulrich Drepper <drepper@gmail.com>
63960
63961 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63962 is added to the list.
63963
63964 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63965 Ulrich Drepper <drepper@gmail.com>
63966
63967 * elf/dl-object.c (_dl_new_object): Don't append the new object to
63968 the global list here. Move code to...
63969 (_dl_add_to_namespace_list): ...here. New function.
63970 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63971 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63972 * elf/dl-load.c (lose): Don't remove the element from the list.
63973 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63974 (_dl_map_object): Likewise.
63975
63976 2010-10-25 Ulrich Drepper <drepper@gmail.com>
63977
63978 [BZ #12159]
63979 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63980 into all bytes of SSE register.
63981 Patch by Richard Li <richardpku@gmail.com>.
63982
63983 2010-10-24 Ulrich Drepper <drepper@gmail.com>
63984
63985 [BZ #12140]
63986 * malloc/malloc.c (_int_free): Fill correct number of bytes when
63987 perturbing.
63988
63989 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
63990
63991 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63992 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63993 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63994 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63996 submachine.
63997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63998
63999 2010-10-22 Andreas Schwab <schwab@redhat.com>
64000
64001 * include/dlfcn.h (__RTLD_SECURE): Define.
64002 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64003 mode & __RTLD_SECURE instead.
64004 (open_path): Rename preloaded parameter to secure.
64005 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64006 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64007 * elf/dl-deps.c (openaux): Likewise.
64008 * elf/rtld.c (struct map_args): Remove is_preloaded.
64009 (map_doit): Don't use it.
64010 (dl_main): Likewise.
64011 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64012 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64013
64014 2010-09-09 Andreas Schwab <schwab@redhat.com>
64015
64016 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64017 (sysd-rules-targets): Remove duplicates.
64018 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64019 rtld-%.$o dependency.
64020
64021 2010-10-18 Andreas Schwab <schwab@redhat.com>
64022
64023 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64024 _dl_map_object do it.
64025
64026 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64027
64028 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64029 fast fma builtins, define the macros in the C99 standard.
64030 (FP_FAST_FMAF): Likewise.
64031 (FP_FAST_FMAL): Likewise.
64032 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64033
64034 * bits/mathdef.h: Update copyright year.
64035 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64036
64037 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64038
64039 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64040 builtins, define the macros in the C99 standard.
64041 (FP_FAST_FMAF): Likewise.
64042 (FP_FAST_FMAL): Likewise.
64043 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64044 multiply/add.
64045 (FP_FAST_FMAF): Likewise.
64046
64047 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64048
64049 [BZ #3268]
64050 * math/libm-test.inc (fma_test): Some new testcases.
64051 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64052 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64053 y and infinite z. Do multiplication by C already in long double.
64054 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64056 y and infinite z. Do bitwise or of inexact bit into u.d.
64057 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64058 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64059 * sysdeps/i386/fpu/s_fma.S: Removed.
64060 * sysdeps/i386/fpu/s_fmal.S: Removed.
64061
64062 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64063
64064 [BZ #3268]
64065 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64067 computation is not scheduled after fetestexcept. Fix value
64068 of minimum denormal long double.
64069
64070 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64071
64072 [BZ #3268]
64073 * math/libm-test.inc (fma_test): Add some more tests.
64074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64075 correctly.
64076
64077 2010-10-15 Andreas Schwab <schwab@redhat.com>
64078
64079 * scripts/data/localplt-s390-linux-gnu.data: New file.
64080 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64081
64082 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64083
64084 [BZ #3268]
64085 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64086 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64087 instead of dbl-64.
64088 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64089 inlines.
64090 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64092 if one of x and y is very large and the other is subnormal.
64093 * sysdeps/s390/fpu/s_fmaf.c: New file.
64094 * sysdeps/s390/fpu/s_fma.c: New file.
64095 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64096 * sysdeps/powerpc/fpu/s_fma.S: New file.
64097 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64098 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64099 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64100
64101 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64102
64103 [BZ #3268]
64104 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64105 fma tests.
64106 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64107 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64108 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64109 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64110 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64111 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64112 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64113
64114 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64115
64116 [BZ #12078]
64117 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64118 * posix/bug-regex31.input: Add test case.
64119
64120 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64121
64122 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64123 * posix/bug-regex31.input: New file.
64124
64125 [BZ #12078]
64126 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64127 (parse_sub_exp): Fix last change, use postorder.
64128
64129 * posix/bug-regex31.c: New file.
64130 * posix/Makefile: Add rules to build and run bug-regex31.
64131
64132 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64133
64134 [BZ #12078]
64135 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64136
64137 [BZ #12108]
64138 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64139 to have entries in sys_siglist.
64140
64141 [BZ #12093]
64142 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64143 be NULL.
64144
64145 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64146
64147 [BZ #3268]
64148 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64149 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64150 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64151 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64152 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64153 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64154 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64155 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64156 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64157 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64158 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64159 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64160 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64161 * math/ftestexcept.c (fetestexcept): Likewise.
64162 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64163 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64164 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64165 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64166 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64167 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64168 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64169
64170 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64171
64172 [BZ #12107]
64173 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64174 newline.
64175
64176 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64177
64178 * string/bug-strstr1.c: New file.
64179 * string/Makefile: Add rules to build and run bug-strstr1.
64180
64181 2010-10-05 Eric Blake <eblake@redhat.com>
64182
64183 [BZ #12092]
64184 * string/str-two-way.h (two_way_long_needle): Always clear memory
64185 when skipping input due to the shift table.
64186
64187 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64188
64189 [BZ #12005]
64190 * malloc/mcheck.c: Handle large requests.
64191
64192 [BZ #12077]
64193 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64194 for strncmp and strncasecmp.
64195 * string/stratcliff.c: Add tests for strcmp and strncmp.
64196 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64197
64198 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64199
64200 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64201 __set_fpscr.
64202
64203 2010-09-30 Andreas Jaeger <aj@suse.de>
64204
64205 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64206 (CGROUP_SUPER_MAGIC): Define.
64207 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64208 Handle btrfs and cgroup file systems.
64209 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64210 Likewise.
64211
64212 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64213
64214 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64215 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64216
64217 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64218
64219 [BZ #12067]
64220 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64221 trying to locate the ELF header.
64222
64223 2010-09-27 Andreas Schwab <schwab@redhat.com>
64224
64225 [BZ #11611]
64226 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64227 Mask out sign-bit copies when constructing f_fsid.
64228
64229 2010-09-24 Petr Baudis <pasky@suse.cz>
64230
64231 * debug/stack_chk_fail_local.c: Add missing licence exception.
64232 * debug/warning-nop.c: Likewise.
64233
64234 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64235
64236 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64237 implementing getdents64 using getdents syscall, set d_type if
64238 __ASSUME_GETDENTS32_D_TYPE.
64239
64240 2010-09-16 Andreas Schwab <schwab@redhat.com>
64241
64242 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64243 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64244
64245 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64246
64247 [BZ #12037]
64248 * posix/unistd.h: Undo change of feature selection for ftruncate from
64249 2010-01-11.
64250
64251 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64252
64253 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64254 detection.
64255
64256 2010-09-20 Andreas Schwab <schwab@redhat.com>
64257
64258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64259 fanotify_mark.
64260 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64261
64262 2010-09-14 Andreas Schwab <schwab@redhat.com>
64263
64264 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64265 variables after CHECK_SP call.
64266 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64267
64268 2010-09-13 Andreas Schwab <schwab@redhat.com>
64269 Ulrich Drepper <drepper@redhat.com>
64270
64271 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64272 re-relocationg ld.so.
64273 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64274 _dl_init_paths call.
64275 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64276 here anymore.
64277
64278 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64279
64280 * resolv/res_init.c (__res_vinit): Count the default server we added.
64281
64282 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64283 Ulrich Drepper <drepper@redhat.com>
64284
64285 [BZ #11968]
64286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64287 (____longjmp_chk): Use %ebx for saving value across system call.
64288 Add unwind info.
64289
64290 2010-09-06 Andreas Schwab <schwab@redhat.com>
64291
64292 * manual/Makefile: Don't mix pattern rules with normal rules.
64293
64294 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64295
64296 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64297 operation.
64298 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64299 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64300 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64301 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64303 Likewise.
64304
64305 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64306
64307 [BZ #11979]
64308 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64309 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64310
64311 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64312
64313 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64314 * sysdeps/x86_64/addmul_1.S: Likewise.
64315 * sysdeps/x86_64/lshift.S: Likewise.
64316 * sysdeps/x86_64/mul_1.S: Likewise.
64317 * sysdeps/x86_64/rshift.S: Likewise.
64318 * sysdeps/x86_64/sub_n.S: Likewise.
64319 * sysdeps/x86_64/submul_1.S: Likewise.
64320
64321 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64322
64323 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64324 Define __sched_param instead of SCHED_* and sched_param when
64325 <bits/sched.h> is included with __need_schedparam defined.
64326 * bits/sched.h [__need_schedparam]
64327 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64328 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64329 (__defined_schedparam): Define to 1.
64330 (__sched_param): New structure, identical to sched_param.
64331 (__need_schedparam): Undefine.
64332
64333 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64334
64335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64336 (epoll_create1): Declare.
64337
64338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64339
64340 2010-08-31 Andreas Schwab <schwab@redhat.com>
64341
64342 [BZ #7066]
64343 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64344 shifting retval into place.
64345
64346 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64347
64348 * nis/rpcsvc/nis.h: Update copyright notice.
64349 * nis/rpcsvc/nis.x: Likewise.
64350 * nis/rpcsvc/nis_callback.h: Likewise.
64351 * nis/rpcsvc/nis_callback.x: Likewise.
64352 * nis/rpcsvc/nis_object.x: Likewise.
64353 * nis/rpcsvc/nis_tags.h: Likewise.
64354 * nis/rpcsvc/yp.h: Likewise.
64355 * nis/rpcsvc/yp.x: Likewise.
64356 * nis/rpcsvc/ypupd.h: Likewise.
64357 * nis/yp_xdr.c: Likewise.
64358 * nis/ypupdate_xdr.c: Likewise.
64359
64360 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64361 mainly the body of pmap_getport. Add parameters to specify timeouts.
64362 (pmap_getport): Use __libc_rpc_getport.
64363 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64364 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64365 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64366
64367 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64368
64369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64370 fanotify_mark.
64371
64372 2010-08-27 Roland McGrath <roland@redhat.com>
64373
64374 * sysdeps/i386/i686/multiarch/Makefile
64375 (CFLAGS-varshift.c): New variable.
64376
64377 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64378
64379 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64380 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64381
64382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64383
64384 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64385
64386 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64387
64388 * sysdeps/x86_64/strlen.S: Unroll the loop.
64389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64390 strlen-sse2 strlen-sse2-bsf.
64391 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64392 __strlen_no_bsf if bit_Slow_BSF is set.
64393 (__strlen_sse42): Removed.
64394 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64395 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64396
64397 2010-08-25 Roland McGrath <roland@redhat.com>
64398
64399 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64400 * sysdeps/x86_64/multiarch/varshift.c: New file.
64401 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64402 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64403 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64404 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64405
64406 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64407
64408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64409 strlen-sse2 strlen-sse2-bsf.
64410 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64411 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64412 (__strlen_sse2): Removed.
64413 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64414 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64416 bit_Slow_BSF for Atom.
64417 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64418 (index_Slow_BSF): Define.
64419 (HAS_SLOW_BSF): Define.
64420
64421 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64422
64423 [BZ #10851]
64424 * resolv/res_init.c (__res_vinit): When no server address at all
64425 is given default to loopback.
64426
64427 2010-08-24 Roland McGrath <roland@redhat.com>
64428
64429 * configure.in: Remove config-name.h generation.
64430 * configure: Regenerated.
64431 * config-name.in: File removed.
64432 * scripts/config-uname.sh: New file.
64433 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64434 ($(objdir)config-name.h): New target.
64435
64436 * sunrpc/rpc_parse.h: Avoid nested comment.
64437
64438 2010-08-24 Richard Henderson <rth@redhat.com>
64439 Ulrich Drepper <drepper@redhat.com>
64440 H.J. Lu <hongjiu.lu@intel.com>
64441
64442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64444 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64445 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64446 _mm_alignr_epi8 with _mm_loadu_si128.
64447 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64448 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64449 (__m128i_shift_right): Removed.
64450 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64451 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64452 * sysdeps/x86_64/multiarch/varshift.h: New file.
64453 * sysdeps/x86_64/multiarch/varshift.S: New file.
64454
64455 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64456
64457 * configure.in: Move assembler checks to before sysdep dir checking.
64458
64459 2010-08-20 Petr Baudis <pasky@suse.cz>
64460
64461 * LICENSES: Sync the sunrpc license.
64462
64463 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64464
64465 * sunrpc/auth_des.c: Update copyright notice once again.
64466 * sunrpc/auth_none.c: Likewise.
64467 * sunrpc/auth_unix.c: Likewise.
64468 * sunrpc/authdes_prot.c: Likewise.
64469 * sunrpc/authuxprot.c: Likewise.
64470 * sunrpc/bindrsvprt.c: Likewise.
64471 * sunrpc/clnt_gen.c: Likewise.
64472 * sunrpc/clnt_perr.c: Likewise.
64473 * sunrpc/clnt_raw.c: Likewise.
64474 * sunrpc/clnt_simp.c: Likewise.
64475 * sunrpc/clnt_tcp.c: Likewise.
64476 * sunrpc/clnt_udp.c: Likewise.
64477 * sunrpc/clnt_unix.c: Likewise.
64478 * sunrpc/des_crypt.c: Likewise.
64479 * sunrpc/des_soft.c: Likewise.
64480 * sunrpc/get_myaddr.c: Likewise.
64481 * sunrpc/getrpcport.c: Likewise.
64482 * sunrpc/key_call.c: Likewise.
64483 * sunrpc/key_prot.c: Likewise.
64484 * sunrpc/openchild.c: Likewise.
64485 * sunrpc/pm_getmaps.c: Likewise.
64486 * sunrpc/pm_getport.c: Likewise.
64487 * sunrpc/pmap_clnt.c: Likewise.
64488 * sunrpc/pmap_prot.c: Likewise.
64489 * sunrpc/pmap_prot2.c: Likewise.
64490 * sunrpc/pmap_rmt.c: Likewise.
64491 * sunrpc/rpc/auth.h: Likewise.
64492 * sunrpc/rpc/auth_unix.h: Likewise.
64493 * sunrpc/rpc/clnt.h: Likewise.
64494 * sunrpc/rpc/des_crypt.h: Likewise.
64495 * sunrpc/rpc/key_prot.h: Likewise.
64496 * sunrpc/rpc/netdb.h: Likewise.
64497 * sunrpc/rpc/pmap_clnt.h: Likewise.
64498 * sunrpc/rpc/pmap_prot.h: Likewise.
64499 * sunrpc/rpc/pmap_rmt.h: Likewise.
64500 * sunrpc/rpc/rpc.h: Likewise.
64501 * sunrpc/rpc/rpc_des.h: Likewise.
64502 * sunrpc/rpc/rpc_msg.h: Likewise.
64503 * sunrpc/rpc/svc.h: Likewise.
64504 * sunrpc/rpc/svc_auth.h: Likewise.
64505 * sunrpc/rpc/types.h: Likewise.
64506 * sunrpc/rpc/xdr.h: Likewise.
64507 * sunrpc/rpc_clntout.c: Likewise.
64508 * sunrpc/rpc_cmsg.c: Likewise.
64509 * sunrpc/rpc_common.c: Likewise.
64510 * sunrpc/rpc_cout.c: Likewise.
64511 * sunrpc/rpc_dtable.c: Likewise.
64512 * sunrpc/rpc_hout.c: Likewise.
64513 * sunrpc/rpc_main.c: Likewise.
64514 * sunrpc/rpc_parse.c: Likewise.
64515 * sunrpc/rpc_parse.h: Likewise.
64516 * sunrpc/rpc_prot.c: Likewise.
64517 * sunrpc/rpc_sample.c: Likewise.
64518 * sunrpc/rpc_scan.c: Likewise.
64519 * sunrpc/rpc_scan.h: Likewise.
64520 * sunrpc/rpc_svcout.c: Likewise.
64521 * sunrpc/rpc_tblout.c: Likewise.
64522 * sunrpc/rpc_util.c: Likewise.
64523 * sunrpc/rpc_util.h: Likewise.
64524 * sunrpc/rpcinfo.c: Likewise.
64525 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64526 * sunrpc/rpcsvc/key_prot.x: Likewise.
64527 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64528 * sunrpc/rpcsvc/mount.x: Likewise.
64529 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64530 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64531 * sunrpc/rpcsvc/rex.x: Likewise.
64532 * sunrpc/rpcsvc/rstat.x: Likewise.
64533 * sunrpc/rpcsvc/rusers.x: Likewise.
64534 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64535 * sunrpc/rpcsvc/spray.x: Likewise.
64536 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64537 * sunrpc/rtime.c: Likewise.
64538 * sunrpc/svc.c: Likewise.
64539 * sunrpc/svc_auth.c: Likewise.
64540 * sunrpc/svc_authux.c: Likewise.
64541 * sunrpc/svc_raw.c: Likewise.
64542 * sunrpc/svc_run.c: Likewise.
64543 * sunrpc/svc_simple.c: Likewise.
64544 * sunrpc/svc_tcp.c: Likewise.
64545 * sunrpc/svc_udp.c: Likewise.
64546 * sunrpc/svc_unix.c: Likewise.
64547 * sunrpc/svcauth_des.c: Likewise.
64548 * sunrpc/xcrypt.c: Likewise.
64549 * sunrpc/xdr.c: Likewise.
64550 * sunrpc/xdr_array.c: Likewise.
64551 * sunrpc/xdr_float.c: Likewise.
64552 * sunrpc/xdr_mem.c: Likewise.
64553 * sunrpc/xdr_rec.c: Likewise.
64554 * sunrpc/xdr_ref.c: Likewise.
64555 * sunrpc/xdr_sizeof.c: Likewise.
64556 * sunrpc/xdr_stdio.c: Likewise.
64557
64558 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64559 handling.
64560
64561 2010-08-19 Andreas Schwab <schwab@redhat.com>
64562
64563 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64564
64565 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64566
64567 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64568 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64569 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64570 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64571 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64572 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64573 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64574 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64576 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64577 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64578 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64579 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64580 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64581
64582 2010-07-26 Anton Blanchard <anton@samba.org>
64583
64584 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64585 * malloc/arena.c (heap_trim): Likewise.
64586
64587 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64588
64589 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64590 here. Not...
64591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64592 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64593
64594 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64595
64596 * sysdeps/i386/elf/Makefile: New file.
64597
64598 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64599
64600 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64601 from fanotify_init.
64602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64604
64605 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64606
64607 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64608 of strncasecmp_l.
64609 * sysdeps/multiarch/strcmp.S: Likewise.
64610
64611 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64612
64613 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64614 strncase_l-nonascii.
64615 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64616 Add strncase_l-ssse3.
64617 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64618 * sysdeps/x86_64/strcmp.S: Likewise.
64619 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64620 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64621 * sysdeps/x86_64/strncase.S: New file.
64622 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64623 * sysdeps/x86_64/strncase_l.S: New file.
64624 * string/Makefile (strop-tests): Add strncasecmp.
64625 * string/test-strncasecmp.c: New file.
64626
64627 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64628 warning.
64629
64630 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64631 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64632
64633 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64634
64635 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64636
64637 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64638
64639 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64640 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64641 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64642
64643 2010-05-01 Alan Modra <amodra@gmail.com>
64644
64645 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64646 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64647 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64648 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64649 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64650 tidying. Don't tail-call __sigjmp_save for static lib.
64651 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64652 save location.
64653 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64654 (CALL_MCOUNT): Add eh info, and nop after bl.
64655 (TAIL_CALL_SYSCALL_ERROR): New macro.
64656 (PSEUDO_RET): Use it.
64657 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64658 Correct save location of integer regs and cr.
64659 (_dl_profile_resolve): Correct cr save location. Delete nops
64660 after bl when SHARED. Reduce cfi size a little by better
64661 placement of cfi directives.
64662 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64663 make a stack frame. Instead use parm save area as a temp.
64664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64665 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64667 Don't make a stack frame for parent, use parm save area.
64668 Increase child stack frame to 112 bytes. Don't save unused reg,
64669 and adjust reg usage. Set up cfi on error recovery and
64670 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64672 (__makecontext): Add dummy nop after jump to exit.
64673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64674 Use correct parm save area and cr save, reduce stack frame.
64675 Correct cfi for possible PSEUDO_RET frame setup.
64676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64677 Branch to local label emitted by PSEUDO_RET rather than
64678 __syscall_error.
64679
64680 2010-08-12 Andreas Schwab <schwab@redhat.com>
64681
64682 [BZ #11904]
64683 * locale/programs/locale.c (print_assignment): New function.
64684 (show_locale_vars): Use it.
64685
64686 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64687
64688 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64689 field.
64690 (struct statfs64): Likewise.
64691 (_STATFS_F_FLAGS): Define.
64692 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64694 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64695 (ST_VALID): Define locally.
64696 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64697 __statvfs_getflags, use the provided value.
64698 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64699 __ASSUME_STATFS_F_FLAGS.
64700
64701 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64702
64703 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64704 Add sys/fanotify.h.
64705 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64706 fanotify_mask for GLIBC_2.13.
64707 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64708 fanotify_init and fanotify_mark.
64709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64710 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64711
64712 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64713 Add prlimit.
64714 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64715 prlimit64 for GLIBC_2.13.
64716 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64717 prlimit64.
64718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64719 syscall.
64720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64721 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64722 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64723 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64725 add prlimit alias.
64726 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64727
64728 [BZ #11903]
64729 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64730 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64731
64732 * nss/Makefile: Add rules to build and run tst-nss-test1.
64733 * shlib-versions: Add entry for libnss_test1.
64734 * nss/nss_test1.c: New file.
64735 * nss/tst-nss-test1.c: New file.
64736
64737 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64738 (__nss_configure_lookup): Set appropriate entry in
64739 __nss_configure_lookup to true.
64740 * nss/nsswitch.h: Define enum with indeces of databases in
64741 databases and __nss_database_custom arrays. Declare
64742 __nss_database_custom.
64743 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64744 to avoid using nscd when custom rules are installed.
64745 * nss/getXXbyYY_r.c: Likewise.
64746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64747
64748 * nss/nss_files/files-parse.c: Whitespace fixes.
64749
64750 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64751
64752 [BZ #11883]
64753 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64754 * posix/fnmatch_loop.c: Likewise.
64755
64756 2010-07-17 Andi Kleen <ak@linux.intel.com>
64757
64758 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64759 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64760 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64761 * Versions.def [GLIBC_2.13]: Add.
64762
64763 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64764
64765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64766 Also fail if tpwd after pwuid call is NULL.
64767
64768 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64769
64770 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64771 when converting to ms.
64772
64773 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64774
64775 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64776 EOPNOTSUPP errors with ENOTTY.
64777 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64778 EOPNOTSUPP errors with ENOTTY.
64779
64780 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64781
64782 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64783 Add strcasecmp_l-ssse3.
64784 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64785 strcasecmp.
64786 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64787 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64788 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64789
64790 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64791
64792 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64793
64794 * string/Makefile (strop-tests): Add strcasecmp.
64795 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64796 strcasecmp_l-nonascii.
64797 (gen-as-const-headers): Add locale-defines.sym.
64798 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64799 * sysdeps/x86_64/strcasecmp.S: New file.
64800 * sysdeps/x86_64/strcasecmp_l.S: New file.
64801 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64802 * sysdeps/x86_64/locale-defines.sym: New file.
64803 * string/test-strcasecmp.c: New file.
64804
64805 * string/test-strcasestr.c: Test both ends of the range of characters.
64806 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64807
64808 2010-07-29 Roland McGrath <roland@redhat.com>
64809
64810 [BZ #11856]
64811 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64812
64813 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64814
64815 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64816 for ld.so.
64817
64818 2010-07-27 Andreas Schwab <schwab@redhat.com>
64819
64820 * manual/memory.texi (Malloc Tunable Parameters): Document
64821 M_PERTURB.
64822
64823 2010-07-26 Roland McGrath <roland@redhat.com>
64824
64825 [BZ #11840]
64826 * configure.in (-fgnu89-inline check): Set and substitute
64827 gnu89_inline, not libc_cv_gnu89_inline.
64828 * configure: Regenerated.
64829 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64830
64831 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64832
64833 * string/test-strnlen.c: New file.
64834 * string/Makefile (strop-tests): Add strnlen.
64835 * string/tester.c (test_strnlen): Add a few more test cases.
64836 * string/tst-strlen.c: Better error reporting.
64837
64838 * sysdeps/x86_64/strnlen.S: New file.
64839
64840 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64841
64842 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64843 lower-latency instructions.
64844
64845 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64846
64847 * string/test-strcasestr.c: New file.
64848 * string/test-strstr.c: New file.
64849 * string/Makefile (strop-tests): Add strstr and strcasestr.
64850 * string/str-two-way.h: Don't undefine MAX.
64851 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64852
64853 2010-07-21 Andreas Schwab <schwab@redhat.com>
64854
64855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64856 strcasestr-nonascii.
64857 (CFLAGS-strcasestr-nonascii.c): Define.
64858 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64859 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64860 Remove unused attribute.
64861
64862 2010-07-20 Roland McGrath <roland@redhat.com>
64863
64864 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64865 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64866 ld.so.cache was broken. With it, there is no way to disable dsocaps
64867 like LD_HWCAP_MASK can disable hwcaps.
64868
64869 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64870
64871 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64872
64873 2010-07-16 Ulrich Drepper <drepper@redhat.com>
64874
64875 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64876 call in strcasestr.
64877 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64878 __strcasestr_sse42_nonascii.
64879 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64880 strcasestr-nonascii.c.
64881 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64882
64883 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
64884
64885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64886 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64887 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64888 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64889
64890 2010-07-09 Ulrich Drepper <drepper@redhat.com>
64891
64892 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64893 fcntl.
64894
64895 2010-07-06 Andreas Schwab <schwab@redhat.com>
64896
64897 [BZ #11577]
64898 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64899 dl_signal_cerror.
64900
64901 2010-07-06 Ulrich Drepper <drepper@redhat.com>
64902
64903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64904 _PC_PIPE_BUF using F_GETPIPE_SZ.
64905
64906 2010-07-05 Roland McGrath <roland@redhat.com>
64907
64908 * manual/arith.texi (Rounding Functions): Fix rint description
64909 implicit in round description.
64910
64911 2010-07-02 Ulrich Drepper <drepper@redhat.com>
64912
64913 * elf/Makefile: Fix linking for a few tests to make recent linker
64914 happy.
64915
64916 2010-06-30 Andreas Schwab <schwab@redhat.com>
64917
64918 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64919 $(common-objpfx)libc_nonshared.a.
64920
64921 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
64922
64923 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64924 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64925 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64926 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64927 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64928 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64929 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64930 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64945 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64946 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64947 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64948 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64949 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64950 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64951 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64952 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64953 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64954 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64955 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64956 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64971
64972 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
64973
64974 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64975 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
64976 * string/memmove.c (memmove): Renamed to ...
64977 (MEMMOVE): ...this. Default to memmove.
64978 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64979 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64980 (END_CHK): Define.
64981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64982 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64983 mempcpy-ssse3-back memmove-ssse3-back.
64984 * sysdeps/x86_64/multiarch/bcopy.S: New file .
64985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64987 * sysdeps/x86_64/multiarch/memcpy.S: New file.
64988 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64989 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64990 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64991 * sysdeps/x86_64/multiarch/memmove.c: New file.
64992 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64993 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64994 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64995 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64996 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64997 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64998 Define.
64999 (index_Fast_Copy_Backward): Define.
65000 (HAS_ARCH_FEATURE): Define.
65001 (HAS_FAST_REP_STRING): Define.
65002 (HAS_FAST_COPY_BACKWARD): Define.
65003
65004 2010-06-21 Andreas Schwab <schwab@redhat.com>
65005
65006 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65007 Restore proper fallback handling.
65008
65009 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65010
65011 [BZ #11701]
65012 * posix/group_member.c (__group_member): Correct checking loop.
65013
65014 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65015 OOM in getpwuid_r correctly. Return error number when the caller
65016 should return, otherwise -1.
65017 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65018 call returning > 0 value.
65019 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65020
65021 2010-06-07 Andreas Schwab <schwab@redhat.com>
65022
65023 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65024 libc_nonshared.a from targets in modules-names.
65025
65026 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65027
65028 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65029 requires it.
65030
65031 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65032
65033 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65034 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65035 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65037
65038 2010-06-02 Andreas Schwab <schwab@redhat.com>
65039
65040 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65041
65042 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65043
65044 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65045 and F_GETPIPE_SZ.
65046 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65047 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65051 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65052
65053 2010-06-14 Roland McGrath <roland@redhat.com>
65054
65055 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65056
65057 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65058
65059 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65060 __REDIRECT followed by __THROW.
65061 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65062 * posix/getopt.h (getopt): Likewise.
65063
65064 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65065
65066 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65067 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65068 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65069 in AT_FLAGS.
65070 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65071 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65072
65073 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65074
65075 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65076
65077 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65078
65079 [BZ #11640]
65080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65081 Properly check family and model.
65082
65083 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65084
65085 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65086
65087 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65088
65089 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65090
65091 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65092
65093 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65094 symbol reference.
65095
65096 2010-05-19 Andreas Schwab <schwab@redhat.com>
65097
65098 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65099 symbol reference.
65100
65101 2010-05-21 Andreas Schwab <schwab@redhat.com>
65102
65103 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65104 and internal_recvmmsg.
65105 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65106 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65107 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65108 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65109
65110 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65111 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65112 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65113
65114 2010-05-20 Andreas Schwab <schwab@redhat.com>
65115
65116 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65117
65118 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65119
65120 POWER7 optimizations.
65121 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65122 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65123
65124 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65125
65126 * version.h: Update for 2.13 development version.
65127
65128 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65129
65130 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65131 exceptions. Return 0.
65132
65133 2010-05-07 Roland McGrath <roland@redhat.com>
65134
65135 * elf/ldconfig.c (main): Add a const.
65136
65137 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65138
65139 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65140 (args_options): Add no-idn option.
65141 (ahosts_keys_int): Add idn_flags to ai_flags.
65142 (parse_option): Handle 'i' option to clear idn_flags.
65143
65144 * malloc/malloc.c (_int_free): Possible race in the most recently
65145 added check. Only act on the data if no current modification
65146 happened.
65147
65148 See ChangeLog.17 for earlier changes.